Last modified: 2007-12-31 21:10:05 UTC
Created attachment 4483 [details]
proposed patch for Skin.php and SkinTemplate.php
Actually, to show the tab "Undelete n edits" in toolbar (for Skins that extends SkinTemplates) MediaWiki checks if the user has 'delete' or 'undelete' permissions, but if he doesn't have the 'deletedhistory' permission, he'll get a "Permission error" (strange configuration of $wgGroupPermissions, i know). I also modified Skin.php to display "view and restore n deleted edits" instead of "view n deleted edits" if the user has 'undelete' right as after r28151, the user must have the 'undelete' permission (and not the 'delete' one) to restore pages.
Applied in r29129 -- thanks for the patch!