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

Change subject: Use prefixedDbKey when redirecting to Electron
......................................................................


Use prefixedDbKey when redirecting to Electron

Bug: T152113
Change-Id: I920834913aec01e5285a9723014463cbc0fc3c16
---
M specials/SpecialElectronPdf.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/specials/SpecialElectronPdf.php b/specials/SpecialElectronPdf.php
index e16b070..d9fe326 100644
--- a/specials/SpecialElectronPdf.php
+++ b/specials/SpecialElectronPdf.php
@@ -173,7 +173,7 @@
        private function getServiceUrl( Title $title ) {
                $restBaseUrl = $this->config->get( 
'ElectronPdfServiceRESTbaseURL' );
 
-               return $restBaseUrl . urlencode( $title->getPrefixedText() );
+               return $restBaseUrl . urlencode( $title->getPrefixedDBkey() );
        }
 
        /**

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I920834913aec01e5285a9723014463cbc0fc3c16
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ElectronPdfService
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to