mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-26 23:31:02 +00:00
0462b6ed8f
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 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
i18n | ||
init | ||
tests | ||
themes | ||
ui | ||
ve.MWutils.js |