Extension talk:ArticleFeedbackv5

From MediaWiki.org
Jump to: navigation, search
Start a new discussion

Contents

Thread titleRepliesLast modified
Extension not working - HELP PLEASE!212:11, 17 April 2013
Unable to display the widget220:17, 6 February 2013
Importance feedback already exists014:47, 26 January 2013
Extension broke over the week-end.122:30, 14 January 2013
German Wikipedia is testing the extension too?020:22, 4 December 2012
I can't get this extension to display220:59, 28 November 2012
Permissions020:15, 27 October 2012
Making AFT v5 site specific207:00, 25 October 2012
Hierarchy of categories004:31, 3 October 2012
Error with MW 1.19.2021:08, 2 October 2012
Customizations 205:46, 15 September 2012
Namespace versus category call out311:31, 14 September 2012
Can not display AFT V5113:51, 27 August 2012
Customizing Look023:40, 30 July 2012
error while saving220:44, 25 July 2012
Article Feedback v5 not displaying118:55, 2 July 2012
v1.19 supported?116:44, 26 March 2012

Extension not working - HELP PLEASE!

Hi all,

 I've been trying everything I can find to get this extension to display on my wiki.  I've looked at the CommonSettings.php for Wikipedia, modified every setting I can find on the extension page in mediawiki, to no avail.  I have tried viewing the pages (running on Windows 7) in IE 8, Firefox, and Chrome.

I'm running Mediawiki version 1.19. The relevant section of my LocalSettings.php is below: // Extension: ArticleFeedbackv5 // Provides enhanced feedback functionality and encourages readers to contribute to the wiki

require_once( "$IP/extensions/UserDailyContribs/UserDailyContribs.php" ); require_once( "$IP/extensions/ClickTracking/ClickTracking.php" ); require_once( "$IP/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php" ); $wgArticleFeedbackv5Categories = "ArticleFeedback"; $wgArticleFeedbackv5BlacklistCategories = "Portal"; $wgArticleFeedbackv5OversightEmails = "rjsmith3@rockwellcollins.com"; $wgArticleFeedbackAutoArchiveEnabled = true; $wgArticleFeedbackv5Namespaces = $wgContentNamespaces; $wgArticleFeedbackv5LotteryOdds = 100; //$wgArticleFeedbackv5MaxCommentLength = 400; //$wgArticleFeedbackv5TalkPageLink = true; //$wgArticleFeedbackv5WatchlistLink = true;

$wgGroupPermissions['afttest'] = array( 'aft-reader' => true, 'aft-member' => true, 'aft-editor' => true, 'aft-monitor' => true, 'aft-administrator' => true, 'aft-oversighter' => true, );


//$wgArticleFeedbackv5DashboardCategory = 'Portal'; //$wgArticleFeedbackBlacklistv5Categories = array( 'Portal' ); //$wgArticleFeedbackv5LotteryOdds = 100; //$wgArticleFeedbackv5Namespaces = array( NS_MAIN, NS_HELP, NS_PORTAL );


Suggestions are greatly appreciated. If you have it working and are willing to share your LocalSettings.php, even better!

205.175.225.2315:52, 27 March 2013

I downloaded the latest version of the extension (we were on the 1_19 version). We are running version 1.19 of Mediawiki with 5.2.9-2 version of PHP. I changed the "__DIR__" calls to dirfile(__FILE__). When I ran the update.php, I got a parser error in the ArticleFeedbackv5.model.php. The extension will now show up, but feedback doesn't get recorded, and I don't think the database schema is correct. Any suggestions on how to troubleshoot the parser error? Will the latest version even work with the setup described above?

Thanks!

205.175.225.2214:54, 29 March 2013

Can you try running update.php again? We fixed some issues recently, I assume it should now work.

Mlitn (talk)12:11, 17 April 2013
 
 

Unable to display the widget

Hi,

I installed all three extensions required, ran update.php, and here is my config :

require_once( "$IP/extensions/UserDailyContribs/UserDailyContribs.php" );

require_once( "$IP/extensions/ClickTracking/ClickTracking.php" );

require_once( "$IP/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php" );

$wgArticleFeedbackv5Categories = array( 'Mécanique', 'Qualité', 'Communication' );

When visiting pages in Mécanique category, no widget shown at the bottom of the page.

