mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
6cdcc8ddfa
Template pages do not run the MobileFormatter (see MFMobileFormatterNamespaceBlacklist). As a result page.getLeadSectionElement() will return null When this happens do not change the edit icon to point to section 1. Instead give them the non-JS editor. After this patch, the feature remains as: * Page with lead section get the JS edit overlay for section 0 * Page without lead section but with other sections gets the JS overlay editor for section 1 * Pages that didn't run through MobileFormatter don't modify the edit link and just link to the fallback editor (useful for Template pages at this moment) Bug: T172948 Change-Id: Icee96e12f62ec13a1cbd3169c687fa4b3af70754 |
||
---|---|---|
.. | ||
init.js |