Jump to content

User:Technical 13/Scripts/Gadget-BugCreateNew.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*  _____________________________________________________________________________
 * |                                                                             |
 * |                    === WARNING: GLOBAL GADGET FILE ===                      |
 * |                  Changes to this page affect many users.                    |
 * | Please discuss changes on the talk page or on [[WT:Gadget]] before editing. |
 * |_____________________________________________________________________________|
 *
 * Create a toolbox link to for one-click access for filing new bug reports with Bugzilla.
 * Revision: 1.0
 * Author: Technical_13 (AKA ShoeMaker)
 */
 
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-tb',
    'https://bugzilla.wikimedia.org/enter_bug.cgi',
    'Bugzilla',
    't-messagenames',
    'File a new bug report with Bugzilla.'
  );
});