หมายเหตุ: หลังเผยแพร่ คุณอาจต้องล้างแคชเว็บเบราว์เซอร์ของคุณเพื่อดูการเปลี่ยนแปลง

  • ไฟร์ฟอกซ์ / ซาฟารี: กด Shift ค้างขณะคลิก Reload หรือกด Ctrl-F5 หรือ Ctrl-R (⌘-R บนแมค)
  • กูเกิล โครม: กด Ctrl-Shift-R (⌘-Shift-R บนแมค)
  • อินเทอร์เน็ตเอกซ์พลอเรอร์ และ Edge: กด Ctrl ค้างขณะคลิก Refresh หรือกด Ctrl-F5
  • โอเปร่า: กด Ctrl-F5
/* <pre><nowiki> */

// Adds a 'logs for this page' link to the toolbox bar
// If the page is a special page, then no link is displayed
$(function () {
    if ( wgCanonicalNamespace == "Special" )
        return;  // Don't display link for special pages
    url = wgServer + "/w/index.php?title=Special:Log&page=" + encodeURIComponent(mw.config.get('wgPageName'));
    mw.util.addPortletLink('p-cactions', url, 'View logs', 'pt-logs');
});

// Quick Preview From Wikimedia Commons
// See [[:commons:MediaWiki:Gadget-QPreview.js]] for more details
document.write('<script type="text/javascript" src="' 
+ 'http://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-QPreview.js' 
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

// addPurge
$(function () {
    var hist; var url;
    if (!(hist = document.getElementById('ca-history') )) return;
    if (!(url = hist.getElementsByTagName('a')[0] )) return;
    if (!(url = url.href )) return;
    mw.util.addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1purge$2'),
                   'Purge', 'ca-purge', 'Purge the server cache of this page', '0');
});

mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:ProveIt_GT/ProveIt.js&action=raw&ctype=text/javascript');
// [[User:ProveIt GT/ProveIt.js]]

// Simplified edit section 0 ([[User:ais523/editsection0tab.js]])
// Loosely based on [[Wikipedia:WikiProject User scripts/Scripts/Add edit section 0]]
// <source lang="javascript">
$(function()
{
  var x=document.getElementById('ca-history');
  if(x!=null)
    mw.util.addPortletLink('p-cactions', mw.config.get('wgServer')+mw.config.get('wgScript')+"?title="+encodeURIComponent(mw.config.get('wgPageName'))+
                                 "&action=edit&section=0", 'Edit lead', 'ca-edit-0',
                                 'Edit lead section/paragraph', '0', x);
});
// </source>
// [[Category:Wikipedia scripts]]

// Create a toolbox link to show the page with messages from the user interface substituted with their names
// Revision 1.0 by [[User:Edokter]], taken from [[MediaWiki:Gadget-ShowMessageNames.js]]
// Only for Thai Wikipedia personal customization; general Mediawiki should be translated at Translate Wiki
 
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-tb',
    location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'uselang=qqx',
    'Message Names',
    't-messagenames',
    'Display the name of MediaWiki page in place of the respective label'
  );
});

/* </nowiki></pre> */