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.Nov 22 2014, 12:07 AM
bzimport set Reference to bz32454.
bzimport added a subscriber: Unknown Object (MLST).

Looks like the submitted patch has been applied.