My users keep accidentally editing anonymously when they think they're logged in; this has gotten so bad that a few of them have asked me to disable anonymous edits. Instead, I wrote the patch below my sig, set $wgEnableAnonWarning to true, and put the following in MediaWiki:AnonWarning:
<div class="usermessage">You are currently editing anonymously. Would you like to <a href="$1">log in</a> before editing?</div>
It was quite effective. ;^)
Below patch is against MediaWiki 1.3.11 (the latest version marked stable in Gentoo Linux's Portage). I'm not much of a PHP guy, so it's likely suboptimal, but it might be useful.
Brent 'Dax' Royal-Gordon wrote:
My users keep accidentally editing anonymously when they think they're logged in; this has gotten so bad that a few of them have asked me to disable anonymous edits. Instead, I wrote the patch below my sig, set $wgEnableAnonWarning to true, and put the following in MediaWiki:AnonWarning:
I notice when I'm not logged in because the "minor" and "watch this article" options are missing. Isn't that warning enough?
On 4/26/05, Timwi timwi@gmx.net wrote:
Brent 'Dax' Royal-Gordon wrote:
My users keep accidentally editing anonymously when they think they're logged in; this has gotten so bad that a few of them have asked me to disable anonymous edits. Instead, I wrote the patch below my sig, set $wgEnableAnonWarning to true, and put the following in MediaWiki:AnonWarning:
I notice when I'm not logged in because the "minor" and "watch this article" options are missing. Isn't that warning enough?
One of my users keeps not seeing things in the interface (like the toolbox, or the "edit" tab, or the "hide minor edits" link) even after I tell her they're there. Hence, I decided I needed something rather less subtle. ;^)
(Actually, I've done the same thing, so...)
I notice when I'm not logged in because the "minor" and "watch this article" options are missing. Isn't that warning enough?
An insightful observation, the few times that I do loose my cookie the absence of those two checkboxes always reminds me that I'm logged out, I think no further warning is needed.
On 4/28/05, Ævar Arnfjörð Bjarmason avarab@gmail.com wrote:
I notice when I'm not logged in because the "minor" and "watch this article" options are missing. Isn't that warning enough?
An insightful observation, the few times that I do loose my cookie the absence of those two checkboxes always reminds me that I'm logged out, I think no further warning is needed.
I'm not sure that the argument "I don't need such a warning, therefore we don't need such a warning" is convincing.
We need to weigh the cost of adding such a warning (cluttering the user interface, potentially offending/irritating those who don't want such a warning, etc.) against the benefits of adding such a warning (reduced accidental anonymous edits, reduced irritation resulting from the same, etc.).
It's worth noting that having such a warning has no impact on those who are logged in.
--Rich Holton
[[W:en:User:Rholton]]
Timwi wrote:
Brent 'Dax' Royal-Gordon wrote:
My users keep accidentally editing anonymously when they think they're logged in; this has gotten so bad that a few of them have asked me to disable anonymous edits. Instead, I wrote the patch below my sig, set $wgEnableAnonWarning to true, and put the following in MediaWiki:AnonWarning:
I notice when I'm not logged in because the "minor" and "watch this article" options are missing. Isn't that warning enough?
Perhaps for some, but people like me are pretty clueless sometimes. :-)
I edit anonymously all the time, by accident, and have to log in and sign my own edits.
--Jimbo
wikitech-l@lists.wikimedia.org