MediaWiki:Common.js/Wikinews:Dialog/xyzzy

From Wikinews, the free news source you can write!
Jump to navigation Jump to search

/* For Wikinews:Dialog/xyzzy. See Special:WhatLinksHere/Wikinews:Dialog/xyzzy. */

$.getScript( // MediaWiki:Dialog/receive

   mw.config.get('wgScript') + '?title=' + mw.util.wikiUrlencode('MediaWiki:Dialog/receive') +
                               '&action=raw&ctype=text/javascript',
   function () {
       window.wikidialog.receiveAnonymous(
           function () {
               function show(content) { $('div.wikidialog-xyzzy').replaceWith(content); }
               show('Nothing happens.');
           }
       );
   }

);