Mattflaschen has uploaded a new change for review. https://gerrit.wikimedia.org/r/68116
Change subject: Link history page for displayed article, not title from URL. ...................................................................... Link history page for displayed article, not title from URL. Handles redirects. Bug: 42660 Change-Id: Ie02c45744b636ba1c1cf715b90329819d94f29aa --- M includes/skins/SkinMobile.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/16/68116/1 diff --git a/includes/skins/SkinMobile.php b/includes/skins/SkinMobile.php index e92131f..5df8723 100644 --- a/includes/skins/SkinMobile.php +++ b/includes/skins/SkinMobile.php @@ -294,7 +294,7 @@ )->parse(); $timestamp = wfTimestamp( TS_UNIX, $timestamp ); $historyUrl = $inAlpha ? SpecialPage::getTitleFor( 'MobileDiff', $revId )->getLocalUrl() : - $ctx->getMobileUrl( wfExpandUrl( $this->getRequest()->appendQuery( 'action=history' ) ) ); + $ctx->getMobileUrl( $title->getFullURL( 'action=history' ) ); $postBodyText = Html::element( 'a', array( 'id' => 'mw-mf-last-modified', 'data-timestamp' => $timestamp, -- To view, visit https://gerrit.wikimedia.org/r/68116 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie02c45744b636ba1c1cf715b90329819d94f29aa Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Mattflaschen <mflasc...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits