MediaWiki:Gadget-summaryButtons.js: Difference between revisions

Jump to navigation Jump to search
Created page with "// https://ru.wikipedia.org/w/index.php?diff=32005736&oldid=32004004&title=MediaWiki%3AEditpage.js&type=revision function initSummaryButtons( mode ) { function insertSummary( txt ) { if ( typeof txt !== 'string' ) { txt = this.title; } if ( typeof summaryItemsSeparator === 'undefined' ) { window.summaryItemsSeparator = ','; } var val = $summary.val(); var regExp = new RegExp( '(^|[,;.?!/]) ?' + mw.util.escapeRegExp( txt ) ); if ( regExp.test( val )..."
(Created page with "// https://ru.wikipedia.org/w/index.php?diff=32005736&oldid=32004004&title=MediaWiki%3AEditpage.js&type=revision function initSummaryButtons( mode ) { function insertSummary( txt ) { if ( typeof txt !== 'string' ) { txt = this.title; } if ( typeof summaryItemsSeparator === 'undefined' ) { window.summaryItemsSeparator = ','; } var val = $summary.val(); var regExp = new RegExp( '(^|[,;.?!/]) ?' + mw.util.escapeRegExp( txt ) ); if ( regExp.test( val )...")
(No difference)

Navigation menu