Last modified: 2011-08-08 07:17:16 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 T32252, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30252 - Special:MIMESearch is broken
Special:MIMESearch is broken
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Special:...
: patch, patch-need-review
: 30253 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-05 17:55 UTC by Jesús Martínez Novo (Ciencia Al Poder)
Modified: 2011-08-08 07:17 UTC (History)
3 users (show)

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


Attachments
indexes and so on (3.23 KB, patch)
2011-08-08 07:04 UTC, Max Semenik
Details

Description Jesús Martínez Novo (Ciencia Al Poder) 2011-08-05 17:55:47 UTC
[[Special:MIMESearch]] isn't returning any results. It's broken on WikiMedia wikis, but also on other wikis outside WikiMedia.

Entering a "image/jpeg" or "image/png" on english Wikipedia should give some thousands of images, but always return empty results.

See [[Wikipedia talk:Special:MIMESearch]].
Comment 1 Chad H. 2011-08-05 17:58:06 UTC
*** Bug 30253 has been marked as a duplicate of this bug. ***
Comment 2 Max Semenik 2011-08-08 07:04:49 UTC
Created attachment 8896 [details]
indexes and so on

No surprise since it tells you in nice boldtext: "This page is disabled."
Wikimedia wikis are running in miser mode and this page is slow as hell on large datasets.

Here's my proposed fix that:
1) Adds index for MIMESearch queries
2) Sorts by image name instead of major mime type which was pointless anyway
It nukes filesort and full-table scan, but still I would like a MySQL ninja to confirm that these changes are enough to allow using this page in miser mode.
Comment 3 Max Semenik 2011-08-08 07:08:37 UTC
Meh, dupe of bug 13438.
Comment 4 p858snake 2011-08-08 07:10:00 UTC
Can someone confirm this is broken in a plain non miser mode install?
Comment 5 Max Semenik 2011-08-08 07:13:22 UTC
No, it works just fine - the culprit is $wgMiserMode.
Comment 6 p858snake 2011-08-08 07:17:16 UTC
WORKSFORME, not broken in non miser mode per Max

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


Navigation
Links