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

אכא"כ
opt-out
שורה 292: שורה 292:
var $this = $( this );  
var $this = $( this );  
$this.slideUp( 'slow', function() { $this.remove(); } );  
$this.slideUp( 'slow', function() { $this.remove(); } );  
} );
} )
.append($('<p>')
.append($('<a>')
.text('להפסיק לראות את ההודעות הללו')
.click(function() {
mw.loader.using(['mediawiki.api', 'mediawiki.user']).done(function() {
new mw.Api().post( {
action: 'options',
optionname: "gadget-validate-template-params",
optionvalue: 0,
token: mw.user.tokens.get('csrfToken')
}); // using
}); //click
}) // <a>
) // <p>
);
if ( $( '.paramvalidator-wrapper',  content ).filter(':visible').length > 1 ) {
if ( $( '.paramvalidator-wrapper',  content ).filter(':visible').length > 1 ) {