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

No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
*[[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.
== Backup/Export/Import ==
----
*[[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: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.  
*[[Setup:Installation Guide/Advanced/Maintenance scripts/dumpPDF|dumpPDF.php]]:  <br />exports pages from all content namespaces to PDF.
----
*[[Setup:Installation Guide/Advanced/Maintenance scripts/executeTransfer|executeTransfer.php:]]  transfers files from one wiki to another. Dependent on the extension[[Reference:ContentTransfer|ContentTransfer]]
 
*[[Setup:Installation Guide/Advanced/Maintenance scripts/export|export.php:]]  <br />exports a defined list of pages to PDF.
*[[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.
*[[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.php:]]  <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.
== Content stabilization ==
*[[Setup:Installation Guide/Advanced/Maintenance scripts/batchStabilize|contentStabilization]]{{Bsvs|bsvFrom=4.3|bsvTo=|bsvFeature=}}: <br />changes the page status of pages.
 
== Users ==
 
* [[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.
 
 
 
__FORCETOC__

Latest revision as of 09:41, 21 May 2024

Backup/Export/Import

  • dumpBackup.php:
    creates an XML dump which contains the content of the wiki (wiki pages with all their revisions), without the site-related data.
  • export.php:
    exports a defined list of pages to PDF.
  • importDump.php:
    imports XML dump files produced fromSpecial:Export or dumpBackup.php and saves them into the current wiki.
  • importImages.php:
    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.

Content stabilization

  • contentStabilization  v4.3+:
    changes the page status of pages.

Users

  • 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.





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

No categories assignedEdit

Discussions