Index: trunk/phase3/includes/specials/SpecialUndelete.php |
— | — | @@ -1267,14 +1267,14 @@ |
1268 | 1268 | */ |
1269 | 1269 | function getPageLink( $rev, $titleObj, $ts ) { |
1270 | 1270 | $user = $this->getUser(); |
1271 | | - $time = htmlspecialchars( $this->getLanguage()->userTimeAndDate( $ts, $user ) ); |
| 1271 | + $time = $this->getLanguage()->userTimeAndDate( $ts, $user ); |
1272 | 1272 | |
1273 | 1273 | if( !$rev->userCan( Revision::DELETED_TEXT, $user ) ) { |
1274 | 1274 | return '<span class="history-deleted">' . $time . '</span>'; |
1275 | 1275 | } else { |
1276 | 1276 | $link = Linker::linkKnown( |
1277 | 1277 | $titleObj, |
1278 | | - $time, |
| 1278 | + htmlspecialchars( $time ), |
1279 | 1279 | array(), |
1280 | 1280 | array( |
1281 | 1281 | 'target' => $this->mTargetObj->getPrefixedText(), |
— | — | @@ -1296,14 +1296,14 @@ |
1297 | 1297 | */ |
1298 | 1298 | function getFileLink( $file, $titleObj, $ts, $key ) { |
1299 | 1299 | $user = $this->getUser(); |
1300 | | - $time = htmlspecialchars( $this->getLanguage()->userTimeAndDate( $ts, $user ) ); |
| 1300 | + $time = $this->getLanguage()->userTimeAndDate( $ts, $user ); |
1301 | 1301 | |
1302 | 1302 | if( !$file->userCan( File::DELETED_FILE, $user ) ) { |
1303 | 1303 | return '<span class="history-deleted">' . $time . '</span>'; |
1304 | 1304 | } else { |
1305 | 1305 | $link = Linker::linkKnown( |
1306 | 1306 | $titleObj, |
1307 | | - $time, |
| 1307 | + htmlspecialchars( $time ), |
1308 | 1308 | array(), |
1309 | 1309 | array( |
1310 | 1310 | 'target' => $this->mTargetObj->getPrefixedText(), |