Jump to content

Wikipedia:Lua/To do

From Wikipedia, the free encyclopedia

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: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)[reply]
      • 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)[reply]
  • Make Module:Coordinates use a centralised configuration page/table so that it can be easily internationalised.