Personal tools
From wiki.swiftlytilting.com
Jump to: navigation, search

MaintenanceShell

(Installation)
 
Line 9: Line 9:
=== Working directories ===
=== Working directories ===
-
The default [http://en.wikipedia.org/wiki/Working_directory working directory] for the maintenance scripts is '''''yourwikidir''/mainenance/''' .  You may override this value using '''$wgMaintenanceShellDir'''.
+
The default [http://en.wikipedia.org/wiki/Working_directory working directory] for the maintenance scripts is '''''yourwikidir''/maintenance/''' .  You may override this value using '''$wgMaintenanceShellDir'''.
<source lang=php>
<source lang=php>
# Default settings
# Default settings
Line 20: Line 20:
==Downloads==
==Downloads==
 +
* [http://swiftlytilting.com/downloads/MaintenanceShell.0.2.4.zip MaintenanceShell 0.2.4] - 22:14, 9 May 2010 (UTC)
 +
 +
* [http://swiftlytilting.com/downloads/MaintenanceShell.0.2.3.zip MaintenanceShell 0.2.3] - 00:55, 8 May 2010 (UTC)
 +
* [http://swiftlytilting.com/downloads/MaintenanceShell.0.2.2.zip MaintenanceShell 0.2.2] - 01:13, 19 June 2009 (UTC)
* [http://swiftlytilting.com/downloads/MaintenanceShell.0.2.2.zip MaintenanceShell 0.2.2] - 01:13, 19 June 2009 (UTC)
Line 32: Line 36:
# Download the installation package.  
# Download the installation package.  
# Unzip and place all files in '''''yourwikidir''/extensions/MaintenanceShell/'''.
# Unzip and place all files in '''''yourwikidir''/extensions/MaintenanceShell/'''.
-
# Add the following to [[Manual:LocalSettings.php|LocalSettings.php]]:
+
# Add the following to [[mw:Manual:LocalSettings.php|LocalSettings.php]]:
<source lang="php">
<source lang="php">
# Sysops will have access to the MaintenanceShell
# Sysops will have access to the MaintenanceShell
Line 44: Line 48:
===User rights===
===User rights===
-
MaintenanceShell adds a new user right called ''maintenanceshell'', which a user must be granted before they can access the MaintenanceShell page.  You may add the right to an existing group, or assign it to a new group and add users to that group.  Place the following code in [[Localsettings.php]]:
+
MaintenanceShell adds a new user right called ''maintenanceshell'', which a user must be granted before they can access the MaintenanceShell page.  You may add the right to an existing group, or assign it to a new group and add users to that group.  Place the following code in [[mw:Manual:Localsettings.php|LocalSettings.php]]:
Existing group:
Existing group:
Line 56: Line 60:
== Change Log ==
== Change Log ==
 +
=== v0.2.4 ===
 +
* Fixed IE related bug
 +
 +
=== v0.2.3 ===
 +
* Moved all strings to the language file to allow for localization
 +
* Includes German language localization
 +
* Fixed some minor bugs
 +
=== v0.2.2 ===
=== v0.2.2 ===
* Included support for double quote marks (<tt>""</tt>) which allow for parameters with spaces as well as parameters with null values.  
* Included support for double quote marks (<tt>""</tt>) which allow for parameters with spaces as well as parameters with null values.  
Line 70: Line 82:
=== v0.1.0 ===
=== v0.1.0 ===
* First public release
* First public release
 +
== Notes ==
== Notes ==
MaintenanceShell tricks maintenance scripts into thinking they are running from the command line instead of a web server.  There may be unexpected results due to this fact -- however, all scripts tested so far are working normally. Please report any unexpected results on talk page.
MaintenanceShell tricks maintenance scripts into thinking they are running from the command line instead of a web server.  There may be unexpected results due to this fact -- however, all scripts tested so far are working normally. Please report any unexpected results on talk page.
 +
 +
=== Errors in commandLine.inc ===
 +
'''commandLine.inc''' is provided with your Mediawiki installation.  Depending on your error settings you may see some warning and notice messages emited from commandLine.inc when you run scripts using MaintenanceShell.  You can edit commandLine.inc in two places to hide these errors.
 +
 +
====Line 27====
 +
Change
 +
define('MEDIAWIKI',true);
 +
To
 +
@ define('MEDIAWIKI',true);
 +
 +
====Line 115====
 +
Change
 +
if ( file_exists ....
 +
To
 +
if ( @ file_exists ....
==See also==
==See also==
* [[mw:Manual:Maintenance scripts]]
* [[mw:Manual:Maintenance scripts]]
* [[mw:Extension:Maintenance]]
* [[mw:Extension:Maintenance]]

Current revision as of 15:24, 9 May 2010

Winbinder Projects