https://bugzilla.wikimedia.org/show_bug.cgi?id=43674

       Web browser: ---
            Bug ID: 43674
           Summary: Change primary parameter for list=geosearch and
                    prop=coordinates
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: GeoData
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to