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

Redaktion (talk | contribs)
No edit summary
Redaktion (talk | contribs)
No edit summary
 
Line 17: Line 17:


* [[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: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.
* [[Setup:Installation Guide/Advanced/Maintenance scripts/BlockInactiveUsers|BlockInactiveUsers.php]]: <br />automatically deactivates users based on their last login timestamp.
* [[Setup:Installation Guide/Advanced/Maintenance scripts/BlockInactiveUsers|BlockInactiveUsers.php]]:{{Bsvs|bsvTo=|bsvFrom=5}} <br />automatically deactivates users based on their last login timestamp.






__FORCETOC__
__FORCETOC__

Latest revision as of 07:58, 25 April 2025

Backup/Export/Import

  • CreatePDF.php:  v5+
    exports a defined list of pages to PDF.
  • 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:  -v4.5
    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

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.
  • BlockInactiveUsers.php:  v5+
    automatically deactivates users based on their last login timestamp.





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