mediaWiki article rating extension

In Progress

Thanks for your interest in this project.

I am wanting to build a rating system for mediawiki. It will be used primarily on [url removed, login to view] to allow parents to rate a playground, each playground is a separate article. It is a fairly standard 5 star rating system with a few twists. Feel free to use opensource modules - I am happy for this work to be returned to the opensource community.

I guess it is a bit like this.

[url removed, login to view]:AjaxRatingScript

The system has 3 main "modules". Snippets like this will be placed in the article or template for articles to be rated.

{rating_form /}

{rating_list /}

{rating_stars /}

Rating Form

This will display the main working area for users to rate a playground.

The form has 4 fields

1) Username (if user logged in default their username - but allow them to change)

2) star rating - 0 and 5 stars (in whole star increments)

3) one word comment (eg awesome, great, hot, windy, noisy) ie no spaces allowed limit to 25 characters

4) comment (allow users to have there say in a paragraph (do not allow HTML but do allow wiki markups)

in the database please also save the

a) user id (if logged in)

b) user id IP address

c) date and time created

d) article id (obviously needed)

e) report = 0

f) hidden = 0

rating_list

this will display all the reviews in a list for this particular article - like a forum

This is where the parents will read through to see what other parents think of the playground.

Each review will also have a with "Report" link

If the user clicks on "Report" then an alert will popup with a message "would you like to alert the administrator to this post" Yes no? If the users clicks yes then the system should e-mail admin the content of the review, the IP of the reporter, and a link to the article on which the report was made - add 1 to the report count to the rating in the Database.

Give admin a "Hide" option which removes the review form site and from all reports. In future this review will only be viewable by admin and will be greyed out.

Timeago is calculated based on the date of rating.

if xx mins ago

if xx hrs ago

if xx days ago

if xx weeks ago

if xx months ago

else xx years ago

Format something link this

USERNAME RATING***** ONEWORD Timeagao (REPORT)(HIDE)

COMMENT

EG

Mary ****. Best 2 days ago

I took my two boys here and it was really good, nice shade and friendly locals

Rating_stars

{rating_stars/}

This module will display the playground rating as a number of stars - based on users ratings.

if there are no ratings default to midway point (2.5 stars)

Display the average (median) number of stars.

ie show 3 yellow stars and 2 faint outlined stars if the playground is a 3/5

Round to the nearest half star.

Please maintain a table with article ID and star rating number for article sorting (the article sorting part is beyond the scope of this project, but I just need to table as part of this project.)

Please note that this code will need to work on site using mysql and postgres DB

I hope that all makes sense. Please feel free to ask questions.

Happy bidding.

Matt :)

Skills: CSS, Engineering, MySQL, PHP, Software Architecture

See more: mediawiki article rate extension, your rating, yellow characters, wiki module, what is the content of an article, html 5 snippets, hot mail . com, hot mail com, database one word or two, a report article, calculated fields form, engineering report format, report project post a project like this, playground, my rating, hot rating, questions based bidding project, awesome template, awesome html template, extension post, mysql word report, php template report mysql, hide show hidden, windy, www boys

About the Employer:
( 41 reviews ) Australia

Project ID: #4117013

Awarded to:

Ouroboros

Hi, I'm an expert in the MediaWiki field, and I've developed a bunch of extensions for my needs. I've sent you a PM to give you some references ;)

$170 USD in 5 days
(2 Reviews)
2.9

6 freelancers are bidding on average $198 for this job

zeke

Dear Customer! I am an expert web developer with over 6 years of experience and very interested in this project. Available to start immediately and finish as soon as possible. My bid is for fast professional service More

$250 USD in 3 days
(146 Reviews)
6.8
maysam

Quality work

$250 USD in 5 days
(94 Reviews)
6.7
steven6

Hello, we are a group of programmers based in Sheffield, UK offering 7 years experience in php, .net, c#, jquery, css, python and c++. I am proposing to carry out tasks required for this project and deliver it within 8 More

$179 USD in 0 days
(25 Reviews)
5.5
Dj84QX0bT

We are freelance software developers. If you contact me I can give a quote for your project and we can discuss the details. w w w . so l ve r . i o

$140 USD in 1 day
(0 Reviews)
0.0
donaldharris7

Respected Client, Please check PMB for listing and confident to complete the project with quality services.. Best Regards

$200 USD in 5 days
(0 Reviews)
0.0