mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-24 06:04:05 +00:00
Add a class_alias for TitleBlacklistEntry too
TitleBlacklist compares cache version in app code, meaning that entries with old versions will still be deserialized. Bug: T307513 Change-Id: Icea6022fcf5530b2429ce660e2589dd5954577a7
This commit is contained in:
parent
a1c08ed427
commit
8cb2f2f252
|
@ -54,7 +54,9 @@
|
|||
},
|
||||
"AutoloadClasses": {
|
||||
"MediaWiki\\Extension\\TitleBlacklist\\TitleBlacklist": "includes/TitleBlacklist.php",
|
||||
"TitleBlacklist": "includes/TitleBlacklist.php"
|
||||
"TitleBlacklist": "includes/TitleBlacklist.php",
|
||||
"MediaWiki\\Extension\\TitleBlacklist\\TitleBlacklistEntry": "includes/TitleBlacklistEntry.php",
|
||||
"TitleBlacklistEntry": "includes/TitleBlacklistEntry.php"
|
||||
},
|
||||
"AutoloadNamespaces": {
|
||||
"MediaWiki\\Extension\\TitleBlacklist\\": "includes/"
|
||||
|
|
|
@ -309,3 +309,5 @@ class TitleBlacklistEntry {
|
|||
return $message ?: "titleblacklist-forbidden-{$operation}";
|
||||
}
|
||||
}
|
||||
|
||||
class_alias( TitleBlacklistEntry::class, 'TitleBlacklistEntry' );
|
||||
|
|
Loading…
Reference in a new issue