Extension talk:InterwikiMap

Name
-Prefixes is quite redundant and doesn't clarify how this differs from Extension:Interwiki. Maybe InterwikiMap (as IWM)? Or StandardInterwiki(Map)?. Just ideas, Nemo 22:44, 16 November 2012 (UTC)
 * InterwikiMap sounds pretty good. Leucosticte (talk) 23:23, 16 November 2012 (UTC)

TODO

 * Address the problem of new interwiki links covering existing articles (e.g. Commandos: interwiki link covering the article Commandos: Behind Enemy Lines).
 * Address the problem of caches not being cleared when interwiki links are added, modified, etc.
 * Create an API module ApiQuerySiteinfoEnhanced, inheriting ApiQuerySiteinfo, that has an siprop=interwikimapenhanced option that can provide more info than the regular siprop=interwikimap. iw_wikiname and iw_wikistatus should be added to the interwiki table, and that info should be provided by that module. Also, InterwikiMap should be enhanced so that it can filter by status, e.g. by excluding spammed or needslove wikis.
 * What about other fields, such as wikifactor, page edits, number of pages, number of content pages, etc.? If there's going to be all that stuff, maybe it's just as well to create a new table.
 * ✅ Don't allow an interwiki link to be added that conflicts with a namespace.
 * Add an enhanced siprop=general module that provides data on wikinode and so on. Question: Where to store this data? Maybe in another MediaWiki page. Perhaps it's time to store data in a more flexible format, such as name=..., url=..., which will lend itself more to expansion, revision, etc. Sort of like the template format.
 * Will it be necessary at some point to use an iwm-continue? Most API modules limit the user to 500 or 5000 items. But this will have 20,000+ items.

Extension:InterwikiMap/Data
I have created Extension:InterwikiMap/Data to brainstorm ideas on what other wiki data should be propagated and retrieved by this extension. Leucosticte (talk) 18:18, 20 November 2012 (UTC)