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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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