From 496afa6548dc0ee55366c6f44f711b47a726c38a Mon Sep 17 00:00:00 2001 From: Reedy Date: Thu, 6 Oct 2016 17:24:42 +0100 Subject: [PATCH] Replace ArticleSaveComplete hook usage Bug: T147558 Change-Id: I30f8e4d3c98a421036374245522bc0784ceafec3 --- TitleBlacklist.hooks.php | 2 +- extension.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TitleBlacklist.hooks.php b/TitleBlacklist.hooks.php index 2b81c14d..f5f57fce 100644 --- a/TitleBlacklist.hooks.php +++ b/TitleBlacklist.hooks.php @@ -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' ) { diff --git a/extension.json b/extension.json index 349746a7..f5a64c9c 100644 --- a/extension.json +++ b/extension.json @@ -76,7 +76,7 @@ "EditFilter": [ "TitleBlacklistHooks::validateBlacklist" ], - "ArticleSaveComplete": [ + "PageContentSaveComplete": [ "TitleBlacklistHooks::clearBlacklist" ], "ScribuntoExternalLibraries": [