Jdlrobson has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/387503 )
Change subject: Add mobile-formatted class to MobileFormatted content ...................................................................... Add mobile-formatted class to MobileFormatted content This will inform clients to whether they can do things such as section collapsing. Bug: T179356 Change-Id: Ifb5a14b23fdbdfd9d1eb6e157305ed87d91e5065 --- M includes/MobileFormatter.php 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/03/387503/1 diff --git a/includes/MobileFormatter.php b/includes/MobileFormatter.php index 34c6226..7724e19 100644 --- a/includes/MobileFormatter.php +++ b/includes/MobileFormatter.php @@ -665,6 +665,7 @@ } $container = $containers->item( 0 ); + $container->setAttribute( 'class', $container->getAttribute( 'class' ) . ' mobile-formatted' ); $containerChild = $container->firstChild; $firstHeading = reset( $headings ); $sectionNumber = 0; -- To view, visit https://gerrit.wikimedia.org/r/387503 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifb5a14b23fdbdfd9d1eb6e157305ed87d91e5065 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits