User:Sam Sailor/vector.js

// search-shortcuts [[User:Guarapiranga/search-shortcuts]] adds configurable shortcuts to the search bar to namespaces that don't have namespace aliases, an…

// 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]]

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.