User:SHEIKH/common.js: Difference between revisions

From TestWiki
Content added Content deleted
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 14: Line 14:


//DIFF
//DIFF
$("#page-secondary-actions").append("<a href=" + '/wiki/Special:Diff/' + mw.config.get( 'wgPageName' ) + " data-title='DIFF' class='DIFF mw-ui-button button'>DIFF</a>") ;
$("#page-secondary-actions").append("<a href=" + '/wiki/Special:Diff/' mw.config.get( 'wgPageName' ) + " data-title='DIFF' class='DIFF mw-ui-button button'>DIFF</a>") ;

Revision as of 20:42, 7 January 2021

//[[User:SHEKH]]

//সুরক্ষা
$("#page-secondary-actions").append("<a href=" + '/w/index.php?title=' + mw.config.get('wgPageName') + '&action=protect&mobileaction=toggle_view_mobile' + " data-title='protect' class='mw-ui-button button'>সুরক্ষা</a>") ;

//ডিলিট
$("#page-secondary-actions").append("<a href=" + '/w/index.php?title=' + mw.config.get('wgPageName') + '&action=delete&mobileaction=toggle_view_mobile' + " data-title='protect' class='mw-ui-button button'>ডিলিট</a>") ;

//স্থানান্তর
$("#page-secondary-actions").append("<a href=" + '/wiki/Special:MovePage/' + mw.config.get('wgPageName') + " data-title='স্থানান্তর' class='mw-ui-button button'>স্থানান্তর</a>") ;

//উপপাতা 
$("#page-secondary-actions").append("<a href=" + '/wiki/Special:PrefixIndex/' + mw.config.get( 'wgPageName' ) + " data-title='উপপাতা' class='উপপাতা mw-ui-button button'>উপপাতা</a>") ;

//DIFF
$("#page-secondary-actions").append("<a href=" + '/wiki/Special:Diff/' mw.config.get( 'wgPageName' ) + " data-title='DIFF' class='DIFF mw-ui-button button'>DIFF</a>") ;