Extension talk:ReaderFeedback

Undefined variable: stylepath on line 27
Notice: Undefined variable: stylepath in PATH/extensions/ReaderFeedback/ReaderFeedback.hooks.php on line 27.

Download
Hi there, the download of this extension is not available throught the extension-distributor or has another name there. Who may help? Thank you --kgh 19:53, 5 August 2009 (UTC)

Now testing
Here: http://readerfeedback.labs.wikimedia.org/ and here: http://strategy.wikimedia.org --Nemo bis 11:24, 24 August 2009 (UTC)
 * The former could use some administrative help due to vandalism. I volunteer.    — Jeff G. ツ 21:41, 8 December 2010 (UTC)

Change rating
From the testing on Strategic planning wiki: you should be able to change rating, or at least add votes (e.g., if I have rated "Feasibility" and then, after some discussion or other, I want to rate "Priority", too). It would be useful also to remember what the user voted. Pages can change greatly over time... Nemo bis 11:28, 24 August 2009 (UTC)

LikedPages and ProblemPages should show more results
On Stratecic planning wiki, LikedPages shows just one item: this is not so useful. (I report here because I'm not sure it's a real bug and I suppose the developers already know that, but maybe they don't.) --Nemo bis 13:44, 26 August 2009 (UTC)

Ratings for all pages in one table as output
On http://strategy.wikimedia.org/ I'm trying to use reader feedback intensively on all proposals. There are over 700 proposal pages. I would like to have the reader feedback on all 700+ proposal pages. What I imagine is one table (space or comma delimeted) with title, and number of votes per weight, per tag, for example: Can someone help me in retrieving these data without having to manually visit over 700 pages? Dedalus 14:01, 16 September 2009 (UTC)

Database Error
If I want to rate a page in my wiki, a database error occures.

YPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> Internal Error

A database error has occurred Query: SELECT rfb_ratings FROM `wikirevision` FORCE INDEX (page_timestamp),`wikireader_feedback` WHERE rev_page = '36' AND (rev_id = rfb_rev_id) AND (rfb_timestamp >= '20090920000000') AND (rev_timestamp >= '20090911123847') Function: ReaderFeedback::getVoteAggregates Error: 1052 Column 'rfb_ratings' in field list is ambiguous (localhost)

What does this mean?--Harmageddon 13:49, 21 October 2009 (UTC)


 * At some point ReaderFeedback was changed to use this column when it didn't before? I know it was missing from the postgres table spec. Take a look at ReaderFeedback.sql and add update your wikireader_feedback table to include the missing rfb_ratings column (and any others missing, maybe rfb_timestamp?). It's a mediumblob not null. --Reed Hedges 12 May 2010

Issue in the display of text for rating
After implementing it today (Nov 1, 2009), this is how the text appears in the box ...

&amp;lt;readerfeedback-Relevance&amp;gt;: &amp;lt;readerfeedback-Completeness&amp;gt;:  &amp;lt;readerfeedback-Quality&amp;gt;:  &amp;lt;readerfeedback-Presentation&amp;gt;:

Basically, it is showing "&amp;lt;readerfeedback-" at the begining of the rating tag and "&amp;gt;" at the end of the tag.

Does anyone else has encountered this issue? I downloaded today's development version (File Name: ReaderFeedback-trunk-r58393.tar.gz)

Also on special pages (page rating), in the dropdown box, the list has similar issue. Displaying all those extra characters with the tag.

Thanks, Neeraj
 * Generally that means pages in mediawiki namespace weren't created properly. (Note this is just a geuss, i don't actually know what i'm talking about). Did you run maintenance/update.php? Maybe try creating the pages mediawiki:readerfeedback-Relevance (and anything else that appears like that). Bawolff 07:17, 30 December 2009 (UTC)

I have the same problem, as above. Thanks, Kornél

(Resolved) What happened to Problem and Liked pages?
I see references to Special:ProblemPages and Special:LikedPages, but these are missing from my installation and from the labs wiki. What happened to them or what am I missing? Thorncrag 02:15, 31 January 2010 (UTC)
 * Okay so I found the answer to my own question here, but yet I'm still a little unclear as to how this works. Thorncrag 02:18, 31 January 2010 (UTC)
 * Okay, got it... =) Thorncrag 02:24, 31 January 2010 (UTC)

