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 <ya...@wikiworks.com> 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 <katkov.ju...@gmail.com>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 <ya...@wikiworks.com> 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 <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 >>>> >>>> >>> >>> >>> -- >>> 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 >>> >>> >> > > > -- > WikiWorks · MediaWiki Consulting · http://wikiworks.com > -- Thanks, Vladimir Kostyukov
default_for_watch_std_input.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