Index: trunk/phase3/includes/specials/SpecialUndelete.php |
— | — | @@ -1166,7 +1166,7 @@ |
1167 | 1167 | $revdlink = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ), |
1168 | 1168 | '('.wfMsgHtml('rev-delundel').')' ); |
1169 | 1169 | } else { |
1170 | | - $query = array( 'target' => $this->mTargetObj->getPrefixedUrl(), |
| 1170 | + $query = array( 'target' => $this->mTargetObj->getPrefixedDBkey(), |
1171 | 1171 | 'artimestamp' => $ts |
1172 | 1172 | ); |
1173 | 1173 | $revdlink = $sk->revDeleteLink( $query, $rev->isDeleted( Revision::DELETED_RESTRICTED ) ); |
— | — | @@ -1208,7 +1208,7 @@ |
1209 | 1209 | // If revision was hidden from sysops |
1210 | 1210 | $revdlink = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ), '('.wfMsgHtml('rev-delundel').')' ); |
1211 | 1211 | } else { |
1212 | | - $query = array( 'target' => $this->mTargetObj->getPrefixedUrl(), |
| 1212 | + $query = array( 'target' => $this->mTargetObj->getPrefixedDBkey(), |
1213 | 1213 | 'fileid' => $row->fa_id |
1214 | 1214 | ); |
1215 | 1215 | $revdlink = $sk->revDeleteLink( $query, $file->isDeleted( File::DELETED_RESTRICTED ) ); |