This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19350 - Suggestion: Add edit button for logged-out users
Summary: Suggestion: Add edit button for logged-out users
Status: RESOLVED FIXED
Alias: None
Product: webplatform.org
Classification: Unclassified
Component: skin (show other bugs)
Version: unspecified
Hardware: All All
: P1 enhancement
Target Milestone: ---
Assignee: Doug Schepers
QA Contact: public-webplatform-bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-08 16:58 UTC by Michael Kelly
Modified: 2012-10-22 07:23 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kelly 2012-10-08 16:58:35 UTC
There's been a few people in the IRC channel who were confused about the fact that webplatform.org is a user-editable wiki.

I'd like to suggest adding an edit button to content pages that leads to a login/registration form. Having an edit button on every page for logged-out users might be a stronger indicator that anyone can contribute, especially given the fact that the site doesn't look like the wiki that most people are familiar with (Wikipedia).
Comment 1 Doug Schepers 2012-10-10 21:34:28 UTC
line 1917 of SkinTemplate.php:
if ( $title->quickUserCan( 'edit', $user ) && ( $title->exists() || $title->quickUserCan( 'create', $user ) ) ) { ...show edit button with link to account creation page... }

also:
$user->isLoggedIn() or $user->isAnon()
Comment 2 Doug Schepers 2012-10-22 07:23:03 UTC
Added, though it's a bit of a hack.

The method needs to be improved, for multilingual support.