I added the aft-permissions to my current groups (retrieved from ldap) : $wgGroupPermissions['wiki-reader']['aft-reader'] =true;

$wgGroupPermissions['wiki-editor']['aft-editor'] = true;

$wgGroupPermissions['wiki-controller']['aft-monitor'] = true;

$wgGroupPermissions['wiki-admin']['aft-administrator'] = true;

Any help will be much appreciated...

88.136.42.15023:11, 5 February 2013

you can find the answer on this page : http://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php

If the widget doesn't show up, it's because of permission assignment issue !

88.140.137.8918:34, 6 February 2013

For each custom group, you should add :

$wgGroupPermissions['wiki-reader'] = array(

'aft-reader' => true,

'aft-member' => true,

'aft-editor' => false,

'aft-monitor' => false,

'aft-administrator' => false,

'aft-oversighter' => false,

);

88.140.137.8920:17, 6 February 2013
 
 

Importance feedback already exists

The article access statistics give us a good view of what subjects the readers want to read about. Better use of that feedback should be given higher priority than this solicitation of additional feedback. It is easier to use and more representative. The first step should be to provide good and easy to use access to access statistics. Which were the most accessed articles in June 2012? Which were the recently most accessed articles in category C? Those editors who do want the heed the wishes of the readers would then be able to choose to add to the most read articles in the category the editor chooses.

Hopefully the instructions for Good Article already show what would be best to add. My impression is that they do. So the step one should be to make the most read articles the Good Articles. Really massively read articles should be made Featured Articles. Sad to say, the FA and GA communities are rather negative than positive toward the possibility of prioritizing articles that many people are interested in reading. This makes me wonder why we have this AFT process in the first place. I think though, that it would be very interesting to use it on GA's and FA's, to calibrate our criteria. --Ettrig (talk) 14:47, 26 January 2013 (UTC)

Ettrig (talk)14:47, 26 January 2013

Extension broke over the week-end.

I have been working on getting this extension to work and I had it working on Friday. I have been trying to get my next extension working (on a deadline of course) and this extension stopped working yesterday. The form is not showping on the pages.

I have noticed there has been some changes. Here is my config:

MW: 1.20.2
Article Feedback (Version 1.5.0) (6f05557)
Click Tracking (Version 0.1.1) (c02ea00)
EventLogging (Version 0.1) (1cbf790)
User Daily... (Version 0.2.0) (23078d1)

  1. Article Feedback V5

require_once( "$IP/extensions/UserDailyContribs/UserDailyContribs.php" );
require_once( "$IP/extensions/ClickTracking/ClickTracking.php" );
require_once( "$IP/extensions/EventLogging/EventLogging.php" );
require_once( "$IP/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php" );
$wgArticleFeedbackv5Namespaces = array( NS_MAIN, NS_HELP, NS_PROJECT );
$wgArticleFeedbackv5LotteryOdds = 100;

Thanks for the help.

Margaret User:Amblerllc

144.15.255.22714:38, 13 January 2013

Let me suggest asking on this mail list: https://lists.wikimedia.org/mailman/listinfo/ee

Cmcmahon(WMF) (talk)22:30, 14 January 2013
 

German Wikipedia is testing the extension too?

see screenshot there: http://shtoink.de/898/deutsche-wikipedia-testet-erweiterung-artikel-feedback/

Arcy (talk) 20:22, 4 December 2012 (UTC)

Arcy (talk)20:22, 4 December 2012

I can't get this extension to display

I've tried a bunch of things but nothing seems to work. Too bad as this extension look very cool indeed. Here is my set up below. I don't understand the permission information on this page - am I supposed to do something to set up permissions?

require_once( "$IP/extensions/ClickTracking/ClickTracking.php" );
require_once( "$IP/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php" );
$wgArticleFeedbackv5Categories = array( 'Portal', 'People', 'Training' );
$wgArticleFeedbackv5DashboardCategory = 'Portal';
$wgArticleFeedbackBlacklistv5Categories = array( 'Portal' );
$wgArticleFeedbackv5Namespaces = array( NS_MAIN, NS_HELP );
$wgArticleFeedbackv5LotteryOdds = array( NS_MAIN => 100, NS_HELP => 100 );
$wgArticleFeedbackv5MaxCommentLength = 400;
$wgArticleFeedbackv5TalkPageLink = true;
$wgArticleFeedbackv5WatchlistLink = true;

