Last modified: 2011-04-30 01:16:46 UTC
Hi~ When added to LocalSettings, this line doesn't work: $wgGroupPermissions['*']['deletedhistory'] = false; because the History tab is still shown for visitors... From Manual page here: http://www.mediawiki.org/wiki/Manual:User_rights "allows viewing deleted revisions, but not restoring" so when set to FALSE, History tab should disappear. Thanks~
Why would the history tab disappear? You should still be able to see all of the non-deleted revisions. Unless I'm seriously missing something here, this is operating as intended. INVALID?
FALSE ("allows viewing deleted revisions, but not restoring") = "forbid viewing deleted revisions, and forbid restoring" Am I wrong?... What's the different between TRUE & FALSE then?.. The restore feature ONLY?..
You understand the feature correctly. The misunderstanding is that that feature has nothing to do with displaying the history tab, as an article will have history that isn't deleted. Removing 'need-review', as there is no patch to review.
I can see the deleted revisions... from the history tab! So maybe it has only an effect on the restoring feature ??..
Your original question: > When added to LocalSettings, this line doesn't work: > $wgGroupPermissions['*']['deletedhistory'] = false; > because the History tab is still shown for visitors... What I said above applies: they will still be able to see the (non-deleted parts of) page history, so it's obvious that the history tab will still show. What you've said now: > I can see the deleted revisions... from the history tab! Is a different thing entirely. I'm assuming you're logged in as a sysop (or some other group that has deletedhistory rights)?
Ok about the History Tab showing. >> I can see the deleted revisions... from the history tab! > Is a different thing entirely. I'm assuming you're logged in as a sysop (or > some other group that has deletedhistory rights)? No no, I confirm: I'm not logged when testing the feature...!
I tried the following: $wgGroupPermissions['*']['deletedhistory'] = true; I don't see any difference, so: * either there is a mistatement in the Manual ; or * this feature is buggy~ As for hidding the History Tab, you're right: the additional extension "GroupPermissionsManager" is needed.
If you haven't deleted any individual revisions, then the UI wouldn't look different, you're right. All revisions would show up in the history as normal.
deleted revisions and old revisions are NOT the same thing. When you click on the history tab, you are shown all of the old revisions of the page (aka versions of the page that have since been edited). A deleted revision, on the other hand, is one of those revisions that have been removed from the public eye via the delete tab. As you probably know, the delete tab "removes" the page from the wiki, meaning that people without proper access cannot view the page. The 'deletedhistory' permission controls the ability to actually view the history of those deleted revisions. By going to Special:Undelete (not the history tab), you can search for deleted pages and view the deleted history for that page if you have the right. If you don't have the right, you will be unable to do that. This should probably be closed as INVALID
Ok, I understand now. Bug report closed as INVALID.