ಮಾದ್ಯಮೊ ವಿಕಿ:Gadget-mySandbox.js
ಸೂಚನೆ: ಒರಿಪಾಯಿನ ಬೊಕ್ಕ, ಬದಲಾವಣೆಲೆನ್ ತೂಯೆರೆ ಈರ್ ಇರೆನ ಬ್ರೌಸರ್ದ ಕ್ಯಾಶ್ ಖಾಲಿ ಮಲ್ಪೊಡಾವು.
- Firefox / Safari: Shift ಕೀನ್ ಒತ್ತುದು ಪತ್ತ್ದ್ Reloadನ್ ಒತ್ತುಲೆ ಇಜ್ಜಿಂಡ Ctrl-F5 ಅತ್ತ್ಡ Ctrl-Rನ್ (ಮ್ಯಾಕ್ಡ್ ⌘-Shift-Rನ್) ಒತ್ತುಲೆ
- Google Chrome: Ctrl-Shift-Rನ್ (ಮ್ಯಾಕ್ಡ್ ⌘-Shift-Rನ್) ಒತ್ತುಲೆ
- Internet Explorer / Edge: Ctrl ಕೀನ್ ಒತ್ತುದು ಪತ್ತ್ದ್ Refresh ಒತ್ತುಲೆ ಇಜ್ಜಿಂಡ Ctrl-F5ನ್ ಒತ್ತುಲೆ.
- Opera: Ctrl-F5ನ್ ಒತ್ತುಲೆ.
/* _____________________________________________________________________________
* | |
* | === 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: 'sandbox',
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( 'Special:MyPage/' + conf.subpageName );
url = new mw.Uri( title.getUrl() );
url.extend({
action: 'edit',
redlink: 1,
editintro: new mw.Title( conf.editintroPagename ),
preload: new mw.Title( conf.preloadPagename )
});
mw.util.addPortletLink(
'p-personal',
url,
conf.portletLabel,
'pt-mysandbox',
conf.portletTooltip,
null,
'#pt-preferences'
);
});
}( mediaWiki, jQuery ) );