HomePhabricator

* (bug 29092) Removed usage of $wgArticle from AbuseFilter extension Instead…

Authored by IAlex.

Description

  • (bug 29092) Removed usage of $wgArticle from AbuseFilter extension Instead pass the Article object from the EditFilterMerged hook to the AFComputedVariable object and see whether the object is present to do a parse operation since other code paths won't pass an Article object

Also simplified the fallback code in AFComputedVariable::compute() to simply continue instead of calling the function again.

Details

Committed
IAlexNov 9 2011, 8:36 AM
Parents
rMREL7a512ab2cbe4: Localisation updates for core and extension messages from translatewiki.net
Branches
Unknown
Tags
Unknown
ChangeId
None
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.