Last modified: 2011-11-09 13:18:37 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 T31092, the corresponding Phabricator task for complete and up-to-date bug report information.
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
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
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: ---


Attachments

Description Chad H. 2011-05-22 17:12:20 UTC
$ ack 'wgArticle[^a-z]'
AbuseFilter/AbuseFilterVariableHolder.php
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
Yaaaaaaayyyyyyyyyyyyyyyyyyy

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


Navigation
Links