https://bugzilla.wikimedia.org/show_bug.cgi?id=32454
Web browser: ---
Bug #: 32454
Summary: ArticlePurge hook is broken after r86041
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 9482
--> https://bugzilla.wikimedia.org/attachment.cgi?id=9482
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l