Last modified: 2012-08-12 19:29:11 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 T31673, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29673 - allow central interwiki table
allow central interwiki table
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.20.x
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-01 20:06 UTC by Umherirrender
Modified: 2012-08-12 19:29 UTC (History)
3 users (show)

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


Attachments

Description Umherirrender 2011-07-01 20:06:46 UTC
Each wiki of a wiki farm has it own interwiki table with all the prefix and the options for interwikis.

In my opinion it is better to set up one shared interwiki table for all wikis of a wiki farm.

But that needs support inside MediaWiki: MediaWiki needs a new config global (maybe call it $wgInterwikiCentralDB) and than you have to pass this global to all wfGetDB when accessing the interwiki table. At least remove $wgLocalInterwiki from that list.

Having this global allow also to set up a different database for secure server. Than all interwiki links in 'Other languages' on that wiki farm are pointing to a secure server and there is no need for javascripts hacks on each wiki.

Thanks.
Comment 1 Alexandre Emsenhuber [IAlex] 2011-07-01 20:14:32 UTC
For wiki farm that does not have multiple clusters, the interwiki table can be added to $wgSharedTables.
Comment 2 Chad H. 2011-07-05 12:41:54 UTC
For 3rd-party installs, you can easily use $wgSharedTables like comment 1 points out. For WMF usage, we've got bug 11423.

WORKSFORME or DUPLICATE?
Comment 3 Umherirrender 2011-07-05 19:24:18 UTC
bug 11423 is over storing the interwiki from pages in a central database, not for the interwiki prefixes of the wiki.

(interwiki table vs. langlinks table).
Comment 4 Umherirrender 2012-08-12 19:29:11 UTC
per comment 1

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


Navigation
Links