jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/396359 )

Change subject: PageContentSave WikiPage typehint
......................................................................


PageContentSave WikiPage typehint

Change-Id: If93b759f110fec8049792a78698a86f8c156a341
---
M Hooks.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Hooks.php b/Hooks.php
index 5f16c2e..87146ca 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -52,8 +52,8 @@
         *  you should use the OutputPage::addFeedLink() method,
         *  instead.
         */
-       public static function onPageContentSaveComplete( &$article, &$user, 
$content, $summary, $minoredit, $watchthis, $sectionanchor, &$flags, $revision, 
&$status ) {
-               $title = $article->getTitle();
+       public static function onPageContentSaveComplete( WikiPage &$wikiPage, 
&$user, $content, $summary, $minoredit, $watchthis, $sectionanchor, &$flags, 
$revision, &$status ) {
+               $title = $wikiPage->getTitle();
                global $wgTwlSendNotifications;
 
                        // if the feature flag is set to true, schedule a 
callable update.

-- 
To view, visit https://gerrit.wikimedia.org/r/396359
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If93b759f110fec8049792a78698a86f8c156a341
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TheWikipediaLibrary
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to