Last active
March 4, 2023 13:56
-
-
Save reagle/2cd84a03e005e206159cee304042b434 to your computer and use it in GitHub Desktop.
Sublime Text completions for frequently used Wikipedia templates when using Mediawiker package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"scope": "text.html.mediawiki", | |
"completions": | |
[ | |
// MACROS | |
{ | |
"trigger": "ur", | |
"annotation": "user respond", | |
"contents": ":{{u|$1}} " | |
}, | |
{ | |
"trigger": "ut", | |
"annotation": "user tag", | |
"contents": "{{u|$1}} " | |
}, | |
{ | |
"trigger": "ubr", | |
"annotation": "user LibrarianBTeam", | |
"contents": "{{u|LibrarianBTeam}}" | |
}, | |
{ | |
"trigger": "ush", | |
"annotation": "user WikiED Shalor", | |
"contents": "{{u|Shalor (Wiki Ed)}}" | |
}, | |
{ | |
"trigger": "sre", | |
"annotation": "signature", | |
"contents": "-~~~~" | |
}, | |
{ | |
"trigger": "sd", | |
"annotation": "Special:Diff", | |
"contents": "[[Special:Diff/$1|$2]] " | |
}, | |
{ | |
"trigger": "sp", | |
"annotation": "Special:Permalink", | |
"contents": "[[Special:Permalink/$1|$2]] " | |
}, | |
{ | |
"trigger": "us", | |
"annotation": "smile", | |
"contents": "🙂 " | |
}, | |
{ | |
"trigger": "uw", | |
"annotation": "wink", | |
"contents": "😉 " | |
}, | |
{ | |
"trigger": "um", | |
"annotation": "em dash", | |
"contents": "—" | |
}, | |
// INLINE TEMPLATES | |
// https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Inline_Templates#List_of_inline_templates | |
// PROSE | |
{ | |
"trigger": "ww_edit_awkward", | |
"annotation": "awkward", | |
"contents": "{{awk|reason=$1}}" | |
}, | |
{ | |
"trigger": "ww_edit_clarify", | |
"annotation": "clarify", | |
"contents": "{{clarify|reason=$1}}" | |
}, | |
{ | |
"trigger": "ww_edit_tighten", | |
"annotation": "concision", | |
"contents": "{{copy edit-inline|for=concision}}" | |
}, | |
{ | |
"trigger": "ww_edit_revise", | |
"annotation": "copy-edit", | |
"contents": "{{copy edit-inline|for=$1}}" | |
}, | |
{ | |
"trigger": "ww_edit_detail-less", | |
"annotation": "detail-less", | |
"contents": "{{overly detailed}}" | |
}, | |
{ | |
"trigger": "ww_edit_detail-more", | |
"annotation": "detail-more", | |
"contents": "{{idetail}}" | |
}, | |
{ | |
"trigger": "ww_edit_grammar", | |
"annotation": "grammar", | |
"contents": "{{copy edit-inline|for=grammar}}" | |
}, | |
{ | |
"trigger": "ww_edit_long", | |
"annotation": "long", | |
"contents": "{{copy edit-inline|for=long, break up}}" | |
}, | |
{ | |
"trigger": "ww_edit_malformed-link", | |
"annotation": "malformed-link", | |
"contents": "{{copy edit-inline|for=malformed link}}" | |
}, | |
{ | |
"trigger": "ww_edit_redundant", | |
"annotation": "redundant", | |
"contents": "{{copy edit-inline|for=redundant}}" | |
}, | |
{ | |
"trigger": "ww_edit_snappy", | |
"annotation": "snappy", | |
"contents": "{{copy edit-inline|for=snappier}}" | |
}, | |
{ | |
"trigger": "ww_edit_typo", | |
"annotation": "typo", | |
"contents": "{{copy edit-inline|for=typo}}" | |
}, | |
{ | |
"trigger": "ww_edit_word-choice", | |
"annotation": "word-choice", | |
"contents": "{{copy edit-inline|for=word choice}}" | |
}, | |
{ | |
"trigger": "ww_edit_explain", | |
"annotation": "explain", | |
"detail": "assumes expert understanding", | |
"contents": "{{explain|reason=$1}}" | |
}, | |
{ | |
"trigger": "ww_edit_vague", | |
"annotation": "vague", | |
"detail": "clarify specific words or statements", | |
"contents": "{{vague}}" | |
}, | |
// NEUTRALITY | |
{ | |
"trigger": "ww_np_dubious", | |
"annotation": "dubious", | |
"detail": "sourced but unlikely", | |
"contents": "{{dubious}}" | |
}, | |
{ | |
"trigger": "ww_np_editorializing", | |
"annotation": "editorializing", | |
"detail": "sound like an editorial or other personal opinion: notably, it should be noted, arguably, interestingly, essentially, utterly, actually, clearly, ...", | |
"contents": "{{editorializing}}" | |
}, | |
{ | |
"trigger": "ww_np_unbalanced", | |
"annotation": "unbalanced-opinion", | |
"detail": "a statement may express a non-neutral point of view", | |
"contents": "{{lopsided}}" | |
}, | |
{ | |
"trigger": "ww_np_peacock", | |
"annotation": "peacock", | |
"detail": "promotes the subject in a subjective manner without imparting real information", | |
"contents": "{{peacock inline}}" | |
}, | |
{ | |
"trigger": "ww_np_weasel", | |
"annotation": "vague biased phrasing", | |
"detail": "vague phrasing that often accompanies biased or unverifiable information", | |
"contents": "{{weasel-inline}}" | |
}, | |
//TONE | |
{ | |
"trigger": "ww_tone", | |
"annotation": "tone", | |
"detail": "judgement by unknown", | |
"contents": "{{tone-inline|reason=judgemental tone by Wikipedian; if this is the judgement of a reputable source/expert, state in the prose even if there is a related citation}}" | |
}, | |
{ | |
"trigger": "ww_tone_according", | |
"annotation": "vague 3rd party", | |
"detail": "a vague third-party claim that is not sourced: subject is 'considered', 'noted as', 'lauded as', ...", | |
"contents": "{{according to whom|text=$1}}" | |
}, | |
{ | |
"trigger": "ww_tone_who", | |
"annotation": "vague authorities", | |
"detail": "attributions to vague 'authorities': 'serious scholars', 'historians say', 'some researchers', 'many scientists'", | |
"contents": "{{who}}" | |
}, | |
// REFERENCES | |
// SECTION | |
{ | |
"trigger": "ww_cite-broken", | |
"annotation": "citations broken", | |
"contents": "{{citations broken}}" | |
}, | |
// INLINE | |
{ | |
"trigger": "ww_cite-dead", | |
"annotation": "dead link", | |
"contents": "{{dead link}}" | |
}, | |
{ | |
"trigger": "ww_cite-improve", | |
"annotation": "better source", | |
"contents": "{{better source|reason=...}}" | |
}, | |
{ | |
"trigger": "ww_cn", | |
"annotation": "citation needed", | |
"contents": "{{citation needed}}" | |
}, | |
{ | |
"trigger": "ww_cs", | |
"annotation": "citation style", | |
"contents": "{{citation style}}" | |
}, | |
{ | |
"trigger": "ww_nonspecific", | |
"annotation": "nonspecific", | |
"details": "not specific enough to verify", | |
"contents": "{{nonspecific}}" | |
}, | |
{ | |
"trigger": "ww_page", | |
"annotation": "page", | |
"contents": "{{page needed}}" | |
}, | |
{ | |
"trigger": "ww_primary", | |
"annotation": "primary", | |
"contents": "{{primary source inline}}" | |
}, | |
{ | |
"trigger": "ww_self", | |
"annotation": "self", | |
"contents": "{{self-published source}}" | |
}, | |
{ | |
"trigger": "ww_verify", | |
"annotation": "verify", | |
"contents": "{{verify source}}" | |
}, | |
{ | |
"trigger": "ww_when", | |
"annotation": "when", | |
"contents": "{{when}}" | |
}, | |
// ARTICLE OR SECTION | |
//CLEANUP | |
{ | |
"trigger": "ww_a-tone", | |
"annotation": "article tone", | |
"detail": "", | |
"contents": "{{tone}}" | |
}, | |
{ | |
"trigger": "ww_a-lead", | |
"annotation": "article lead", | |
"contents": "{{lead rewrite}}" | |
}, | |
{ | |
"trigger": "ww_a-puffery", | |
"annotation": "article puffery", | |
"detail": "", | |
"contents": "{{puffery}}" | |
}, | |
{ | |
"trigger": "a-confusing", | |
"annotation": "article confusing", | |
"detail": "", | |
"contents": "{{confusing}}" | |
}, | |
{ | |
"trigger": "a-detail-less", | |
"annotation": "article overly detailed", | |
"contents": "{{overly detailed}}" | |
}, | |
{ | |
"trigger": "a-cb", | |
"annotation": "article citations broken", | |
"contents": "{{citations broken}}" | |
}, | |
{ | |
"trigger": "a-cn", | |
"annotation": "article un-referenced", | |
"contents": "{{unreferenced}}" | |
}, | |
{ | |
"trigger": "a-ci", | |
"annotation": "article reference improve", | |
"contents": "{{refimprove}}" | |
}, | |
//REVIEW | |
{ | |
"trigger": "ww_review", | |
"annotation": "review", | |
"contents": "== Review ==\nLooking good! I did some copyediting and might have left a few \ntemplates. Next steps could include an:\n* [[Help:Infobox|infobox]]\n* a more encyclopedic tone\n* [https://dashboard.wikiedu.org/training/instructors/finding-articles/using-categories categories]\n* maybe a [https://dashboard.wikiedu.org/training/students/images-and-media photo] \n* more links to other articles\n* once it's live, make sure it's not a [[Wikipedia:Orphan]]\n-~~~~\n" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment