User:Johnuniq/index

This is an index of pages relating to modules I have developed.
 * Special:PrefixIndex/User:Johnuniq • Current user subpages.
 * Special:PrefixIndex/Module:Sandbox/Johnuniq • Sandbox modules.

Miscellaneous

 * User:Johnuniq/invoke can be used to simulate a template invoking a function in a module. Example using defaults to call age_generic in Module:Age/sandbox:

Page tracking categories
More at Template limits (with "recent additions" links).
 * Category:ParserFunction errors
 * Category:Pages where post-expand include size is exceeded • articles
 * Category:Pages with script errors • articles

Temporary experiments

 * User:Johnuniq/temp • Template which invokes module.
 * User talk:Johnuniq/temp • Results showing calls to template and module.
 * Module:Sandbox/Johnuniq/temp • Module which displays frame/parent.

Age/date

 * Module:Age • Intended to implement a variety of age and duration templates.
 * Module:Date • Implements date-handling functions for other modules (not templates). Works with dates from 9999 BCE to 9999 CE using proleptic Gregorian or Julian dates.
 * Module:Date/doc • Documentation (more to do!).
 * Module:Date/example • Demonstration showing how Module:Date may be used.
 * Module talk:Date/example • Output from the demonstration.

Age/date modules

Age/date templates
 * Template:Extract • New template for operations on a single date.
 * Template:Time interval • New template proposed by JFG for handling most age-related processing.
 * Template:Time interval/doc • Documentation.
 * Module:Age/doc • Other supported templates.
 * Age calculation templates • List with more related templates.
 * Category:Age error • Tracking category used by module.
 * Category:Pages using age template with invalid date • Tracking category used by other date templates.

Authority control
These templates and modules were created by others; I have just done some minor tweaks but want to have an easy way to find related items.
 * Template talk:Authority control • Discussion for template and module.
 * Template:Authority control • Invokes Module:Authority_control
 * Template:Authority control/sandbox • Invokes Module:Authority_control/sandbox
 * Template:Authority control/testcases • Tests appearance of main and sandbox templates.
 * Template:Authority control/testcases2 • Tests whether main and sandbox templates generate identical wikitext.

Categories
 * Module:Authority control
 * Category:Wikipedia articles with authority control information
 * Category:Wikipedia articles with faulty authority control information

Authority control modules

EditAtWikidata
 * Template:EditAtWikidata


 * Module talk:EditAtWikidata/testcases

Bengali Wikipedia

 * bn:User:Johnuniq • Some modules for localization at bnwiki.
 * bn:User talk:Johnuniq • Requests.
 * bn:Module:Navseasoncats/খেলাঘর • Sandbox module (April 2022) originally from Module:Navseasoncats.

Bibleverse
Module:Bibleverse created by Jfhutson to generate links to Bible verses.
 * Template talk:Bibleverse • discussion


 * Template:Bibleverse/testcases
 * Template:Bibleverse/testcases2
 * Category:Pages with Bible book errors
 * Category:Pages with Bible version errors
 * Category:Pages with numeric Bible version references
 * Template:Bibleref • redirect to Template:Bibleref
 * Template:Bibleref2 • alternative (does not use module)
 * WT:WikiProject Bible • wikiproject discussion

Biglist

 * Module:Biglist • Module to generate a big list of similar items.
 * Module:Biglist/doc • Documentation.
 * Category:Pages where post-expand include size is exceeded • articles • Aim is to help remove pages from this list.
 * Category:Pages with script errors • articles • Or this, for "time exceeded" errors.

