Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-06-21 Thread Yaron Koren
Hi,

You can see the changes here:

https://gerrit.wikimedia.org/r/#/c/12214/1/includes/SF_FormPrinter.php,unified
https://gerrit.wikimedia.org/r/#/c/12214/1/includes/SF_FormUtils.php,unified

-Yaron


On Thu, Jun 21, 2012 at 12:19 AM, Vladimir Kostyukov <
vladimir.kostu...@gmail.com> wrote:

> Hi Yaron,
>
> It's great! Is it possible to see the diff somwhere? Please, send me link
> when it'll be ready.
>
>
> On Thu, Jun 21, 2012 at 2:13 AM, Yaron Koren  wrote:
>
>> Hi,
>>
>> Okay, the code is now checked in to Git (which is where SF is now, as of
>> a few days ago). And I'm pleased to say that I'm finally able to check code
>> in to the new system.
>>
>> -Yaron
>>
>>
>> On Fri, Jun 15, 2012 at 11:46 AM, Yaron Koren wrote:
>>
>>> Hi Vladimir,
>>>
>>> Sorry about the delay, and thanks again for the patch. All my
>>> development work has basically been on hold: the discoursedb.org
>>> server, from where I do all my check-ins, was down for a while, and
>>> then all the code got transferred to another server, after which I
>>> still wasn't able to check in code, and now all my extensions
>>> (including SF) are set to be transferred to Git... anyway, I have a
>>> bunch of code now that's waiting to be checked in, including this
>>> patch - I hope to do that in the next few weeks, at the latest.
>>>
>>> -Yaron
>>>
>>> On Fri, Jun 15, 2012 at 1:51 AM, Vladimir Kostyukov
>>>  wrote:
>>> > Hi Yaron,
>>> >
>>> > How its going with my patch?
>>> >
>>> >
>>> > On Tue, Jun 5, 2012 at 12:30 PM, Vladimir Kostyukov
>>> >  wrote:
>>> >>
>>> >> Hi Yaron,
>>> >>
>>> >> I've changed my patch according to your suggestions. You can find it
>>> >> attached.
>>> >>
>>> >> Actually, I added support of default tag to "minor edits" just
>>> because it
>>> >> was very simple and free. Probably you are right, users will never
>>> want to
>>> >> make it checked by default.
>>> >>
>>> >>
>>> >> On Tue, Jun 5, 2012 at 11:06 AM, Yaron Koren 
>>> wrote:
>>> >>>
>>> >>> Hi,
>>> >>>
>>> >>> First of all, it looks like we're just talking about the "watch this
>>> >>> page" checkbox now - there doesn't seem to be any demand, or strong
>>> >>> rationale, for having the "minor edit" checkbox ever checked by
>>> default.
>>> >>>
>>> >>> Given that - with these additional explanations, I think I've been
>>> >>> convinced. So, how about having this just for the "watch" standard
>>> input,
>>> >>> and having the parameter just be "checked", instead of
>>> "default=checked"?
>>> >>>
>>> >>> -Yaron
>>> >>>
>>> >>>
>>> >>> On Mon, Jun 4, 2012 at 9:13 AM, Yury Katkov 
>>> >>> wrote:
>>> 
>>>  Hi guys!
>>> 
>>>  This feature sounds very reasonable for me and I'll gladly use this
>>>  feature in enterprise wikis. In these kinds of wikis the page
>>> typically has
>>>  only one or two authors and the number of pages is smaller than in
>>> public
>>>  wikis. So the intention to make users informed by default of all
>>> pages the
>>>  have contributed is very close to my heart:
>>>  1) frequent notifications about the activity on wikipages make users
>>>  mare involved in the content creation process
>>>  2) enable notifications by default is a good decision for the most
>>>  important pages because their changes should be as transparent as
>>> possible.
>>> 
>>> 
>>>  -
>>>  Yury Katkov
>>> 
>>> 
>>> 
>>> 
>>>  On Fri, Jun 1, 2012 at 5:26 PM, Yaron Koren 
>>> wrote:
>>> >
>>> > Hi Vladimir,
>>> >
>>> > I'm still not convinced - just because a page is important, doesn't
>>> > mean that a person's *relationship* to it is important. For
>>> instance, the
>>> > person could be editing the page just to fix a typo - it doesn't
>>> mean that
>>> > they now want to monitor it.
>>> >
>>> > That's just my current opinion, and I'm open to counter-arguments,
>>> by
>>> > you or others.
>>> >
>>> > -Yaron
>>> >
>>> >
>>> > On Thu, May 31, 2012 at 10:44 PM, Vladimir Kostyukov
>>> >  wrote:
>>> >>
>>> >> 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, s

Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-06-20 Thread Vladimir Kostyukov
Hi Yaron,

