Action: New InterWikiList

Current version:



//This action allows you to rewrite your localmap.conf using a wikipage 

// For this action to work propperly you have to create (a link from page InterWiki to) a page
// called sth. like NewInterWiki. Copy the old interwiki.conf / localmap.conf to this page once. Do not forget to 
// set rights for this page (acl) to Read/Write/Comment = Admin.

//select content between "~<[". Instead of "~]>" every other expression would do

// in order to control output from $treffer: var_dump($treffer); exit;

$body $treffer[1][0];

//overwrites old file: localmap.conf
$fp fopen("localmap.conf"'w+');


1.1. Documentation

For this action to work propperly you have to create (a link from page /InterWiki to) a page called sth. like /NewInterWiki. Copy the old nterwiki.conf / localmap.conf to this page. Do not forget to set rights for this page (acl) to Read/Write/Comment = Admin.

1.2. How to

1.2.1. Localization (optional)

put this at the end of your language file


"YourPhrase" => "your translation here",

pls. notice that this entry will not survive an Wacko upgrade, so you have to redo this

[xyz] proposed translations
[de] ...

1.3. To Do


  1. Comment 8

    no good idea, it's better to create an additional custom interwiki list
    see bugs:27
    • EoNy
  2. Comment 9

    changed fopen parameter,

    in order to show the localmap.conf you have to 

    1. open the interwikilist.php file in your /action folder
    2. replace "interwiki.conf" with "localmap.conf"
    3. save as e.g. interwikilocal.php
    4. open a wiki page and type {{interwikilocal}}
    • EoNy