Hi Yaron, Stephan and everyone!

I've just written simple patch, witch adds support of "default" tag for
standard input checkboxes (minor changes, watch). You can found it attached.

Here is my motivation.

In my project, where I use SMW/SF, I had to mark standard input "watch"
checkbox as "checked" by default for several forms (*not for all forms*).
I've decided to write something like that (regarding standard checkbox
usage):

{{{standard input|watch|default=yes}}}

But, It didn't work for me! I looked into sources, and figured out, that
"default" tag is ignored. Than I've decided to implement this feature. I
think its very useful, to have a way set "watch" or "minor edit" default
value for *separated form*.

What do you thing about this feature?

-- 
Thanks,
Vladimir Kostyukov

Attachment: default_for_minor_and_watch.patch
Description: Binary data

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to