"Yuvipanda" posted a comment on MediaWiki.r113028. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/113028#c31818
Commit summary for MediaWiki.r113028: provide toggle buttons in html for Wikipedia Mobile app Older version of the Wikipedia Mobile app ( < 1.3 ) do not use the api and instead request pages in mobile form and strip out the html but do not run the javascript provided in MobileFrontend as a result no toggle buttons are rendered and thus sections cannot be toggled on or off this fix injects these buttons into the html reversing the work in r111733 When usage of the versions of the Wikipedia Mobile app not using the api is low we will want to completely revert this revision Note it was not possible to serve the buttons based on the user agent as some versions of the Wikipedia Mobile app do not serve a special user agent and it is important we do not break toggling functionality for users of these apps Yuvipanda's comment: Just a note - it is needed for < 1.1, not 1.3 as mentioned in the JS comment _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