Convert

 * Template:Convert • Template that invokes the module.
 * Template:Convert/sandbox • Invokes the sandbox module; see also Template:Convert/sandboxlua + Template:Convert/sandboxlua2.
 * Template:Convert/Transwiki guide • Lists the wikis where the module is used, with how-to information.
 * Module:Convert/helper • Can be used by a template to format parameters for use with.
 * Module:Convert/tester • For testing templates and comparing sandbox modules.
 * Template:Convert/testcases • Tests.
 * Module:Convert/makeunits • Make convert/data from master list of units.
 * Module:Convert/show • Show simple unit information for documentation (not used).
 * Module:Convert/documentation/conversion data • Master list of units.
 * Template:Convert/unit sandbox • Use this to create temporary units.
 * Module talk:Convert/wikidata/data • Comparison of units listed in Module:Convert/wikidata/data with Wikidata.
 * Module talk:Convert/wikidata/data/sandbox • Comparison of units listed in Module:Convert/wikidata/data/sandbox with Wikidata.
 * Module:ConvertNumeric • Support module for spelling numbers as words.
 * Help:Convert • Usage documentation.
 * Special:PrefixIndex/Module:Convert • Current module subpages.
 * test2wiki:User talk:Johnuniq • My talk page at test2 with old notes.

Convert categories
 * Category:Convert errors • Articles with invalid converts that show an error message.
 * Category:Convert invalid options • Articles with invalid converts that show an asterisk warning.
 * Category:Convert tracking • Articles with converts that use  and where the input was not interpreted by convert, provided   was given.

Convert modules

Convert styles
 * Template:Fraction/styles.css
 * Template:Sfrac/styles.css

Countries
For Commons, a set of templates and modules provides countries navboxes.
 * c:Module:Countries • Implements navigation boxes for countries in defined regions.
 * c:Template:Countries of Africa • Example of a navbox for a region.
 * c:Module:Countries/Africa • Example of data required for the navbox.
 * c:Module talk:Countries/show • All country information, including links to Wikidata items.

Dump

 * Module:Dump • Module to display Wikidata entities or other Lua tables; useful when developing other modules.

Football manager history navboxes

 * Module:Football manager history • Module to generate a football manager history navbox.
 * Template:Football manager history • Template that invokes module.
 * Template:Football manager history/doc • Template documentation.
 * Template:Football manager history/sandbox • Sandbox template.
 * Template:America Football Club managers • Example of a navbox.
 * Vanderlei Luxemburgo • Example of an article with many navboxes.
 * What links here • Navboxes that use the module (all of them, now that the main template uses the module).
 * Category:Football template errors • Articles/templates with a detected syntax error.

Horse race distance
Module:Convert/helper implements function  to display a distance in miles, furlongs and yards for articles such as List of British National Hunt races.
 * Template:Horse race distance • Template that invokes module.
 * Template:Hrd • Shortcut.

IPblock
Module:IPblock implements Template:Blockcalc to calculate IP ranges for admins who need to block several IP addresses. The name blockcalc can be entered for easy use although the official name is IP range calculator. The short name is used because too many templates start with "IP" and because it matches toollabs:blockcalc. Also, "block" = CIDR block and WP:Block.
 * Template:Blockcalc • Template that invokes module.

IPblock modules

Plan to move IP handling functions to another module.
 * Module:IP • Handle IP addresses for other modules.
 * Module talk:IP • Discussion.
 * Module:IP/testcases • Tests.
 * Module:Sandbox/Johnuniq/ip • Temporary test.
 * Module talk:Sandbox/Johnuniq/ip • Results of running test.

Handle list of sensitive IP addresses (by Mr. Stradivarius).
 * Module:Sensitive IP addresses
 * Module:Sensitive IP addresses/list
 * Module:Sensitive IP addresses/list/validate

A related module (created by קיפודנחש) tests a parameter for validity.
 * Module:IPAddress • function  tests for a valid IPv4/IPv6 address or CIDR range

JCW
Module:JCW (started by Galobtter) is used at various User:JL-Bot subpages, particularly User:JL-Bot/Citations.cfg • User:JL-Bot/Maintenance.cfg • User:JL-Bot/Publishers.cfg • User:JL-Bot/Questionable.cfg • User:JL-Bot/Questionable.cfg/General • User:JL-Bot/Questionable.cfg/Header • User:JL-Bot/Questionable.cfg/Journals • User:JL-Bot/Questionable.cfg/Publishers • User:JL-Bot/Selected.cfg.
 * Module:JCW
 * Template:JCW-doi-redirects
 * Template:JCW-selected
 * Template:JCW-exclude
 * Template:JCW-pattern

Key
Module:Key implements Template:Key_press to display computer keyboard key combinations using kbd.
 * Template:Key press • Template that invokes module.
 * Template:Key press/testcases • Tests showing some examples.
 * Module:Key • Module which implements template and which can be called directly with  to reduce include size.
 * Table of keyboard shortcuts • Article which exceeded post-expand include size using the old template

Navbox
Module:Navbox (created by User:Toohool) implements Template:Navbox. A new procedure changes the way striping occurs (striping displays the rows in a table with alternating background colors).
 * Template:Navbox • Template that invokes module.
 * Template talk:Navbox • Discussion.
 * Template:Navbox/testcases • Tests comparing results from the template and its sandbox.
 * Category:Navbox orphans • Tracking category to show pages using a child navbox without a proper parent navbox.

NUMBEROF
Development of module started by User:GreenC.
 * Template:NUMBEROF • template to get number of: activeusers, admins, articles, edits, files, pages, users
 * Template talk:NUMBEROF • discussion
 * Template:Wikipedia rank by size • template to get site from rank (by number of articles), or vice versa
 * Template talk:Wikipedia rank by size • discussion
 * Module:NUMBEROF • code to implement NUMBEROF and Wikipedia rank by size
 * Module:NUMBEROF/data • loaded once per page from mw.ext.data.get('Wikipedia statistics/data.tab') • c:Data:Wikipedia statistics/data.tab
 * Module:NUMBEROF/meta • loaded once per page from mw.ext.data.get('Wikipedia statistics/meta.tab') • c:Data:Wikipedia statistics/meta.tab
 * Module:NUMBEROF/rank • loaded once per page from mw.ext.data.get('Wikipedia statistics/rank/wikipedia.tab') • c:Data:Wikipedia statistics/rank/wikipedia.tab
 * Module:NUMBEROF/other • loaded once per page from mw.ext.data.get('Wikipedia statistics/rank/X.tab') where X is each other sister project, for example c:Data:Wikipedia statistics/rank/wikiquote.tab
 * Template:NUMBEROF/testcases
 * Module:Sandbox/Johnuniq/temp
 * Module talk:Sandbox/Johnuniq/temp • dump of Wikipedia_statistics/data.tab
 * c:Special:PrefixIndex/Data:Wikipedia statistics • all statistics pages

Particles
List of baryons is a featured list but was exceeding the template expansion size limit. This module implements Subatomic particle in a more efficient manner and allows multiple particles to be specified and displayed in a single nowrap span.
 * Module:Particles • Use  or   in an article (using a template would double the expansion size).
 * Module:Particles/data • Particle definitions.

Team appearances list
For use in infoboxes, the module produces a horizontal list of team appearances at a specified sports competition. The module was started by Izkala.
 * Template:Team appearances list • Template that invokes module.
 * Module talk:Team appearances list • Discussion.
 * Template:Team appearances list/testcases • Some tests.
 * Module talk:Team appearances list/show • Results of using Module:Team appearances list/show to list data.

Team appearances list modules

Related Look up a country name/flag from its alias (started by Primefac).
 * Template talk:Country alias and Module talk:Country alias • Discussion.

Val
Module:Val implements Template:Val to format values, optionally with units (started by The Mol Man).
 * Template:Val • Template that invokes module.
 * Template:Val/sandbox • Invokes Module:Val/sandbox
 * Template:Val/testcases • Tests for template.
 * Template talk:Val/testcases • Results of running tests.
 * Category:Pages with incorrect formatting templates use • Pages with a detected syntax error.

Val modules

Weather box
Display a table with monthly weather values (started by Dragons flight).
 * Template:Weather box • Template that invokes Module:Weather box.
 * Template talk:Weather box • Discussion.
 * Module:Weather box • Implement logic from old Template:Weather box.
 * Module:Weather box/row • Outputs one row of the box.
 * Module:Weather box/colors • Table of colors for cells in box.

Weather templates/modules