Wikipedia:Lua/To do

Jump to navigation Jump to search
 WP:Lua
Project
 WT:Lua
Project talk
 Help
 
 To do
 
 Resources
en: m: mw: external
 

This is the Lua project's to-do list. Here we list templates to be converted to Lua, and other Lua-related tasks to be done.

Templates to be converted[edit]

Template Difficulty Notes
Template:Asia topic, Template:Europe topic, etc. Medium These templates have a lot of shared code, so one module should probably do for all of them. The country names can be loaded using mw.loadData from a separate data module. It would also be useful to add a custom link parameter for each country, as at the moment editors have to go through and check that all the relevant redirects have been created. It would be much easier to just specify the correct link in the template if it is different from the one that is automatically generated.

Update: there is Module:World topic (implemented in Template:World topic) and Module:Region topic (an alpha module to be used in all region-topic templates). See Wikipedia:Lua/Requests/Archive 5#Re-write Template:World topic as a Lua module.

Template:CountryAbbr, Template:ISO 3166 code and Template:ISO 3166 name Easy Country code from name and name from code conversion templates used in infoboxes that could be sped up considerably and made more manageable with Lua.

Update: following consensus at TFD, Module:ISO 3166 exists, and its data pages are being created.

Template:Db-multiple Medium Calls Template:Csdcheck, which has already been converted to Lua. Otherwise only has one subtemplate. We could probably do with centralising the data about the different CSD criteria, as it is used in a lot of different places and is a pain to update when criteria are added and removed. But this can always be done later.

Other tasks[edit]

  • Expand Help:Lua for beginners and better integrate it with the project help page.
  • Update the documentation of the templates that are based on Module:Message box to reflect the new parameters.
    • What templates are these? A search didn't help.--Qgil (talk) 00:39, 7 December 2013 (UTC)
      • The ones listed at the top of the module documentation. I should probably do this myself, though, as it won't take that long and I already know how the code works. — Mr. Stradivarius on tour ♪ talk ♪ 04:27, 7 December 2013 (UTC)
  • Make Module:Coordinates use a centralised configuration page/table so that it can be easily internationalised.