Skip to content

Commit

Permalink
Add link to pending feature request for getting interwiki table dumped
Browse files Browse the repository at this point in the history
  • Loading branch information
brawer committed May 21, 2024
1 parent e8d3789 commit 27da702
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/qrank-builder/interwikimap.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ type InterwikiMap map[string]string
// As of May 2024, the `interwikimap` table is not part of the SQL dumps
// that are available in the Wikimedia datacenter, we need to fetch it
// over the network from the live site.
// https://phabricator.wikimedia.org/T365475
func FetchInterwikiMap(client *http.Client, site WikiSite) (InterwikiMap, error) {
u := "/w/api.php?action=query&meta=siteinfo&siprop=interwikimap&format=json"
u = fmt.Sprintf("https://%s%s", site.Domain, u)
Expand Down

0 comments on commit 27da702

Please sign in to comment.