Setup:Installation Guide/Advanced/Maintenance scripts: Difference between revisions

No edit summary
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
*[[mediawikiwiki:Manual:CreateAndPromote.php|createAndPromote.php]]:  <br /><span style="color: rgb(32, 33, 34); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">creates a new user or modifies an existing user. For the corresponding user, the script can then grant additional rights (e.g. sysop, bureaucrat or bot rights) and change the user's password.</span> ----
*[[mediawikiwiki:Manual:CreateAndPromote.php|createAndPromote.php]]:  <br />creates a new user or modifies an existing user. For the corresponding user, the script can then grant additional rights (e.g. sysop, bureaucrat or bot rights) and change the user's password.
*[[mediawikiwiki:Manual:DumpBackup.php|dumpBackup.php]]:    <br />creates an XML dump which contains the content of the wiki (wiki pages with all their revisions), without the site-related data. ----
----
*[[mediawikiwiki:Manual:ImportDump.php|importDump.php]]:    <br />imports  XML dump files produced from ''Special:Export'' or ''dumpBackup.php'' and saves them into the current wiki. ----
*[[mediawikiwiki:Manual:DumpBackup.php|dumpBackup.php]]:     
*[[mediawikiwiki:Manual:ImportImages.php|importImages.php]]:   <br /><span style="color: rgb(32, 33, 34); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">uploads images to MediaWiki from the same computer where the wiki is configured. It does a remote upload if configuration parameter</span> [[mediawikiwiki:Special:MyLanguage/Manual:$wgForeignFileRepos|$wgForeignFileRepos]] <span style="color: rgb(32, 33, 34); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">is configured correctly.</span> ----
<br />creates an XML dump which contains the content of the wiki (wiki pages with all their revisions), without the site-related data.  
*[[Setup:Installation Guide/Advanced/Maintenance scripts/executeTransfer|executeTransfer:]]  <br />transfer files from one wiki to another. Dependent on the extension [[Reference:ContentTransfer|ContentTransfer]]  ----
----
*[[mediawikiwiki:Manual:ImportDump.php|importDump.php]]:     
<br />imports  XML dump files produced from ''Special:Export'' or ''dumpBackup.php'' and saves them into the current wiki.  
----
*[[mediawikiwiki:Manual:ImportImages.php|importImages.php]]:    
<br />uploads images to MediaWiki from the same computer where the wiki is configured. It does a remote upload if configuration parameter[[mediawikiwiki:Special:MyLanguage/Manual:$wgForeignFileRepos|$wgForeignFileRepos]] is configured correctly.
----
*[[Setup:Installation Guide/Advanced/Maintenance scripts/executeTransfer|executeTransfer:]]   
<br />transfer files from one wiki to another. Dependent on the extension [[Reference:ContentTransfer|ContentTransfer]]   
----


* contentStabilization{{Bsvs|bsvFrom=4.3|bsvTo=|bsvFeature=}}: <br />changes the page status of pages.
* contentStabilization{{Bsvs|bsvFrom=4.3|bsvTo=|bsvFeature=}}:  
<br />changes the page status of pages.

Revision as of 14:57, 21 April 2023

  • createAndPromote.php:
    creates a new user or modifies an existing user. For the corresponding user, the script can then grant additional rights (e.g. sysop, bureaucrat or bot rights) and change the user's password.


creates an XML dump which contains the content of the wiki (wiki pages with all their revisions), without the site-related data.



imports XML dump files produced from Special:Export or dumpBackup.php and saves them into the current wiki.



uploads images to MediaWiki from the same computer where the wiki is configured. It does a remote upload if configuration parameter$wgForeignFileRepos is configured correctly.



transfer files from one wiki to another. Dependent on the extension ContentTransfer


  • contentStabilization  v4.3+:


changes the page status of pages.



To submit feedback about this documentation, visit our community forum.