Extension talk:InterwikiIntegration

PWD
This should not implement PWD; that's a totally separate and unconnected functionality. By all means develop the PWD extension to work effectively with this, but slipping PWD into an unrelated extension is only going to lead to more work and difficulty at code review. Happy ‑ melon 22:03, 31 May 2010 (UTC)
 * I'll look at the code and see if I can figure out a clean way to keep the PWD content in the PureWikiDeletion extension and the cross-wiki content in this extension. Tisane 23:05, 31 May 2010 (UTC)
 * Remember that you can put hooks in extensions, too, if you need to link functionality together. Happy ‑ melon 10:31, 1 June 2010 (UTC)

Caching
When a page is created/deleted/undeleted/etc., the caches of the pages on other wikis that link to it interwiki will need to be cleared, so that their interwiki links will turn red or blue, as appropriate. I'm pondering two possible approaches to this: The former might require reading from hundreds of local iwlinks tables on large wiki farms whenever a page is created/deleted/etc., but the latter would require more writes, since it would be duplicating all those local iwlinks tables. Which would be more efficient from a performance standpoint? I assume that all other things being equal, it's better to read than to write, because there can be a lot of slave databases. Tisane 01:25, 5 June 2010 (UTC)
 * Have the extension read the iwlinks table on each of those wikis to find interwiki links to that page and then clear the caches for those pages (presumably using SquidUpdate->purge on the urls, which will be generated using url data from the interwiki table), or
 * Create a shared integration_iwlinks table that will combine all the data from the iwlinks tables and that will be updated every time that the local iwlinks tables are updated; and whenever a page is created/deleted/undeleted/etc., have the extension read that shared table and then clear the caches for those urls.