Like Application

Last modified by Lucas Charpentier (Sereza7) on 2024/11/28 17:44

heartLike and unlike XWiki entities.
TypeXAR
CategoryApplication
Developed by

XWiki Development Team

Rating
1 Votes
LicenseGNU Lesser General Public License 2.1
Bundled With

XWiki Standard

Installable with the Extension Manager

Description

The Like application provides a Like button in every page allowing the users to Like them.
Liking a page will first increment the counter of likers, but also can send a notification to the followers of the liker and to the people watching the page, if they enabled those notifications.

This extension is installed by default in XWiki.

Like Administration

You can administrate some options related to the Like feature in the global administration, by going in the section Other:

like-administration.png

Enable like feature

This option has been added to allow to easily switch on or off the Like feature. By default, the feature is enabled, by unchecking the box it's possible to disable the feature and hide all information related to likes.

Always display like button

This option allows to always display the like button, even if the people seeing your wiki don't have rights to interact with it.
By default, it's enabled so that guest users can see it, but you can uncheck it in which case only the people who can like the pages will see the button.

Cache capacity

This is the total number of Like information to keep in cache. Note that changing this option won't have any effect until you restart your wiki. The default value is 500.

Like Right

A dedicated XWiki Right has been added to handle Likes permissions. You can specify the Like Right globally for the wiki in the Users & Rights administration:

like-rights.png

But you can also set the Like Right at each level (space or page level) when going on "Administrate this page".
Note that guest users are never allowed to perform a Like: even if their right is authorized in the UI, they won't be able to use the feature.

View Likes Information

It is possible to see who performs Likes on a page by going in the "Other actions" menu, and by clicking on "View likes":

Like Notifications

Whenever a user likes a page, a notification is automatically sent. This notification will be received by the people who:

  1. activated the Like notifications
      2. are watching the page
      3. or are following the person who likes a page

Liked Pages

Any user can find back the pages she liked by going in her own profile and checking them in the newly added tab:

liked-pages-ld.png

Index with Likes

Likes information are also provided on the Index live tables:

index-with-likes.png

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

Dependencies

Dependencies for this extension (org.xwiki.platform:xwiki-platform-like-ui 16.6.0):

Get Connected