It's great! Is it possible to see the diff somwhere? Please, send me link
when it'll be ready.

On Thu, Jun 21, 2012 at 2:13 AM, Yaron Koren  wrote:

> Hi,
>
> Okay, the code is now checked in to Git (which is where SF is now, as of a
> few days ago). And I'm pleased to say that I'm finally able to check code
> in to the new system.
>
> -Yaron
>
>
> On Fri, Jun 15, 2012 at 11:46 AM, Yaron Koren  wrote:
>
>> Hi Vladimir,
>>
>> Sorry about the delay, and thanks again for the patch. All my
>> development work has basically been on hold: the discoursedb.org
>> server, from where I do all my check-ins, was down for a while, and
>> then all the code got transferred to another server, after which I
>> still wasn't able to check in code, and now all my extensions
>> (including SF) are set to be transferred to Git... anyway, I have a
>> bunch of code now that's waiting to be checked in, including this
>> patch - I hope to do that in the next few weeks, at the latest.
>>
>> -Yaron
>>
>> On Fri, Jun 15, 2012 at 1:51 AM, Vladimir Kostyukov
>>  wrote:
>> > Hi Yaron,
>> >
>> > How its going with my patch?
>> >
>> >
>> > On Tue, Jun 5, 2012 at 12:30 PM, Vladimir Kostyukov
>> >  wrote:
>> >>
>> >> Hi Yaron,
>> >>
>> >> I've changed my patch according to your suggestions. You can find it
>> >> attached.
>> >>
>> >> Actually, I added support of default tag to "minor edits" just because
>> it
>> >> was very simple and free. Probably you are right, users will never
>> want to
>> >> make it checked by default.
>> >>
>> >>
>> >> On Tue, Jun 5, 2012 at 11:06 AM, Yaron Koren 
>> wrote:
>> >>>
>> >>> Hi,
>> >>>
>> >>> First of all, it looks like we're just talking about the "watch this
>> >>> page" checkbox now - there doesn't seem to be any demand, or strong
>> >>> rationale, for having the "minor edit" checkbox ever checked by
>> default.
>> >>>
>> >>> Given that - with these additional explanations, I think I've been
>> >>> convinced. So, how about having this just for the "watch" standard
>> input,
>> >>> and having the parameter just be "checked", instead of
>> "default=checked"?
>> >>>
>> >>> -Yaron
>> >>>
>> >>>
>> >>> On Mon, Jun 4, 2012 at 9:13 AM, Yury Katkov 
>> >>> wrote:
>> 
>>  Hi guys!
>> 
>>  This feature sounds very reasonable for me and I'll gladly use this
>>  feature in enterprise wikis. In these kinds of wikis the page
>> typically has
>>  only one or two authors and the number of pages is smaller than in
>> public
>>  wikis. So the intention to make users informed by default of all
>> pages the
>>  have contributed is very close to my heart:
>>  1) frequent notifications about the activity on wikipages make users
>>  mare involved in the content creation process
>>  2) enable notifications by default is a good decision for the most
>>  important pages because their changes should be as transparent as
>> possible.
>> 
>> 
>>  -
>>  Yury Katkov
>> 
>> 
>> 
>> 
>>  On Fri, Jun 1, 2012 at 5:26 PM, Yaron Koren 
>> wrote:
>> >
>> > Hi Vladimir,
>> >
>> > I'm still not convinced - just because a page is important, doesn't
>> > mean that a person's *relationship* to it is important. For
>> instance, the
>> > person could be editing the page just to fix a typo - it doesn't
>> mean that
>> > they now want to monitor it.
>> >
>> > That's just my current opinion, and I'm open to counter-arguments,
>> by
>> > you or others.
>> >
>> > -Yaron
>> >
>> >
>> > On Thu, May 31, 2012 at 10:44 PM, Vladimir Kostyukov
>> >  wrote:
>> >>
>> >> 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 
>> >> wrote:
>> >>>
>> >>> Hi Vladimir,
>> >>>
>> >>> Thanks

Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-06-20 Thread Yaron Koren
Hi,

