Last modified: 2014-11-17 10:35:49 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 T24407, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22407 - Set iw_local to 1 for [[mw:]], [[wmf:]], [[wikimedia:]], [[wikinews:]] and [[wikiversity:]] on WMF wikis
Set iw_local to 1 for [[mw:]], [[wmf:]], [[wikimedia:]], [[wikinews:]] and [[...
Status: VERIFIED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: High major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-06 11:03 UTC by Liangent
Modified: 2014-11-17 10:35 UTC (History)
9 users (show)

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


Attachments

Description Liangent 2010-02-06 11:03:42 UTC
It's run by the Wikimedia Foundation, isn't it?
Comment 1 Conrad Irwin 2010-02-06 11:08:33 UTC
It's still not the current wiki. 

At the moment all interwiki prefixes (wiktionary wikibooks etc.) are treated the same (external colour without the external icon), this seems to imply "kind of external" in the appropriate way.
Comment 2 p858snake 2010-02-06 11:50:54 UTC
Based on IRC chat, this is actually a request to have it set for the WMF wikis to have MW marked as "iw_local" in the interwiki table. 


Including the relevant IRC chat below:
<liangent> https://bugzilla.wikimedia.org/show_bug.cgi?id=22407#c1 what does he mean?
<liangent> sorry... maybe #wikimedia-tech
<cirwin> liangent: well, I wrote it
<cirwin> maybe I misunderstood you :)
<cirwin> what do you mean by local?
<liangent> iw_local field in interwiki table
<cirwin> oh, yes
<cirwin> I did misunderstand you
* cirwin does not know enough about anything to make comments
<liangent> :)
<cirwin> that said, wikimedia: is not local either
<p858snake> "iw_local informs MediaWiki how it should treat interwiki links coming from external sources. If iw_local is 1, then it will treat these links as though they were generated from within the local wiki."
<p858snake> Mediawiki isn't only used by WMF so therefor we shouldn't be setting something like that as a default accross new installs if i understand what you're asking properly
<cirwin> p858snake: mayhaps you'd like to write a proper comment on the bug :)
<liangent> p858snake: i mean setting it on wmf wikis
<liangent> not for default mw installations
Comment 3 Liangent 2010-02-06 11:57:40 UTC
Maybe with [[wikimedia:]], [[wmf:]] etc together?
Comment 4 Danny B. 2010-02-07 03:43:26 UTC
Shouldn't this be requested (or at least mentioned) on [[m:Talk:Interwiki map]]?
Comment 5 X! 2011-01-01 20:59:54 UTC
The WMF prefixes aren't handled by the interwiki map, but rather by a different program, IIRC.
Comment 6 Bawolff (Brian Wolff) 2011-01-01 21:06:37 UTC
Would also be nice so that [[mw:foo]] works from bugzilla...

As an aside, the local interwikis in the default install (which might be different from wikimedia) are kind of weird:

+--------------+----------+
| iw_prefix    | iw_local |
+--------------+----------+
| hewikisource |        1 | 
| mediazilla   |        1 | 
| wikibooks    |        1 | 
| wikinews     |        1 | 
| wikipedia    |        1 | 
| wikiquote    |        1 | 
| wikisource   |        1 | 
| wikispecies  |        1 | 
| wikiversity  |        1 | 
| wikt         |        1 | 
| wiktionary   |        1 | 
+--------------+----------+

but things like mw, mediawikiwiki, commons, and metawiki are included in the default install, but not set as local interwikis.
Comment 7 Krinkle 2011-02-25 13:59:37 UTC
the mw: interwiki link is also the most common problem with linking constructions such as

* an IRC wikilink bot ( > "Lorem [[mw:ipsum]] "; < "http://enwp.org/mw:ipsum" );
* Templates that are synced crosswiki (they usually hard-code 'w' as a start since that's what Meta and Commons do, and to make sure the links behave the same on all wikis, 'w' is the prefix [[w:{{{1}}}]], when 1=mw:Test, it fails. Currently this means all these constructions either fail or have a special exception for mediawikiwiki
* Browser search quick-linking. Many advanced users have something like 'w' as a shortcut to http://en.wikipedia.org/wiki/$1 . linking to mw:Test fails, yet again.
* etc..


I haven't read any arguments against this since late 2009 (when I first encoutered the problem) - what's up ?
Comment 8 Krinkle 2011-05-24 22:41:30 UTC
Okay, so afaik the folllowing are owned by the Wikimedia foundation but for some reason are not iw_local:

* [[mw:]]
* [[wmf:]]
* [[wikimedia:]]*
* [[wikinews:]]*
* [[wikiversity:]]*

Please set them to local so that chaining and URL-constructions work as expected. The gazillion other interwiki links are all set to iw_local, why not these ?

Raising priority (easy fix?)

--
Krinkle

* These are not global, be careful not to change that (since they are namespaces on some wikis, like nl.wikimedia.org, de.wikinews.org and en.wikiversity.org)
Comment 9 Krinkle 2011-09-27 19:43:59 UTC
*bump*. Should be an easy fix.

The inability to link to mw: from most url-based interfaces is just mindboggling.
Comment 10 Roan Kattouw 2011-09-27 19:46:06 UTC
I'm on this.

-easy: shell bugs are NEVER +easy
Comment 11 Roan Kattouw 2011-09-27 20:08:53 UTC
Fixed by changing dumpInterwiki.php in r98242, deploying the change, and rerunning the script.

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


Navigation
Links