Last modified: 2014-02-14 03:38:53 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 T61964, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59964 - Add a localized گوگل: ‎‎interwiki prefix for Google to fawiki
Add a localized گوگل: ‎‎interwiki prefix for Google to fawiki
Status: NEW
Product: Wikimedia
Classification: Unclassified
Interwiki links (Other open bugs)
wmf-deployment
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 31593
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-12 00:00 UTC by pouyan
Modified: 2014-02-14 03:38 UTC (History)
2 users (show)

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


Attachments

Description pouyan 2014-01-12 00:00:31 UTC
Hi everybody,

On Persian Wikipedia one of the users mentioned the google inter-wiki link that exists globally.

[[google:foo]] will add the google.com/?q=foo link or writing the same without braces in search bar leads to google. 

I want to ask if there is a way to add inter-wiki link just for Persian wikipedia (locally) which links to google in Persian:

[[گوگل:‎‎]] 

and also search google with Persian language preference (lh=fa). 

If it is possible to do it on wiki it self just tell me how. If it should be done by developers I would like to ask them for this.

Thanks agian
Comment 1 pouyan 2014-01-12 00:06:49 UTC
(In reply to comment #0)
> Hi everybody,
> 
> On Persian Wikipedia one of the users mentioned the google inter-wiki link
> that
> exists globally.
> 
> [[google:foo]] will add the google.com/?q=foo link or writing the same
> without
> braces in search bar leads to google. 
> 
> I want to ask if there is a way to add inter-wiki link just for Persian
> wikipedia (locally) which links to google in Persian:
> 
> [[گوگل:‎‎]] 
> 
> and also search google with Persian language preference (lh=fa). 
> 
> If it is possible to do it on wiki it self just tell me how. If it should be
> done by developers I would like to ask them for this.
> 
> Thanks agian

Just to do correction google changes language with hl and lh.
Comment 2 This, that and the other (TTO) 2014-01-12 09:38:49 UTC
It's a great idea. However, I don't think this is possible at the moment - the only sane way I can think of doing this is to add a row to the interwiki table for fawiki. But any data in the interwiki table is ignored when $wgInterwikiCache is in use (which is the case for all WMF wikis). 

I think this should be made possible. It's silly to have an Anglo-centric interwiki map with no way to provide additional links of local relevance.

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


Navigation
Links