[Bug 23999] Provide method to store API/DB information for interwiki sites

2010-06-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23999

Alexandre Emsenhuber [IAlex]  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||alex.emsenhu...@bluewin.ch
 Resolution||DUPLICATE

--- Comment #4 from Alexandre Emsenhuber [IAlex]  
2010-06-16 18:44:46 UTC ---


*** This bug has been marked as a duplicate of bug 20646 ***

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23999] Provide method to store API/DB information for interwiki sites

2010-06-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23999

--- Comment #3 from tisane2...@gmail.com 2010-06-16 13:38:34 UTC ---
On second thought, might it not be better to, instead of adding a bunch of
fields to the interwiki table, just add a field that contains an integer that
is the primary key of another table of data about remote wikis? I see a couple
advantages to that:
(1) Some wikis will have more than one interwiki prefix, so this avoids the
need to have the same remote wiki data in more than one row of the interwiki
table.
(2) Especially for other interwiki integration purposes besides interwiki
transclusion, a primary key is a better unique identifier than a database name
because there may be more than one wiki on the same wiki farm using the same
database, and prefixing tables using $wgDBprefix. See
http://www.mediawiki.org/wiki/Extension_talk:InterwikiIntegration#Wiki_identifier

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23999] Provide method to store API/DB information for interwiki sites

2010-06-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23999

Chad H.  changed:

   What|Removed |Added

 CC||innocentkil...@gmail.com
Summary|Add "iw_dbname" field to|Provide method to store
   |interwiki table |API/DB information for
   ||interwiki sites

--- Comment #2 from Chad H.  2010-06-16 13:01:54 UTC 
---
Generalizing this bug (which is actually one of two things discussed in bug
14024, but we never split it off).

What we need is to expand the Interwiki class to give us information about
other wikis API urls (or potentially DB info, if they're in a farm like
Wikimedia). We can store this information in the interwiki table (for most
people) and the interwiki cache (for Wikimedia).

Configuring this stuff in LocalSettings is a Bad Idea because we already store
interwiki data somewhere, so it makes sense to put it where that already is.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l