Ganaram inukshuk (talk | contribs)
m Can you really fight the visual editor?
Ganaram inukshuk (talk | contribs)
No edit summary
 
(52 intermediate revisions by the same user not shown)
Line 34: Line 34:
| Yes
| Yes
| Creates a Stern-Brocot tree's entries and their depths.
| Creates a Stern-Brocot tree's entries and their depths.
| Split calculation for mediants into its own module; see Module:Mediants
| Fallen into disuse.
|-
|-
| [[Module:Scale tree]]
| [[Module:Scale tree|<s>Module:Scale tree</s>]]
[[Template:Scale tree]]
[[Template:Scale tree|<s>Template:Scale tree</s>]]
| No
| No
| Automates the creation of a mos's scale tree and tuning spectrum.
| Automates the creation of a mos's scale tree and tuning spectrum.
Contributor with CompactStar. (I made it so comments can be entered using one param.)
Contributor with CompactStar. (I made it so comments can be entered using one param.)
| '''Replace with Module:MOS tuning spectrum, following new coding conventions.'''
| '''Deprecated, following changes that made it unmaintainable.'''
Superseded by Module:MOS tuning spectrum.
|-
|-
| [[Module:MOS modes]]
| [[Module:MOS modes]]
Line 47: Line 48:
| Yes
| Yes
| Displays the modes of a mos.
| Displays the modes of a mos.
| '''Replace with Module:MOS mode names, following new coding conventions.'''
| Current means of row/col data is not ideal.
Further developments uncertain due to personal decision to halt further improvement.
|-
|-
| [[Module:MOS intro]]
| [[Module:MOS intro]]
Line 56: Line 58:
Rewording for nonoctave tunings.
Rewording for nonoctave tunings.


Deprecate name fields as they're redundant.
Deprecate name fields as they're redundant if used with Template:TAMNAMS name.
 
Possible refactoring.
|-
|-
| [[Module:MOS gamut]]
| [[Module:MOS gamut]]
Line 68: Line 72:
| Yes
| Yes
| Displays cent values for a mos for up to 5 step ratios.
| Displays cent values for a mos for up to 5 step ratios.
| Deprecated.
| '''Deprecated, following decision to start over.'''
Superseded by Module:MOS tunings.
|-
|-
| [[Module:MOS notation]]
| [[Module:MOS notation]]
Line 80: Line 85:
| Displays the interval names of a mos and their cent ranges.
| Displays the interval names of a mos and their cent ranges.
Rewritten to new coding conventions.
Rewritten to new coding conventions.
|  
| Experiment with interval lookup.
'''REFACTOR.'''
|-
|-
| [[Module:MOS mode degrees]]
| [[Module:MOS mode degrees]]
Line 88: Line 94:
| '''Possibly rewrite to follow new coding conventions.'''
| '''Possibly rewrite to follow new coding conventions.'''
Split modmos info into its own template; see Template:MODMOS mode degrees.
Split modmos info into its own template; see Template:MODMOS mode degrees.
'''REFACTOR.'''
|-
|-
| [[Module:MOS in EDO]]
| [[Module:MOS in EDO]]
Line 97: Line 105:
* ...allgens: shows all mosses for all generators for a particular period.
* ...allgens: shows all mosses for all generators for a particular period.
* ...allperiods or MOSes in EDO: shows all mosses for all generators for all periods.
* ...allperiods or MOSes in EDO: shows all mosses for all generators for all periods.
|  rowspan="4" | Documentation, usage, option to enter temperaments, option to abridge output.
|  rowspan="4" | '''To be rewritten as a subst-template.'''
|-
|-
| [[Module:MOS in EDO allgens]]
| [[Module:MOS in EDO allgens]]
Line 113: Line 121:
| Yes
| Yes
| Helper module for various templates that have large amounts of info to be displayed.
| Helper module for various templates that have large amounts of info to be displayed.
|  
| Possible reorganization?
|-
|-
| [[Module:Step vis]]
| [[Module:Step vis]]
Line 124: Line 132:
<s>[[Template:EDO intro]]</s>
<s>[[Template:EDO intro]]</s>
| Yes (module only)
| Yes (module only)
| Automation of the EDO intro. Superseded by ED intro.
| Automation of the EDO intro.
|
| '''Deprecated.'''
 
