Last modified: 2010-05-15 15:56:44 UTC
If the name of a page in the image namespace is manually given as an argument to the Movepage special page (ie. Special:Movepage/Image:someimage.jpg), the page handles issues badly. If you try to move the image page to another page in the image namespace that does not exist (essentially renaming it), it tells you: Destination title is of a special type; cannot move pages into that namespace. It would probably be better and more accurate to give an error if a page in the Image namespace is loaded as the argument to Movepage when it is loaded, saying that you cannot move image pages, instead of giving a semi-irrelevant error after one tries to move the image. Even worse, if you try to move the image to a new title in the main namespace, it gives you the same error, saying that the destination title is of a special type, when in reality, it isn't.
Created attachment 1908 [details] A patch for Title.php; loads a message (MediaWiki:Baddestination) when the destination name of the page is in a bad namespace (like the image namespace) and the regular message (MediaWiki:Immobile_namespace) when the source page is in a bad namespace (also includes image namespace). The MediaWiki message pages therefore need to be changed; I made Baddestination: Destination title is of a special type; cannot move pages into that namespace. (originally from the old message for both cases) and the Immobile_namespace message: The page to be moved is of a special type; cannot move pages from that namespace. I assume that the installer script that creates and populates the database originally would need to be updated to reflect these changes in system messages.
Duplicate of #709?
(In reply to comment #2) > Duplicate of #709? No.
Now mentioning the source page in "immobile_namespace". I don't think we need another message for that.