Okay, the code is now checked in to Git (which is where SF is now, as of a
few days ago). And I'm pleased to say that I'm finally able to check code
in to the new system.

-Yaron

On Fri, Jun 15, 2012 at 11:46 AM, Yaron Koren  wrote:

> Hi Vladimir,
>
> Sorry about the delay, and thanks again for the patch. All my
> development work has basically been on hold: the discoursedb.org
> server, from where I do all my check-ins, was down for a while, and
> then all the code got transferred to another server, after which I
> still wasn't able to check in code, and now all my extensions
> (including SF) are set to be transferred to Git... anyway, I have a
> bunch of code now that's waiting to be checked in, including this
> patch - I hope to do that in the next few weeks, at the latest.
>
> -Yaron
>
> On Fri, Jun 15, 2012 at 1:51 AM, Vladimir Kostyukov
>  wrote:
> > Hi Yaron,
> >
> > How its going with my patch?
> >
> >
> > On Tue, Jun 5, 2012 at 12:30 PM, Vladimir Kostyukov
> >  wrote:
> >>
> >> Hi Yaron,
> >>
> >> I've changed my patch according to your suggestions. You can find it
> >> attached.
> >>
> >> Actually, I added support of default tag to "minor edits" just because
> it
> >> was very simple and free. Probably you are right, users will never want
> to
> >> make it checked by default.
> >>
> >>
> >> On Tue, Jun 5, 2012 at 11:06 AM, Yaron Koren 
> wrote:
> >>>
> >>> Hi,
> >>>
> >>> First of all, it looks like we're just talking about the "watch this
> >>> page" checkbox now - there doesn't seem to be any demand, or strong
> >>> rationale, for having the "minor edit" checkbox ever checked by
> default.
> >>>
> >>> Given that - with these additional explanations, I think I've been
> >>> convinced. So, how about having this just for the "watch" standard
> input,
> >>> and having the parameter just be "checked", instead of
> "default=checked"?
> >>>
> >>> -Yaron
> >>>
> >>>
> >>> On Mon, Jun 4, 2012 at 9:13 AM, Yury Katkov 
> >>> wrote:
> 
>  Hi guys!
> 
>  This feature sounds very reasonable for me and I'll gladly use this
>  feature in enterprise wikis. In these kinds of wikis the page
> typically has
>  only one or two authors and the number of pages is smaller than in
> public
>  wikis. So the intention to make users informed by default of all
> pages the
>  have contributed is very close to my heart:
>  1) frequent notifications about the activity on wikipages make users
>  mare involved in the content creation process
>  2) enable notifications by default is a good decision for the most
>  important pages because their changes should be as transparent as
> possible.
> 
> 
>  -
>  Yury Katkov
> 
> 
> 
> 
>  On Fri, Jun 1, 2012 at 5:26 PM, Yaron Koren 
> wrote:
> >
> > Hi Vladimir,
> >
> > I'm still not convinced - just because a page is important, doesn't
> > mean that a person's *relationship* to it is important. For
> instance, the
> > person could be editing the page just to fix a typo - it doesn't
> mean that
> > they now want to monitor it.
> >
> > That's just my current opinion, and I'm open to counter-arguments, by
> > you or others.
> >
> > -Yaron
> >
> >
> > On Thu, May 31, 2012 at 10:44 PM, Vladimir Kostyukov
> >  wrote:
> >>
> >> 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 
> >> 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;
> >>>

Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-06-15 Thread Yaron Koren
Hi Vladimir,

