Last modified: 2014-02-12 23:53:58 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 T52133, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50133 - Make Nearby on Commons search NS_FILE namespace
Make Nearby on Commons search NS_FILE namespace
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Jon
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-24 21:35 UTC by Jon
Modified: 2014-02-12 23:53 UTC (History)
11 users (show)

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


Attachments
Nearby page on commons with results (desktop) (64.71 KB, image/png)
2013-06-24 22:04 UTC, Jon
Details

Description Jon 2013-06-24 21:35:35 UTC
http://commons.wikimedia.org/w/index.php?title=Special:Nearby currently doesn't show any results.

I would expect to see links to file pages which have photos of nearby landmarks and points of interest.

This would also be very useful going forward to help editors find suitable photos for articles...

Can someone make it so?
Comment 1 Yuvi Panda 2013-06-24 21:49:36 UTC
It's enabled, but I think Nearby is querying NS_MAIN instead of NS_FILE.
Comment 2 Jon 2013-06-24 21:53:22 UTC
Should this be the default namespace to search in for GeoData on commons?
I'm not sure if this should be a configurable change in GeoData or in the frontend code.
Comment 3 Jon 2013-06-24 21:57:10 UTC
I tried running this on the NS_FILE namespace and it seems that page images do not work on the file namespace... however the results are awesome. I just discovered a load of photos of the wikimedia office on the nearby page of commons. We should definitely get this working!
Comment 4 Bawolff (Brian Wolff) 2013-06-24 22:01:46 UTC
Ideally this would use $wgContentNamespaces (If it doesn't already), although I noticed that commons doesn't have NS_FILE as a content namespace, which seems odd to me.
Comment 5 Jon 2013-06-24 22:04:18 UTC
Created attachment 12628 [details]
Nearby page on commons  with results (desktop)
Comment 6 Gerrit Notification Bot 2013-06-24 23:54:37 UTC
Related URL: https://gerrit.wikimedia.org/r/70350 (Gerrit Change Ia9b3bf27a397cb0365d3b7681f0c22818a74f61b)
Comment 7 Gerrit Notification Bot 2013-06-25 00:00:22 UTC
https://gerrit.wikimedia.org/r/70350 (Gerrit Change Ia9b3bf27a397cb0365d3b7681f0c22818a74f61b) | change APPROVED and MERGED [by jenkins-bot]
Comment 8 Jon 2013-06-25 00:03:24 UTC
https://gerrit.wikimedia.org/r/#/c/70352/ takes care of the config change
Comment 9 Jon 2013-06-25 23:39:28 UTC
There is an issue with PageImages which makes the upload CTA show on all photos in the nearby list. Will cut a bug for that when possible.

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


Navigation
Links