MediaWiki
REL1_22
|
Maintenance script that deletes all pages in the MediaWiki namespace of which the content is equal to the system default. More...
Public Member Functions | |
__construct () | |
execute () | |
Protected Member Functions | |
fetchMessageInfo ($langCode, array &$messageInfo) |
Maintenance script that deletes all pages in the MediaWiki namespace of which the content is equal to the system default.
Definition at line 30 of file deleteEqualMessages.php.
Reimplemented from Maintenance.
Definition at line 31 of file deleteEqualMessages.php.
References Maintenance\addOption().
Reimplemented from Maintenance.
Definition at line 94 of file deleteEqualMessages.php.
References $error, $key, $result, $title, $user, $value, $wgUser, array(), as, Maintenance\error(), WikiPage\factory(), Language\fetchLanguageNames(), fetchMessageInfo(), Maintenance\getOption(), global, Maintenance\hasOption(), Title\makeTitle(), User\newFromName(), Maintenance\output(), wfGetDB(), and wfWaitForSlaves().
DeleteEqualMessages::fetchMessageInfo | ( | $ | langCode, |
array &$ | messageInfo | ||
) | [protected] |
string | bool | $langCode | See --lang-code option. |
Definition at line 43 of file deleteEqualMessages.php.
References $key, $wgContLang, array(), as, AllmessagesTablePager\getCustomisedStatuses(), Language\getLocalisationCache(), global, Maintenance\output(), and wfMessage().
Referenced by execute().