Page MenuHomePhabricator

double rename - create double redirect
Closed, DeclinedPublic

Description

Author: wikiuser

Description:
"pagename" rename to "namespaces:pagename", Back and rename to "namespaces:_pagename" =>
"namespaces:pagename" create duble redirect and drop texts...


Version: 1.5.x
Severity: minor

Details

Reference
bz3703

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 8:52 PM
bzimport set Reference to bz3703.
bzimport added a subscriber: Unknown Object (MLST).

I don't quite understand what this means. Can you clarify?

wikiuser wrote:

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.

wikiuser wrote:

OK v1.5.0 local only...

robchur wrote:

(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?

wikiuser wrote:

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!
  4. òo rename in Test:_Test_page

Result: the double redirect, is removed the text.
Here so!

gangleri wrote:

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.

wikiuser wrote:

Nevertheless it is.

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.

wikiuser wrote:

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...