Jdlrobson has uploaded a new change for review.

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


Change subject: Regression: Don't put content_block wrappers in API response
......................................................................

Regression: Don't put content_block wrappers in API response

This was introduced in Ic4fffd3cf4ddb558dc966865034dd3398e0bf1fc
and shouldn't have been.

Change-Id: Iacc45ad3b292e645c84ee2340991fa024e50eb53
---
M includes/api/ApiMobileView.php
1 file changed, 0 insertions(+), 1 deletion(-)


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

diff --git a/includes/api/ApiMobileView.php b/includes/api/ApiMobileView.php
index 7579226..95631c5 100644
--- a/includes/api/ApiMobileView.php
+++ b/includes/api/ApiMobileView.php
@@ -173,7 +173,6 @@
                        $mf->filterContent();
                        $mf->setIsMainPage( $this->mainPage );
                }
-               $mf->enableExpandableSections( !$this->mainPage );
                $html = $mf->getText();
                wfProfileOut( __METHOD__ . '-MobileFormatter' );
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iacc45ad3b292e645c84ee2340991fa024e50eb53
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