Hi list,
Two issues are rised: improving text edit box
and JavaScript to help wiping it out.
While I was working on langauge php file for Polish,
I decided to enhance the text
Put your text for the new page here.
The rationale was: the imperative tone could provoke
trolls to give a try to they creativity
and vandals to express they agression.
I've changed the text to sth that could be translated
to English as:
There is no article on that subject yet.
In this field you can enter it's first fragment.
If this wasn't your intention just press the Back button.
A bit of comment - the only valid interpretation... ;)
It's a small guide for the "tresspasser"
- first line explains the situation,
- second explains and encourages editing
- the last one clears the confusion that perhaps occured
in the "tresspassers" mind (that's _the_ "guard")
And the ratio of "light" acts of vandalism (since on Polish
Wikipedia there are no such "heavy" acts as on English)
dropped down from about 2-3 unwanted new articles per day
to 1 such article per week! (I'm still curious if that was
the reason for unwanted edits... :-)
The change provoked some users to add a kind of method
helping in wiping out the default text
- some of them are working on X-Windows - after copying an earlier
prepared article to the clipboard they mark the default text
of the textarea and unfortunately the article in the clipboard
is replaced by rubish (many forget about wiping out the box
at first)
- other would be pleased to substitute 3 step combination
as well (like eg. <leftclik>, <ctrl-a>, <del>)
with one click.
"One click is enough for all of us" as some time ago Sting sang... :-)
We propose to add the following scripts to TEXTAREA attributes
onfocus="if(this.value=='.....') {this.value='';}"
onblur="if(this.value=='') {this.value='.....';}"
where five dots should be replace by the text
returned by wfMsg("newarticletext")
this text should be posted between
<TEXTAREA> and </TEXTAREA> tags as well.
I don't know if that works on most browsers so another option
in user preferences would be a necessity.
No matter how long the text, such script makes the work
more comfortable.
Regards
Youandme
----------------------------------------------------------------------
Nowa MOTORYZACJA w portalu INTERIA.PL: aktualnosci, nowe auta, testy,
tuning, ceny, galerie, motosport... >>> http://link.interia.pl/f16bb
Two issues are rised: improving text edit box
and JavaScript to help wiping it out.
While I was working on langauge php file for Polish,
I decided to enhance the text
Put your text for the new page here.
The rationale was: the imperative tone could provoke
trolls to give a try to they creativity
and vandals to express they agression.
I've changed the text to sth that could be translated
to English as:
There is no article on that subject yet.
In this field you can enter it's first fragment.
If this wasn't your intention just press the Back button.
A bit of comment - the only valid interpretation... ;)
It's a small guide for the "tresspasser"
- first line explains the situation,
- second explains and encourages editing
- the last one clears the confusion that perhaps occured
in the "tresspassers" mind (that's _the_ "guard")
And the ratio of "light" acts of vandalism (since on Polish
Wikipedia there are no such "heavy" acts as on English)
dropped down from about 2-3 unwanted new articles per day
to 1 such article per week! (I'm still curious if that was
the reason for unwanted edits... :-)
The change provoked some users to add a kind of method
helping in wiping out the default text
- some of them are working on X-Windows - after copying an earlier
prepared article to the clipboard they mark the default text
of the textarea and unfortunately the article in the clipboard
is replaced by rubish (many forget about wiping out the box
at first)
- other would be pleased to substitute 3 step combination
as well (like eg. <leftclik>, <ctrl-a>, <del>)
with one click.
"One click is enough for all of us" as some time ago Sting sang... :-)
We propose to add the following scripts to TEXTAREA attributes
onfocus="if(this.value=='.....') {this.value='';}"
onblur="if(this.value=='') {this.value='.....';}"
where five dots should be replace by the text
returned by wfMsg("newarticletext")
this text should be posted between
<TEXTAREA> and </TEXTAREA> tags as well.
I don't know if that works on most browsers so another option
in user preferences would be a necessity.
No matter how long the text, such script makes the work
more comfortable.
Regards
Youandme
----------------------------------------------------------------------
Nowa MOTORYZACJA w portalu INTERIA.PL: aktualnosci, nowe auta, testy,
tuning, ceny, galerie, motosport... >>> http://link.interia.pl/f16bb