Extension:Relevance rating



The Relevance Rating Extension extends Article Feedback Tool V4 to improve the mediawiki search-functionality. Rated articles will be ordered by a scoringsystem:

A second scoring-modell is used to classify users. In this project, the classification is done by qualification-criterias:

It can optionaly used for matching ratingscores (ranking) and groups.

All weights here are examples the ratingsystem can configured in RelevanceRating.php.

Installation
Requirements You need to install: Extension:ArticleFeedback in Version 4

Installation Steps: 1. Create a directory RelevanceRating in your extension-folder. 2. Copy the files from here to your extension-folder.

3. You have to patch the search sourcecode in your mediawiki installation.

If you are using MySQL do the following:

Look for the file SearchMySQL.php in your installation (mediawikifolder/includes/search) an make a backup copy. Modify at function limitResult on Line ~254: and modify at function queryMain on Line ~298: 4. Import the SQL-File: "Relevance-Rating.sql" in your Wiki-Database. RelevanceRating.sql To install this extension, add the following to LocalSettings.php:

6. To provide always fresh scores your have to schedule a Task for calculating the scores. This can be done by creating a cronjob (Linux) or a scheduled task (Windows). E.G.:

Configuration
Various options to control the score-modell can be found at RelevanceRating.php.