Last modified: 2007-10-18 13:35:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11678 - SMW_DV_GeoCoords.php doesn't allow character entity references
SMW_DV_GeoCoords.php doesn't allow character entity references
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
All All
: Low minor (vote)
: ---
Assigned To: Markus Krötzsch
Depends on:
  Show dependency treegraph
Reported: 2007-10-16 06:55 UTC by S Page
Modified: 2007-10-18 13:35 UTC (History)
0 users

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

replace some additional entities (1.10 KB, patch)
2007-10-16 06:57 UTC, S Page

Description S Page 2007-10-16 06:55:23 UTC
You can't use °, ´, ′, ″ or the decimal character reference ´ for acute in Type:Geographic coordinate.

I think these are an easy patch...
Comment 1 S Page 2007-10-16 06:57:35 UTC
Created attachment 4260 [details]
replace some additional entities

Note the original had a weird replacement for '$nbsp;',

That doesn't mean anything.  But there doesn't seem to be any need for this replacement -- using   or $nbsp; works fine, the parsing seems willing to accept garbage strings in the middle of coordinates.  So I got rid of it.
Comment 2 Markus Krötzsch 2007-10-18 13:35:54 UTC
The garbage strings only are sub-accepted by Type:Number as an unsupported prefix. This might change, so the coordinates should be explicit about what they accept. I used the rest of your patch, and also added the double minute UTF8 as an alias for seconds.

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