Open main menu

Extension talk:ArticleFeedbackv5

About this board

72.246.0.14 (talkcontribs)

The Extension page says ArticleFeedbackv5 is compatible with MW 1.25+, but when I install it on my 1.29 copy, I get this error: "Exception: Article Feedback is not compatible with the current MediaWiki core (version 1.29.1), it requires: >= 1.31.0."

Is the information on the Extension page incorrect, or have I installed it incorrectly?

Reply to "Version compatibility incorrect?"

Warning: Cannot modify header information - headers already sent by

5
194.2.211.113 (talkcontribs)

Hello, here is the error i get when i try to see a specific comment :

Warning: Cannot modify header information - headers already sent by (output started at C:\UwAmp\www\extensions\ArticleFeedbackv5\ArticleFeedbackv5.activity.php:285) in C:\UwAmp\www\includes\WebResponse.php on line 46

I've looked over various forum, and i verified if i got some space or invisible caracters in my files but everything seems to be OK

i'm using the 5.2.5 (31d2086) stable version over a 1.30 mediawiki.

If you guys got a solution or some informations, i'll take it

CayceP (talkcontribs)

I remember have seeing this error before on my local installation. Have you run the update script and checked if all databases were updated properly after installing the extension?

194.2.211.113 (talkcontribs)

Thank you for your reply, yes i've run the update script (web version) twice, so the first time tables were created successfully. I tried it again just in case when i noticed errors and the script said tables already exist, so i assume it's ok.

This post was hidden by 194.2.211.113 (history)
CayceP (talkcontribs)

If your issue still persists, You could try to remove the extension, download the latest snapshot and installing it again.

Also make sure to run the upgrade script again.

Reply to "Warning: Cannot modify header information - headers already sent by"

extension.json doesn't exist with 1.27 version

1
PatHube (talkcontribs)

I have Mediawiki 1.26.3 and was wondering if the extension for 1.27 version could work? I tried running the update.php with version 1.30 but couldn't because it requires MW 1.28. And now I downloaded the 1.27 version and when running the update.php I get the error extension.php not found.

"requires": {

 "MediaWiki": ">= 1.28.0"

},

I understand I could just copy the extension.php file from the 1.30 version, and modify the requirement to 1.26 in order to run the update.php with the 1.27 version, but will the extension work with 1.26? Will it crash my wiki after running the update.php?

Can you guys provide the proper extension.json file with the 1.27 snapshot please.

thanks.

Reply to "extension.json doesn't exist with 1.27 version"
205.254.147.8 (talkcontribs)

Hello,

I have this extension working just fine. When we enabled and configured Visual Editor, I am still able to open up an article for editing, but when I go to save I get the following:

Exception caught: Invalid callback ArticleFeedbackv5Hooks::editAttempt in hooks for EditPage::attemptSave

When ArticleFeedback is disabled, Visual Editor works as expected. Anyone else seen this or have a suggested fix?

Thanks.

Reply to "Error with Visual Editor"

Extension not working - HELP PLEASE!

3
205.175.225.23 (talkcontribs)

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.22 (talkcontribs)

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!

Mmullie (WMF) (talkcontribs)

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

This post was posted by Mmullie (WMF), but signed as Mlitn.

Reply to "Extension not working - HELP PLEASE!"
Jrsovereign (talkcontribs)

Is anyone aware of a way to get notified via e-mail or RSS feed when a page has feedback added to it?

203.206.134.92 (talkcontribs)

I have written 2 scripts that, when invoked via crontab, will email all the feedback since last time they ran. You will need to edit some of the script content to decide where to email to.

Dependencies: Python 2, mysql, sendmail

crontab (replace underscore_words with your settings): 1 */3 * * * $HOME/bin/wiki-feedback-last30.sh database_name table_prefix | $HOME/bin/wiki-feedback-emailnew.py friendly_wiki_name your_email_address

wiki-feedback-last30.sh: http://pastebin.com/icy2WaGA

wiki-feedback-emailnew.py: http://pastebin.com/kBMsTwYf

Reply to "Notifications?"
Jeremy.Osborn (talkcontribs)

Hi,

I am wishing to use this extension on an internal wiki.

Can I change the external links please "Help Feedback", "What's This?" and "Terms"? Where are they located in the code, I can't seem to find them?

Many thanks

Reply to "External Links"
Facu89 (talkcontribs)

Hi, when I enable the extension on localsettings I can't access the web updater.

Running php script from terminal is not an option for me.

Any help is much appreciated.

Reply to "Can't run Web update"
Jrsovereign (talkcontribs)
Reply to "Where do I put the images?"
195.16.49.226 (talkcontribs)

When I post feedback, I get error:

Fatal error: Class name must be a valid object or a string in /extensions/ArticleFeedbackv5/ArticleFeedbackv5.model.php on line 200

LocalSettings.php

$wgArticleFeedbackv5DisplayBuckets = array(
        'buckets' => array(
                '0' => 0, // display nothing
                '1' => 100, // display 1-step feedback form
                '4' => 0, // display encouragement to edit page
                '6' => 0, // display 2-step feedback form
        ),
        'version' => 1,
        'expires' => 300,
);
$wgArticleFeedbackv5MaxCommentLength = 500;
Reply to "Error when post feedback"
Return to "ArticleFeedbackv5" page.