Ganaram inukshuk
Joined 12 November 2021
No edit summary |
|||
| (11 intermediate revisions by the same user not shown) | |||
| 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 404: | Line 404: | ||
| | | | ||
|- | |- | ||
| | ! colspan="4" |New templates after this line follow new (personal) coding conventions, outlined in v2 of my style guide. Features: | ||
| | 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]] | |[[Module:Module introspection]] | ||
[[Template: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: | |||
* 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. | |||
| | | | ||
|- | |- | ||
| | |All categorizing infoboxes: | ||
Template:Template | * [[Template:Infobox MOS]] | ||
* [[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: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. | ||
| | | | ||
|- | |- | ||
| Line 426: | 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 457: | 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 === | ||