Hoo man has submitted this change and it was merged. Change subject: Include style for "edit links" for page preview action ......................................................................
Include style for "edit links" for page preview action Bug: T94143 Change-Id: Ic752b44a5e7cace4bd9d70ac4831ccb313f9571e --- M client/includes/Hooks/BeforePageDisplayHandler.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Hoo man: Verified; Looks good to me, approved diff --git a/client/includes/Hooks/BeforePageDisplayHandler.php b/client/includes/Hooks/BeforePageDisplayHandler.php index 12791dd..b3e0d44 100644 --- a/client/includes/Hooks/BeforePageDisplayHandler.php +++ b/client/includes/Hooks/BeforePageDisplayHandler.php @@ -68,7 +68,7 @@ private function hasEditOrAddLinks( OutputPage $out, Title $title, $actionName ) { if ( $out->getProperty( 'noexternallanglinks' ) || - $actionName !== 'view' || + !in_array( $actionName, array( 'view', 'submit' ) ) || !$title->exists() ) { return false; -- To view, visit https://gerrit.wikimedia.org/r/200125 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic752b44a5e7cace4bd9d70ac4831ccb313f9571e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Aude <aude.w...@gmail.com> Gerrit-Reviewer: Hoo man <h...@online.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits