Wikipedia:Lua/To do

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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.
Template:WPBannerMeta Hardest This may be the most complicated template on Wikipedia, although there are a couple of other strong contenders. This has many subtemplates, is very complex, and really needs to be rewritten completely rather than being converted. Needs to play nicely with third-party tools such as User:Kephir/gadgets/rater. There has already been some work at Module:WikiProjectBanner, but progress has stalled as of Dec 2013. This may be better done as a MediaWiki extension - this would allow projects to store ratings in the database, and would allow better JavaScript integration.

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