Certain scripts will require elevated access to the database. In order to
provide this, first create a MySQL user with "all" permissions on the wiki
-database, and then place their username and password in an AdminSettings.php
-file in the directory above. See AdminSettings.sample for specifics on this.
+database, and then set $wgDBadminuser and $wgDBadminpassword in your
+LocalSettings.php
=== Brief explanation of files ===
cleanupSpam.php
Mass-revert insertion of linkspam
+ createAndPromote.php
+ Create a user with administrator (and optionally, bureaucrat) permissions
+
deleteOldRevisions.php
Erase old revisions of pages from the database
dumpBackup.php
Backup dump script
- dumpHTML.php
- Produce an HTML dump of a wiki
+ edit.php
+ Edit a page to change its content
+
+ findHooks.php
+ Find hooks that aren't documented in docs/hooks.txt
importDump.php
XML dump importer
-
+
importImages.php
- Imports images into the wiki
-
- importTextFile.php
- Imports the contents of a text file into a wiki page
+ Import images into the wiki
+
+ moveBatch.php
+ Move a batch of pages
+
+ namespaceDupes.php
+ Check articles name to see if they conflict with new/existing namespaces
nukePage.php
Wipe a page and all revisions from the database
rebuildImages.php
Update image metadata records
- rebuildMessages.php
+ rebuildmessages.php
Update the MediaWiki namespace after changing site language
rebuildtextindex.php
runJobs.php
Immediately complete all jobs in the job queue
+ showCacheStats.php
+ Show all statistics stored in the cache
+
+ undelete.php
+ Undelete all revisions of a page
+
update.php
- Check and upgrade the database schema to the current version
\ No newline at end of file
+ Check and upgrade the database schema to the current version
+
+ updateRestrictions.php
+ Update pages restriction to the new schema
+
+ userOptions.php
+ Change user options