Last modified: 2010-05-15 15:32:59 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 T4227, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2227 - Expanding $wgWhitelist control of anonymous read/edit
Expanding $wgWhitelist control of anonymous read/edit
Status: RESOLVED DUPLICATE of bug 1924
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.4.x
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/User:D...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-22 19:21 UTC by Dashiva
Modified: 2010-05-15 15:32 UTC (History)
0 users

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


Attachments

Description Dashiva 2005-05-22 19:21:41 UTC
$wgWhitelistEdit = false / true;
$wgWhitelistRead = false / array( 'Page', 'Story' );
The current control is with two variables. Edit enables or disables editing of all pages, while 
Read also can be a whitelist of pages for when reading is blocked. I would like to see these two 
options combined for both read and edit.

$wgBlockAnonRead = false;   # true = users must login to read.
$wgBlockAnonReadEx = array( 'User Clubhouse');   # Pages exempted from the read policy.
$wgBlockAnonEdit = true;   # true = users must login to edit.
$wgBlockAnonEditEx = array( 'Talk:*', 'User talk:*');   # Pages exempted from the edit policy.
The Read/Edit variables determine the general rule of whether anonymous users can read/edit pages 
or not, while the ReadEx/EditEx variables are exceptions to that rule. The example given has Read = 
false, so anon can read all pages except those in ReadEx. Edit = true, so anon can edit no pages 
except those in EditEx. 'Talk:*' is the temporary syntax I chose for "all pages in this namespace".

I have implemented this on my own wiki, and it works fine. If the idea isn't shot down right away, 
I'll make a patch draft with details.
Comment 1 Brion Vibber 2005-05-22 23:26:41 UTC
I'm inclined to WONTFIX this; MediaWiki is intended for open access, and is not designed 
or intended to hide limited numbers of pages.
Comment 2 Dashiva 2005-05-23 00:47:21 UTC
I have seen that mentioned in other discussions about access control. However, there already is support for blocking edits and reads. I 
don't suggest this because I want to lock people out, but rather so I won't have to. With this, I can let anonymous users edit discussion 
pages while main pages remain registered only. Before, turning anonymous edits off was the only option.

In the interest of openness, I don't see how letting admins block less than everything is worse than a full block.
Comment 3 Brion Vibber 2005-06-25 00:18:27 UTC

*** This bug has been marked as a duplicate of 1924 ***

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


Navigation
Links