Page MenuHomePhabricator

WikitextContentHandler is making redirect content to category pages incorrectly
Closed, ResolvedPublic

Description

It generates #REDIRECT [[Category:Foo]] which makes the redirect end up in the category too. It should be #REDIRECT [[Category:Foo]].


Version: 1.22.0
Severity: normal

Details

Reference
bz50451

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:52 AM
bzimport set Reference to bz50451.
liangent created this task.Jun 30 2013, 8:12 AM

Change 71272 had a related patch set uploaded by Liangent:
Create redirects to sections correctly in WikitextContentHandler

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

*It should be #REDIRECT [[:Category:Foo]].

The patch above is adding colon aggressively though.

Also it's more than categories, #REDIRECT [[en:Test]] creates a langlink accidentially.

Change 71272 merged by jenkins-bot:
Create redirects to titles correctly in WikitextContentHandler

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

was successfully merged