User:Polygnotus/Scripts/WikiEditorToolbar.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 5:
mw.hook('wikiEditor.toolbarReady').add(function($textarea) {
// Add each button individually to the toolbar
$textarea.wikiEditor('addToToolbar', {
section: 'advanced',
Line 16 ⟶ 17:
type: 'encapsulate',
options: {
pre: '{{subst:' + 'Welcome-newuser|heading=no}} ~~' + '~~',
 
Hi Polygnotus! I would like to welcome you to the Wikipedia community. I hope you like it here and decide to stay.
 
As you get started, you may find this short tutorial helpful:
 
{{Clickable button 2|Help:Introduction|Learn more about editing|class=mw-ui-progressive|style=margin-left: 1.6em;}}
 
Alternatively, the [[Wikipedia:Contributing to Wikipedia|contributing to Wikipedia]] page covers the same topics.
 
If you have any questions, we have a friendly space where experienced editors can help you here:
 
{{Clickable button 2|Wikipedia:Teahouse|Get help at the Teahouse|style=margin-left: 1.6em;}}
 
If you are not sure where to help out, you can find a task here:
 
{{Clickable button 2|Wikipedia:Task Center|Volunteer at the Task Center|style=margin-left: 1.6em;}}
 
Happy editing! <!-- Template:Welcome--> [[User:Polygnotus|Polygnotus]] ([[User talk:Polygnotus|talk]]) 01:45, 25 June 2024 (UTC) ~~' + '~~',
}
}
Line 45 ⟶ 28:
type: 'encapsulate',
options: {
pre: '{{subst:' + 'uw-vand1}} ~~' + '~~',
pre: '[[File:Information.svg|25px|alt=Information icon]] Hello, I'm [[User:Polygnotus|Polygnotus]]. I wanted to let you know that one or more of [[Special:Contributions/Polygnotus|your recent contributions]] have been undone because they did not appear constructive. If you would like to experiment, please use the [[Wikipedia:Sandbox|sandbox]]. If you have any questions, you can ask for assistance at the [[Wikipedia:Teahouse|Teahouse]] or the [[Wikipedia:Help desk|Help desk]]. Thanks.<!-- Template:uw-vandalism1 --> ~~' + '~~',
}
}
Line 56 ⟶ 39:
type: 'encapsulate',
options: {
pre: '{{subst:' + 'uw-vand2}} ~~' + '~~',
pre: '[[File:Information orange.svg|25px|alt=Information icon]] Please refrain from making unconstructive edits to Wikipedia. Your edits appear to constitute [[Wikipedia:Vandalism|vandalism]] and have been [[Help:Reverting|reverted]]. If you would like to experiment, please use the [[Wikipedia:Sandbox|sandbox]]. Repeated vandalism may result in the [[Wikipedia:Blocking policy|loss of editing privileges]]. Thank you.<!-- Template:uw-vandalism2 --> ~~' + '~~',
}
}
Line 67 ⟶ 50:
type: 'encapsulate',
options: {
pre: '{{subst:' + 'uw-vand3}} ~~' + '~~',
pre: '[[File:Nuvola apps important.svg|25px|alt=Warning icon]] Please stop. If you continue to [[Wikipedia:Vandalism|vandalize]] Wikipedia, you may be [[Wikipedia:Blocking policy|blocked from editing]]. <!-- Template:uw-vandalism3 --> ~~' + '~~',
}
}
Line 78 ⟶ 61:
type: 'encapsulate',
options: {
pre: '{{subst:' + 'uw-vand4}} ~~' + '~~',
pre: '[[File:Stop hand nuvola.svg|30px|alt=Stop icon]] You may be '''[[Wikipedia:Blocking policy|blocked from editing]] without further warning''' the next time you [[Wikipedia:Vandalism|vandalize]] Wikipedia. <!-- Template:uw-vandalism4 --> ~~' + '~~',
}
}