Page MenuHomePhabricator

Example quarry query for searching multiple wikis for locally customized mediawiki:foo pages
Open, LowPublic

Description

I'd like an example query, to add to https://wikitech.wikimedia.org/wiki/Help:MySQL_queries It's a generalizable question that I hit every few months.

I'd like to find all instances of a [[Mediawiki:Foo]] page that have been customized - i.e. where they have been created locally, versus just using the default strings.

E.g.1 https://en.wikipedia.org/wiki/MediaWiki:Talk has been customized on Enwiki (the default is "Discussion", per translatewiki). Whereas at Frwiki, the local override was deleted in 2007, and now they just use the default - https://fr.wikipedia.org/wiki/MediaWiki:Talk

E.g.2 https://fr.wikipedia.org/wiki/MediaWiki:Pageinfo-footer doesn't exist, but https://de.wikipedia.org/wiki/MediaWiki:Pageinfo-footer and https://en.wikipedia.org/wiki/MediaWiki:Pageinfo-footer do exist.

This kind of information might help someone to decide to collate all the good ideas that are currently only in the locally customized versions, and merge them into the (a new) default message.

(Yuvipanda, Halfak, and I, discussed this a bit, in IRC)

See also: T140585: The problem of customized local messages for links to Wikimedia tools

Event Timeline

Quiddity updated the task description. (Show Details)

For output... If it's not possible in quarry, I'm envisioning something akin to https://meta.wikimedia.org/wiki/Special:SiteMatrix where it would show existing local-overrides in blue.

(Today's random example is: MediaWiki:Interwiki config-sorting order, which I'm learning about at m:Interwiki_sorting_order, and wondering how many wikis use this function.)