Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -574,9 +574,8 @@ |
575 | 575 | $row .= '<td>'; |
576 | 576 | $q = array(); |
577 | 577 | $q[] = 'action=delete'; |
578 | | - $q[] = ( $iscur ? 'image=' . $this->title->getPartialUrl() : 'oldimage=' . urlencode( $img ) ); |
579 | 578 | if( !$iscur ) |
580 | | - $q[] = 'wpEditToken=' . urlencode( $wgUser->editToken( $img ) ); |
| 579 | + $q[] = 'oldimage=' . urlencode( $img ); |
581 | 580 | $row .= '(' . $this->skin->makeKnownLinkObj( |
582 | 581 | $this->title, |
583 | 582 | wfMsgHtml( $iscur ? 'filehist-deleteall' : 'filehist-deleteone' ), |