On 2/24/10 4:57 PM, Thomas Mortagne wrote: > On Wed, Feb 24, 2010 at 16:35, Fabio Mancinelli > <[email protected]> wrote: >> >> On Feb 23, 2010, at 4:59 PM, Thomas Mortagne wrote: >> >>> On Tue, Feb 23, 2010 at 15:38, Jean-Vincent Drean >>> <[email protected]> wrote: >>>> -0 for a parameter for the same reasons as Thomas. >>>> +1 for a new action (/plain/ for example). IMHO If we discover a >>> >>> Not sure about "plain" since the main use case that raised this issue >>> was about the comments content which is html. Unless you don't mean >>> "plain" as "plain/1.0" renderer syntax but i think we should use >>> something because it does not reflect the fact it's an kind of >>> sub/minor query. >>> >>> Here is a list coming form the previous mails and some more i can >>> think of (feel free to add others): >>> * plain: -1 >>> * viewinternal: +0 >>> * internal: -1 (not related enough to view) >>> * service: -1 (there is no reason a service would not log the result in >>> stats) >>> * minorview: +0.5 >>> * subview: +0.5 >>> >> >> What about a simple "get"? > > +1 for get
+1 > >> >> If you want to retrieve a resource for the sake of having it as a part of a >> bigger request you can use a non-semantically-bound and generic action. >> This could work for every resource: comments, images, attachments, etc. >> >> If, on the other hand, you want some additional behavior associated to a >> specific semantics of the action (e.g., logging or increasing the pageviews >> when it's actually a view) you use a more specific action like "view", >> "download", etc. (like it's done right now) >> >> -Fabio >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs >> > > > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

