Jdlrobson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/72142


Change subject: Prevent table of contents leaking into mobile
......................................................................

Prevent table of contents leaking into mobile

No longer a table with latest corei
See I4ecd0659d1f955a9b593d281a3fef0a81c218a52

Change-Id: I3dc78680fdd9eee6b7b6083619cfd5e37b74fea3
---
M includes/formatters/MobileFormatter.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/42/72142/1

diff --git a/includes/formatters/MobileFormatter.php 
b/includes/formatters/MobileFormatter.php
index 06ae333..9c5e861 100644
--- a/includes/formatters/MobileFormatter.php
+++ b/includes/formatters/MobileFormatter.php
@@ -16,7 +16,7 @@
        protected $headings = 0;
 
        private $defaultItemsToRemove = array(
-               'table.toc',
+               '.toc',
                'div.stub',
                '#search', // remove search form element from Special:Search
                'div.sister-project',

-- 
To view, visit https://gerrit.wikimedia.org/r/72142
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3dc78680fdd9eee6b7b6083619cfd5e37b74fea3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to