MaxSem has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/300801

Change subject: Add Wikidata to default interwikis
......................................................................

Add Wikidata to default interwikis

Change-Id: I558e9a0b6216ab91ef5fd5976b8718db51d1ffe0
---
M maintenance/interwiki.list
M maintenance/interwiki.sql
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/01/300801/1

diff --git a/maintenance/interwiki.list b/maintenance/interwiki.list
index 9104fd7..b1e0fa4 100644
--- a/maintenance/interwiki.list
+++ b/maintenance/interwiki.list
@@ -61,6 +61,7 @@
 wiki|http://c2.com/cgi/wiki?$1|0|
 wikia|http://www.wikia.com/wiki/$1|0|
 wikibooks|https://en.wikibooks.org/wiki/$1|0|https://en.wikibooks.org/w/api.php
+wikidata|https://www.wikidata.org/wiki/$1|0|https://www.wikidata.org/w/api.php
 wikif1|http://www.wikif1.org/$1|0|
 wikihow|http://www.wikihow.com/$1|0|http://www.wikihow.com/api.php
 wikinfo|http://wikinfo.co/English/index.php/$1|0|
diff --git a/maintenance/interwiki.sql b/maintenance/interwiki.sql
index 12352e7..b7d1a84 100644
--- a/maintenance/interwiki.sql
+++ b/maintenance/interwiki.sql
@@ -63,6 +63,7 @@
 ('wiki','http://c2.com/cgi/wiki?$1',0,''),
 ('wikia','http://www.wikia.com/wiki/$1',0,''),
 
('wikibooks','https://en.wikibooks.org/wiki/$1',0,'https://en.wikibooks.org/w/api.php'),
+('wikidata','https://www.wikidata.org/wiki/$1',0,'https://www.wikidata.org/w/api.php'),
 ('wikif1','http://www.wikif1.org/$1',0,''),
 ('wikihow','http://www.wikihow.com/$1',0,'http://www.wikihow.com/api.php'),
 ('wikinfo','http://wikinfo.co/English/index.php/$1',0,''),

-- 
To view, visit https://gerrit.wikimedia.org/r/300801
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I558e9a0b6216ab91ef5fd5976b8718db51d1ffe0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: MaxSem <maxsem.w...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to