Florianschmidtwelzow has uploaded a new change for review. https://gerrit.wikimedia.org/r/260787
Change subject: Add mw-content-text class to bodytext ...................................................................... Add mw-content-text class to bodytext That makes minerva a bit more consistent with desktop skins and is needed for Popups. Bug: T113243 Change-Id: I944b2dd8156aa6f98485d408f8823f2a531c1889 --- M includes/skins/SkinMinerva.php 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/87/260787/1 diff --git a/includes/skins/SkinMinerva.php b/includes/skins/SkinMinerva.php index cbd2ea0..1ef62b8 100644 --- a/includes/skins/SkinMinerva.php +++ b/includes/skins/SkinMinerva.php @@ -84,6 +84,8 @@ // Perform a few extra changes if we are in mobile mode if ( $this->isMobileMode ) { + // An ID that includes the actual body text; without categories, contentSub, ... + $html = Html::rawElement( 'div', array( 'id' => 'mw-content-text' ), $html ); // Set our own bodytext that has been filtered by MobileFormatter $tpl->set( 'bodytext', $html ); } -- To view, visit https://gerrit.wikimedia.org/r/260787 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I944b2dd8156aa6f98485d408f8823f2a531c1889 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits