Last modified: 2013-12-24 18:50:07 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 T60862, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58862 - If incorrect namespace extraction of redirect put into redirect table, link stays red despite target existing, and null-edit doesn't fix
If incorrect namespace extraction of redirect put into redirect table, link s...
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
1.23.0
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-22 15:39 UTC by Espreon
Modified: 2013-12-24 18:50 UTC (History)
1 user (show)

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


Attachments

Description Espreon 2013-12-22 15:39:10 UTC
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.
Comment 1 Bawolff (Brian Wolff) 2013-12-23 06:25:47 UTC
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_namespace | rd_title                           |
+--------------+------------------------------------+
|            0 | Wikipǣ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.
Comment 2 Bawolff (Brian Wolff) 2013-12-23 06:42:47 UTC
A probably work around would be to point the link somewhere else, and then revert the edit.
Comment 3 Espreon 2013-12-23 07:59:42 UTC
(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.
Comment 4 Bawolff (Brian Wolff) 2013-12-23 08:42:15 UTC
(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.
Comment 5 Espreon 2013-12-24 18:50:07 UTC
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.

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


Navigation
Links