https://bugzilla.wikimedia.org/show_bug.cgi?id=37616
Terry Chay <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #9 from Terry Chay <[email protected]> 2012-06-18 18:45:13 UTC --- I'd think the rev. lottery is simplest. if ( articleID % 1000 < lotteryOdds ) { unregister AFTv4 hook gets AFTv5 } Not sure what "unregister" would be like: For instance: if AFTv4 code loads before AFTv5 then something like … array_splice($wgHooks[…], array_search(…, $wgHooks[…]), 1) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
