Page MenuHomePhabricator

Broken links in CategoryStepper extension
Closed, ResolvedPublic

Description

Links to pages outside of the main namespace are broken in the CategoryStepper extension. Only the pagename part of the page title is used when creating the links. So for example links that should lead to "Portal:Sport" leads to the page "Sport" in the main namespace.

This can be fixed either by only stepping through mainspace pages, or by adding namespaces to the links.


Version: unspecified
Severity: normal

Details

Reference
bz13078

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:03 PM
bzimport set Reference to bz13078.
bzimport added a subscriber: Unknown Object (MLST).

Handle namespaces by creating links from a title object

This patch makes the extension handle namespaces better by creating a Title object and making the links from that.

Attached:

robert wrote:

Fixed in revision 31382, thanks for the patch,