Strange Properties appearing

From semantic-mediawiki.org

I've had a persistent problem with a Property I use: "CentralIndexRef" this is usually a reference number eg V51 or X1, it seems fairly straightforward. I use a form to build the data.

Article |CentralIndexRef=G T X W

However I get loads of junk entries appearing

CentralIndeB1Ref (134 uses)
CentralIndeC2Ref (88 uses)
CentralIndeP4Ref (56 uses)
CentralIndeR2Ref (54 uses)
CentralIndeA3Ref (52 uses)
CentralIndeK5Ref (40 uses)
CentralIndeN3Ref (39 uses)
CentralIndeS3Ref (34 uses)
CentralIndeN1Ref (24 uses)
CentralIndeK4Ref (24 uses)
CentralIndeDRef (22 uses)
CentralIndeG T X WRef (21 uses)

Etc, etc. It seems as though it's treating the x in the property title as a variable. I've just wiped and rebuilt all the data as suggested here: Help:Repairing_SMW's_data#Rebuilding_everything, but it doesn't seem to have solved it.

is this a known issue?

16:24, 16 October 2015

> Etc, etc. It seems as though it's treating the x in the property title as a variable

No, a property label (or title) doesn't make any arbitrary decisions about part of the character set it represents.

I don't fully understand the issue, maybe it would be good if you try the replicate your issue on [0] so we can attempt to eliminate or identify the potential problem.

[0] http://sandbox.semantic-mediawiki.org/

16:34, 16 October 2015

I have seen it to appear in [0] and I suspect that this relates to this code {{#arraymap:{{{CentralIndexRef|}}}|,|y|[[CentralIndexRef::y]]}} in your Template:Article that creates an empty property.

I think if you remove the arraymap call then those arbitrary properties should no longer be created but this isn't really related to smw-core (this parser is provided by SF).

I think the x in CentralIndexRef in combination with arraymap causes this strange appearance, if you would use something else without x the issue might also disappear but again this relates to the use of arraymap and not smw-core.

[0] http://sandbox.semantic-mediawiki.org/w/index.php?title=Special:Properties&limit=51&offset=0

18:31, 16 October 2015

I suspect that entries like CentralIndeB1Ref are empty (when created by the arraymap) and despite being void are still created as property reference hence the visibility in Special:Properties.

[0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1217

19:42, 16 October 2015

That makes sense, thanks MWJames. Replaced the variable x with y and rebuilt data and it's all gone.

13:37, 20 October 2015