mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-12-18 00:20:40 +00:00
Replace ArticleSaveComplete hook usage
Bug: T147558 Change-Id: I30f8e4d3c98a421036374245522bc0784ceafec3
This commit is contained in:
parent
2429c84002
commit
496afa6548
|
@ -277,7 +277,7 @@ class TitleBlacklistHooks {
|
|||
* @param Article $article
|
||||
*/
|
||||
public static function clearBlacklist( &$article, &$user,
|
||||
$text, $summary, $isminor, $iswatch, $section )
|
||||
$content, $summary, $isminor, $iswatch, $section )
|
||||
{
|
||||
$title = $article->getTitle();
|
||||
if ( $title->getNamespace() == NS_MEDIAWIKI && $title->getDBkey() == 'Titleblacklist' ) {
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
"EditFilter": [
|
||||
"TitleBlacklistHooks::validateBlacklist"
|
||||
],
|
||||
"ArticleSaveComplete": [
|
||||
"PageContentSaveComplete": [
|
||||
"TitleBlacklistHooks::clearBlacklist"
|
||||
],
|
||||
"ScribuntoExternalLibraries": [
|
||||
|
|
Loading…
Reference in a new issue