Topic on Extension talk:ArticleFeedbackv5

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!"