Sorry about the delay, and thanks again for the patch. All my
development work has basically been on hold: the discoursedb.org
server, from where I do all my check-ins, was down for a while, and
then all the code got transferred to another server, after which I
still wasn't able to check in code, and now all my extensions
(including SF) are set to be transferred to Git... anyway, I have a
bunch of code now that's waiting to be checked in, including this
patch - I hope to do that in the next few weeks, at the latest.

-Yaron

On Fri, Jun 15, 2012 at 1:51 AM, Vladimir Kostyukov
 wrote:
> Hi Yaron,
>
> How its going with my patch?
>
>
> On Tue, Jun 5, 2012 at 12:30 PM, Vladimir Kostyukov
>  wrote:
>>
>> Hi Yaron,
>>
>> I've changed my patch according to your suggestions. You can find it
>> attached.
>>
>> Actually, I added support of default tag to "minor edits" just because it
>> was very simple and free. Probably you are right, users will never want to
>> make it checked by default.
>>
>>
>> On Tue, Jun 5, 2012 at 11:06 AM, Yaron Koren  wrote:
>>>
>>> Hi,
>>>
>>> First of all, it looks like we're just talking about the "watch this
>>> page" checkbox now - there doesn't seem to be any demand, or strong
>>> rationale, for having the "minor edit" checkbox ever checked by default.
>>>
>>> Given that - with these additional explanations, I think I've been
>>> convinced. So, how about having this just for the "watch" standard input,
>>> and having the parameter just be "checked", instead of "default=checked"?
>>>
>>> -Yaron
>>>
>>>
>>> On Mon, Jun 4, 2012 at 9:13 AM, Yury Katkov 
>>> wrote:

 Hi guys!

 This feature sounds very reasonable for me and I'll gladly use this
 feature in enterprise wikis. In these kinds of wikis the page typically has
 only one or two authors and the number of pages is smaller than in public
 wikis. So the intention to make users informed by default of all pages the
 have contributed is very close to my heart:
 1) frequent notifications about the activity on wikipages make users
 mare involved in the content creation process
 2) enable notifications by default is a good decision for the most
 important pages because their changes should be as transparent as possible.


 -
 Yury Katkov




 On Fri, Jun 1, 2012 at 5:26 PM, Yaron Koren  wrote:
>
> Hi Vladimir,
>
> I'm still not convinced - just because a page is important, doesn't
> mean that a person's *relationship* to it is important. For instance, the
> person could be editing the page just to fix a typo - it doesn't mean that
> they now want to monitor it.
>
> That's just my current opinion, and I'm open to counter-arguments, by
> you or others.
>
> -Yaron
>
>
> On Thu, May 31, 2012 at 10:44 PM, Vladimir Kostyukov
>  wrote:
>>
>> 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 
>> 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
>>

Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-06-14 Thread Vladimir Kostyukov
Hi Yaron,

How its going with my patch?

On Tue, Jun 5, 2012 at 12:30 PM, Vladimir Kostyukov <
vladimir.kostu...@gmail.com> wrote:

> Hi Yaron,
>
> I've changed my patch according to your suggestions. You can find it
> attached.
>
> Actually, I added support of default tag to "minor edits" just because it
> was very simple and free. Probably you are right, users will never want to
> make it checked by default.
>
>
> On Tue, Jun 5, 2012 at 11:06 AM, Yaron Koren  wrote:
>
>> Hi,
>>
>> First of all, it looks like we're just talking about the "watch this
>> page" checkbox now - there doesn't seem to be any demand, or strong
>> rationale, for having the "minor edit" checkbox ever checked by default.
>>
>> Given that - with these additional explanations, I think I've been
>> convinced. So, how about having this just for the "watch" standard input,
>> and having the parameter just be "checked", instead of "default=checked"?
>>
>> -Yaron
>>
>>
>> On Mon, Jun 4, 2012 at 9:13 AM, Yury Katkov wrote:
>>
>>> Hi guys!
>>>
>>> This feature sounds very reasonable for me and I'll gladly use this
>>> feature in enterprise wikis. In these kinds of wikis the page typically has
>>> only one or two authors and the number of pages is smaller than in public
>>> wikis. So the intention to make users informed by default of all pages the
>>> have contributed is very close to my heart:
>>> 1) frequent notifications about the activity on wikipages make users
>>> mare involved in the content creation process
>>> 2) enable notifications by default is a good decision for the most
>>> important pages because their changes should be as transparent as possible.
>>>
>>>
>>> -
>>> Yury Katkov
>>>
>>>
>>>
>>>
>>> On Fri, Jun 1, 2012 at 5:26 PM, Yaron Koren  wrote:
>>>
 Hi Vladimir,

 I'm still not convinced - just because a page is important, doesn't
 mean that a person's *relationship* to it is important. For instance, the
 person could be editing the page just to fix a typo - it doesn't mean that
 they now want to monitor it.

 That's just my current opinion, and I'm open to counter-arguments, by
 you or others.

 -Yaron


 On Thu, May 31, 2012 at 10:44 PM, Vladimir Kostyukov <
 vladimir.kostu...@gmail.com> wrote:

> 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 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}}}
>>

Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-06-04 Thread Vladimir Kostyukov
Hi Yaron,

I've changed my patch according to your suggestions. You can find it
attached.

Actually, I added support of default tag to "minor edits" just because it
was very simple and free. Probably you are right, users will never want to
make it checked by default.


On Tue, Jun 5, 2012 at 11:06 AM, Yaron Koren  wrote:

> Hi,
>
> First of all, it looks like we're just talking about the "watch this page"
> checkbox now - there doesn't seem to be any demand, or strong rationale,
> for having the "minor edit" checkbox ever checked by default.
>
> Given that - with these additional explanations, I think I've been
> convinced. So, how about having this just for the "watch" standard input,
> and having the parameter just be "checked", instead of "default=checked"?
>
> -Yaron
>
>
> On Mon, Jun 4, 2012 at 9:13 AM, Yury Katkov wrote:
>
>> Hi guys!
>>
>> This feature sounds very reasonable for me and I'll gladly use this
>> feature in enterprise wikis. In these kinds of wikis the page typically has
>> only one or two authors and the number of pages is smaller than in public
>> wikis. So the intention to make users informed by default of all pages the
>> have contributed is very close to my heart:
>> 1) frequent notifications about the activity on wikipages make users mare
>> involved in the content creation process
>> 2) enable notifications by default is a good decision for the most
>> important pages because their changes should be as transparent as possible.
>>
>>
>> -
>> Yury Katkov
>>
>>
>>
>>
>> On Fri, Jun 1, 2012 at 5:26 PM, Yaron Koren  wrote:
>>
>>> Hi Vladimir,
>>>
>>> I'm still not convinced - just because a page is important, doesn't mean
>>> that a person's *relationship* to it is important. For instance, the person
>>> could be editing the page just to fix a typo - it doesn't mean that they
>>> now want to monitor it.
>>>
>>> That's just my current opinion, and I'm open to counter-arguments, by
>>> you or others.
>>>
>>> -Yaron
>>>
>>>
>>> On Thu, May 31, 2012 at 10:44 PM, Vladimir Kostyukov <
>>> vladimir.kostu...@gmail.com> wrote:
>>>
 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 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

Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-06-04 Thread Yaron Koren
Hi,

First of all, it looks like we're just talking about the "watch this page"
checkbox now - there doesn't seem to be any demand, or strong rationale,
for having the "minor edit" checkbox ever checked by default.

Given that - with these additional explanations, I think I've been
convinced. So, how about having this just for the "watch" standard input,
and having the parameter just be "checked", instead of "default=checked"?

-Yaron

On Mon, Jun 4, 2012 at 9:13 AM, Yury Katkov  wrote:

