MediaWiki:Wikibugs.js explained

/*

Original source: http://pl.wikipedia.org/wiki/MediaWiki:Wikibugs.js
  • Russian adaptation:,,
  • English adaptation:
  • Spanish adaptation:
  • English adaptation:
  • Original idea:,
  • Implementation:,,,
  • // Define pages where it's not needed or tends to encourage submission of large volumes of unrelated errors; instead, these load CSS which hides Report A Bugvar excludedPages = ["Main_Page", "Wikipedia:Content_noticeboard", "MSN", "Hotmail", "Facebook", "Twitter", "Skype", "Amazon", "Windows_Live_Messenger", "Yahoo!_Mail", "Windows_Live", "Internet_Explorer" ];

    // special pages, file pages and file talk pages, and MediaWiki pages are excludedif ($.inArray(mw.config.get('wgNamespaceNumber'), [-1, 6, 7, 8]) !

    -1) else

    var wb$description = "Please provide as much information as possible about the error you\'ve found in Wikipedia, so that volunteers can act on your report and improve Wikipedia. If possible, please provide a reference or website allowing them to verify any information you provide."

    $(function); function wb$popWikibug function wb$getEditToken(page) function wb$isValidPageName(name) function wb$checkForm(form) function wb$goToEditPage function wb$popBugBoth(action_page, infoHTML) function wb$elementsRemove