Last modified: 2008-02-13 05:59:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14935, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12935 - Wrong archive URL in FileDeleteForm::prepareMessage()
Wrong archive URL in FileDeleteForm::prepareMessage()
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.12.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/w/index....
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-06 09:53 UTC by Raimond Spekking
Modified: 2008-02-13 05:59 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Raimond Spekking 2008-02-06 09:53:09 UTC
Running r30403 on WMF wikis and trunk local:

FileDeleteForm.php:

private function prepareMessage( $message ) {
...
return wfMsgExt(
	"{$message}-old",
	'parse',
	$this->title->getText(),
	$wgLang->date( $this->getTimestamp(), true ),
	$wgLang->time( $this->getTimestamp(), true ),
	$wgServer . $this->file->getArchiveUrl( $this->oldimage )

The last line creates a wrong URL on projects with a shared repository like Commons (see URL in bug): 
http://commons.wikimedia.orghttp//upload.wikimedia.org/wikipedia/commons/archive/8/8e/20080121185103%21Ecce_Homo_-_Eichenholzrelief_-_Kolumba_K%C3%B6ln.jpg
Comment 1 Brion Vibber 2008-02-13 02:31:25 UTC
Fixed in r30893
Comment 2 Brion Vibber 2008-02-13 05:59:46 UTC
*** Bug 12981 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links