MediaWiki 1.19.1 (r4221) PHP 5.2.9-2 (apache2handler) MySQL 5.1.36-community-log

Thanks,

Tim

Konjurer (talk)20:05, 24 October 2012

Can some kind person with a working installation of ArticleFeedbackv5 post their LocalSettings configurations for this extension? It appears that a lot of us are having problems getting this extension to display.

Thanks!

Tim

Konjurer (talk)14:49, 9 November 2012

I haven't had time yet to look through the settings, but Wikimedia configuration files gives you the ability to look at their settings, in CommonSettings.php.

Peculiar Investor (talk)20:59, 28 November 2012
 
 

Permissions

I don't know what to do to set up the required Permissions to run this extension on my wiki. I followed the install and setup instructions (except the permissions) and the feedback form is not appearing. Reading Permissions and Manual:User_rights#Changing_group_permissions to see what I can grok:

  • Special:ListGroupRights on my wiki lists my configured groups.
  • To assign the AFT-permissions to my wiki's plain vanilla MediaWiki groups, I adding this to LocalSettings.php:
$wgGroupPermissions['*']['aft-reader'] = true;
$wgGroupPermissions['user']['aft-member'] = true;
$wgGroupPermissions['sysop']['aft-editor'] = true;
$wgGroupPermissions['sysop']['aft-monitor'] = true;
$wgGroupPermissions['sysop']['aft-administrator'] = true;
$wgGroupPermissions['sysop']['aft-oversight'] = true;

Does that look right? Still don't see feedback form on my wiki.

Let's try this:

$wgGroupPermissions['*']['aft-reader'] = true;
$wgGroupPermissions['*']['aft-member'] = true;
$wgGroupPermissions['*']['aft-editor'] = true;
$wgGroupPermissions['*']['aft-monitor'] = true;
$wgGroupPermissions['*']['aft-administrator'] = true;
$wgGroupPermissions['*']['aft-oversighter'] = true;
$wgGroupPermissions['user']['aft-reader'] = true;
$wgGroupPermissions['user']['aft-member'] = true;
$wgGroupPermissions['user']['aft-editor'] = true;
$wgGroupPermissions['user']['aft-monitor'] = true;
$wgGroupPermissions['user']['aft-administrator'] = true;
$wgGroupPermissions['user']['aft-oversighter'] = true;
$wgGroupPermissions['sysop']['aft-reader'] = true;
$wgGroupPermissions['sysop']['aft-member'] = true;
$wgGroupPermissions['sysop']['aft-editor'] = true;
$wgGroupPermissions['sysop']['aft-monitor'] = true;
$wgGroupPermissions['sysop']['aft-administrator'] = true;
$wgGroupPermissions['sysop']['aft-oversighter'] = true;

Still don't see feedback form on my wiki. Hm, maybe it is not a permissions problem but something else. Any ideas what?

I have not altered the file permissions on the files in extensions. They are 644 (rw-r--r--, no execute permission). This is the way they unpacked and is the same as for my other extensions that work. Is it correct?

Rogerhc (talk)00:06, 27 October 2012

Making AFT v5 site specific

Great tool, just what our site needs to engage our users. Currently have the extension up and running on a test wiki and have noticed a few interface issues. When the feedback tool appears, there is a link for "What's this?" Clicking on it displays a pop-up with the text:

What's this? articlefeedbackv5-help-tooltip-info: unknown operation "sitename"

I checked and articlefeedbackv5-help-tooltip-info seems to be a system message, but even if I change it from the default, it still shows the same pop-up.

Also, the Learn more>> link points to http://en.wikipedia.org/wiki/Wikipedia:Article_feedback. There are a couple of other instances of links that go to Wikipedia, which may confuse users.

Peculiar Investor (talk)23:15, 13 September 2012

Found part of the solution below, replaced {SITENAME} with actual name and it is working.

References to Wikipedia are in the i18n (messages) file. There's a lingering bug preventing us from using {SITENAME} in those messages, unfortunately -- hopefully that will be fixed in core and we'll be able to change them.
Peculiar Investor (talk)23:51, 13 September 2012

i'm waiting for this extension to work on my wiki.not only wikipedia.

89.67.185.10407:00, 25 October 2012
 
 

