Last modified: 2007-02-22 21:56: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 T10966, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8966 - Special:MIMESearch is broken
Special:MIMESearch is broken
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.10.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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 ) )
		return;
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.


Navigation
Links