Extension:InterwikiIntegration


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

This extension presently handles interwiki page existence detection among wikis on a wiki farm. Later, it 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. 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
Download the extension and install it by adding this line to the LocalSettings.php file on all of your wikis:

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.:

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

Set the extension's configuration settings.

Then, go to each of your wikis and, from a bureaucrat account, use Special:PopulateIntegrationTable. This will populate the integration_db and integration_namespace tables, which are shared by the wikis, and will also populate the interwiki table.

Configuration settings
The configuration settings are:

$wgIntegrationPrefix
Match interwiki prefixes to databases, e.g., here is how you might set it up if your naming scheme were to prefix all databases with "db":

$wgIntegrationPWD
List the wikis that use pure wiki deletion, e.g.: Note that Extension:PureWikiDeletion has to installed on the appropriate target wikis if you set these values to true.

Development notes
The next steps in development will be:
 * Get Special:WhatLinksHere to work interwiki, and also to implement interwiki cache clearing when a page that another wiki links to is blanked/unblanked/created/deleted/undeleted/etc.
 * Implement interwiki talk page notification
 * Implement interwiki Special:RecentChanges
 * Implement interwiki watchlist
 * Implement interwiki search
 * Implement interwiki shared pages (maybe)

Bugs this will fix

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