Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

User:SD0001/Scripts

From Wikipedia, the free encyclopedia

User scripts written by me:

  • StubSorter (source) – Add or remove stub tags from articles. Provides a simple search field that dynamically fetches stub template names (like in HotCat) when the user types.
  • Unreliable/Predatory Source Detector (source) – Highlight links to unreliable sources and predatory journals. (Maintained by Headbomb)
  • W-Ping (source) – Set up reminders (pings) for things to do that will appear on your watchlist.
  • RFUD-helper (source) – (for admins) Easily respond to and action WP:RFUD requests
  • quickViewDeleted (source) – (for admins) Quickly view content of the latest stored revision of deleted pages.
  • deleted-metadata-link (source) – On deleted pages, show a link to the metadata (user, timestamp, tags, page size) of deleted revisions which is accessible to non-admins, and also to a snippet of the AFD/PROD/G13 deleted content
  • DYK-helper (source) – Easily create new DYK nominations.
  • GAN-helper (source) – Easily create new GAN nominations.
  • GAR-helper (source) – Easily create new GAR nominations.
  • PR-helper (source) – Easily create new PR nominations.
  • FAC-helper (source) – Easily create new FAC nominations.
  • FAR-helper (source) – Easily create new FAR nominations.
  • hide-reverted-edits (source) – Show a sanitized version of page history by hiding edits that were reverted or are reverts.
  • shortdescs-in-category (source) – Shows short descriptions of pages while browsing categories (can be toggled on/off)
  • massMoveRevert (source) – (for admins) Easily revert a large number of page moves done by a user
  • easy-merge (source) – Easily complete the merge process and add attribution templates while merging articles.
  • BDCS (source) – Assists in sending out Birthday greetings, for the Birthday Committee.
  • draft-sort-burst (source) – Sort drafts by adding WikiProject tags, has a burst mode to sort drafts quickly one after the other
  • watchlist-update-title (source) – Updates the HTML title of the watchlist page with a live count of number of new changes, which can be seen while working in another tab
  • RC-links-new-tab (source) – Make all links in recent changes open in a new tab
  • UnassessedArticleLinks (source) – Rater extension for assessing articles from WikiProjects' unassessed article categories faster
  • np-shortcuts (source) – Make the keys n and p shortcuts for viewing the next or previous set of results.

Planned:

Deprecated:

  • private-sandbox (source) – A personal sandbox, not visible to anyone else (like a file on your computer), but where wiki-markup still works
  • T-Watch (source) – Add pages to your watchlist for a temporary duration.

Gadgets

[edit]
  • find-archived-section (source) – Shows a search link to easily get to an archived section after following its broken link.
  • dark-mode-toggle (source) – Enables instant toggling between dark mode and the default mode.
  • Twinkle – Not started by me of course, but I contributed new features like making tags and warning templates searchable, the ability to remove existing tags using the Tag module, and deletion sorting integration for AfD, among others.

MediaWiki namespace scripts

[edit]

Source code of all scripts and gadgets written by me (including but not limited to the ones mentioned above) are released under the MIT Licence, unless otherwise mentioned.

To-do

[edit]
  • Create MediaWiki space URL-loaded script to take over WP:REFUND/G13 process, greatly improving the UX. Green tickY see Mediawiki:G13-restore-wizard.js
  • Create MediaWiki space URL-loaded script for adding wikiproject tags to draft talk pages. Green tickY See Mediawiki:AFC-add-project-tags.js
  • Create Mediawiki space URL-loaded script to take over draft submission process. Green tickY: User:SD0001/AFC-submit-wizard.js
  • Create MediaWiki space URL-loaded script for posting to WP:AFCHD. Green tickY MediaWiki:AFCHD-wizard.js
  • Others scripts' that could be better off in MediaWiki space loaded through URL: User:Gary/nominations viewer, User:Enterprisey/easy-brfa
  • Browser extension to allow users to know the reliability of websites. Wikipedians log in using OAuth and rate the reliability of sites; these aggregated ratings are shown to others viewing the site contemplating its usage as an RS. Embedding in Google Search results page is also possible.
  • A meta "Discussion tools" script for archiving discussions (WP:OCA) + closing discussions (User:DannyS712/DiscussionCloser) + allows moving discussions from one page to another + allows putting talkback-like notices (such as {{FYI|pointer=y}}) on relevant talk pages.
  • A meta "curation tools" script that combines the essential features of HotCat + Shortdesc helper + StubSorter + Rater + Twinkle tag module in one script. This would help people to do everything in just one edit, rather than use 5 tools to make 5 maintenance edits to a page in succession. Except for rater which is a bit complicated, the rest can each be covered with a single OOUI text or multi-select widget.
  • [DIFFICULT] A script that makes GA/FA reviewing easier. It would allow users to select some text and add comments on it (like in a code review tool). When done, it would post the comments on the review page. The text from the article would be automatically wrapped in {{tq}} and comments would be neatly indented under them, etc. It should also allow for specifying wording change suggestions (like in GitHub PRs).
    • A script that makes it easy to start a talk page discussion by quoting some text from the article.
  • [DIFFICULT] A script that makes it easy to add inline cleanup templates. Select some text, select the template from a pop-up window - that should be it.
  • A script that makes it easy to start a talk page discussion about an edit (activated from the diff page), should have the options to just "discuss" or "revert and discuss". There should be GUI to input the text for starting the discussion and for the revert edit summary if applicable.