Last modified: 2008-02-26 22:36:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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