https://bugzilla.wikimedia.org/show_bug.cgi?id=67875

--- Comment #3 from Kunal Mehta (Legoktm) <legoktm.wikipe...@gmail.com> ---
(In reply to Marius Hoch from comment #2)
> I think the only thing we really want to remove from the array over here (or
> disable in another way) is AbuseFilter... maybe there's another way to
> achieve this, but I can't think of anything offhand.

$pos = array_search( 'AbuseFilterHooks::onAbortMove', $wgHooks['AbortMove'] );
if ( $pos !== false ) {
    unset( $wgHooks['AbortMove'][$pos] );
}

// move page code

if ( $pos !== false ) { // cleanup
    $wgHooks['AbortMove'][$pos] = 'AbuseFilterHooks::onAbortMove';
}

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to