Last modified: 2013-02-06 20:20:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46721, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44721 - ArticleFeedbackv5 widget doesn't show up due to group permissions
ArticleFeedbackv5 widget doesn't show up due to group permissions
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
ArticleFeedbackv5 (Other open bugs)
REL1_20-branch
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-06 17:05 UTC by Sulliwane
Modified: 2013-02-06 20:20 UTC (History)
1 user (show)

See Also:
Web browser: Google Chrome
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sulliwane 2013-02-06 17:05:32 UTC
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...
Comment 1 Sulliwane 2013-02-06 17:51:40 UTC
Version of mediawiki : 1.20.2

3 extensions are well enabled on the special:version page.

I can access Spécial:ArticleFeedbackv5 and Spécial:ArticleFeedbackv5Watchlist which are empty.

I also tried with this single option : $wgArticleFeedbackBlacklistv5Categories = array( 'Foo' );

which should enable the widget on all pages (because none are part of Foo category). 

But still no luck.
Comment 2 Sulliwane 2013-02-06 17:58:26 UTC
Ok, problem solved ! It was related to group permissions. I just copied AFTv5 permissions assignement lines from http://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php

Now, it works.

I will investigate further to tweak more accurately my permissions settings, but I know why it didn't work. That was the big point :o)

Cheers from France !
Comment 3 Andre Klapper 2013-02-06 19:22:58 UTC
Glad you found the reason!
Comment 4 Sulliwane 2013-02-06 20:20:18 UTC
yep :) thx.

To be more precise, I have my user populate via ldap, so I have custom groups. For every custom group, I had to add :

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

Hope it will be usefull for other folks.

btw, this extension is awsome imo. It really enjoins people to participate !

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links