> Hi guys!
>
> This feature sounds very reasonable for me and I'll gladly use this
> feature in enterprise wikis. In these kinds of wikis the page typically has
> only one or two authors and the number of pages is smaller than in public
> wikis. So the intention to make users informed by default of all pages the
> have contributed is very close to my heart:
> 1) frequent notifications about the activity on wikipages make users mare
> involved in the content creation process
> 2) enable notifications by default is a good decision for the most
> important pages because their changes should be as transparent as possible.
>
>
> -
> Yury Katkov
>
>
>
>
> On Fri, Jun 1, 2012 at 5:26 PM, Yaron Koren  wrote:
>
>> Hi Vladimir,
>>
>> I'm still not convinced - just because a page is important, doesn't mean
>> that a person's *relationship* to it is important. For instance, the person
>> could be editing the page just to fix a typo - it doesn't mean that they
>> now want to monitor it.
>>
>> That's just my current opinion, and I'm open to counter-arguments, by you
>> or others.
>>
>> -Yaron
>>
>>
>> On Thu, May 31, 2012 at 10:44 PM, Vladimir Kostyukov <
>> vladimir.kostu...@gmail.com> wrote:
>>
>>> 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  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
>>>
>>>
>>
>>
>> --
>> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>>
>>
>> --
>> Live Security Virtual Co

Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-06-04 Thread Yury Katkov
Hi guys!

This feature sounds very reasonable for me and I'll gladly use this feature
in enterprise wikis. In these kinds of wikis the page typically has only
one or two authors and the number of pages is smaller than in public wikis.
So the intention to make users informed by default of all pages the have
contributed is very close to my heart:
1) frequent notifications about the activity on wikipages make users mare
involved in the content creation process
2) enable notifications by default is a good decision for the most
important pages because their changes should be as transparent as possible.


-
Yury Katkov




On Fri, Jun 1, 2012 at 5:26 PM, Yaron Koren  wrote:

> Hi Vladimir,
>
> I'm still not convinced - just because a page is important, doesn't mean
> that a person's *relationship* to it is important. For instance, the person
> could be editing the page just to fix a typo - it doesn't mean that they
> now want to monitor it.
>
> That's just my current opinion, and I'm open to counter-arguments, by you
> or others.
>
> -Yaron
>
>
> On Thu, May 31, 2012 at 10:44 PM, Vladimir Kostyukov <
> vladimir.kostu...@gmail.com> wrote:
>
>> 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  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
>>
>>
>
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>
>
> --
> 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
>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the 

Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-06-04 Thread Vladimir Kostyukov
Hi Yaron,

I see what you mean. Anyway, its just an "default option" which makes
checkbox checked by default. Maintainers may use it, or may not use it.
But, still, they should have such opportunity.

In special (maybe, very special) cases, users should watch some set of
pages by default. For instance, in my case, there are two forms (key forms)
and small group of users (lets say 10-20 people) and its very important for
me (an administrator) and for users to watch theses pages (and its no so
easy to make these users change his MediaWiki watch preferences or check
"watch this page" checkbox every time they edit these pages). From other
side, its very clearly for users, because they has been warn about it
before (in my case - in user guide).

In summary we have a) happy administrators (they can turn this option by
one line, they don't need contact users about changing his preferences or
about watching important pages) b) happy users (they already know about
important pageы and default option, they don't need change his
preferences). Everybody is happy :)

On Fri, Jun 1, 2012 at 10:26 PM, Yaron Koren  wrote:

> Hi Vladimir,
>
> I'm still not convinced - just because a page is important, doesn't mean
> that a person's *relationship* to it is important. For instance, the person
> could be editing the page just to fix a typo - it doesn't mean that they
> now want to monitor it.
>
> That's just my current opinion, and I'm open to counter-arguments, by you
> or others.
>
> -Yaron
>
>
> On Thu, May 31, 2012 at 10:44 PM, Vladimir Kostyukov <
> vladimir.kostu...@gmail.com> wrote:
>
>> 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  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
>>
>>
>
>
> --
> 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 s

Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-06-01 Thread Yaron Koren
Hi Vladimir,

I'm still not convinced - just because a page is important, doesn't mean
that a person's *relationship* to it is important. For instance, the person
could be editing the page just to fix a typo - it doesn't mean that they
now want to monitor it.

That's just my current opinion, and I'm open to counter-arguments, by you
or others.

-Yaron

On Thu, May 31, 2012 at 10:44 PM, Vladimir Kostyukov <
vladimir.kostu...@gmail.com> wrote:

> 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  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
>
>


-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
--
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


Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-05-31 Thread Vladimir Kostyukov
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  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


Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-05-31 Thread Yaron Koren
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
--
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


[SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-05-31 Thread Vladimir Kostyukov
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


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