Last modified: 2013-08-29 12:26:03 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 T7101, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5101 - Image from Commons doesn't show up when searched in Wikipedia search box
Image from Commons doesn't show up when searched in Wikipedia search box
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
unspecified
All All
: Normal minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: crosswiki
: 8306 16238 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-26 09:24 UTC by folengo
Modified: 2013-08-29 12:26 UTC (History)
3 users (show)

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


Attachments

Description folengo 2006-02-26 09:24:30 UTC
For example, copy and paste "Image:Mozambique - 
traditional sailboat.jpg" in the search box of the 
English Wikipedia. The search result is "No page with 
that title exists", although the link is a blue link.

In some Wikipedias (for example the Japanese one) even 
this blue link is not provided on the search result 
page.
Comment 1 folengo 2006-02-26 10:24:21 UTC
Here's a tiny url for the search page I mentioned :

http://tinyurl.com/koy9a
Comment 2 folengo 2006-02-26 10:29:26 UTC
Sorry the above tiny url is wrong. Here's the 
right one : http://tinyurl.com/m867l
Comment 3 Melancholie 2006-02-27 00:18:39 UTC
For having results you could search directly on Commons ;-)

But I think you are talking about a global search function for Wikimedia wikis,
aren't you? Just to be precise: Do you suggest, that a search on enWP should
also involve the search results from WikiCommons, or did you just wonder why
this does not work yet?

Best regards, Melancholie
Comment 4 folengo 2006-03-03 09:30:26 UTC
Thanks for your attention.

"Do you suggest, that a search on enWP should
also involve the search results from WikiCommons ?"

>Yes I think so. Remember that The Commons page will not 
tell you which English Wikipedia pages include the 
picture. If you want to kow which English Wikipedia 
pages include the picture, you've got to go to the "File 
links" section at the bottom of 
http://en.wikipedia.org/wiki/Image:Mozambique_-
_traditional_sailboat.jpg 

After you have found a picture on Commons, you should 
have a simple way of reaching this ( 
http://en.wikipedia.org/wiki/Image:Mozambique_-
_traditional_sailboat.jpg ) page. At present you have to 
copy and paste the image file name on the Wikipedia URL 
and I find this quite awkward. Copying and pasting this 
file name in the search box should be a means available, 
like for any other Wikipedia page. 
Comment 5 folengo 2006-03-03 09:32:41 UTC
http://tinyurl.com/ffxqo this is the tiny url for the 
above link.
Comment 6 Brion Vibber 2006-03-03 09:46:15 UTC
A check for 'go' searches would be pretty easy. For full-text search, harder.
Comment 7 Melancholie 2006-03-13 23:33:55 UTC
Have a look on http://wikicities.com/wiki/Special:Search to see how this could work.
Comment 8 folengo 2006-05-01 17:10:56 UTC
A new "check usage" tab is now available on every 
image page of Commons. So this bug report can be 
canceled. 
Comment 9 brianna.laugher 2006-11-08 12:26:23 UTC
CheckUsage still relies on the toolserver. This bug can be cancelled when
CheckUsage is made into a native part of MediaWiki.
Comment 10 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-12-18 15:10:55 UTC
*** Bug 8306 has been marked as a duplicate of this bug. ***
Comment 11 Brion Vibber 2008-09-17 01:19:26 UTC
Exact-matches via 'Go' work at present, but if it goes into the full-text search, images from Commons will only turn up if:

a) You've checked "images" namespace to turn up to begin with, and

b) A local description page has been created so it turns up in the local search index

For the Lucene search, it may be possible to somehow query both indexes (but I'm not sure that would work sensibly); otherwise it probably would just require building information from both sources into a single index. This might be easier for the Lucene search, which has index updates done in bulk, than for the default MediaWiki MySQL search backend, where updates are done to the local index on page change.
Comment 12 Robert Stojnic 2008-09-17 21:10:17 UTC
Yep, doing that with our lucene-based backend is fairly easy. It's implemented in the 2.1 branch. 
Comment 13 Robert Stojnic 2008-10-22 23:13:04 UTC
Last bit fixed in r42352. Will be effective for wikis that switched to new search servers upon scap. 
Comment 14 Brion Vibber 2008-10-22 23:23:15 UTC
woohoo!
Comment 15 Brion Vibber 2008-10-22 23:27:40 UTC
Some notes on r42352; functionality looks good (though should be double-checked in a Commons-like configuration) but the UI needs some polish.
Comment 16 Robert Stojnic 2008-10-23 08:19:56 UTC
I've tested it on my local conf which mirrors commons settings from CommonSettings.php. UI looks fairly sane to me, but then again, I'm pretty horrible in UI design. Any particular thoughts about it?
Comment 17 Robert Stojnic 2008-11-04 12:48:48 UTC
*** Bug 16238 has been marked as a duplicate of this bug. ***
Comment 18 Robert Stojnic 2008-11-04 12:49:35 UTC
This has been reverted a while ago. Reopening. 
Comment 19 Robert Stojnic 2008-11-04 22:22:09 UTC
Another attempt at this in r43196, now only with changes related to this bug... 

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


Navigation
Links