Superseded by Module:ED intro.
|-
|-
| <s>[[Module:JI ratio finder]]</s>
| <s>[[Module:JI ratio finder]]</s>
Line 141: Line 151:
| Yes
| Yes
| For making links to audio examples to be listened to.
| For making links to audio examples to be listened to.
| Find out the new link for xenpaper.
|  
|-
|-
| [[Module:ED intro]]
| [[Module:ED intro]]
Line 147: Line 157:
| Yes
| Yes
| Automation of the EDO intro, generalized for other equaves.
| Automation of the EDO intro, generalized for other equaves.
| Wording, code cleanup. Development on hold.
| Possible code cleanup.
|-
|-
| [[Template:Idiosyncratic terms]]
| [[Template:Idiosyncratic terms]]
Line 164: Line 174:
| No
| No
| Support for infoboxes with 8 navlinks added.
| Support for infoboxes with 8 navlinks added.
|  
| '''REFACTOR.'''
|-
|-
| [[Module:Keyboard vis]]
| [[Module:Keyboard vis]]
[[Template:Keyboard vis]]
| Yes
| Yes
| Keyboard visualization template for Infobox MOS. No template currently exists.
| Keyboard visualization template for Infobox MOS. No template currently exists.
Line 214: Line 223:
* Template:MOS genchain
* Template:MOS genchain
* Template:MOS mode degrees
* Template:MOS mode degrees
|  rowspan="2" | Documentation, testing, rollout.
|  rowspan="2" | '''Deprecated, following changes that made it unmaintainable.'''
'''No combo templates for mos pages.'''
|-
|-
| [[Module:MOS data]]
| [[Module:MOS data|<s>Module:MOS data</s>]]
[[Template:MOS data]]
[[Template:MOS data|<s>Template:MOS data</s>]]
|-
|-
| [[Module:TAMNAMS lookup]]
| [[Module:TAMNAMS lookup]]
Line 223: Line 233:
| Yes
| Yes
| TAMNAMS name lookup as a standalone template.
| TAMNAMS name lookup as a standalone template.
|  
| Dev direction unclear.
|-
|-
| [[Template:TAMNAMS name]]
| [[Template:TAMNAMS name]]
| Yes
| Yes
| For writing the paragraph that states a mos's TAMNAMS name and its etymology or reasoning.
| For writing the paragraph that states a mos's TAMNAMS name and its etymology or reasoning.
|  
| ROLLOUT.
|-
|-
| [[Module:MOS interval HE]]
| [[Module:MOS interval HE]]
Line 259: Line 269:


* Module:SB tree
* Module:SB tree
* Module:Scale tree
* <s>Module:Scale tree</s>
* Module:MOS tuning spectrum
* Module:JI ratios
* Module:JI ratios
|  
|  
Line 268: Line 279:
|  
|  
|-
|-
! colspan="4" | New templates after this line follow new (personal) coding conventions.
! colspan="4" | New templates after this line follow new (personal) coding conventions, outlined in v1 of my style guide.
|-
|-
! Modules and templates
! Modules and templates
Line 278: Line 289:
[[Module:Navbox]]
[[Module:Navbox]]
| Yes
| Yes
| A template and module for producing a navbox. Navboxes can be made by directly calling the module's functions or by using a template.
| A template and module for producing a navbox. Module builds up navbox from input.
|  
Navboxes can be made either as a template or using a lua module calling the navbox functions.
|Possibly add templatestyles integration
|-
|-
| [[Module:Infobox]]
| [[Module:Infobox]]
Line 285: Line 297:
| Yes (template only)
| Yes (template only)
| Rewrote entire infobox from scratch to support infobox template.
| Rewrote entire infobox from scratch to support infobox template.
|  
Same as navbox; infoboxes can be made either using a module calling the infobox functions or with a template.
|Possibly add templatestyles integration
|-
|-
| [[Module:Numlinks]]
| [[Module:Numlinks]]
|
[[Template:Numlinks]]
|Yes
| A template for calculating and creating prev/next links for a numbered page. Pages are incremented (or decremented) by 1.
| A template for calculating and creating prev/next links for a numbered page. Pages are incremented (or decremented) by 1.
| Possibly let template auto-extract text.
|-
| [[Template:MOS tuning spectrum]]
[[Module:MOS tuning spectrum]]
| Yes
| Made to address maintenance issues with Module:Scale tree.
Comment entries are reverted back to having one param per ratio, where params are generated on the fly, not hardocded.
| Add comments for step ratios not found by search.
|-
| [[Template:MOS scalesig]]
[[Module:MOS scalesig]]
| Yes
| Made to address shortcomings with [[Template:Scale link]] and need to format mos scalesigs.
This template auto-formats a scale signature:


