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.
// search-shortcuts [[User:Guarapiranga/search-shortcuts]] adds configurable shortcuts to the search bar to namespaces that don't have namespace aliases, and to subpages that don't have shortcuts of pages that do.
// 2025-10: Vector legacy OK, Vector 2022 not
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Guarapiranga/search-shortcuts.js&action=raw&ctype=text/javascript'); // [[User:Guarapiranga/search-shortcuts.js]]
var expansions = {
    "wp:afd": "WP:Articles for deletion",
    "wp:brfa": "WP:Bots/Requests for approval",
    "wp:cci": "WP:Contributor copyright investigations",
    "wp:cfd": "WP:Categories for discussion/Log",
    "wp:drv": "WP:Deletion review",
    "wp:dykn": "Template:Did you know nominations",
    "wp:fac": "WP:Featured article candidates",
    "wp:far": "WP:Featured article review",
    "wp:ffd": "WP:Files for discussion/Log",
    "wp:flc": "WP:Featured list candidates",
    "wp:ftc": "WP:Featured and good topic candidates",
    "wp:gar": "WP:Good article reassessment",
    "wp:gtc": "WP:Featured and good topic candidates",
    "wp:lta": "WP:Long-term abuse",
    "wp:mfd": "WP:Miscellany for deletion",
    "wp:mrv": "WP:Move review",
    "wp:pr": "WP:Peer review",
    "wp:rfa": "WP:Requests for adminship",
    "wp:rfb": "WP:Requests for bureaucratship",
    "wp:rfc": "WP:Requests for comment",
    "wp:rfd": "WP:Redirects for discussion/Log",
    "wp:spi": "WP:Sockpuppet investigations",
    "wp:tfa": "WP:Today's featured article",
    "wp:tfd": "WP:Templates for discussion/Log",
    // namespaces
    "c": "Category",
    "ct": "Category talk",
    "h": "Help",
    "ht": "Help talk",
    "t": "Template",
    "tt": "Template talk",
    "u": "User",
    "ut": "User talk"
};

// Superlinks: [[User:Bradv/Scripts/Superlinks]]/[[User:Bradv/Scripts/Superlinks.js]] works in Vector legacy, [[User:Cyberdog958/Scripts/Superlinks]] in Vector 2022.
// 2026-04: new fork: [[User:Novem Linguae/Scripts/Superlinks.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Novem_Linguae/Scripts/Superlinks.js&action=raw&ctype=text/javascript'); // [[User:Novem Linguae/Scripts/Superlinks.js]]

//mw.loader.load( '/w/index.php?title=User:CocaPopsRather/VandalHandle&action=raw&ctype=text/javascript' ); // Backlink: [[User:CocaPopsRather/VandalHandle]]