Page MenuHomePhabricator

If incorrect namespace extraction of redirect put into redirect table, link stays red despite target existing, and null-edit doesn't fix
Open, LowPublic

Description

Hello.

The Ƿicipǣdia:Nīƿlicu_ƿord_teohhunga -> Wikipǣdia:Nīwlicu word teohhunga broken redirecct at ang.wikipedia.org is broken.

The former does point to an existing page (the latter), and if you click the red link, you will get to the intended destination. Trying to fix the redirect with a "null edit" does not work.

Despite this, the corresponding "Mōtung" redirect (Mōtung:Ƿicipǣdia:Nīƿlicu_ƿord_teohhung -> Wikipǣdiamōtung:Nīwlicu_word_teohhunga) does work.

https://ang.wikipedia.org/wiki/%C7%B7icip%C7%A3dia:N%C4%AB%C6%BFlicu_%C6%BFord_teohhunga

Thanks.


Version: 1.23.0
Severity: minor

Details

Reference
bz58862

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:19 AM
bzimport set Reference to bz58862.
bzimport added a subscriber: Unknown Object (MLST).

Well that's odd. In the database

MariaDB [angwiki_p]> select rd_namespace, rd_title from page inner join redirect on rd_from = page_id where page_namespace = 0 and page_title = 'Ƿicipǣdia:Nīƿlicu_ƿord_teohhunga';
+--------------+------------------------------------+

rd_namespacerd_title

+--------------+------------------------------------+

0Wikipǣdia:Nīwlicu_word_teohhunga

+--------------+------------------------------------+
1 row in set (0.04 sec)

Which is wrong (rd_title should be just Nīwlicu_word_teohhunga and rd_namespace should just be 0). But I would normally assume null edit would fix that.

A probably work around would be to point the link somewhere else, and then revert the edit.

(In reply to comment #2)

A probably work around would be to point the link somewhere else, and then
revert the edit.

Yeah, it worked.

Thanks.

(In reply to comment #3)

(In reply to comment #2)

A probably work around would be to point the link somewhere else, and then
revert the edit.

Yeah, it worked.

Thanks.

Leaving bug open for the underlying issue in the software. Its probably a bug that a null edit didn't fix the page

Probable steps to reproduce (Haven't tried):
*Create a redirect to [[Foo:Bar]] (Foo not being a namespace name, Foo:Bar not existing)
*Make Foo an alias for some namespace
*Create Foo:Bar
*Check the link colour of the redirect.

Possible alternative steps to reproduce (which I also haven't tried):
*Create a redirect to [[Foo:Bar]] (Foo not being a namespace name, Foo:Bar being an actual page that exists)
*Make Foo an alias for some namespace
*run namespaceDupes.php or whatever the other one that does the same thing is called
*Check the link colour of the redirect.

Here's a redirect that acts like the other: https://ang.wikipedia.org/wiki/Wikip%C7%A3dia:Wicib%C3%B3ceras

... I won't fix it till everything's been dealt with, if you'd like.