* Links are formatted as [pre-text][number][post-text].
* Spaces are replaced with nonbreaking spaces.
** This serves as both the link text and page title. Link text different from the page name can be provided.
* For nonoctave scales, angle brackets are replaced with the appropriate ones.
** "12edo" has no/blank pre-text and "edo" as the post-text.
* Can format the scalesig as a link, if needed.
* Links with two numbers are formatted as [pre-text-x][number-x][post-text-x][separator][pre-text-y][number-y][post-text-y].
|
** This serves as both the link text and page title. Link text different from the page name can be provided.
** "5L 2s" has no/blank pre-text, a space for a separator, and "L" and "s" as the post-text. The link is displayed with a nonbreaking space, but the page name has a normal space.
* Number can be either cardinal or ordinal. Clamp options prevent invalid links from being generated (EG, -1edo).
* Link options include:
** Left and right (up to 2 links), with support for up to up to 4 previous/next links.
** Up and down (up to 8 links), which includes diagonals.
* Links for 3 values or more are not supported due to how many links are needed. (3 values requires 26 prev/next links.)
| Work-in-progress.
|-
|-
|Module:JI ratios
| <s>Template:MOS stub</s>
Module:JI ratio filtering
|
|Yes (filtering only)
| A proposed combination template consisting of:
 
* Template:Infobox MOS
* Template:MOS intro
* Template:MOS intervals
* Template:MOS tuning spectrum
Such a template would be a subst-template.
| '''Cancelled. No combo templates for mos pages.'''
|-
|[[Module:JI ratios]]
|Yes
|Rewrite of existing JI ratios module into two modules: one for searching for ratios, and one for filtering ratios
|Rewrite of existing JI ratios module into two modules: one for searching for ratios, and one for filtering ratios
|
|
|-
|-
| Module:ED ratios
|[[Template:Disavowed]]
Template:ED ratios
|Yes
|Denotes terms whose usage is no longer advised, generally due to the name being unsuitable (EG, offensive, inappropriate, etc) or due to the person who coined the term retracting it.
|Use-cases to be determined.
|-
|[[Template:Navbox Lumatone]]
[[Template:Navbox fractional-octave]]
[[Module:Navbar]]
|No
|Decoupling navbar so it doesn't generate navboxes' or their prev/next links; that work is delegated to Template:Numlinks and Template:Navbox.
|
|-
|[[Template:Sidebar]]
[[Module:Sidebar]]
|Yes
|A template that's a basic implementation of Wikipedia's sidebar. Some infobox-like templates use this over the actual infobox, so it's made into an actual template.
|Possibly add templatestyles integration
|-
|[[Module:Template input utils]]
|Yes
|A library for preprocessing template args.
May possibly be a new location for Module:Template input parse (TIP).
 
Proposed functions:
 
* numbered_args_to_table(args, key_fmt, max_num)
* header_data_pairs_to_table(args, header_fmt, data_fmt)
* Functions to parse key-value, ratios, and sequences of ratios (from TIP)
|
|-
|[[Template:Numlinks 2-num]]
[[Module:Numlinks 2-num]]
|Yes
|A variant of numlinks that supports two varying numbers. Intended for pages such as mosses, EG 5L 2s.
|
|
| A proposed template that is an upgraded version of Module:JI ratios in ED
|-
|[[Template:Template rating]]
|Yes
|A template that implements Wikipedia's template/module rating template. Advises editors that the template is one of several things:
 
* Draft; a mockup of a new template/module that is undergoing testing. Not ready for use anywhere except test pages. (encompasses pre-alpha/alpha/beta/mockup)
* Ready; template/module is ready for use
* Broken; self-explanatory. Definitely do not use until it's either fixed or deemed unfixable.
* Replaced; template is deprecated and has a replacement; template is kept for archival purposes or can be deleted.
* Deprecated; do not use anywhere; template is kept for archival purposes or can be deleted.
|In development
|-
|[[Template:Category handler]]
[[Module:Category handler]]
|Yes
|A proposed template-module pair that is a basic implementation of Wikipedia's module of the same name: https://en.wikipedia.org/wiki/Module:Category_handler
Features:
 
* Allows templates to categorize pages, given a list of categories
 
* Suppresses categories based on a list of suppressed namespaces (configurable) and a list of suppressed suffixes (subpages; configurable)
* Module is standalone; it requires no other modules as dependencies, apart from possibly utility modules.
|Attempted in the past by someone else but was deleted.
|-
|[[Template:Todo]]
|No
|Integrate category handler so templates/modules with todos don't get categorized twice (once for the template/module and once more for its /doc page)
|
|
|-
|-
| Template:Scalesig
! colspan="4" |New templates after this line follow new (personal) coding conventions, outlined in v2 of my style guide. Features:
Module:Scalesig
Use of snake_case for ALL param names; previous templates go through template name normalization to maintain backwards-compatibility (automated for lua-based templates)
|  
 
| A template that creates and auto-formats a scale signature:
For lua-based templates, no params will ever be defined at the template level, instead defined at the module level
|-
!Modules and templates
!New?
!Description of template or contribution
!Status or todo
|-
|[[Module:Module introspection]]
[[Template:Module introspection]]
|Yes
| rowspan="3" |A set of modules that inspects mediawiki templates and lua code for:
 
* (FOR TEMPLATES): detecting whether a template invokes a module's function
* (FOR MODULES): detecting a module's dependencies and the functions used.
 
Common functionality is stored in Module:Introspection utils. Module introspection serves to implement this functionality for modules; template introspection is handled as part of Module:Dochead.


* Text does not wrap.
These templates/changes replace [[Template:Lua]] as used on module docpaegs.
* Equave is enclosed in the appropriate brackets.
| rowspan="3" |Detect data being used from a module, not just functions.
|  
Arrange functions in a list rather than in a table.
|-
|[[Module:Template introspection|<s>Module:Template introspection</s>]]
[[Template:Template introspection|<s>Template:Template introspection</s>]]
|Yes
|-
|-
| Template:MOS name
|[[Module:Introspection utils]]
Module:MOS name
|Yes
|
| A proposed template that provides the TAMNAMS-recommended name for a mos. The TAMNAMS name provided by Template:MOS intro would be relocated here.
|  
|-
|-
| Template:MOS tuning spectrum
|[[Module:Dochead]]
Module:MOS tuning spectrum
[[Template:Dochead]]
|  
|Yes (module only)
| Proposed replacement for Template:Scale tree.
|Module is a rewrite of Template:Dochead that makes the template able to:
Input of tuning spectrum entries would be changed back to one field per step ratio.


The original template name would be used a shortcut.
* Autodetect modules with corresponding templates, with options for overrides
|  
* Autodetect templates with corresponding modules, with options for overrides
* Display which functions are invoked and from which modules.
These templates/changes replace [[Template:Lua]] as used on template docpages.
|
|-
|All deprecation templates except [[Template:Deprecated parameters]]
|No
|Minor changes to inform editors if they're used in the wrong namespaces.
|
|-
|-
| Template:MOS stub
|All categorizing infoboxes:
|
| A proposed combination template consisting of:


* Template:Infobox MOS
* [[Template:Infobox MOS]]
* Template:MOS intro
* [[Template:Infobox AFDO]]
* Template:MOS intervals
* [[Template:Infobox chord]]
* Template:MOS tuning spectrum
* [[Template:Infobox ET]]
Such a template would be a subst-template.
* [[Template:Infobox interval]]
|  
|No
|Proposal to add [[Module:Category handler]] so these templates automatically categorize themselves when in the correct namespaces
|
|-
|Template:Template quick copy (shortcut name: tqc)
|
|A proposed module-template pair used to automatically format a template's code for easy copy-pasting. Subst-template.
|
|-
|-
| Module:Diatonic intervals
|Template:Keyboard vis
|  
|
| A proposed module for roughly classifying diatonic intervals (1st, 2nd etc; major, minor, etc) plus intermediate categories; meant for relating mossy intervals to diatonic ones
|See Module:Keyboard vis.
|  
Module does not have a corresponding template. For module, add scaling options now that visualization is image-based instead of using box-drawing characters (low-priority).
|
|-
|-
| Module:Sandbox
| Module:ED ratios
|  
Template:ED ratios
| A module solely for testing.
|
|  
| A proposed template that is an upgraded version of Module:JI ratios in ED
|
|-
|-
| Module:Infobox sandbox
| Module:Interval regions
Template:Infobox sandbox
|
|  
| A proposed module for roughly classifying diatonic intervals (1st, 2nd etc; major, minor) plus some intermediate or in-between categories ( neutral and interseptimal intervals)
| An infobox for testing.
|
|  
|-
|-
| [[Module:MODMOS mode degrees]]
| Module:MODMOS mode degrees
[[Template:MODMOS mode degrees]]
Template:MODMOS mode degrees
|  
|
|  
|
|  
|
|-
|-
| [[Module:MOS superset degrees]]
| Module:MOS superset degrees
[[Template:MOS superset degrees]]
Template:MOS superset degrees
|  
|
| Like MOS mode degrees, except the scale degrees are in relation to an ancestor mos.
| Like MOS mode degrees, except the scale degrees are in relation to an ancestor mos.
|  
|
|-
|-
|  
|  
Line 385: Line 502:
|}
|}


'''Contributions to add to table (due to mobile device limitations)'''
=== Wikiprojects and style guides ===
* [[Xenharmonic Wiki:WikiProject Mospage|Project Mospage]] and [[Xenharmonic Wiki:MOS page style guide|mospage style guide]]
* [[User:Ganaram inukshuk/Docpage style guide|Docpage style guide]] (not worthy of a wikiproject since most docpages have been written alraedy; this would be a guide on how to format and arrange what goes on a docpage)


Template:Deprecated parameters – For indicating a feature of a template or module-generated template is deprecated, rather than the entire template being deprecated. A warning is provided indicating that template arguments that depend on these features should be saved to avoid data loss.
=== Project mbox-icon ===
 
Various wikis have custom/themed icons. Apart from exceptions where a more common icon is preferred, why not have custom mbox icons for xenwiki?
=== Wikiprojects ===
* [[Xenharmonic Wiki:WikiProject Mospage|Project Mospage]] and [[Xenharmonic Wiki:MOS page style guide|mospage style guide]]


=== Other contributions ===
=== Other contributions ===
Line 450: Line 567:
Sandbox pages (for testing things)
Sandbox pages (for testing things)
* [[User:Ganaram inukshuk/Sandbox]]
* [[User:Ganaram inukshuk/Sandbox]]
** [[User:Ganaram inukshuk/Sandbox/Navboxes]]
** [[User:Ganaram inukshuk/Sandbox/JI ratios]]
** [[User:Ganaram inukshuk/Sandbox/Modmosses]]
**[[User:Ganaram inukshuk/Sandbox/Navboxes]]
**[[User:Ganaram inukshuk/Sandbox/Modmosses]]
* [[User:Ganaram inukshuk/Template sandbox]]
* [[User:Ganaram inukshuk/Template sandbox]]


Test pages (for proposed rewrites):
Test pages (for proposed rewrites or new templates):
* [[User:Ganaram inukshuk/Catalog of MOS Scales]]
* [[User:Ganaram inukshuk/Catalog of MOS Scales]]
* [[User:Ganaram inukshuk/4L 3s]] (Template test page and test page for style guide)
* [[User:Ganaram inukshuk/4L 3s]] (Template test page and test page for style guide)
Line 464: Line 582:
* [[User:Ganaram inukshuk/MOS scale]] (rewrite page)
* [[User:Ganaram inukshuk/MOS scale]] (rewrite page)
* [[User:Ganaram inukshuk/Template:Rewrite draft]]
* [[User:Ganaram inukshuk/Template:Rewrite draft]]
* [[User:Ganaram inukshuk/Template:Template rating]]
* [[User:Ganaram inukshuk/Template:Todo]]


Experimental pages (for content considered idiosyncratic, ad-hoc, or otherwise weird):
Experimental pages (for content considered idiosyncratic, ad-hoc, or otherwise weird):
Line 473: Line 593:
* [[User:Ganaram inukshuk/Template:Tcode]]
* [[User:Ganaram inukshuk/Template:Tcode]]
* [[User:Ganaram inukshuk/Template:Tester]]
* [[User:Ganaram inukshuk/Template:Tester]]
* [[User:Ganaram inukshuk/Template:Transcript]]
* [[User:Ganaram inukshuk/Template:Joke page|User:Ganaram inukshuk/Joke page]]
* [[User:Ganaram inukshuk/Template:Joke page|User:Ganaram inukshuk/Joke page]]
* [[User:Ganaram inukshuk/JI ratios]]
* [[User:Ganaram inukshuk/JI ratios]]
* [[User:Ganaram inukshuk/Template:Navbox fractional-octave]]
* [[User:Ganaram inukshuk/Template:Navbox Lumatone]]


Other:
Other: