mediawiki-skins-MinervaNeue/resources
jdlrobson 6cdcc8ddfa Fix editing of non-mobile-formatted pages
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
2018-01-29 20:56:31 +00:00
..
skins.minerva.backtotop Minerva owns BacktoTopOverlay 2017-10-26 16:34:16 -04:00
skins.minerva.base.reset Minerva is its own skin 2017-07-12 08:12:40 -07:00
skins.minerva.base.styles Replace unique color with standard subtle print color 2017-11-30 17:44:25 +00:00
skins.minerva.categories Minerva is its own skin 2017-07-12 08:12:40 -07:00
skins.minerva.content.styles Fix infobox styles to work well with multiple column infobox rows 2018-01-16 17:19:39 +00:00
skins.minerva.editor Fix editing of non-mobile-formatted pages 2018-01-29 20:56:31 +00:00
skins.minerva.icons.images Unify SVG markup 2017-11-14 21:44:40 +00:00
skins.minerva.icons.images.scripts Prefix icons in Minerva 2018-01-19 15:30:03 -08:00
skins.minerva.icons.images.variants Unify SVG markup 2017-11-14 21:44:40 +00:00
skins.minerva.mainMenu EventLogging modules should be soft dependencies 2017-09-27 20:52:15 +00:00
skins.minerva.mainMenu.icons Prefix icons in Minerva 2018-01-19 15:30:03 -08:00
skins.minerva.mainMenu.styles Avoid clashes with MediaWiki:Common.css for hlist rules 2017-10-06 15:58:50 -07:00
skins.minerva.mainPage.styles Minerva is its own skin 2017-07-12 08:12:40 -07:00
skins.minerva.newusers Hygiene: Minerva owns PointerOverlay 2017-10-30 18:00:02 +00:00
skins.minerva.notifications Hygiene: Cleanup initialisation files 2017-09-07 17:48:58 +00:00
skins.minerva.notifications.badge Prefix icons in Minerva 2018-01-19 15:30:03 -08:00
skins.minerva.scripts Prefix icons in Minerva 2018-01-19 15:30:03 -08:00
skins.minerva.scripts.top Minerva is its own skin 2017-07-12 08:12:40 -07:00
skins.minerva.tablet.scripts Hygiene: Remove FIXMEs now enough time has passed 2017-08-29 19:26:13 +00:00
skins.minerva.tablet.styles Fix infobox styles to work well with multiple column infobox rows 2018-01-16 17:19:39 +00:00
skins.minerva.talk Render add discussion button in PHP not JS 2017-10-16 22:35:11 +00:00
skins.minerva.toggling Do not try to enable toggling if using desktop Minerva 2017-08-25 10:32:04 -05:00
skins.minerva.userpage.icons Update SVGs for page actions and restore locked edit icon behavior 2017-09-29 13:20:39 +00:00
skins.minerva.userpage.styles Prefix icons in Minerva 2018-01-19 15:30:03 -08:00
skins.minerva.watchstar Minerva is its own skin 2017-07-12 08:12:40 -07:00