Hi Yaron,

Thanks for such a fast reply! Regarding pages watching.You are right about
default MediaWiki settings, there is no property (variable) to make "watch
this page" checkbox checked by default. That is why, I've decided to make
this patch.

Here is my case.

There are several *very important* pages/forms in my wiki (actually kind of
corporate system) and I had to make "watch this page" checkbox for these
pages/forms checked by default. Again, it is because, these pages/forms are
very important (like a killer feature of site, like a key entity). For
example, I have a MediaWiki-based system with data about rock bands, than
template "Rock Band" and form "Form:Rock Band" are *main entities* in my
system. Other entities, such as "Album", "Song", "Person", etc. Not such
important for my goals. In this case, it'd be really useful to have a way
make my mains entities checkbox checked by default. Its really important to
users and to maintainers to watch this pages/forms.

On Fri, Jun 1, 2012 at 3:17 AM, Yaron Koren <ya...@wikiworks.com> wrote:

> Hi Vladimir,
>
> Thanks for this patch. In theory, this sounds reasonable - and the code
> you created looks fine. My one concern is that, as far as I know, currently
> in MediaWiki the "watch this page" checkbox is never checked by default -
> except in special cases like that the user is creating a new page; and even
> for those cases, the user can decide not to have it checked by default, by
> changing their preferences. So I'm worried that this could break an
> expectation on the part of users that some page they decided to edit won't
> get added to their watchlist. Which is not a major concern, but it might be
> worth something.
>
> Could you explain why you want that checkbox checked on some forms?
>
> -Yaron
>
>
> On Thu, May 31, 2012 at 3:57 AM, Vladimir Kostyukov <
> vladimir.kostu...@gmail.com> wrote:
>
>> 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
>>
>>
>
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>



-- 
Thanks,
Vladimir Kostyukov
------------------------------------------------------------------------------
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