MediaWiki
REL1_22
|
Maintenance script to import all scripts in the MediaWiki namespace from a local site. More...
Public Member Functions | |
__construct () | |
execute () | |
Protected Member Functions | |
fetchScriptList () |
Maintenance script to import all scripts in the MediaWiki namespace from a local site.
Definition at line 32 of file importSiteScripts.php.
Reimplemented from Maintenance.
Definition at line 33 of file importSiteScripts.php.
References Maintenance\addArg(), and Maintenance\addOption().
Reimplemented from Maintenance.
Definition at line 41 of file importSiteScripts.php.
References $title, $user, $wgUser, array(), as, Maintenance\error(), WikiPage\factory(), fetchScriptList(), Http\get(), Maintenance\getArg(), Maintenance\getOption(), global, ContentHandler\makeContent(), Title\makeTitleSafe(), User\newFromName(), Maintenance\output(), and wfAppendQuery().
ImportSiteScripts::fetchScriptList | ( | ) | [protected] |
Definition at line 71 of file importSiteScripts.php.
References $result, array(), as, empty, Http\get(), Maintenance\getArg(), Maintenance\output(), and wfAppendQuery().
Referenced by execute().