Yaron Koren has submitted this change and it was merged. Change subject: Fix for Special:ViewData for non-short URLs ......................................................................
Fix for Special:ViewData for non-short URLs Change-Id: Idfc527eb41716a4edd3538dcccad9570cc12bc13 --- M specials/CargoViewData.php 1 file changed, 4 insertions(+), 0 deletions(-) Approvals: Yaron Koren: Checked; Looks good to me, approved jenkins-bot: Verified diff --git a/specials/CargoViewData.php b/specials/CargoViewData.php index e4c5a5c..c940e1c 100644 --- a/specials/CargoViewData.php +++ b/specials/CargoViewData.php @@ -49,8 +49,12 @@ } function displayInputForm() { + // Add the name of this special page as a hidden input, in + // case the wiki doesn't use nice URLs. + $hiddenTitleInput = Html::hidden( 'title', $this->getPageTitle()->getFullText() ); $text = <<<END <form> +$hiddenTitleInput <table> <tbody> -- To view, visit https://gerrit.wikimedia.org/r/263152 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Idfc527eb41716a4edd3538dcccad9570cc12bc13 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Cargo Gerrit-Branch: master Gerrit-Owner: Yaron Koren <yaro...@gmail.com> Gerrit-Reviewer: Yaron Koren <yaro...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits