Page MenuHomePhabricator

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


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



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:52 AM
bzimport set Reference to bz50451.

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

*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