$wgFeedbackSizeThreshhold = 1;
 * 1) What number of page votes (for the average above) is considered significant?
 * 2) (number of recent reviews to be a decent sample size)

Suggestion
It would be nice if there was a magic word to return the ratings to be used in templates. Danilo.mac 21:47, 20 February 2010 (UTC)

Label characters in PNG Page ratings over time graphs
The PNG graphs produced on the Page rating history page often don't render row label characters correctly. For example:



The labels just show three square boxes. The "View as SVG" version of the same graph renders correctly.

Compare the above with the graphs produced for the same article when the selected Time period value is last year.

Does anyone know what causes this to happen, or what the remedy is?

--Obliquemotion 18:03, 22 March 2010 (UTC)


 * It needs to be changed to render svgs on the image scaler cluster, not the general apaches...they don't have the same settings are render wrongly. File: pages render on the image scalers. Aaron 19:39, 12 May 2010 (UTC)

PostgreSQL
I was able to get ReaderFeedback r65963 to work in Postgres by adding some missing fields to the reader_feedback table: rfb_timestamp TEXT NOT NULL DEFAULT '', rfb_ratings BYTEA NOT NULL,

(these are in ReaderFeedback.sql but are missing from ReaderFeedback.pg.sql)

I also made this change in ReaderFeedback.class.php line 186:

global $wgDBtype; if ($wgDBtype == 'postgres') $cutoff = $dbr->addQuotes( wfTimestamp( TS_POSTGRES, $cutoff_unixtime ) ); else $cutoff = $dbr->addQuotes( wfTimestamp( TS_MW, $cutoff_unixtime ) );

the format of the timestamp datatype in postgres is different than in mysql (TS_MW is one long string of numbers, postgres needs date and time separated by a space, for one.) (Maybe the Mediawiki Database class has a method that can do this though? I didn't look)

--Reed Hedges (reed at mobilerobots.com) May 12, 2010


 * r66285 fixes the timestamp format. Aaron 19:38, 12 May 2010 (UTC)

Escaped HTML in labels output using wfMsgHtml and wfMsg (with custom tags?)
I have changed the quality tags used (from to {reliability, completeness, npov, presentation} to {Accuracy, Completeness and Clarity}), by just setting $wgFeedbackTags in my LocalSettings.php. Not sure if I should have changed anything elsewhere. I note they don't show up in Special:SystemMessages.

When the tags are shown on pages (e.g. in the feedback form at the bottom of all pages, ), I see extra HTML escape entities being added before and after, e.g. &amp;lt;Accuracy&amp;gt;. Hacking .class and files in specialpages to not pass the tag text through wfMsgHtml or wfMsg functions resolves this. I don't really know much about wfMsgHtml or wfMsg or how mediawiki output is done, so I don't know the right way to fix this. I only did this in public pages, so I don't have a complete list of where this can be done.

I'm using r65963.

--Reed Hedges (reed at mobilerobots.com) May 12, 2010
 * When you see items like &lt;foo&gt; generally means you need to create the page mediawiki:foo, even if this page does not appear in special:allmessages. Bawolff 23:21, 27 September 2010 (UTC)

Exporting Data
Hi,

Is there any way to export data to CSV or Excel?

--66.9.224.147 17:02, 21 March 2011 (UTC)

A way to exclude certain pages?
Hey guys, this extension is awesome! Is there a way for this to be used as a template or to exclude specific pages? It's showing up on my main page which isn't actually an article, but I'm not complaining just asking. :)