Aude has uploaded a new change for review. https://gerrit.wikimedia.org/r/200125
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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/25/200125/1 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: newchange Gerrit-Change-Id: Ic752b44a5e7cace4bd9d70ac4831ccb313f9571e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Aude <aude.w...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits