+editwikinames doesn't support MediaWiki

Bug #67646 reported by Caroline Ford
14
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Low
Unassigned

Bug Description

+editwikinames looks like it only works with MoinMoin wikis. For a MediaWiki wiki the user page is not the Wiki base URL + user name.

For example (I'm a Wikipedian):
Wiki base URL: http://en.wikipedia.org
Username:Secretlondon

Launchpad/people turns this into: http://en.wikipedia.org/Secretlondon which 404s. Wikipedia's page not found script presumes it is in the article namespace and tries http://en.wikipedia.org/wiki/Secretlondon which also breaks.
Even entering "http://en.wikipedia.org/User:" as the wiki base URL doesn't work, as Launchpad then goes to "http://en.wikipedia.org/User:/SecretLondon" (the last slash is incorrect).

The correct URL is <http://en.wikipedia.org/wiki/User:Secretlondon>.

Revision history for this message
Guilherme Salgado (salgado) wrote :

The code to handle WikiNames is very simple; all it does is append the Username field to the "Wiki base URL" one when generating the link.

Ideally I think it should detect the type of wiki and do the right thing, but that's not a trivial change. The option you suggested (allowing users to specify the wiki type) may not be feasible if we start supporting other types.

For now, you can use "http://en.wikipedia.org/wiki/" as the base url and "User:SecretLondon" as the username.

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Alternatively, Launchpad could stop recording wiki names at all.

Changed in launchpad:
assignee: nobody → mpt
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in launchpad:
assignee: mpt → nobody
description: updated
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fixing bug 186660 would make this bug irrelevant.

Changed in launchpad-registry:
importance: Medium → Wishlist
status: Confirmed → Triaged
Revision history for this message
Brad Crittenden (bac) wrote :

Closing due to bug 186660.

Changed in launchpad:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.