Hierarchy of categories

Am I wrong or this extension doesn't read the hierarchy of the categories?
I have to list every category, both in the white list and the black list.
Same problem with the extension ArticleFeedback.

Some more examples may help.

Thanks in advance

WhiteTigerItaly (talk)04:31, 3 October 2012

Error with MW 1.19.2

When I save a message I see (In Italian) "Errore di presentazione del modulo."

In the Tooltip I see (in Italian):
Cos'è questo?×
articlefeedbackv5-help-tooltip-info: unknown operation "sitename"
Ulteriori informazioni >>

WhiteTigerItaly (talk)21:08, 2 October 2012

Customizations

I'm trying to implement this tool in my wiki, right now i can choose the version i want, put the article on the categories correctly, but I'm having some issues:

1 - I need to take off the survey button that appears in the last step of the article, when the article shows the tnks note... today that button is a waste for my purposes, there's some way to take it off?

2 - Another thing I need is to make the feedback page accessible only for registered users or in the right category, for example, admin only have access to the feed page. there's some easy way to do that?

3 - When I see the article Feedback in my wiki, there's the feedback in the bottom of the article, great, it's just what i need, but the plug-in also insert a little button in the right side of the page, where i can click on it and it opens a feedback pop-up, how can i take it off? tried in the jquerrys, but no success

Obs: Tnks for the help, and good job guys, great tool!!

Jmschmidt (talk)15:40, 21 August 2012

The 1 option Just put the $wgArticleFeedbackv5SelectedCTA = 0; in the Localsettings.php and worked for me... but the 2 and 3 i'm still trying to solve...

Jmschmidt (talk)16:07, 21 August 2012
 

> 3 - When I see the article Feedback in my wiki, there's the feedback in the bottom of the article, great, it's just what i need, but the plug-in also insert a little button in the right side of the page, where i can click on it and it opens a feedback pop-up, how can i take it off? tried in the jquerrys, but no success

This CSS should hide it:

 #articleFeedbackv5-bottomrighttab { display: none; }

Put in Common.css

220.233.88.20905:46, 15 September 2012
 

Namespace versus category call out

Right now have the form working on a new install of 1.19 & just have some general questions:

  1. Is there away to just have the form appear in all the pages of a Namespace without calling out a category? Meaning appear in all the pages of that namespace regardless of category?(on a new wiki it seems more logical to start it with on every page)
  2. I assume all references to wikipedia can be changed? That customization of the form is possible.
  3. Is there away to call out the form option one wants?
  4. Is the timeline for the release of the results page still effective?

I'm sure I would find the answers to some of these questions by going through the code, but sometimes it's quicker to ask. Thanks for your hard work. I, for one, thank you for it.

Christharp (talk)19:06, 30 May 2012

Thanks, I appreciate it!

Right now the extension is still in development, so consider my answers provisional.

  1. If you'd like AFT5 to appear on all (article) pages, you can set $wgArticleFeedbackLotteryOdds = 0; in your LocalSettings.php. In this period where AFT5 is slowly being brought up on Wikipedia, it's using the inverse of AFT4's lottery to determine on which pages it should appear. This will probably change when AFT4 is retired.
  2. References to Wikipedia are in the i18n (messages) file. There's a lingering bug preventing us from using {SITENAME} in those messages, unfortunately -- hopefully that will be fixed in core and we'll be able to change them.
  3. If you'd like to pick a particular form option for everyone, you can set $wgArticleFeedbackv5DisplayBuckets['buckets'] = array( 'six' => 100 ); in your LocalSettings.php. Option six (the progressive reveal version of option one) is currently the default; you can also choose options one or four (just a call to edit). If you'd just like to see a particular option, you can add ?aftv5_form=6 (or 1, or 4) to the url.
  4. The results page is now available -- the url will be something like http://yourwiki.com/wiki/Special:ArticleFeedbackv5/PageName

Let me know if you have any other questions.

Reha Sterbin (talk)19:22, 29 June 2012

Thanks Reha for getting back to me. Some more questions or problems:

  • Unfortunately setting the bucket via the localsettings.php seemly does nothing when I change it.
  • I'm sure I'm missing something simple, but how is access granted to the admin version of the feedback page?

Thanks once again for your hard work.

Christharp (talk)02:48, 30 July 2012
 

