mediawiki-extensions-Visual.../modules/ve-mw
Bartosz Dziewoński 0462b6ed8f ve.init.mw.DesktopArticleTarget: Refactor redirect interface handling
Redirect pages have two extra things not present on normal pages:
* Redirect subtitle: the "Redirect page" shown under the page heading.
* Redirect page content header: the "↳ Foo" at the beginning of content.

Our handling was pretty messy and had some bugs (T161614).

Notable behavior changes:
* Update 'wgIsRedirect' in mw.config after saving the page.
* Use #mw-content-text rather than .mw-jump for inserting the fake .redirectMsg.
  .mw-jump is not guaranteed to exist on the page (it's a skin feature).
* Never replace the real .redirectMsg existing on the page, except by the
  new HTML after a page is saved. Our fake is separate now.

Bug: T161614
Change-Id: I96a5e45a71bf10bf6a2b501dc0cf81e6c37060ec
2017-03-28 17:40:23 +02:00
..
ce Update <pre> support for Parsoid changes 2017-03-14 14:08:50 -07:00
dm VisualDiff: Add custom messages for change descriptions 2017-03-16 14:36:09 -07:00
i18n Localisation updates from https://translatewiki.net. 2017-03-18 23:03:38 +01:00
init ve.init.mw.DesktopArticleTarget: Refactor redirect interface handling 2017-03-28 17:40:23 +02:00
tests ve.ui.MWLinkAction: Use delayed sequence 2017-03-15 21:58:13 +00:00
themes build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ui Remove "prefix": "oo-ui-icon" from ve.ui.Icons.json 2017-03-21 20:27:04 +01:00
ve.MWutils.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00