Last modified: 2007-02-22 21:56: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 8966 - Special:MIMESearch is broken
Special:MIMESearch is broken
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-02-13 15:53 UTC by Raimond Spekking
Modified: 2007-02-22 21:56 UTC (History)
0 users

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


Description Raimond Spekking 2007-02-13 15:53:55 UTC
Special:MIMESearch is broken. Neither on Wikipedia nor on my private MW
installation (running from trunk too) it works. Always getting an empty page
(header only).

It seems, that the transform of the input value ($mime) is broken.

A few short tests:

1. Removing the lines
	if ( $major == '' or $minor == '' or !wfSpecialMIMEsearchValidType( $major ) )
in function wfSpecialMIMEsearch: Header + a list with 0 entries.

2. Removing the line
	WHERE img_major_mime = $major AND img_minor_mime = $minor
in function getSQL(): Header + a full list of _all_ files.

But I cannot figure out where the transform of $mime into $major and $minor is
broken :-(
Comment 1 Raimond Spekking 2007-02-22 21:56:46 UTC
Shame on me :-( 

The function is not broken, I havn't had understood the syntax.

Added in r20042 a short description to [[MediaWiki:mimesearch-summary]] for en
and de.

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