Last modified: 2007-10-18 13:35:54 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 T13678, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11678 - SMW_DV_GeoCoords.php doesn't allow character entity references
SMW_DV_GeoCoords.php doesn't allow character entity references
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Markus Krötzsch
http://ontoworld.org/wiki/Geographic_...
:
Depends on:
Blocks:
  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: ---


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

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.


Navigation
Links