https://bugzilla.wikimedia.org/show_bug.cgi?id=28737

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Do not offer 'Did you know  |Do not show "Did you know
                   |that you can edit this      |that you can edit this
                   |page?' when page is write   |page?" if user is not
                   |protected                   |allowed to edit current
                   |                            |page

--- Comment #3 from Krinkle <[email protected]> 2011-05-01 13:10:02 UTC ---
Changing bugsummary. The edit-dyk-pitch shouldn't be hidden just because a page
is protected, instead only if the user is not allowed to edit the current page
(ie. semi- or fullprotection for anonymous/new users, and fullprotection for
autoconfirmed users)


I suggest implementing a mw.user.isAllowed-ish function (or mw.user.canEdit()
for starters).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to