Last modified: 2008-02-26 22:36:20 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 T15078, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13078 - Broken links in CategoryStepper extension
Broken links in CategoryStepper extension
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CategoryStepper (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-19 23:01 UTC by Lejonel
Modified: 2008-02-26 22:36 UTC (History)
1 user (show)

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


Attachments
Handle namespaces by creating links from a title object (1.69 KB, patch)
2008-02-19 23:05 UTC, Lejonel
Details

Description Lejonel 2008-02-19 23:01:33 UTC
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.
Comment 1 Lejonel 2008-02-19 23:05:27 UTC
Created attachment 4659 [details]
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.
Comment 2 Robert Leverington 2008-02-26 22:36:20 UTC
Fixed in revision 31382, thanks for the patch,

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


Navigation
Links