jenkins-bot has submitted this change and it was merged.

Change subject: Experiment one: Labs stripping HTML in beta
......................................................................


Experiment one: Labs stripping HTML in beta

This strips the navbox HTML from the beta mode of the mobile site.

Depends-On: I791f2f454f8cd9a7d6a0ca0cce7f1cb434f135cf
Bug: T124959
Change-Id: I5b12d0027900bad8a7ea10479c262ddbfff997ba
---
M wmf-config/InitialiseSettings-labs.php
1 file changed, 8 insertions(+), 0 deletions(-)

Approvals:
  BryanDavis: Looks good to me, approved
  Jhernandez: Looks good to me, but someone else must approve
  Bmansurov: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/wmf-config/InitialiseSettings-labs.php 
b/wmf-config/InitialiseSettings-labs.php
index 06ea68b..b23f23c 100644
--- a/wmf-config/InitialiseSettings-labs.php
+++ b/wmf-config/InitialiseSettings-labs.php
@@ -278,6 +278,14 @@
                        'default' => array( 'h2', 'h3', 'h4', 'h5', 'h6' ), // 
T110436, T110837
                ),
 
+               'wgMFRemovableClasses' => array(
+                       'default' => array(
+                               'base' => array(),
+                               'beta' => array( '.navbox' ),
+                               'HTML' => array(),
+                       ),
+               ),
+
                'wmgMFPhotoUploadEndpoint' => array(
                        'default' => 
'http://commons.wikimedia.$variant.wmflabs.org/w/api.php',
                ),

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5b12d0027900bad8a7ea10479c262ddbfff997ba
Gerrit-PatchSet: 3
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Bmansurov <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Jhernandez <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to