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)

Rookie needs guidance
Having a couple issues

1). In localsettings.php config's replaced: $wgInterwikiMapRemoteWikiUrls = array ( 'https://meta.wikipedia.org/w/api.php', 'http://meta.inclumedia.org/w/api.php' ); to my projects two main wiki's (can live with just the first one) $wgInterwikiMapRemoteWikiUrls = array ( 'http://www.everythingfoodanddrink.org/w/api.php', 'http://mywiki.everythingfoodanddrink.org/w/api.php', ); Interwiki table was updated to (default) http://meta.wikimedia.org/wiki/Special:Interwiki, so I suspect my URL's are incorrect.

2). Also have this set in localsettings.php $wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop', 'interwikiwriters', 'bureaucrat' ); $wgGroupPermissions['interwikiwriters']['interwikiwriters']  = true; $wgGroupPermissions['bureaucrat']['interwikiwriters']         = true;

in an attempt to protect MediaWiki:InterwikiMapBackup but no protect option on that page, again I suspect I'm missing something obvious to non-rookies.

Thank you in advance for any help. Mlpearc ( powwow ) 05:18, 22 November 2012 (UTC)
 * Did you put the $wgInterwikiMapRemoteWikiUrls configuration setting after the require_once line? There was a mistake in the documentation; apparently you can't change page protection on MediaWiki: pages because the software already won't let anyone but sysops edit them. So, you can either leave it in the MediaWiki: namespace and allow sysops to edit it (which you can deter using an edit notice) or you can change its location to somewhere outside MediaWiki: space and then protect it at whatever level you wish.


 * FYI, this extension is still under development so will probably be going through some major revisions in coming days and weeks. Leucosticte (talk) 06:27, 22 November 2012 (UTC)