மீடியாவிக்கி:Gadget-mySandbox.js
குறிப்பு - சேமித்த பின்னர், நீங்கள் செய்த மாற்றங்களைக் காண்பதற்கு உங்கள் உலவியின் இடைமாற்று அகற்றப்பட வேண்டும்.
- மொஸில்லா பயர்பாக்ஸ் / சபாரி: Shift+Reload, அல்லது Ctrl-F5 அல்லது Ctrl-R (⌘-R Mac ல்)
- கூகிள் குரோம் Ctrl-Shift-R அழுத்தவும். (⌘-Shift-R Mac ல்) ;
- இண்டர்நெட் எக்ஸ்ப்ளோரர்: Ctrl-Refresh அல்லது Ctrl-F5 ஐ அழுத்தவும்.
- ஒபேரா: Tools → Preferences இல் இடைமாற்றை அகற்றவும்;
/* _____________________________________________________________________________
* | |
* | === WARNING: GLOBAL GADGET FILE === |
* | Changes to this page affect many users. |
* | Please discuss changes on the talk page or on [[WT:Gadget]] before editing. |
* |_____________________________________________________________________________|
*/
/**
* Add a "My sandbox" link to the personal portlet menu.
* Dependencies: mediawiki.util, mediawiki.Title, mediawiki.Uri
*
* @source mediawiki.org/wiki/Snippets/MySandbox
* @version 2
*/
( function ( mw, $ ) {
$( document ).ready( function () {
var conf, title, url;
// Costomize/Translate this to your needs
conf = {
subpageName: 'மணல்தொட்டி',
portletLabel: 'மணல்தொட்டி',
portletTooltip: 'உங்களது மணல்தொட்டிக்கு செல்லவும்',
editintroPagename: 'Template:User_sandbox',
preloadPagename: 'Template:User_sandbox/preload'
};
// Don't alter the code below
// Use Special:MyPage (as opposed to mw.user.getName()) so that it
// works for logged-out users as well.
title = new mw.Title( 'சிறப்பு:MyPage/மணல்தொட்டி' );
url = new mw.Uri( title.getUrl() );
mw.util.addPortletLink(
'p-personal',
url,
conf.portletLabel,
'pt-mysandbox',
conf.portletTooltip,
null,
'#pt-preferences'
);
});
}( mediaWiki, jQuery ) );