Last modified: 2010-05-15 15:56:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8216, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6216 - the movepage special page does not deal with image pages properly
the movepage special page does not deal with image pages properly
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.6.x
Macintosh Mac OS X 10.0
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-06 00:40 UTC by Justin
Modified: 2010-05-15 15:56 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
A patch for Title.php; (403 bytes, patch)
2006-06-06 01:04 UTC, Justin
Details

Description Justin 2006-06-06 00:40:45 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.
Comment 1 Justin 2006-06-06 01:04:20 UTC
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.
Comment 2 Siebrand Mazeland 2006-09-09 18:26:11 UTC
Duplicate of #709?
Comment 3 Brion Vibber 2006-09-09 18:28:28 UTC
(In reply to comment #2)
> Duplicate of #709?

No.
Comment 4 Rotem Liss 2006-09-11 16:23:11 UTC
Now mentioning the source page in "immobile_namespace". I don't think we need
another message for that.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links