Tech, emailconfirmed, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Administrators
12,451
edits
No edit summary |
Bongolium500 (talk | contribs) |
||
Line 5: | Line 5: | ||
== Discussion == | == Discussion == | ||
While I am not sure why the fields are inconsistent, there are benefits to having some fields use <tt><nowiki>[[ ]]</nowiki></tt> 'cos of templates such as {{tlx|note}}; but I feel a bunch, like <tt><nowiki>|director =</nowiki></tt>, should be automatic. But I ain't a coding expert so someone with more knowledge than me could provide an insight to the way things are. {{User:Epsilon the Eternal/signature}} 18:15, 28 July 2023 (UTC) | While I am not sure why the fields are inconsistent, there are benefits to having some fields use <tt><nowiki>[[ ]]</nowiki></tt> 'cos of templates such as {{tlx|note}}; but I feel a bunch, like <tt><nowiki>|director =</nowiki></tt>, should be automatic. But I ain't a coding expert so someone with more knowledge than me could provide an insight to the way things are. {{User:Epsilon the Eternal/signature}} 18:15, 28 July 2023 (UTC) | ||
: These auto-linking fields are a requirement for having data collected for use with SMW and similar systems (well, it’s not strictly a requirement. There are workarounds, but they’re far harder to set up and maintain). As more SMW data is collected, more fields are made auto-linking. The reason that not all fields are auto-linking is that, firstly, this means that more work has to be done transitioning pages over and, in my eyes, the less work here, the better. The second reason is something that I’ve learnt through developing {{tlx|Infobox Story SMW}} which is that there are always, and will always be, a ton of edge cases. These are hard and time consuming to deal with. As Epsilon mentions, having fields auto-link makes conveying nuance through {{tlx|note}} and similar far harder, and these all require special exceptions and work arounds to be hardcoded in. Therefore, when putting together the new infobox, I just stuck to what was necessary at the current time to get what I needed to do done. The fields made auto-linking are not random; they’re what I needed to achieve {{tlx|cite source}}. In the ideal world, I think everything would be auto-linking, but we’re not (yet) in this ideal world. In time, I do plan to roll out more auto-linking fields with the aid of a bot that I plan to write soon to aid with the {{tlx|Infobox Story SMW}} transition but, until then, things are just a little inconsistent. As for helping to remember which are which, would better documentation help? If so, I can put something together. [[User:Bongolium500|<span title="aka Bongolium500">Bongo50</span>]] [[User talk:Bongolium500|<span title="talk to me">☎</span>]] 18:47, 28 July 2023 (UTC) |
edits