Like
Recording, counting and listing which users like a page, from wiki scripts or from Java, on top of the Ratings API.
Explanation
Call the Like API from wiki pages through the Like Script Service, and from a Component through the Like Java API.
How the feature behaves is explained on three pages:
- Likes as Ratings: what the Ratings settings make of a like, and where likes are kept.
- Like Right: who is allowed to like.
- Like Caches: why a like count can go stale.
Like Storage Properties lists the two xwiki.properties keys that change where the average rating of a like is kept.
What readers actually click comes from the Like Application, which builds on this API and is documented for users and administrators.
The Components of the feature, and what flows between them:
FAQ
Can something other than a page be liked?
The Java API accepts any EntityReference, while the Script Service acts on documents only.
More
To find more about the current topic, you can search or use the table below and filter the columns to narrow your choices.