Page MenuHomePhabricator

odd "#x00B;&hellip" text visible in smw_badqueryatom warning tooltip
Closed, ResolvedPublic

Description

Author: info

Description:
In SMW_LangueEn,

'smw_badqueryatom' => 'Some part “[#x005B;&hellip]]” of the query was not understood.',

I'm not sure of the intent of the strange wiki markup, but I actually see this text in the warning tooltip for certain bad queries, e.g.

<nowiki> <ask>[[ontoworld.org: ]][[ontoworld.org:Date range]]</ask> </nowiki>

Version: unspecified
Severity: normal
URL: http://ontoworld.org/wiki/Bugs#Odd_inline_query_error

Details

Reference
bz11823

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:57 PM
bzimport set Reference to bz11823.

info wrote:

I think the intent was just to display “[[…]]” and an ampersands and semicolon got lost. The part inside [ and ]] needs & and semicolon, i.e. it should be
'smw_badqueryatom' => 'Some part “[&#x005B;&hellip;]]” of the query was not understood.',

I'm checking in this fix to SMW_LanguageEn.php, I believe every other language file needs it. But since I'm the "master of disaster" when it comes to Subversion, I'll hold off until someone confirms I'm not garbling it! If that seems OK you can assign the bug to me.

info wrote:

I made the fix in the rest of the language files.