MediaWiki namespace clean-up tool

Language code dot wikiproject dot org

Notes:

  1. FIXME: Doesn't work correctly for MediaWiki:Title/xx pages
  2. For large wikis it doesn't get all pages, since there is a limit
  3. Update 2012-12-23: Wikivoyage and Wikidata added

. .org

Going to compare local message pages on pih.wikipedia.org to the default pih localisation (Allmessages; Allpages)

Doing basic query to check API availability ... (query) OK

Getting list of pages in MediaWiki namespace ... (query) OK

Getting content of these messages ... (query) OK

Table of contents:

Identical

Local messages that have content that is identical to the default content (redundant; to delete):

Nothing.

List of custom messages identical to default (for deleting by bot):

(none)

No default

No default (either redundant because the message no longer exists, or locally-used custom messages):

MessageContent
forum-url (histdelTW.N)Wikipedia:Trii'nohlij
newpages-url (histdelTW.N)Special:NewPages

Raw list:

MediaWiki:forum-url
MediaWiki:newpages-url

Custom

Custom (should stay or can be transferred to MessagesPih.php file):

MessageCustomDefault
currentevents-url (TW.N)Dem Kurent IwentProject:Dem Kurent Iwent
deletereason-dropdown (TW.N)*Common delete reasons ** Author request ** Copyright violation ** Spam of external links ** Vandalism* Common delete reasons ** Spam ** Vandalism ** Copyright violation ** Author request ** Broken redirect
helppage (TW.N)Hiiwp:Dem Kontenthttps://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents

Array of translations made on local wiki (might be partially transferable to translatewiki/MessagesXx file):

'currentevents-url' => 'Dem Kurent Iwent',
'deletereason-dropdown' => '*Common delete reasons
** Author request
** Copyright violation
** Spam of external links
** Vandalism',
'helppage' => 'Hiiwp:Dem Kontent',