Addshore has uploaded a new change for review.
https://gerrit.wikimedia.org/r/324791
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(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ElectronPdfService
refs/changes/91/324791/1
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/324791
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I920834913aec01e5285a9723014463cbc0fc3c16
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ElectronPdfService
Gerrit-Branch: wmf/1.29.0-wmf.4
Gerrit-Owner: Addshore <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits