Open main menu

lensowiki β

Changes

Help:Maintenance scripts overview

2,009 bytes added, 15:23, 22 June 2006
1.5rc4: started 1.6.7
Mediawiki includes a range of '''maintenance scripts''' in the <tt>maintenance/</tt> directory of the installation. These scripts are designed to be run from the command line on the server. To run the php scripts (eg <tt>refreshLinks.php</tt> , <tt>rebuildall.php</tt>), use the following syntax at a command prompt on your wiki server:

<pre>foo@bar:~/www/mediawiki/maintenance$ php refreshLinks.php</pre>

To be able to use these scripts, you have to setup the file <tt>AdminSettings.php</tt> in the base directory of the installation. This can be done by renaming and editing the file <tt>AdminSettings.sample</tt> in the same directory.

Remember that MediaWiki is developed mainly for the WikiMedia foundation projects : it just happens to work for other people. Most maintenance scripts are used by the wiki administrator to do .. maintenance. As the maintainers of WikiMedia sites are also developers, most of the time they don't write any documentation :-/

== 1.5rc4 ==

; alltrans.php : Prints a list of allmessages in english, to facilitate translations.
; attribute.php : Has not been updated for 1.5x database schema.
; [[Help:Rebuildall.php|rebuildall.php]] : rebuildall is designed to rebuild the database links and indices.
; clear_stats.php : Resets statistics in the [[Special:Statistics]] page.
; deleteOldRevisions.php : Removes page histories.
; Rebuildall.php: is one of the scripts included in the maintenance/ directory of your Mediawiki installation. Its purpose is to rebuild the links and indices used for searching your site.<br>
warning: In Mediawiki 1.5rc4 Rebuildall.php will empty your recent changes table in the process. You will not be able to discern what has recently been changed on your site.

== 1.6.7 ==

; Rebuildall.php: is one of the scripts included in the maintenance/ directory of your Mediawiki installation. Its purpose is to rebuild the links and indices used for searching your site.

{{Stub}}

[[Category:System admin handbook|Maintenance scripts overview]]
Anonymous user