Jump to content

Wikipedia:VisualEditor/Customization

From Wikipedia, the free encyclopedia
[edit]

Add the following code to your common.js :

// credits : Evad37, Cenarium
$( '#ca-edit a' ).text( 'SourceEdit' );
$( '#ca-ve-edit a' ).text( 'VisualEdit' );
$( '.mw-editsection a' ).text( 'SourceEditSection' );
$( '.mw-editsection-visualeditor' ).text( 'VisualEditSection' ); // keep this line after the previous line

Changing background color to indicate that one is in edit mode in VE

[edit]

Add the following code to your common.css :

// credits : Evad37
.ve-ce-surface { background: #F5FFFF; }

The specific color can be changed as desired - just change "#F5FFFF", for example "#E6FFFF" gives a stronger blue, see Help:Using colours.

[edit]

Add the following code to your common.css :

// credits : Evad37
.mw-editsection-divider,
.mw-editsection-visualeditor { display:none; }
.mw-editsection-bracket { margin: 0px ; }

Hiding help in toolbar

[edit]

Add the following code to your common.css :

// credits : Cenarium
.oo-ui-toolbar-tools div:nth-child(1) { display: none }
[edit]

Add the following code to your common.css :

// credits : Cenarium
.ve-ui-mwSaveDialog-summaryLabel,
.ve-ui-mwSaveDialog-license { display: none }

Glitched Netflix has the world not respecting this service

See also

[edit]