Last modified: 2010-05-15 15:38:50 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 T5703, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3703 - double rename - create double redirect
double rename - create double redirect
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.5.x
All All
: Lowest minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-13 23:27 UTC by Vyacheslav
Modified: 2010-05-15 15:38 UTC (History)
0 users

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


Attachments

Description Vyacheslav 2005-10-13 23:27:27 UTC
"pagename" rename to "namespaces:pagename", Back and rename to "namespaces:_pagename" =>  
"namespaces:pagename" create duble redirect and drop texts...
Comment 1 Brion Vibber 2005-10-13 23:56:21 UTC
I don't quite understand what this means. Can you clarify?
Comment 2 Vyacheslav 2005-10-14 08:49:13 UTC
Page with a name "pagename" it is renamed in  "namespaces:pagename", we press to 
return and it is once again renamed in "namespaces:_pagename" (with a spase). We 
receive a double redirect and we lose the text.
Excuse for bad English... I from Russia.
Comment 3 Vyacheslav 2005-10-14 11:15:23 UTC
For new "namespaces" and "List_redirects":
http://test.leuksman.com/view/List_redirects:_Wikibug
Comment 4 Vyacheslav 2005-10-14 11:41:48 UTC
OK v1.5.0 local only...
Comment 5 Rob Church 2005-10-14 13:21:09 UTC
(In reply to comment #0)
> "pagename" rename to "namespaces:pagename", Back and rename to
"namespaces:_pagename" =>  
> "namespaces:pagename" create duble redirect and drop texts...

To clarify, as I understand it the problem is as follows:

1. A page, e.g. XYZ is created
2. XYZ is moved to Project:XYZ
3. Project:XYZ is moved back to XYZ
4. XYZ is moved to Project:_XYZ

You then claim that there is a double redirect? That would be the expected
behaviour, in which case, the recommended action would be to avoid using a
space, i.e. for step 4 in my sequence, move XYZ back to Project:XYZ.

If I've misunderstood what you meant above, could you try to give us steps to
reproduce this problem, so we can see what's going on?
Comment 6 Vyacheslav 2005-10-14 14:57:59 UTC
0.
$wgExtraNamespaces =
	array(100 => "Test",
	      101 => "Discussion_Test",
	      102 => "Aide",
	      103 => "Discussion_Aide"
	      );

1. index.php/Test_page
2. moved to Test:Test_page
3. click Back!
3. òo rename in Test:_Test_page
Result: the double redirect, is removed the text.
Here so!
Comment 7 lɛʁi לערי ריינהארט 2005-10-14 15:18:30 UTC
note:

It is not possible to use spaces or underscores or combinations of them before
or after the colon separator between namespace and pagename.

[[User:_Me]] is [[User:Me]]
is [[ __ User _ __   ___ : ___   __ _ me _ ]] etc.

[[Project:_XYZ]] is same as [[Project:XYZ]] and if "Test" is a namespace then
[[Test:_Test_page]] will be [[Test:Test_page]] on *that* wiki.
Comment 8 Vyacheslav 2005-10-14 18:21:52 UTC
Nevertheless it is.
Comment 9 Brion Vibber 2005-10-14 20:03:58 UTC
When I follow the steps in comment #6 I receive:

"Deletion required

The destination article "Test:_Test_page" already exists. Do you want to delete it to 
make way for the move?"

If I'm so foolish as to *tell* it "delete and move" it will in fact delete the page 
and make it a redirect to itself, because I've told it to move the redirect page 
"Test_page" over the existing "Test:Test_page". I can recover the deleted text through 
Special:Undelete.

Tested both CVS HEAD and REL1_5.
Comment 10 Vyacheslav 2005-10-14 21:09:21 UTC
It is fine trouble with which I has collided casually. And you are right this 
incident only from under WikiSysop. It is impossible to the user, Sysop will easily 
correct the mistakes. - OK.
Excuse for troubling...

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


Navigation
Links