Last modified: 2013-10-21 08:30:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 55921 - Global variable $maintenance in doMaintenance.php may clash with other components
Global variable $maintenance in doMaintenance.php may clash with other compon...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: code_quality
  Show dependency treegraph
 
Reported: 2013-10-19 19:50 UTC by Liangent
Modified: 2013-10-21 08:30 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Liangent 2013-10-19 19:50:57 UTC
Unlike other global objects, it doesn't have a wg prefix ([[mw:wg]]), its name is so common, and it's even not mentioned in [[mw:Manual:Global object variables]].

Found in IRC log (#mediawiki):

SleePy: Some reason after calling 	require( $maintenance->loadSettings() ); in doMaintenance.php it seems to set the $maintenance object to 0;

SleePy: Oh I think I found it, has to do with a integration file for authentication which is calling its own $maintenance

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links