jenkins-bot has submitted this change and it was merged.

Change subject: Fix TitleFormatter::getPrefixedDBkey() call
......................................................................


Fix TitleFormatter::getPrefixedDBkey() call

Bug: T148326
Change-Id: Iccad35d10be84ed334d2872812bc0fdc6c27f3ca
---
M handlers/TextHandler/TextHandler.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Paladox: Looks good to me, but someone else must approve
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/handlers/TextHandler/TextHandler.php 
b/handlers/TextHandler/TextHandler.php
index 1b41f26..8ea8ebb 100644
--- a/handlers/TextHandler/TextHandler.php
+++ b/handlers/TextHandler/TextHandler.php
@@ -313,7 +313,7 @@
         */
        function getPrefixedDBkey( $pageTitle ) {
                if ( $pageTitle instanceof Title ) {
-                       return TitleFormatter::getPrefixedDBkey( $pageTitle );
+                       return $pageTitle->getPrefixedDBkey();
                } elseif ( $pageTitle instanceof ForeignTitle ) {
                        return $pageTitle->getFullText();
                }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iccad35d10be84ed334d2872812bc0fdc6c27f3ca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TimedMediaHandler
Gerrit-Branch: master
Gerrit-Owner: Reedy <re...@wikimedia.org>
Gerrit-Reviewer: Brion VIBBER <br...@wikimedia.org>
Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com>
Gerrit-Reviewer: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: TheDJ <hartman.w...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to