Last modified: 2014-07-25 11:32:11 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 T17918, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15918 - Import may link to the wrong location
Import may link to the wrong location
Status: RESOLVED DUPLICATE of bug 11344
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-09 16:05 UTC by Mike.lifeguard
Modified: 2014-07-25 11:32 UTC (History)
3 users (show)

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


Attachments

Description Mike.lifeguard 2008-10-09 16:05:40 UTC
When importing Wikipedia:Attribution to English Wikibooks with the namespace selector to "(all)" the import goes to the mainspace with no pseudo-namespace even (it is just "Attribution", not even "Wikipedia:Attribution"). This would be bug 15387.

However the link upon "successful" import links to [[wikipedia:Attribution]], which is an interwiki link to [[Attribution]] (on English Wikipedia) - not to what was actually imported to Wikibooks. The link should point to wherever the content actually went.
Comment 1 Chad H. 2008-10-09 19:28:56 UTC
It goes back to the problem of being unable to have a namespace and interwiki prefix of the same name :)

If you type [[Wikipedia:Attribution]] into Wikibooks, it doesn't know whether you want to go to the IW url (which it assumes is the case, and follows it) or a local title of the same name.

For kicks, it might be entertaining to try and make a namespace the same as an IW prefix to see how they barf while coexisting...
Comment 2 Mike.lifeguard 2008-10-09 19:53:14 UTC
(In reply to comment #1)
[...]
> For kicks, it might be entertaining to try and make a namespace the same as an
> IW prefix to see how they barf while coexisting...
> 

I did that when first setting up my localhost wiki. It wasn't pretty. I don't know whether it's worth looking at "fixing" that kind of stuff, since that's an ill-advised thing to do anyways. Might be considered a misconfiguration rather than a software bug.
Comment 3 Chad H. 2008-10-14 12:32:40 UTC
(In reply to comment #2)
> (In reply to comment #1)
> [...]
> > For kicks, it might be entertaining to try and make a namespace the same as an
> > IW prefix to see how they barf while coexisting...
> > 
> 
> I did that when first setting up my localhost wiki. It wasn't pretty. I don't
> know whether it's worth looking at "fixing" that kind of stuff, since that's an
> ill-advised thing to do anyways. Might be considered a misconfiguration rather
> than a software bug.
> 

I'd be inclined to call it a misc configuration too. If you have two identical namespaces, the software could not be expected to know which one you're referring to. Case in point:

Wikipedia:Attribution. Now, is the Wikipedia: a local namespace or an interwiki prefix? The software can't know :) Perhaps making it default local (if exists) then go to the IW url, but I'm not even sure that's worth fixing either.
Comment 4 This, that and the other (TTO) 2014-07-25 11:32:11 UTC

*** This bug has been marked as a duplicate of bug 11344 ***

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


Navigation
Links