mediawiki-extensions-Visual.../modules/ve-mw/init/targets
Bartosz Dziewoński 7ade9938d0 Remove special handling for category and file pages
Previously, we tried to keep the list of category members and the file
thumbnail, history and metadata visible while the editor was open.

I am removing it because:
* It is not very useful, as you can't interact with them (e.g. links
  are unclickable).
* It is inconsistent with the wikitext editor (except for non-existent
  category pages, and I'm proposing to change that behavior in T139191).
* It causes issues when other code doesn't expect the special setup
  for those pages (T194068).

This introduces a minor change to the handling of normal pages: after
the save, instead of replacing all contents of #mw-content-text with
the new page content, we only replace the .mw-parser-output child.
Normally the effect is the same (it's the only child), but this could
theoretically affect interactions with other extensions or gadgets.

Bug: T194068
Change-Id: I26cc82d3e0f0d64e3f18a80d232005fc7ab3b374
2019-02-22 20:59:36 +00:00
..
ve.init.mw.DesktopArticleTarget.init.js Load VE in read-only mode on protected pages 2019-02-22 19:09:23 +00:00
ve.init.mw.DesktopArticleTarget.js Remove special handling for category and file pages 2019-02-22 20:59:36 +00:00
ve.init.mw.MobileArticleTarget.js ve.init.mw.MobileArticleTarget: Change "back" tool icon from "<" to "x" 2019-02-13 00:29:24 +01:00