> 1. Is there away to just have the form appear in all the pages of a Namespace without calling out a category? Meaning appear in all the pages of that namespace regardless of category?(on a new wiki it seems more logical to start it with on every page)

Reha's answer didn't work for me (using the mediawiki 1.19 snapshot).

I had to edit:

 extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.startup.js

and add the following at line 84:

  enable = true;
220.233.88.20911:31, 14 September 2012
 

Can not display AFT V5

I installed AFT V5 from the instruction on this page, along with other prerequisites. And I set in localsettings.php all the parameters like category names and $wgArticleFeedbackLotteryOdds = 0

That is how it looks like:

  1. Click Tracking

$wgClickTrackThrottle = 10;

  1. For Article Feedback Version 5 Feedback Length Check

$wgArticleFeedbackv5MaxCommentLength = 400;

  1. Which Category has the Feedback Widget Enabled

$wgArticleFeedbackLotteryOdds = 0; $wgArticleFeedbackv5DashboardCategory = 'Test'; $wgArticleFeedbackv5Categories = array( 'Test' );


require_once( "$IP/extensions/UserDailyContribs/UserDailyContribs.php" ); require_once("$IP/extensions/ClickTracking/ClickTracking.php"); require_once("$IP/extensions/EmailCapture/EmailCapture.php"); require_once( "$IP/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php" );


However when I created a page and add it to category "Test", nothing happens. I could not see any feedback dashboard at the end of that page.

Can anyone help with it?

Thanks

I am running MW 1.91, i've run update.php using the web method (so I see all the database entries are updated), i don't have access to my server's (it's shared hosting) bash.

128.32.239.18201:37, 23 August 2012

Hi there,

when you downloaded the article's version, you took in the distributor? If yes, take the trunk version, cause the 1.19 disponible in the distributor is missing a lot of files.

I'm having some issues in the trunk version too, the 1.19 version that I downloaded in the distributor worked for the feed box in the article page, but i can't open the feedbacks page. The trunk version installs the page, link the page in "Especial pages" but up until now the feed box don't show in the article's page... looking into the code, there's a problem in the js file in modules, I'm trying to resolve this, but without success yet..

Jmschmidt (talk)13:51, 27 August 2012
 

Customizing Look

Edited by another user.
Last edit: 23:40, 30 July 2012

Is the only way to customize the look and feel of the Feedback box to go through the code and edit it?

169.231.104.7721:02, 25 July 2012

error while saving

after i enter comment i click "submit" but it says 'error'

178.37.85.11807:40, 15 February 2012

Can you tell me more about what happened? What browser / OS were you using? Was the submit button blue or gray when you clicked it? Had you selected a tab, button, or rating? (For that matter, what version of the form did you get?) Any information you have will help us track down the problem and fix it. Thanks!

Reha Sterbin (talk)21:48, 20 March 2012

I have the same problem: "UserDailyContribsHooks::articleSaveComplete". I believe it is because I cannot get maintenace/update.php to run properly.

Ignore the above, it was because I did not update my MW to the correct version

169.231.104.7720:20, 25 July 2012
 
 

Article Feedback v5 not displaying

Hi,

I've installed articlefeedbackv5 on my mediawiki and its not displaying. I've followed the installation but I cant seem to have it work. Im using the mediawiki 1.19. Before I was using articlefeedbackv2 and its displaying intermittently. So I've decided to go with v5. We're using IE 8 for this.

Please help. We need to get this running asap. Appreciate your immediate help.

63.243.144.702:18, 18 June 2012

IE8 was disabled in the last version, but it's been added as of last week -- you can get the most recent version of the code from the git repository. (You'll need to drop the aft_article_* tables from your database before you upgrade.)

After that, if you set $wgArticleFeedbackLotteryOdds = 0; in your LocalSettings.php, you should start seeing the feedback tool on every page.

Reha Sterbin (talk)19:27, 29 June 2012
 

v1.19 supported?

Is v1.19 supported? Josh Parris (talk) 11:57, 25 March 2012 (UTC)

Josh Parris (talk)11:57, 25 March 2012

There hasn't been a testing effort for 1.19 yet, so I can't make any guarantees. However, I'm developing off the mediawiki trunk without any issues, so I'd say your odds are pretty good.

Reha Sterbin (talk)16:44, 26 March 2012