Extension talk:Maintenance

Pretty Cool
I haven't tried it out yet (and with my non-wiki related worload won't get to for a while...), but this seems very useful. Thanks for making it!

Are you planning to add more scripts to it? If so, I would like to suggest generateSitemap.php.

Looking forward to using this extension. Smaug  21:08, 28 April 2008 (UTC)
 * Yes, I'm planning on eventually supporting the entirety of the /maintenance directory, plus any extension scripts that want to be included as well (but those get scrutinized more). --Skizzerz talk - contribs 22:26, 28 April 2008 (UTC)

It seems very usefull when you can't launch any php script within the maintenance directory ! What about deleteOldRevisions.php ? I am also very interrested by the generateSitemap.php

This is helpful, thanks! I'll keep checking back for the generateSitemap.php script as well.

deleteBatch
Is it not working yet or did I do something wrong? Fatal error: Call to undefined function wfgetlb in /home/deathbyn/club_html/extensions/Maintenance/Maintenance_body.php on line 410 --DeathByNukes 20:34, 21 June 2008 (UTC)
 * Strange, I'm not getting that error myself... Anyway, this extension is still a bit buggy after many tests with it, so I'd recommend holding off on it and using something like PHP Shell instead (google it). -- Skiz zerz  20:48, 21 June 2008 (UTC)
 * Heh, my host already has a lot of tools, I'm just not comfortable trying to modify the database directly.--DeathByNukes 22:42, 21 June 2008 (UTC)
 * The error is due to the fact that wfGetLB and such were added by Tim Starling in 32578. Thus Maintenance won't work on wikis not running 1.13alpha. You should either use an older version of Maintenance or upgrade your MediaWiki to 1.13alpha (or wait for the "full" MW 1.13 release). -- Sayuri 11:27, 22 June 2008 (UTC)

Question
Does this script work on mediawiki 1.15.1?
 * Yes It does. ^^

MW 1.16
Does this work safely with MediaWiki 1.16 ? Preferably with 1.16.0beta3 ? Krinkle 04:00, 23 July 2010 (UTC)
 * The current version does not work with 1.16. I do have an updated version that does work, but I have yet to commit it as I'd like to ideally at least have most of the common scripts supported upon its release. -- Skiz zerz  04:34, 23 July 2010 (UTC)
 * Yay late replies, but the new version in svn works with 1.16+ now. -- Skiz zerz  08:37, 5 March 2011 (UTC)
 * it not work for me the maintenance page is empty (i've changed enabled to 1 and have file on maintenance folder!)

MW 1.17 gives several parser errors
I try to install the Extension, but when I click on Special:Maintenance, I get many errors.

Including:

Please help!
 * also for me when opening Special:Maintenance I get several errors (no scripts shown on that Special page), errors shown are:
 * Warning: Error parsing .../extensions/Maintenance/metadata.ini on line 69 in .../extensions/Maintenance/Maintenance_body.php on line 51
 * Warning: Invalid argument supplied for foreach in .../extensions/Maintenance/Maintenance_body.php on line 349
 * Warning: in_array [function.in-array]: Wrong datatype for second argument in .../extensions/Maintenance/Maintenance_body.php on line 71
 * Warning: sort expects parameter 1 to be array, null given in .../extensions/Maintenance/Maintenance_body.php on line 87
 * Warning: Invalid argument supplied for foreach in .../extensions/Maintenance/Maintenance_body.php on line 88
 * I am using: Maintenance-trunk-r92186.tar.gz, Special:version shows (Version 2.0.0), --Erkan Yilmaz 13:32, 11 August 2011 (UTC)
 * Will look into this, expect a fix in a few days. -- Skiz zerz  04:47, 12 August 2011 (UTC)
 * great, I'll try the fix then, hope that motivates more ;-) --Erkan Yilmaz 04:48, 12 August 2011 (UTC)
 * Also have what seems to be the same errors after upgrade Mediawiki 1.18 and upgrading this extension to the trunk version. Here's a ScreenShot of the errors.  Mlpearc   powwow  11:14, 19 December 2011 (UTC)

Broken in Mediawiki 1.17.1
Downloaded everything for 1.17.1. I had it installed and working fine on a 1.16 install. Here are the particulars. MediaWiki 1.17.1 PHP 5.2.17 (cgi-fcgi) MySQL 5.0.67-log Once enabled, it breaks the Special:SpecialPages and throws a 500 internal. Permissions? Do I have to set something in the maintenance folder? Hutchy68 19:58, 10 January 2012 (UTC)

The metadata.ini file is either corrupted or missing. Please re-download the Maintenance extension
Clean install of Mediawiki 1.18.1, using svn to install and get this error. Tried deleting and downloading again. The ini does exist and I can open it in vi.
 * Fixed in version 2.1.0 -- Skiz zerz  05:15, 21 March 2012 (UTC)

Maintenance page empty
installed on mediawiki 1.18.2 and specil maintenance page is empty
 * I need more information than that. What is your Maintenance extension version, what is your PHP version, and what errors (if any) appear in your error logs? -- Skiz zerz  10:33, 30 March 2012 (UTC)
 * May be this problem == my error, if display_errors=off. Author, try create file named   with string   in your MW root dir and refresh Special:Maintenance for see php's errors. /D.S.Denton/ 92.36.63.4 20:19, 2 April 2012 (UTC)

Maintenance r114476 @ MediaWiki 1.18.2
Warning: Error parsing ~/extensions/Maintenance/metadata.ini on line 69 in ~/extensions/Maintenance/Maintenance_body.php on line 51 Warning: Invalid argument supplied for foreach in ~/extensions/Maintenance/Maintenance_body.php on line 353 Warning: in_array [function.in-array]: Wrong datatype for second argument in ~/extensions/Maintenance/Maintenance_body.php on line 71 Warning: sort expects parameter 1 to be array, null given in ~/extensions/Maintenance/Maintenance_body.php on line 87 Warning: Invalid argument supplied for foreach in ~/extensions/Maintenance/Maintenance_body.php on line 88 /D.S.Denton/ 92.36.63.4 20:12, 2 April 2012 (UTC)
 * Please re-download the extension, it appears your metadata.ini file got corrupted somehow. -- Skiz zerz  20:22, 3 April 2012 (UTC)
 * Re-download... also not working. Video, 2.96MB, WMV9 /D.S.Denton/ 81.177.1.71 11:44, 4 April 2012 (UTC)
 * Please state your MediaWiki version and PHP version, if you can screenshot Special:Version and your phpinfo that would likely be best. I cannot reproduce this error on my own development servers, meaning that it is an issue with something on your end. -- Skiz zerz  05:21, 5 April 2012 (UTC)
 * MediaWiki: Special:Version;
 * phpinfo: if PHP as Apache2 module / if PHP as CGI
 * /D.S.Denton/ 92.36.78.112 16:40, 5 April 2012 (UTC)