Page MenuHomePhabricator

ArticlePurge hook is broken after r86041
Closed, ResolvedPublic

Description

Author: cryptocoryne76

Description:
patch

After changes in r86401 ArticlePurge hook is broken:

$wgHooks['ArticlePurge'][] = 'testArticlePurge';
public static function testArticlePurge( &$article ) {
global $wgOut;

$wgOut->addWikiMsg( 'error' );
return false;
}

is displayed normal page after execute "action=purge" without any errors (1.18rc1).

I've write patch to fix this bug.


Version: unspecified
Severity: normal

Attached:

Details

Reference
bz32454

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz32454.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Nov 17 2011, 8:20 AM

Looks like the submitted patch has been applied.