Last modified: 2011-11-09 13:18:37 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 29092 - Stop being the only extension still using $wgArticle in any meaningful way
Stop being the only extension still using $wgArticle in any meaningful way
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
All All
: Normal major (vote)
: ---
Assigned To: Andrew Garrett
Depends on:
Blocks: global-vars
  Show dependency treegraph
Reported: 2011-05-22 17:12 UTC by Chad H.
Modified: 2011-11-09 13:18 UTC (History)
3 users (show)

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


Description Chad H. 2011-05-22 17:12:20 UTC
$ ack 'wgArticle[^a-z]'
219:	global $wgArticle;
226:	if ( $wgArticle && $article->getTitle()->equals( $wgArticle->getTitle() ) ) {
280:	global $wgArticle;
283:	if ( $wgArticle && $article->getTitle() === $wgArticle->getTitle() ) {
Comment 1 Alexandre Emsenhuber [IAlex] 2011-11-09 08:36:56 UTC
Fixed in r102497.
Comment 2 Sam Reed (reedy) 2011-11-09 13:18:37 UTC

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