mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-13 17:27:39 +00:00
Merge "Revert "Avoid checking blacklists in isBlacklisted() for existing titles""
This commit is contained in:
commit
8655c0c1b9
|
@ -183,13 +183,6 @@ class TitleBlacklist {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if ( $title->exists() ) {
|
||||
// Don't bother loading the filters if the page is already there.
|
||||
// Blacklisting is only meant to prevent making such titles.
|
||||
return false;
|
||||
}
|
||||
|
||||
$blacklist = $this->getBlacklist();
|
||||
$autoconfirmedItem = false;
|
||||
foreach ( $blacklist as $item ) {
|
||||
|
|
Loading…
Reference in a new issue