Page MenuHomePhabricator

Special:Nuke renders redirect targets without namespace prefixes
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue:

  • Go to the Special:Nuke page of a user who recently created a redirect to a non-mainspace target (for example, m:Special:Nuke/NguoiDungKhongDinhDanh).
  • Find the corresponding entry for such a redirect.

What happens?

The HTML for that entry looks like this:

<li>
  <span ...>
    <input .../>&nbsp;<a ...>User:NDKDD/GDE</a> (<a ...>history</a>)
    ... Created by <a ...>NguoiDungKhongDinhDanh</a> ...
    redirect:

    <a
      href="https://meta.wikimedia.org/w/index.php?title=NguoiDungKhongDinhDanh/GadgetsDefinitionEditor"
      class="new"
      title="NguoiDungKhongDinhDanh/GadgetsDefinitionEditor (page does not exist)"
    >NguoiDungKhongDinhDanh/GadgetsDefinitionEditor</a>

  </span>
</li>

What should have happened instead?

It should have linked to the correct target, which for this particular example is in userspace.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1270189 had a related patch set uploaded (by NguoiDungKhongDinhDanh; author: NguoiDungKhongDinhDanh):

[mediawiki/extensions/Nuke@master] Pass prefixed titles to `nuke-redirectsto`

https://gerrit.wikimedia.org/r/1270189

Change #1270189 merged by jenkins-bot:

[mediawiki/extensions/Nuke@master] Pass prefixed titles to `nuke-redirectsto`

https://gerrit.wikimedia.org/r/1270189

This comment has been deleted.