https://wiki.agx.fr/api.php?action=feedcontributions&user=R%C3%A9my&feedformat=atom
AGX - Contributions de l’utilisateur [fr]
2024-03-29T11:10:00Z
Contributions de l’utilisateur
MediaWiki 1.28.0
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1644
MediaWiki:Common.css
2021-04-23T10:38:44Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
<br />
<br />
.bleuAGX {<br />
color: #0092C7;<br />
}<br />
<br />
.orangeAGX {<br />
color: #EA5B0C;<br />
}<br />
<br />
.vertAGX {<br />
color: #95C11F;<br />
}<br />
<br />
.violetAGX {<br />
color: #B90066;<br />
}<br />
<br />
<br />
h2 {<br />
color: #0092C7;<br />
}<br />
<br />
h3 {<br />
color: #EA5B0C;<br />
}<br />
<br />
.firstHeading {<br />
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */<br />
overflow: visible;<br />
color: #B90066;<br />
}<br />
<br />
.remarque {<br />
font-style: italic;<br />
}<br />
<br />
.astuce {<br />
line-height: 1.3em;<br />
background-color: #f9f9f9;<br />
border: 1px solid #ddd;<br />
padding: 1em;<br />
white-space: pre-wrap;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1643
MediaWiki:Common.css
2021-04-23T10:36:33Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
<br />
<br />
.bleuAGX {<br />
color: #0092C7;<br />
}<br />
<br />
.orangeAGX {<br />
color: #EA5B0C;<br />
}<br />
<br />
.vertAGX {<br />
color: #95C11F;<br />
}<br />
<br />
.violetAGX {<br />
color: #B90066;<br />
}<br />
<br />
<br />
h2 {<br />
color: #0092C7;<br />
}<br />
<br />
h3 {<br />
color: #EA5B0C;<br />
}<br />
<br />
.firstHeading {<br />
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */<br />
overflow: visible;<br />
color: #B90066;<br />
}<br />
<br />
.remarque {<br />
font-style: italic;<br />
line-height: 1.3em;<br />
border: 1px solid #ddd;<br />
padding: 1em;<br />
white-space: pre-wrap;<br />
}<br />
<br />
.astuce {<br />
line-height: 1.3em;<br />
background-color: #f9f9f9;<br />
border: 1px solid #ddd;<br />
padding: 1em;<br />
white-space: pre-wrap;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1642
MediaWiki:Common.css
2021-04-23T10:34:34Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
<br />
<br />
.bleuAGX {<br />
color: #0092C7;<br />
}<br />
<br />
.orangeAGX {<br />
color: #EA5B0C;<br />
}<br />
<br />
.vertAGX {<br />
color: #95C11F;<br />
}<br />
<br />
.violetAGX {<br />
color: #B90066;<br />
}<br />
<br />
<br />
h2 {<br />
color: #0092C7;<br />
}<br />
<br />
h3 {<br />
color: #EA5B0C;<br />
}<br />
<br />
.firstHeading {<br />
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */<br />
overflow: visible;<br />
color: #B90066;<br />
}<br />
<br />
.remarque {<br />
font-style: italic;<br />
color: #B90066;<br />
}<br />
<br />
.astuce {<br />
line-height: 1.3em;<br />
background-color: #f9f9f9;<br />
border: 1px solid #ddd;<br />
padding: 1em;<br />
white-space: pre-wrap;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1641
MediaWiki:Common.js
2021-04-23T10:26:56Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<div class="remarque">[[Fichier:remarque.png]]',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</div>'<br />
}<br />
}<br />
},<br />
'AGX Astuce': {<br />
labelMsg: 'AGX Astuce',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<div class="astuce">[[Fichier:astuce.png]]',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</div>'<br />
}<br />
}<br />
},<br />
<br />
<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1640
MediaWiki:Common.js
2021-04-23T10:17:09Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">[[Fichier:remarque.png]]',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Astuce': {<br />
labelMsg: 'AGX Astuce',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="astuce">[[Fichier:astuce.png]]',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1639
MediaWiki:Common.js
2021-04-23T10:16:00Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Astuce': {<br />
labelMsg: 'AGX Astuce',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="astuce">[[Fichier:astuce.png]]',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1638
MediaWiki:Common.css
2021-04-23T10:14:32Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
<br />
<br />
.bleuAGX {<br />
color: #0092C7;<br />
}<br />
<br />
.orangeAGX {<br />
color: #EA5B0C;<br />
}<br />
<br />
.vertAGX {<br />
color: #95C11F;<br />
}<br />
<br />
.violetAGX {<br />
color: #B90066;<br />
}<br />
<br />
<br />
h2 {<br />
color: #0092C7;<br />
}<br />
<br />
h3 {<br />
color: #EA5B0C;<br />
}<br />
<br />
.firstHeading {<br />
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */<br />
overflow: visible;<br />
color: #B90066;<br />
}<br />
<br />
.remarque {<br />
font-style: italic;<br />
color: #B90066;<br />
}<br />
<br />
.astuce {<br />
line-height: 1.3em;<br />
background-color: #f9f9f9;<br />
border: 1px solid #ddd;<br />
padding: 1em;<br />
white-space: pre-wrap;<br />
color: #95C11F;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1637
MediaWiki:Common.css
2021-04-23T10:12:40Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
<br />
<br />
.bleuAGX {<br />
color: #0092C7;<br />
}<br />
<br />
.orangeAGX {<br />
color: #EA5B0C;<br />
}<br />
<br />
.vertAGX {<br />
color: #95C11F;<br />
}<br />
<br />
.violetAGX {<br />
color: #B90066;<br />
}<br />
<br />
<br />
h2 {<br />
color: #0092C7;<br />
}<br />
<br />
h3 {<br />
color: #EA5B0C;<br />
}<br />
<br />
.firstHeading {<br />
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */<br />
overflow: visible;<br />
color: #B90066;<br />
}<br />
<br />
.remarque {<br />
font-style: italic;<br />
color: #B90066;<br />
}<br />
<br />
.astuce {<br />
background-color: hsl(0,0%,60%)<br />
color: #95C11F;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1636
MediaWiki:Common.css
2021-04-23T10:10:58Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
<br />
<br />
.bleuAGX {<br />
color: #0092C7;<br />
}<br />
<br />
.orangeAGX {<br />
color: #EA5B0C;<br />
}<br />
<br />
.vertAGX {<br />
color: #95C11F;<br />
}<br />
<br />
.violetAGX {<br />
color: #B90066;<br />
}<br />
<br />
<br />
h2 {<br />
color: #0092C7;<br />
}<br />
<br />
h3 {<br />
color: #EA5B0C;<br />
}<br />
<br />
.firstHeading {<br />
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */<br />
overflow: visible;<br />
color: #B90066;<br />
}<br />
<br />
.remarque {<br />
font-style: italic;<br />
color: #B90066;<br />
}<br />
<br />
.astuce {<br />
background-color: #DCDCDC;<br />
color: #95C11F;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1635
MediaWiki:Common.js
2021-04-23T10:06:51Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Astuce': {<br />
labelMsg: 'AGX Astuce',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<pre class="astuce">[[Fichier:astuce.png]]',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</pre>'<br />
}<br />
}<br />
},<br />
<br />
<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1634
MediaWiki:Common.js
2021-04-23T10:05:54Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Astuce': {<br />
labelMsg: 'AGX Astuce',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<pre class="astuce">[[Fichier:astuce.png]]',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=Fichier:Remarque.png&diff=1633
Fichier:Remarque.png
2021-04-23T10:04:43Z
<p>Rémy : </p>
<hr />
<div></div>
Rémy
https://wiki.agx.fr/index.php?title=Fichier:Astuce.png&diff=1632
Fichier:Astuce.png
2021-04-23T10:04:32Z
<p>Rémy : </p>
<hr />
<div></div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1631
MediaWiki:Common.js
2021-04-23T10:02:25Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Astuce': {<br />
labelMsg: 'AGX Astuce',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<pre class="astuce">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1630
MediaWiki:Common.js
2021-04-23T08:50:50Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Astuce': {<br />
labelMsg: 'AGX Astuce',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="astuce">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1629
MediaWiki:Common.js
2021-04-23T08:49:51Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1628
MediaWiki:Common.js
2021-04-23T08:49:36Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Astuce': {<br />
labelMsg: 'AGX Astuce',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="astuce">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1627
MediaWiki:Common.js
2021-04-23T08:49:12Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1626
MediaWiki:Common.js
2021-04-23T08:48:56Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1625
MediaWiki:Common.css
2021-04-23T08:46:07Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
<br />
<br />
.bleuAGX {<br />
color: #0092C7;<br />
}<br />
<br />
.orangeAGX {<br />
color: #EA5B0C;<br />
}<br />
<br />
.vertAGX {<br />
color: #95C11F;<br />
}<br />
<br />
.violetAGX {<br />
color: #B90066;<br />
}<br />
<br />
<br />
h2 {<br />
color: #0092C7;<br />
}<br />
<br />
h3 {<br />
color: #EA5B0C;<br />
}<br />
<br />
.firstHeading {<br />
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */<br />
overflow: visible;<br />
color: #B90066;<br />
}<br />
<br />
.remarque {<br />
font-style: italic;<br />
color: #B90066;<br />
}<br />
<br />
.astuce {<br />
color: #95C11F;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1624
MediaWiki:Common.js
2021-04-23T08:45:44Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'AGX Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Astuce': {<br />
labelMsg: 'AGX Astuce',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="astuce">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1623
MediaWiki:Common.js
2021-04-23T08:44:03Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGX Bleu': {<br />
labelMsg: 'AGX Bleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Violet': {<br />
labelMsg: 'AGX Violet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Orange': {<br />
labelMsg: 'AGX Orange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGX Vert': {<br />
labelMsg: 'AGX Vert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX Remarque': {<br />
labelMsg: 'Agx Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1622
MediaWiki:Common.css
2021-04-23T08:43:08Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
<br />
<br />
.bleuAGX {<br />
color: #0092C7;<br />
}<br />
<br />
.orangeAGX {<br />
color: #EA5B0C;<br />
}<br />
<br />
.vertAGX {<br />
color: #95C11F;<br />
}<br />
<br />
.violetAGX {<br />
color: #B90066;<br />
}<br />
<br />
<br />
h2 {<br />
color: #0092C7;<br />
}<br />
<br />
h3 {<br />
color: #EA5B0C;<br />
}<br />
<br />
.firstHeading {<br />
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */<br />
overflow: visible;<br />
color: #B90066;<br />
}<br />
<br />
.remarque {<br />
font-style: italic;<br />
color: #B90066;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1621
MediaWiki:Common.js
2021-04-23T08:42:26Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Fonctions AGX', <br />
type: 'select',<br />
list: {<br />
'AGXBleu': {<br />
labelMsg: 'AGXBleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGXViolet': {<br />
labelMsg: 'AGXViolet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGXOrange': {<br />
labelMsg: 'AGXOrange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGXVert': {<br />
labelMsg: 'AGXVert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
'AGX-Remarque': {<br />
labelMsg: 'Agx-Remarque',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="remarque">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
<br />
<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1620
MediaWiki:Common.css
2021-04-23T08:40:43Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
<br />
<br />
.bleuAGX {<br />
color: #0092C7;<br />
}<br />
<br />
.orangeAGX {<br />
color: #EA5B0C;<br />
}<br />
<br />
.vertAGX {<br />
color: #95C11F;<br />
}<br />
<br />
.violetAGX {<br />
color: #B90066;<br />
}<br />
<br />
<br />
h2 {<br />
color: #0092C7;<br />
}<br />
<br />
h3 {<br />
color: #EA5B0C;<br />
}<br />
<br />
.firstHeading {<br />
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */<br />
overflow: visible;<br />
color: #B90066;<br />
}<br />
<br />
.remarque {<br />
font-style: italic;<br />
color: #EA5B0C;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1619
MediaWiki:Common.css
2021-04-22T19:16:11Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
<br />
<br />
.bleuAGX {<br />
color: #0092C7;<br />
}<br />
<br />
.orangeAGX {<br />
color: #EA5B0C;<br />
}<br />
<br />
.vertAGX {<br />
color: #95C11F;<br />
}<br />
<br />
.violetAGX {<br />
color: #B90066;<br />
}<br />
<br />
<br />
h2 {<br />
color: #0092C7;<br />
}<br />
<br />
h3 {<br />
color: #EA5B0C;<br />
}<br />
<br />
.firstHeading {<br />
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */<br />
overflow: visible;<br />
color: #B90066;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1618
MediaWiki:Common.css
2021-04-22T19:15:00Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
<br />
<br />
.bleuAGX {<br />
color: #0092C7;<br />
}<br />
<br />
.orangeAGX {<br />
color: #EA5B0C;<br />
}<br />
<br />
.vertAGX {<br />
color: #95C11F;<br />
}<br />
<br />
.violetAGX {<br />
color: #B90066;<br />
}<br />
<br />
<br />
h2 {<br />
color: @couleur-bleu;<br />
}<br />
<br />
h3 {<br />
color: @couleur-orange;<br />
}<br />
<br />
.firstHeading {<br />
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */<br />
overflow: visible;<br />
color: @couleur-violet;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1617
MediaWiki:Common.css
2021-04-22T19:05:09Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
.couleur-bleu { <br />
#0092C7;<br />
}<br />
<br />
.couleur-violet {<br />
#B90066;<br />
}<br />
<br />
.couleur-orange {<br />
#EA5B0C;<br />
}<br />
<br />
.couleur-vert {<br />
#95C11F;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1616
MediaWiki:Common.js
2021-04-22T18:54:57Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Couleurs AGX', <br />
type: 'select',<br />
list: {<br />
'AGXBleu': {<br />
labelMsg: 'AGXBleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGXViolet': {<br />
labelMsg: 'AGXViolet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGXOrange': {<br />
labelMsg: 'AGXOrange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGXVert': {<br />
labelMsg: 'AGXVert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1615
MediaWiki:Common.js
2021-04-22T18:48:22Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Smile!', <br />
type: 'button',<br />
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: ":)" <br />
}<br />
}<br />
}<br />
}<br />
} );<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
CouleursAGX: {<br />
labelMsg: 'Couleurs AGX',<br />
type: 'select',<br />
list: {<br />
'AGXBleu': {<br />
labelMsg: 'AGXBleu',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="bleuAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGXViolet': {<br />
labelMsg: 'AGXViolet',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="violetAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGXOrange': {<br />
labelMsg: 'AGXOrange',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="orangeAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
'AGXVert': {<br />
labelMsg: 'AGXVert',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p class="vertAGX">',<br />
periMsg: 'wikieditor-toolbar-tool-nowiki-example',<br />
post: '</p>'<br />
}<br />
}<br />
},<br />
}<br />
},<br />
}<br />
}<br />
} );<br />
<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1614
MediaWiki:Common.js
2021-04-22T18:46:41Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Smile!', <br />
type: 'button',<br />
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: ":)" <br />
}<br />
}<br />
}<br />
}<br />
} );<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Smile!', <br />
type: 'button',<br />
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: ":)" <br />
}<br />
}<br />
}<br />
}<br />
} );<br />
<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1613
MediaWiki:Common.js
2021-04-22T18:43:13Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Smile!', <br />
type: 'button',<br />
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: ":)" <br />
}<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options', function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}<br />
// Add the customizations to LiquidThreads' edit toolbar, if available<br />
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1612
MediaWiki:Common.js
2021-04-22T15:58:20Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Smile!', <br />
type: 'button',<br />
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: ":)" <br />
}<br />
}<br />
}<br />
}<br />
} );<br />
};<br />
<br />
if (['edit','submit'].indexOf(mw.config.get('wgAction')) !== -1 ) {<br />
mw.loader.using('user.options').then( function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if (mw.user.options.get('usebetatoolbar') == 1 ) {<br />
$.when(mw.loader.using('ext.wikiEditor'), $.ready).then(customizeToolbar);<br />
}<br />
} );<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1611
MediaWiki:Common.js
2021-04-22T15:51:49Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Smile!', <br />
type: 'button',<br />
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: ":)" <br />
}<br />
}<br />
}<br />
}<br />
} );<br />
}<br />
<br />
if (['edit','submit'].indexOf(mw.config.get('wgAction')) !== -1 ) {<br />
mw.loader.using('user.options').then( function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if (mw.user.options.get('usebetatoolbar') == 1 ) {<br />
$.when(mw.loader.using('ext.wikiEditor'), $.ready).then(customizeToolbar);<br />
}<br />
} );<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1610
MediaWiki:Common.js
2021-04-22T15:50:46Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Smile!', <br />
type: 'button',<br />
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: ":)" <br />
}<br />
}<br />
}<br />
}<br />
} );<br />
}<br />
<br />
if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) {<br />
mw.loader.using( 'user.options' ).then( function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1609
MediaWiki:Common.css
2021-04-22T15:47:57Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
.rouge {<br />
<br />
color: #DC143C;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1608
MediaWiki:Common.css
2021-04-22T15:46:18Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
.rouge {<br />
<br />
color: red;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1607
MediaWiki:Common.css
2021-04-22T15:01:32Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
.bleu {<br />
<br />
color: @couleur-bleu;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1606
MediaWiki:Common.css
2021-04-22T14:47:47Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
.pre.remarque {<br />
<br />
color: @couleur-bleu;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1605
MediaWiki:Common.css
2021-04-22T14:46:04Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
remarque {<br />
<br />
color: @couleur-bleu;<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1604
MediaWiki:Common.js
2021-04-22T14:25:07Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Smile!', <br />
type: 'button',<br />
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: ":)" <br />
}<br />
}<br />
}<br />
}<br />
} );<br />
<br />
<br />
if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) {<br />
mw.loader.using( 'user.options' ).then( function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1603
MediaWiki:Common.js
2021-04-22T14:23:48Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {<br />
'section': 'advanced',<br />
'group': 'format',<br />
'tools': {<br />
'smile': {<br />
label: 'Smile!', // or use labelMsg for a localized label, see above<br />
type: 'button',<br />
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: ":)" // text to be inserted<br />
}<br />
}<br />
}<br />
}<br />
} );<br />
<br />
<br />
if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) {<br />
mw.loader.using( 'user.options' ).then( function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1602
MediaWiki:Common.js
2021-04-22T14:16:11Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {<br />
'section': 'emoticons',<br />
'group': 'faces',<br />
'tools': {<br />
'smile': {<br />
label: 'Smile!', // or use labelMsg for a localized label, see above<br />
type: 'button',<br />
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: ":)" // text to be inserted<br />
}<br />
}<br />
}<br />
}<br />
} );<br />
<br />
};<br />
<br />
<br />
if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) {<br />
mw.loader.using( 'user.options' ).then( function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1601
MediaWiki:Common.js
2021-04-22T14:09:16Z
<p>Rémy : </p>
<hr />
<div>var customizeToolbar = function () {<br />
/* Your code goes here */<br />
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {<br />
'section': 'emoticons',<br />
'group': 'faces',<br />
'tools': {<br />
'smile': {<br />
label: 'Smile!', // or use labelMsg for a localized label, see above<br />
type: 'button',<br />
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: ":)" // text to be inserted<br />
}<br />
}<br />
}<br />
}<br />
} );<br />
<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) {<br />
mw.loader.using( 'user.options' ).then( function () {<br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1600
MediaWiki:Common.css
2021-04-22T14:08:10Z
<p>Rémy : </p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.css&diff=1599
MediaWiki:Common.css
2021-04-22T14:07:38Z
<p>Rémy : Page créée avec « /* Le CSS placé ici sera appliqué à tous les habillages. */ .h2 {color: pink} »</p>
<hr />
<div>/* Le CSS placé ici sera appliqué à tous les habillages. */<br />
.h2 {color: pink}</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1598
MediaWiki:Common.js
2021-04-22T14:06:29Z
<p>Rémy : </p>
<hr />
<div>$ ( '# wpTextbox1' ). wikiEditor ( 'addToToolbar' , { <br />
'sections' : { <br />
'emoticons' : { <br />
'type' : 'button' , // Peut aussi être 'booklet' <br />
'label' : 'Emoticons' <br />
<br />
} <br />
} <br />
} );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1597
MediaWiki:Common.js
2021-04-22T14:03:06Z
<p>Rémy : </p>
<hr />
<div>$ ( '# wpTextbox1' ). wikiEditor ( 'addToToolbar' , { <br />
'sections' : { <br />
'emoticons' : { <br />
'type' : 'toolbar' , // Peut aussi être 'booklet' <br />
'label' : 'Emoticons' <br />
// ou 'labelMsg': 'section- emoticons-label 'pour une étiquette localisée <br />
} <br />
} <br />
} );</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1596
MediaWiki:Common.js
2021-04-22T13:59:22Z
<p>Rémy : </p>
<hr />
<div>$ ( '# wpTextbox1' ). wikiEditor ( 'addToToolbar' , { <br />
'section' : 'emoticons' , <br />
'group' : 'faces' , <br />
'tools' : { <br />
'smile' : { <br />
label : 'Smile!' , // ou utilisez labelMsg pour une étiquette localisée, voir ci-dessus <br />
tapez : 'bouton' , <br />
icône : '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png' , <br />
action : <br />
'encapsulate' , <br />
options : { <br />
pre : ":)" // texte à insérer <br />
} <br />
} <br />
} <br />
} <br />
} );<br />
<br />
/ * Vérifiez si la vue est en mode édition et que les modules requis sont disponibles. Ensuite, personnalisez la barre d'outils… * / <br />
if ( [ 'edit' , 'submit' ]. IndexOf ( mw . Config . Get ( 'wgAction' ) ) ! == - 1 ) { <br />
mw . chargeur . using ( 'user.options' ). then ( function () { <br />
// Cela peut être la chaîne "0" si l'utilisateur a désactivé la préférence ([[phab: T54542 # 555387]]) <br />
if ( mw. l'utilisateur . options . get ( 'usebetatoolbar' ) == 1 ) { <br />
$ . when ( <br />
mw . loader . using ( 'ext.wikiEditor' ), $ . ready <br />
). puis ( personnaliserToolbar ); <br />
} <br />
} ); <br />
};</div>
Rémy
https://wiki.agx.fr/index.php?title=MediaWiki:Common.js&diff=1595
MediaWiki:Common.js
2021-04-22T13:54:27Z
<p>Rémy : </p>
<hr />
<div>$ ( '# wpTextbox1' ). wikiEditor ( 'addToToolbar' , { <br />
'section' : 'emoticons' , <br />
'group' : 'faces' , <br />
'tools' : { <br />
'smile' : { <br />
label : 'Smile!' , // ou utilisez labelMsg pour une étiquette localisée, voir ci-dessus <br />
tapez : 'bouton' , <br />
icône : '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png' , <br />
action : <br />
'encapsulate' , <br />
options : { <br />
pre : ":)" // texte à insérer <br />
} <br />
} <br />
} <br />
} <br />
} );</div>
Rémy