Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -848,7 +848,7 @@ |
849 | 849 | } |
850 | 850 | |
851 | 851 | public function imageHistoryLine( $iscur, $file ) { |
852 | | - global $wgUser, $wgLang, $wgContLang, $wgTitle; |
| 852 | + global $wgUser, $wgLang, $wgContLang; |
853 | 853 | |
854 | 854 | $timestamp = wfTimestamp( TS_MW, $file->getTimestamp() ); |
855 | 855 | $img = $iscur ? $file->getName() : $file->getArchiveName(); |
— | — | @@ -886,7 +886,7 @@ |
887 | 887 | list( $ts, $name ) = explode( '!', $img, 2 ); |
888 | 888 | $query = array( |
889 | 889 | 'type' => 'oldimage', |
890 | | - 'target' => $wgTitle->getPrefixedText(), |
| 890 | + 'target' => $this->title->getPrefixedText(), |
891 | 891 | 'ids' => $ts, |
892 | 892 | ); |
893 | 893 | $del = $this->skin->revDeleteLink( $query, |
— | — | @@ -936,7 +936,7 @@ |
937 | 937 | $wgLang->timeAndDate( $timestamp, true ), |
938 | 938 | array(), |
939 | 939 | array( |
940 | | - 'target' => $wgTitle->getPrefixedText(), |
| 940 | + 'target' => $this->title->getPrefixedText(), |
941 | 941 | 'file' => $img, |
942 | 942 | 'token' => $wgUser->editToken( $img ) |
943 | 943 | ), |