Reedy has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/316225

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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TimedMediaHandler 
refs/changes/25/316225/1

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: newchange
Gerrit-Change-Id: Iccad35d10be84ed334d2872812bc0fdc6c27f3ca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TimedMediaHandler
Gerrit-Branch: master
Gerrit-Owner: Reedy <re...@wikimedia.org>

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

Reply via email to