Extension:InterwikiIntegration


 * Not to be confused with Category:Extensions by integration target.

This forthcoming extension will allow a user on a wiki farm to have a single watchlist, combining watchlisted items from all wikis he is a member of. There will be checkbox in the Watchlist page of Special:Preferences allowing the user to have an integrated watchlist including wikis of his choice. These checkboxes will be tied to global preferences setting; once checked on one wiki, they will be checked on all of them. This extension will also implement interwiki page existence detection among wikis on a wiki farm. It was also implement multi-wiki search. And it will integrate with Extension:PureWikiDeletion.

The Integration extension will be compatible with wiki farms that use Extension:CentralAuth and with those that use shared databases. It will also provide much of the functionality of CentralAuth in setting up global accounts, but will be easier to configure and operate. Indeed, it uses much the same global user table structure as CentralAuth.

Installation
First, set up a shared database by defining $wgSharedDB in the LocalSettings.php file of all of your wikis. You will want to set it to the database name of your primary wiki, e.g.:

Then give your wikis access to one another's databases using $wgLocalDatabases, e.g.:

Then add this line to the LocalSettings.php file on all of your wikis:

Configuration settings
The configuration settings are:
 * $wgIntegrationInterwikiDatabases &mdash; Array of databases that will participate in the interwiki integration system.
 * $wgIntegrationPureWikiDeletionDatabases &mdash; Array of databases that will use pure wiki deletion.

E.g., if all of your databases will participate in the interwiki integration system, but only alocal and blocal will use pure wiki deletion:

Development notes
Currently, work is underway to get a wiki farm with a working CentralAuth installation set up. This is requiring a lot of troubleshooting. Configuration file is available at User:Tisane/Farm. The shared database config file is at User:Tisane/Farm2; it seems to be working OK.

Bugs this will fix

 * Bug 3525 &mdash; Interwiki watchlists
 * Bug 11 &mdash; Interwiki page existence detection
 * Bug 1837 &mdash; Interwiki search