(bug 42915) make MovePage aware of whether redirects are supported.
authordaniel <daniel.kinzler@wikimedia.de>
Thu, 13 Dec 2012 16:26:43 +0000 (17:26 +0100)
committerdaniel <daniel.kinzler@wikimedia.de>
Thu, 20 Dec 2012 18:00:35 +0000 (19:00 +0100)
commit277ca9ac4ee7496e52a810acd8465a1a9b3b78d7
tree1c5c2812b35c14bda914a1ce7f72f9e29a727707
parent963ddaede51d59c1bbbdc25b6d14dbd8501b7d40
(bug 42915) make MovePage aware of whether redirects are supported.

Special:Movepage and ApiMovePage should be aware whether the present content
model supports redirects, and only offer to keep a redirect on moving
of it's supported.

Change-Id: I2d02b2668ea8ebe39387b79d165f6cf1037303b9
includes/api/ApiMove.php
includes/content/ContentHandler.php
includes/content/WikitextContentHandler.php
includes/specials/SpecialMovepage.php