Allow filtering links and html for page creations

Right now it's impossible to filter added_links etc.
for page creations.

(Only slightly tested)

Change-Id: Iee07fc8bfe41e78abb73d8ae969aa1e4d97339bc
This commit is contained in:
Marius Hoch 2013-06-05 03:52:29 +02:00
parent 51b19d35f3
commit 89726ae861

View file

@ -1956,7 +1956,7 @@ class AbuseFilter {
$vars = new AbuseFilterVariableHolder;
// NOTE: $page may end up remaining null, e.g. if $title points to a special page.
if ( !$page && $title instanceof Title && $title->canExist() && $title->exists() ) {
if ( !$page && $title instanceof Title && $title->canExist() ) {
$page = WikiPage::factory( $title );
}