Page MenuHomePhabricator

Copy year browsing templates and modules to Commons and SVWP
Closed, ResolvedPublic

Description

There is a template that adds links to previous and next year on WMSE wiki (see e.g. Projekt:Wikipedia_i_utbildning_2018). This could also be useful on other wikis, such as SVWP and Commons. It uses a module that with some simple logic looks for the years to link.

Event Timeline

I haven't done anything with it, but I think I could quite easily copy it. For SVWP we probably want to document the module a bit and for Commons template and module needs to be translated. Was there anything in particular that this should be used for?

I copied over the module and the template to SVWP and added it to the top of Wikipedia:Projekt musik/Melodifestivalen 2019, ...2020 and ...2022. There isn't a page for 2021 so that was a good opportunity to show the overwrite parameters.

Added documentation and made minimal edits to make it more relevant to SVWP.

Imported to Commons and translated documentation. Added to Commons:Wiki Loves Monuments 2019 in Sweden, ...2020... and ...2021... Seems to work fine.

With that I think this is done. @AxelPettersson_WMSE, do you want to play around with the templates and see if they work as intended?

Lokal_Profil claimed this task.