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

           Summary: Calling <slippymap> in a way that it doesn't expect will
                    result in invalid JS
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: Maps
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Calling e.g. <slippymap/> will result in this JS:

  :lat: ,
  :lon: ,

The extension needs to:

 * Validate the params it's given, e.g. lat/lon should be only a float, zoom
should be only numeric. Some of this is done already
 * Throw an error if it's given any params that it doesn't know about


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to