MediaWiki
REL1_20
|
Maintenance script to import all scripts in the MediaWiki namespace from a local site. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
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.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 33 of file importSiteScripts.php.
References Maintenance\addArg(), and Maintenance\addOption().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 41 of file importSiteScripts.php.
References $page, $title, $url, $user, $wgUser, Maintenance\error(), WikiPage\factory(), fetchScriptList(), Http\get(), Maintenance\getArg(), Maintenance\getOption(), Title\makeTitleSafe(), User\newFromName(), Maintenance\output(), and wfAppendQuery().
ImportSiteScripts::fetchScriptList | ( | ) | [protected] |
Definition at line 70 of file importSiteScripts.php.
References $page, $result, $url, Http\get(), Maintenance\getArg(), Maintenance\output(), and wfAppendQuery().
Referenced by execute().