Jump to content

User:SuperGrey/gadgets/QuickEditExt-Citations

From Meta, a Wikimedia project coordination wiki
Screenshot on w:en:Donald Trump.
  QuickEditExt-Citations
Feature

This user script shows all named citations on the current page, in the format of <ref name="ref-name">...</ref>. To quickly name (and sort) all citations, you can use refOrganizer or RefRenamer.

This is an extension of several Quick Edit tools on the market. That being said, it doesn't rely on any user scripts or gadgets, and can run independently.

By default, it will show on all pages in Main, User, and Draft namespaces with wikitext content model. You can toggle off the visibility in User namespace through Settings.

Install

Copy the following code to Special:MyPage/global.js:

mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:SuperGrey/gadgets/QuickEditExt-Citations.js&action=raw&ctype=text/javascript"); // Backlink: [[User:SuperGrey/gadgets/QuickEditExt-Citations]]
Update
  • September 2025: The gadget was created.
Copyright

GitHub icon QZGao/QuickEditExt-Citations (MIT License).