Last modified: 2011-09-23 20:26:52 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 T24998, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22998 - "refresh" tab for all users depending on $wgGroupPermissions for 'purge'
"refresh" tab for all users depending on $wgGroupPermissions for 'purge'
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-29 15:46 UTC by Daniel A. R. Werner
Modified: 2011-09-23 20:26 UTC (History)
1 user (show)

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


Attachments

Description Daniel A. R. Werner 2010-03-29 15:46:09 UTC
The "refresh" tab which is only visible for admins should be visible for all users which have the group permission for 'purge' like:
$wgGroupPermissions['user']['purge'] = true;

This would be a lot more handy than adding &action=purge manually to the url.
Comment 1 Duncan 2010-03-31 08:42:57 UTC
Users with the right 'delete' are able to see the refresh tab.
In SMW_RefreshTab.php you can change the right which is needed to see the tab in line 22.
Comment 2 Daniel A. R. Werner 2010-03-31 22:26:01 UTC
I know and I already did but it's not very logical to define who and who is not able to use the refresh tab by making it conditioned by needing the right for delete pages in the wiki.
Comment 3 Duncan 2010-04-01 12:53:09 UTC
"delete" should be changed to "purge"...
Comment 4 Daniel A. R. Werner 2011-03-18 17:12:33 UTC
I think this is fixed by now, isn't it?
$wgUser->isAllowed( 'purge' )
looks like that.

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


Navigation
Links