Page MenuHomePhabricator

Add a localized گوگل: ‎‎interwiki prefix for Google to fawiki
Closed, InvalidPublicFeature

Description

Author: popeno2003

Description:
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


Version: wmf-deployment
Severity: enhancement

Details

Reference
bz59964

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:40 AM
bzimport set Reference to bz59964.
bzimport added a subscriber: Unknown Object (MLST).

popeno2003 wrote:

(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.

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.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM
Aklapper removed a subscriber: wikibugs-l-list.
Restricted Application added a subscriber: Huji. · View Herald TranscriptFeb 4 2022, 11:13 AM
jhsoby subscribed.

Interwiki links to external websites, like the [[google:]] interwiki link, are handled by the Interwiki map on Meta. The right place to ask for this (if it is still wanted) is at its talk page.