Replace ArticleSaveComplete hook usage

Bug: T147558
Change-Id: I30f8e4d3c98a421036374245522bc0784ceafec3
This commit is contained in:
Reedy 2016-10-06 17:24:42 +01:00
parent 2429c84002
commit 496afa6548
2 changed files with 2 additions and 2 deletions

View file

@ -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' ) {

View file

@ -76,7 +76,7 @@
"EditFilter": [
"TitleBlacklistHooks::validateBlacklist"
],
"ArticleSaveComplete": [
"PageContentSaveComplete": [
"TitleBlacklistHooks::clearBlacklist"
],
"ScribuntoExternalLibraries": [