Jump to content

Topic on Project:Village Pump

Centralize "Used by" data of extensions

9
Shirayuki (talkcontribs)

Can we centralize the "Used by" data of the extensions using Lua modules? It is to avoid changing the extension pages to add "Used by".

Legoktm (talkcontribs)

That's a great idea, +1.

Bawolff (talkcontribs)

I don't have a preference one way or another, but why is it bad to change an extension page to add "used by"?

Shirayuki (talkcontribs)

Most extension pages are translatable. Every time a translatable page is changed, the translation administrators must review the diff of the change and mark the revision for translation...

Shirayuki (talkcontribs)

Hello? It is tedious to mark for translation a large number of pages where only "Used by" has been changed.

Quiddity (WMF) (talkcontribs)

+1. It keeps bumping dozens of pages on my watchlist (and thus email), for changes that I don't need to be aware of.

Legoktm (talkcontribs)

Done! The data is now centralized at Module:Used by/data.json, and the template reads from it via Module:Used by. Legobot is removing the data in the individual extension/skin pages, which will be the final time these pages are bumped for "Used by" data.

Legoktm (talkcontribs)

For reference, I posted the source code for extracting the data and then removing it from the extension/skin pages.

Shirayuki (talkcontribs)

Thanks for creating this wonderful module. However, I believe tweaks are needed for the display when the extension/skin is not used on any wiki farms/hosts.

Reply to "Centralize "Used by" data of extensions"