Add notice for pages with deletion history & easy undelete link.
[lhc/web/wiklou.git] / includes / SpecialUndelete.php
index b4d66ea..5ac5005 100644 (file)
@@ -1,9 +1,10 @@
 <?
 
-function wfSpecialUndelete( )
+function wfSpecialUndelete( $par )
 {
     global $wgLang, $wgUser, $wgOut, $action, $target, $timestamp, $restore;
     
+       if( $par != "" ) $target = $par;
     if( isset($target ) ) {
        $t = Title::newFromURL( $target );
        $title = $t->mDbkeyform;