jenkins-bot has submitted this change and it was merged.
Change subject: Allow filtering links and html for page creations
......................................................................
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
---
M AbuseFilter.class.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
CSteipp: Looks good to me, approved
jenkins-bot: Verified
diff --git a/AbuseFilter.class.php b/AbuseFilter.class.php
index 183e8d0..d7de952 100644
--- a/AbuseFilter.class.php
+++ b/AbuseFilter.class.php
@@ -1956,7 +1956,7 @@
$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 );
}
--
To view, visit https://gerrit.wikimedia.org/r/67043
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iee07fc8bfe41e78abb73d8ae969aa1e4d97339bc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/AbuseFilter
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: CSteipp <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: John Erling Blad <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: MF-Warburg <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: Tim Starling <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits