Last modified: 2013-04-22 16:14:48 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 T45674, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43674 - Change primary parameter for list=geosearch and prop=coordinates
Change primary parameter for list=geosearch and prop=coordinates
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GeoData (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-06 11:20 UTC by db [inactive,noenotif]
Modified: 2013-04-22 16:14 UTC (History)
2 users (show)

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


Attachments

Description db [inactive,noenotif] 2013-01-06 11:20:25 UTC
Having a parameter which allows yes and no sounds not easy to use.

  coprimary           - Whether to return only primary coordinates (``yes''), secondary (``no'') or both (``yes|no'')
                        Values (separate with '|'): yes, no
                        Default: yes

It is possible to change this param to a three state param like apfilterredir from list=allpages?

  apfilterredir       - Which pages to list
                        One value: all, redirects, nonredirects
                        Default: all


Something like:

 coprimary           - Whether to filter on primary coordinates
                        Values (separate with '|'): all, primary, nonprimary
                        Default: primary

This is beta, so no problem with a breaking change, maybe name the param filterprimary and deprecate primary or remove it.
Comment 1 Max Semenik 2013-01-29 20:23:15 UTC
https://gerrit.wikimedia.org/r/46562
Comment 2 Arthur Richards 2013-01-29 23:11:56 UTC
Change merged to master

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


Navigation
Links