Extension:Interwiki

This is an extension to add a Special:Interwiki page to MediaWiki, to view and manipulate the interwiki table, and a log of any actions made with it. It was made by Stephanie Amanda Stevens a.k.a Phroziac, because she was annoyed at forgetting the interwiki prefixes. It's made for MediaWiki 1.6 onwards, and has been reported to also work on 1.5.

Warning: this extension originally had security bugs, which are fixed in the version below:

SpecialInterwiki.php
";			}			$wgOut->addHTML($out);		}	}	SpecialPage::addPage( new Interwiki ); }

function wfInterwikiAddLogType( &$types ) { if ( !in_array( 'interwiki', $types ) ) $types[] = 'interwiki'; return true; }

function wfInterwikiAddLogName( &$names ) { $names['interwiki'] = 'interwiki_logpagename'; return true; }

function wfInterwikiAddLogHeader( &$headers ) { $headers['interwiki'] = 'interwiki_logpagetext'; return true; }

function wfInterwikiAddActionText( &$actions ) { $actions['interwiki/interwiki'] = 'interwiki_logentry'; return true; } ?>

LocalSettings.php
You'll need something similar to this in your LocalSettings.php.

With this configuration, the "interwiki" flag is required to modify the interwiki table, this flag can be set in Special:Userrights by a bureaucrat.

Patch for french Translation
A new patch is created for translation in french.

A new file was created :


 * SpecialInterwiki.i18n.php