"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "extensions/WikiEditor/modules/jquery.wikiEditor.dialogs.config.js" between
mediawiki-1.31.1.tar.gz and mediawiki-1.32.0.tar.gz

About: MediaWiki is a wiki engine (the collaborative editing software that runs for e.g. Wikipedia, the free encyclopedia).

jquery.wikiEditor.dialogs.config.js  (mediawiki-1.31.1):jquery.wikiEditor.dialogs.config.js  (mediawiki-1.32.0)
skipping to change at line 38 skipping to change at line 38
oouiIcon: 'image', oouiIcon: 'image',
action: { action: {
type: 'dialog', type: 'dialog',
module: 'insert-f ile' module: 'insert-f ile'
} }
}, },
reference: { reference: {
labelMsg: 'wikieditor-too lbar-tool-reference', labelMsg: 'wikieditor-too lbar-tool-reference',
filters: [ 'body.ns-subje ct' ], filters: [ 'body.ns-subje ct' ],
type: 'button', type: 'button',
oouiIcon: 'book', oouiIcon: 'reference',
action: { action: {
type: 'dialog', type: 'dialog',
module: 'insert-r eference' module: 'insert-r eference'
} }
} }
} }
} ) } )
.wikiEditor( 'addToToolbar', { .wikiEditor( 'addToToolbar', {
section: 'advanced', section: 'advanced',
group: 'insert', group: 'insert',
skipping to change at line 69 skipping to change at line 69
} }
} ) } )
.wikiEditor( 'addToToolbar', { .wikiEditor( 'addToToolbar', {
section: 'advanced', section: 'advanced',
groups: { groups: {
search: { search: {
tools: { tools: {
replace: { replace: {
labelMsg: 'wikieditor-toolbar-tool-replace', labelMsg: 'wikieditor-toolbar-tool-replace',
type: 'bu tton', type: 'bu tton',
oouiIcon: 'find', oouiIcon: 'articleSearch',
action: { action: {
t ype: 'dialog', t ype: 'dialog',
m odule: 'search-and-replace' m odule: 'search-and-replace'
} }
} }
} }
} }
} }
} ); } );
}, },
skipping to change at line 269 skipping to change at line 269
if ( $( this ).va l() === '' ) { if ( $( this ).va l() === '' ) {
$( this ) $( this )
. addClass( 'wikieditor-toolbar-dialog-hint' ) . addClass( 'wikieditor-toolbar-dialog-hint' )
. val( $( this ).data( 'tooltip' ) ) . val( $( this ).data( 'tooltip' ) )
. data( 'tooltip-mode', true ); . data( 'tooltip-mode', true );
} }
} ); } );
// Automatically copy the value o f the internal link page title field to the link text field unless the // Automatically copy the value o f the internal link page title field to the link text field unless the
// user has changed the link text field - this is a convenience thing since most link texts are going to // user has changed the link text field - this is a convenience thing since most link texts are going to
// be the the same as the page ti tle - Also change the internal/external radio button accordingly // be the same as the page title - Also change the internal/external radio button accordingly
$( '#wikieditor-toolbar-link-int- target' ).on( 'change keydown paste cut', function () { $( '#wikieditor-toolbar-link-int- target' ).on( 'change keydown paste cut', function () {
// $( this ).val() is the old value, before the keypress - Defer this until $( this ).val() has // $( this ).val() is the old value, before the keypress - Defer this until $( this ).val() has
// been updated // been updated
setTimeout( function () { setTimeout( function () {
if ( isExternalLi nk( $( '#wikieditor-toolbar-link-int-target' ).val() ) ) { if ( isExternalLi nk( $( '#wikieditor-toolbar-link-int-target' ).val() ) ) {
$( '#wiki editor-toolbar-link-type-ext' ).prop( 'checked', true ); $( '#wiki editor-toolbar-link-type-ext' ).prop( 'checked', true );
updateWid get( 'external' ); updateWid get( 'external' );
} else { } else {
$( '#wiki editor-toolbar-link-type-int' ).prop( 'checked', true ); $( '#wiki editor-toolbar-link-type-int' ).prop( 'checked', true );
updateExi stence(); updateExi stence();
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)