מדיה ויקי:Common.js – הבדלי גרסאות

אין תקציר עריכה
אין תקציר עריכה
שורה 1: שורה 1:


mw.loader.using( ['mediawiki.util' ], function () {
mw.loader.using( ['mediawiki.util' ], function () {
      // סקריפטים לדפי עריכה
      'use strict';
// סקריפטים לדפי עריכה
if ( ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) + 1 ) &&
if ( ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) + 1 ) &&
!$( '#wpTextbox1' ).prop( 'readonly' )
!$( '#wpTextbox1' ).prop( 'readonly' )
שורה 11: שורה 12:
}
}


//importScript('LoadingContent.js');
//importScript('LoadingContent.js');
      //importScript('Tabs.js');
//importScript('Tabs.js');
      var projectNamespace,
var projectNamespace,
bookmarkletsPages;
bookmarkletsPages;