Jump to content
Wikimedia Meta-Wiki

User:TheresNoTime/stewResponseHelper

From Meta, a Wikimedia project coordination wiki

A quick rework of MusikAnimal's very awesome responseHelper script πŸ’œ

Code

[edit ]

User:TheresNoTime/stewResponseHelper.js

Features

[edit ]
  • Adds a link to SRG to the sidebar
  • When editing a section on SRG, adds:
    • (Done) - sets {{status|done}} and leaves a comment with Done
    • (Not done) - sets {{status|Not done}} and leaves a comment with Not done
    • (On hold) - sets {{status|On hold}} and leaves a comment with  On hold
    • (Already done) - sets {{status|Already done}} and leaves a comment with Already done
  • Adds an autofill reason to all "CA" links on SRG with a permalink to the request
  • Adds an autofill reason to all "gblock" links on SRG with a permalink to the request
  • Adds a <div class="srh-status-X"></div> (where X is either hold/open/done) around requests on SRG, for use with styling via common.css
  • Adds a button under the p-caactions menu ("[srh] Toggle hide complete" under the "More" dropdown menu) to hide/show completed SRG requests

Installing

[edit ]

Add the following to your common.js:

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:TheresNoTime/stewResponseHelper.js&action=raw&ctype=text/javascript');

Source

[edit ]

https://github.com/theresnotime/stewResponseHelper

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /