Ganaram inukshuk (talk | contribs)
Ganaram inukshuk (talk | contribs)
No edit summary
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
To be reI generally go by "Ganaram" or some variant of that (ganaram_inukshuk, gdinuk). (Discord: ganaraminukshuk0; he/they; generally more active on the Xen Discord unless work bogs me down.)
I generally go by "Ganaram" or some variant of that (ganaram_inukshuk, gdinuk). (Discord: ganaraminukshuk0; he/they; generally more active on the Xen Discord unless work bogs me down.)


I've heard about microtonality on and off over the years, but what drew me into the topic was two things: HEHEHE I AM A SUPAHSTAR SAGA's video series on 19edo and Patricia Taxxon's song Spiral Staircase.
I've heard about microtonality on and off over the years, but what drew me into the topic was two things: HEHEHE I AM A SUPAHSTAR SAGA's video series on 19edo and Patricia Taxxon's song Spiral Staircase.
Line 279: 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 291: Line 291:
| A template and module for producing a navbox. Module builds up navbox from input.
| 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.
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 298: Line 298:
| 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.
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]]
Line 304: Line 304:
|Yes
|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.
* Links are formatted as [pre-text][number][post-text], represented as a format string "pre-text %s post-text".
* Between 1 and 10 links are produced in each direction. A minimum value prevents invalid links from being produced, such as negative values.
* Numbers may be ordinals.
* Output is either one long line or a 3-cell table.
| Possibly let template auto-extract text.
| Possibly let template auto-extract text.
|-
|-
Line 356: Line 351:
|Decoupling navbar so it doesn't generate navboxes' or their prev/next links; that work is delegated to Template:Numlinks and Template:Navbox.
|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]]
|[[Module:Template input utils]]
|
|Yes
|A proposed library for preprocessing template args.
|A library for preprocessing template args.
May possibly be a new location for Module:Template input parse (TIP).
May possibly be a new location for Module:Template input parse (TIP).


Line 369: Line 370:
|
|
|-
|-
|Template:Template rating
|[[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 implements Wikipedia's template/module rating template. Advises editors that the template is one of several things:
|-
|[[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)
* 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
* Ready; template/module is ready for use
* Broken; self-explanatory. Definitely do not use until it's either fixed or deemed unfixable.
* Broken; self-explanatory. Definitely do not use until it's either fixed or deemed unfixable.
* Deprecated; do not use anywhere; template is kept for archival purposes.
* 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


This template might potentially replace the deprecated template/module template.
* 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:Code
! colspan="4" |New templates after this line follow new (personal) coding conventions, outlined in v2 of my style guide. Features:
Template:CodeNowiki
Use of snake_case for ALL param names; previous templates go through template name normalization to maintain backwards-compatibility (automated for lua-based templates)
 
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.
 
These templates/changes replace [[Template:Lua]] as used on module docpaegs.
| 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
|-
|[[Module:Introspection utils]]
|Yes
|-
|[[Module:Dochead]]
[[Template:Dochead]]
|Yes (module only)
|Module is a rewrite of Template:Dochead that makes the template able to:


Template:Template param
* 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.
|
|
|Proposed subst-templates for personal use, meant to ease writing template documentation.
|-
|All deprecation templates except [[Template:Deprecated parameters]]
|No
|Minor changes to inform editors if they're used in the wrong namespaces.
|
|
|-
|-
|Template:Numlinks 2-num
|All categorizing infoboxes:
Module:Numlink 2-num
 
|
* [[Template:Infobox MOS]]
|A proposed variant of numlinks that supports two varying numbers. Intended for mos scalesigs and linking to their pages, like 5L 2s.
* [[Template:Infobox AFDO]]
* [[Template:Infobox chord]]
* [[Template:Infobox ET]]
* [[Template:Infobox interval]]
|No
|Proposal to add [[Module:Category handler]] so these templates automatically categorize themselves when in the correct namespaces
|
|
|-
|-
|Template:Sidebar
|Template:Template quick copy (shortcut name: tqc)
Module:Sidebar
|
|
|A proposed template that's a basic implementation of Wikipedia's sidebar.
|A proposed module-template pair used to automatically format a template's code for easy copy-pasting. Subst-template.
|
|
|-
|-
Line 404: Line 470:
|
|
|See Module:Keyboard vis.
|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).
|
|
|-
|-
Line 435: Line 502:
|}
|}


=== Wikiprojects ===
=== Wikiprojects and style guides ===
* [[Xenharmonic Wiki:WikiProject Mospage|Project Mospage]] and [[Xenharmonic Wiki:MOS page style guide|mospage style guide]]
* [[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)


=== Project mbox-icon ===
=== Project mbox-icon ===
Line 504: Line 572:
* [[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 514: 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):