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

--- Comment #4 from Marius Hoch <[email protected]> ---
(In reply to Kunal Mehta (Legoktm) from comment #3)
> (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';
> }

On a scale of one to evil that's super evil... if this is a major problem I'm
ok with doing this for now, as long as we at least create a bug for fixing this
properly.

-- 
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

Reply via email to