Page MenuHomePhabricator

Stop being the only extension still using $wgArticle in any meaningful way
Closed, ResolvedPublic

Description

$ 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() ) {


Version: unspecified
Severity: major

Details

Reference
bz29092

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:26 PM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz29092.
demon created this task.May 22 2011, 5:12 PM
IAlex added a comment.Nov 9 2011, 8:36 AM

Fixed in r102497.

Reedy added a comment.Nov 9 2011, 1:18 PM

Yaaaaaaayyyyyyyyyyyyyyyyyyy