Page MenuHomePhabricator

Get list of wikis/pages using English Wikipedia's refToolbar
Closed, ResolvedPublic

Description

I've started the migration of the RefToolbar script into a gadget on English Wikipedia[1] but this requires moving a few pages around and it is likely this will affect other wikis which are importing the scripts from their old location.

I would like someone with shell access to run [[wikitech:mwgrep]] on WMF wikis to get a list of JS pages where these strings appears:
en.wikipedia.org/w/index.php?title=MediaWiki:RefToolbar.js
en.wikipedia.org/w/index.php?title=MediaWiki:RefToolbarConfig.js
en.wikipedia.org/w/index.php?title=MediaWiki:RefToolbarLegacy.js
en.wikipedia.org/w/index.php?title=MediaWiki:RefToolbarMessages-en.js
en.wikipedia.org/w/index.php?title=MediaWiki:RefToolbarMessages-de.js
en.wikipedia.org/w/index.php?title=MediaWiki:RefToolbarNoDialogs.js
en.wikipedia.org/w/index.php?title=MediaWiki:RefToolbarBase.js
en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-refToolbarBase.js

This will allow us to e.g. send a notice to the talk pages of the affected wikis suggesting an update for their scripts.

[1] https://en.wikipedia.org/wiki/MediaWiki_talk:Common.js#Edit_request


Version: wmf-deployment
Severity: normal

Details

Reference
bz64704

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:22 AM
bzimport set Reference to bz64704.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 15264
mwgrep results

Attached:

Done, see attached results.

Please note that mwgrep has shown incomplete results in the past (see bug 63656), so that the results might not be complete.