Last modified: 2009-05-30 23:17:45 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 T13177, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11177 - don't advertise "create account" if not allowed
don't advertise "create account" if not allowed
Status: RESOLVED DUPLICATE of bug 17630
Product: MediaWiki
Classification: Unclassified
Page protection (Other open bugs)
1.16.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.hserus.net/wiki/index.php/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-04 14:51 UTC by Dan Jacobson
Modified: 2009-05-30 23:17 UTC (History)
1 user (show)

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


Attachments

Description Dan Jacobson 2007-09-04 14:51:39 UTC
Gentlemen, allow us to examine what happens when one does
$wgGroupPermissions['*'    ]['read']            = true;
$wgGroupPermissions['*'    ]['edit']            = false;
$wgGroupPermissions['*'    ]['createaccount']   = false;

Users will still see lots of Login/Create Account items to click on,
only to find at the end of the click trail no button to create
account.

Indeed, this is after they have clicked on "edit this page", to only
be then told they had to create an account.

The impression is a trail of "sucker clicks", "false advertisement",
"bait and switch". Note the URL above for a test drive.

Therefore the navigation items should be adjusted to show what can
actually be navigated to.

(I couldn't add suresh at hserus dot net, the owner into the CC box above.)
Comment 1 Majorly 2007-09-04 15:17:44 UTC
Surely you could simply change the MediaWiki:Userlogin text to reflect what settings were in effect?
Comment 2 Dan Jacobson 2007-09-04 15:34:01 UTC
> Surely you could simply change the MediaWiki:Userlogin
Kludge workaround. Two wrongs don't make a right.

Ah, two functionalities glued into the same message:
'userlogin'=> 'Log in / create account'
No wonder it is not easy for the program to detect the
values of the above array and only print what is possible.

(Actually if it was my wiki, I wouldn't have it on clampdown mode,
so would never know about the special case of a anti-wiki wiki.
Anyways, if indeed you want to make Mediawiki ready for such
clampdown wikis, do adjust what gets sent to the screen according
what the values of the array are.)

Let's put it this way: you check the array before allowing users to
create new accounts, right. OK, then also check the array before
inviting users to create a new account!
Comment 3 Dan Jacobson 2007-09-05 01:17:23 UTC
And furthermore, there are tons of pop-up messages e.g., "You can edit this page" etc.

Instead of having the sysop
hack up each, just display the ones that the software can follow through on its part of the deal. No more bait and switch.

Indeed in the HTML, say "view source" instead of "Edit this page", if that is what current permissions only allow.
Comment 4 Dan Jacobson 2009-05-30 23:17:45 UTC

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

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


Navigation
Links