Commit graph

3 commits

Author SHA1 Message Date
Siebrand Mazeland f981fb1e67 Add $wgAvailableRights and message 'right-interwiki' 2008-05-29 18:38:56 +00:00
Alexandre Emsenhuber 561a1606b7 Some cleanup for r32750 pointed out by SPQRobin: use 'edit' message for the button, more translations aviable, fix 'interwiki_editintro' message (and some whitespaces fixes) 2008-04-04 15:02:09 +00:00
Alexandre Emsenhuber 4848d4b2b0 Rewriting Interwiki extension:
* Moved SpecialInterwiki class to SpecialInterwiki_body.php, load it only when needed
* Use $wgSpecialPages to register the page, doesn't need to create an instance at each run of the wiki
* Rewritten urls, use action parameter instead of do
* Added action=edit, allow to modifiy a prefix without needing to delete and recreate it
* Killed hooks to register the new log, use directly $wgLog* variables
* Modified log recording system: don't hardcode action text, instead use message so that they can be translated depending of user language like other log messages, i used iw_ as prefix for actions, otherwise there'll a "undelete" link near deleted items, kept default message for backward compatibility
* Also applied a patch by SPQRobin: added some ids and classes to the html source and modify page header when the user isn't allowed to modify interwiki prefixes
2008-04-03 21:00:22 +00:00