On 23/08/12 03:00, Tim Starling wrote:
On 23/08/12 07:17, Ryan Lane wrote:

The end-users for scribunto are template editors. The way the template
is called from articles is almost exactly the same. The syntax is so
similar to how it currently is that It does nothing to change the
experience for a normal editor.

I'd bet that most templates will keep the same arguments when switched
over, and the syntax will be mass changed by a bot.
I think there will be some changes to template invocations. For
example, a typical coord invocation looks like this:

{{Coord|33|51|35.9|S|151|12|40|E}}

With the string processing facilities that Lua provides, that might
change to:

{{Coord|33°51'35.9"S 151°12'40"E}}

Of course, backwards compatibility would need to be maintained, but
that's easy enough.


This falls in the uncanny valley between pedantic correctness and ease of use. On one hand, most users would find the degree sign too hard to type: and on the other, if you are going to insist on using the degree sign, why not also the appropriate punctuation marks for minutes and seconds?

Something like

{{coord|33 51 35.9 S 151 12 40 E}}

would be perfectly good enough: as simple to understand as the existing format, and easier to type.

extending it to:

{{coord|33 51 35.9 S 151 12 40 E display=title type=landmark region=AU}}

would then be trivial.

-- Neil


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to