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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57921, the corresponding Phabricator task for complete and up-to-date bug report information.
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