* (bug 7681, 11559) Cookie values no longer override GET and POST variables.
* (bug 5262) Fully-qualified $wgStylePath no longer corrupted on XML feeds
* (bug 3269) Inaccessible titles ending in '/.' or '/..' now forbidden.
+* (bug 12935) Fully-qualify archive URLs correctly in deletion message
== Parser changes in 1.12 ==
private function prepareMessage( $message ) {
global $wgLang, $wgServer;
if( $this->oldimage ) {
+ $url = $this->file->getArchiveUrl( $this->oldimage );
+ if( substr( $url, 0, 1 ) == '/' ) {
+ // Fully-qualify the URL if necessary
+ $url = $wgServer . $url;
+ }
return wfMsgExt(
"{$message}-old", # To ensure grep will find them: 'filedelete-intro-old', 'filedelete-nofile-old', 'filedelete-success-old'
'parse',
$this->title->getText(),
$wgLang->date( $this->getTimestamp(), true ),
$wgLang->time( $this->getTimestamp(), true ),
- $wgServer . $this->file->getArchiveUrl( $this->oldimage )
+ $url
);
} else {
return wfMsgExt(