User:Jonesey95/Tools
From Wikipedia, the free encyclopedia
I use this page as a parking lot for templates that I need to remember how to use.
Convenience link: Special:MassPurge
Display a given page in a specific skin
e.g. Vector, Timeless, Monobook
?useskin=vector-2022 ?useskin=vector ?useskin=timeless ?useskin=monobook ?useskin=minerva ?useskin=modern ?useskin=cologneblue ?safemode=1 ?dtenable=1 (enable beta Discussion Tools) ?useparsoid=1 (use Parsoid to render) ?useparsoid=0 (force old renderer) ?vectornightmode=1 (force night mode in Vector, scheduled to work in May 2024) ?minervanightmode=1&useskin=minerva (force night mode)
Report Parsoid problems at mw:Parsoid/Parser Unification/Known Issues.
Null edit all articles with a given template?
To be used sparingly, but it might be useful for templates that do not have a ton of usage: if you want to speed up the filling process, (1) install "User:Frietjes/masspurge.js" (done in vector.js) and (2) go to Special:MassPurge and (3) put "Template:Infobox royalty" (or the template you want to purge) in the top box and (4) press the top purge button. if it works, the bottom box will fill up with the list of all the transclusions and it will start purging each one.
You can also paste a list of articles in the bottom box instead of putting a template in the top box.
This works will purge one article every four or five seconds.
Categories to watch
- Special:LintErrors
- Special:WantedTemplates
- Category:Age error (0)
- Category:Pages using age template with invalid date (1)
- Category:Articles containing unknown ISO 639 language template (0)
- Category:ISO 639 name from code templates without a category (0)
- Category:Articles with invalid ISBNs (1)
- Category:Articles with invalid ISSNs (21)
- Category:Pages with ISBN errors (280)
- Category:Pages with OL errors (1)
- Category:Pages with empty citations (0)
- Category:CS1 errors: DOI (32)
- Category:CS1 errors: HDL (0)
- Category:CS1 errors: ISBN (828)
- Category:CS1 errors: ISMN (0)
- Category:CS1 errors: ISSN (60)
- Category:CS1 errors: LCCN (0)
- Category:CS1 errors: OCLC (0)
- Category:CS1 errors: OL (0)
- Category:CS1 errors: PMC (0)
- Category:CS1 errors: PMID (0)
- Category:CS1 errors: URL–wikilink conflict (2)
- Category:CS1 errors: arXiv (0)
- Category:CS1 errors: bibcode (0)
- Category:CS1 errors: chapter ignored (1)
- Category:CS1 errors: contributor (2)
- Category:CS1 errors: dates (1,470)
- Category:CS1 errors: external links (2,282)
- Category:CS1 errors: invalid parameter value (7)
- Category:CS1 errors: invisible characters (415)
- Category:CS1 errors: message-id (0)
- Category:CS1 errors: missing author or editor (0)
- Category:CS1 errors: parameter link (2)
- Category:CS1 errors: translated title (1)
- Category:CS1 maint: Ignored ISBN errors (0)
- Category:CS1 maint: Missing pipe (0)
- Category:CS1 maint: Unrecognized language (0)
- Category:Pages with citations having redundant parameters (0)
- Category:Pages with citations using translated terms without the original (0)
- Category:Pages with citations using unnamed parameters (0)
- Category:Pages with citations using unsupported parameters (0)
- Category:Pages using album chart with unknown parameters (0)
- Category:Pages using certification Table Entry with unknown parameters (0)
- Category:Pages using cite comic with unknown parameters (2)
- Category:Pages using div col with unknown parameters (0)
- Category:Pages using infobox Muslim leader with unknown parameters (0)
- Category:Pages using infobox World Heritage Site with unknown parameters (0)
- Category:Pages using infobox aircraft occurrence with unknown parameters (0)
- Category:Pages using infobox animal with unknown parameters (0)
- Category:Pages using infobox artwork with unknown parameters (0)
- Category:Pages using infobox beach with unknown parameters (0)
- Category:Pages using infobox building with unsupported parameters (0)
- Category:Pages using infobox card game with unknown parameters (0)
- Category:Pages using infobox character with unknown parameters (0)
- Category:Pages using infobox ecoregion with unknown parameters (5)
- Category:Pages using infobox factory with unknown parameters (0)
- Category:Pages using infobox former country with unknown parameters (0)
- Category:Pages using infobox former subdivision with unknown parameters (48)
- Category:Pages using infobox glacier with unknown parameters (0)
- Category:Pages using infobox historic site with unknown parameters (1)
- Category:Pages using infobox holiday with unknown parameters (2)
- Category:Pages using infobox islands with unknown parameters (44)
- Category:Pages using infobox law enforcement agency with unknown parameters (28)
- Category:Pages using infobox medical condition with unknown parameters (6)
- Category:Pages using infobox mountain with unknown parameters (0)
- Category:Pages using infobox oil field with unknown parameters (0)
- Category:Pages using infobox park with unknown parameters (35)
- Category:Pages using infobox pharaoh with unknown parameters (0)
- Category:Pages using infobox recurring event with unknown parameters (0)
- Category:Pages using infobox settlement with unknown parameters (2)
- Category:Pages using infobox station with unknown parameters (102)
- Category:Pages using infobox street with unknown parameters (23)
- Category:Pages using infobox venue with unknown parameters (0)
- Category:Pages using infobox video game with unknown parameters (0)
- Category:Pages using p. template with missing parameter (1)
- Category:Pages using South Africa data templates with unknown parameters (0)
- Category:Pages using weather box with unknown parameters (21)
- Category:Pages with errors in inflation template (1)
- Category:Pages using invalid self-closed HTML tags (0)
- Category:Pages using duplicate arguments in template calls (2,145)
- Category:Pages with script errors (441)
- Wikipedia:WikiProject Check Wikipedia/ISBN errors
Links to my AutoEd scripts
Category search tools
Backlog checklist
| Category | Current status |
|---|---|
GOCE Coordinator Tasks
Typing a pipe character
To type a pipe character within a template or elsewhere, use this template: {{!}}
See Help:Template#Pipe.
GOCE notice for Talk page
The syntax for the article's Talk page template is:
{{GOCE |user={{subst:REVISIONUSER}} |date={{subst:date}} |small= }}
It looks like this:
| Guild of Copy Editors | ||||
| ||||
The syntax for the requester's Talk page template is:
{{GOCEtb
| article = foobar
| sign = message here. ~~~~
}}
It looks like this:
| Hello, Jonesey95. This is a courtesy notice that the copy edit you requested for foobar at the Guild of Copy Editors requests page is now complete. All feedback welcome! message here. – Jonesey95 (talk) 04:41, 16 August 2013 (UTC) |
Template:Clarify
{{Clarify}} Looks like this:[clarification needed]
Template:Dead link
Use {{Dead link}} or {{dl}} when you find a dead link to a website within a paragraph or a reference citation. Doing so will place a note by the URL and add the article to one of the Category:Articles with dead external links categories.
Append this template directly after the link or template, leaving the original link intact. Not doing so will prevent detection from automated tools. If the citation contains multiple URLs (e.g. chapterurl and url) in a template, and only one is broken, you can use <!-- hidden text --> to explain which one is broken.
If the article uses clickable footnotes, then this tag should be placed just before the </ref> that contains the dead link. The notice will then correctly appear in the reference section (instead of in the body of the text, which is not recommended).
Template:Convert
Examples of the Convert template:
- {{convert|32|F|C}} results in 32 °F (0 °C)
- {{convert|32|ft|m}} results in 32 feet (9.8 m)
- {{convert|32|PD/sqmi|PD/sqkm}} results in 32 inhabitants per square mile (12/km2)
- {{convert|60|and|170|kg|lb}} results in 60 and 170 kilograms (130 and 370 lb)
WP:MOS shortcuts
Template:Multiple issues
The syntax for the template is:
{{Multiple issues|
{{Issue 1}}
{{Issue 2}}
{{Issue 3}}
...
}}
WP:Template_messages/Cleanup
List of Cleanup messages.
WP:COATRACK
The syntax for the template is:
{{coat rack}}
References need expanding or improvement
The syntax for the template is:
{{refimprove}} or {{refimprove section}}
WP:HAT
Hatnotes, including For the main article... and This page is about...
How to make a redirect
To create a basic redirect manually, set #REDIRECT[[target page name here]] as the only body text of the page. For instance, if you were redirecting from "UK" to "United Kingdom", this would be the entire body of the "UK" page:
#REDIRECT [[United Kingdom]]
Template:Reflist
How to create a nice-looking list of references. A good multi-column list is
{{reflist|30em}}(using |2 is deprecated).
WP:DE-ORPHAN
Edit summary to use when you de-orphan an article:
Successfully de-orphaned! Wikiproject Orphanage: [[WP:ORPHAN|You can help!]]
Needs more Wookieelink
I can't believe that searching for Wookieelink in Wikipedia shows zero results.
How to exclude an article from Category:Articles with incorrect citation syntax
To exclude a Template documentation article from a subcategory of Category:Articles with incorrect citation syntax because it is a demonstration of how a template can generate an error, insert
|no-tracking=yes
into the citation.
If it's a custom cite template, the following needs to be included in the template code, in the {{cite web}} (or other cite template) code:
|no-tracking={{{no-tracking|}}}
After the above is added, the template documentation may need a null edit, after which the template needs one more null edit for it to be removed from the error category (or you can wait for the job queue to get around to it, if you're the patient type).
Edit summary search
How to see CITEREF
- Trying two things.
- One author with displayauthors
- {{citation |displayauthors=1 |last1=one |year=2001 |title=Title}}
- one (2001), Title
{{citation}}: Invalid|display-authors=1(help) generates CITEREFone2001
- One author with last2=et al.
- {{citation |last1=one |last2=''et al.'' |year=2001 |title=Title}}
- one; et al. (2001), Title
{{citation}}: Explicit use of et al. in:|last2=(help) generates CITEREFoneet_al.2001
- – Jonesey95 (talk) 18:53, 20 December 2013 (UTC)
- You can determine a CITEREF by viewing the page source; search for
<span id="CITEREF
- and it goes from there to the next double quote. Alternatively, fill in the parameters of
{{harvid}}and sandbox it: - I've filled them in above. One reason not to use et al. but instead supply all the authors and set
|displayauthors=is so that all of them get added to the COinS metadata. -- Redrose64
- You can determine a CITEREF by viewing the page source; search for
To generate a custom CITEREF, add ref={{harvid|Custom Name}} to the end of the citation.
Protection levels
Protection levels for WP articles: Wikipedia:Protection_policy#Comparison_table
Interlanguage links
Make an in-line link to an article in another Wikipedia like this:
[[:fr:Joseph_de_Carayon-Latour|Joseph de Carayon La Tour]]
It looks like Joseph de Carayon La Tour.
To link to Commons, do this: [[:commons:User:Example|Example]]
Use {{ill}}, {{ill2}}, or {{ill-WD}} to show both a redlink and an interlanguage link (ill and ill-WD will both hide the interlanguage link should the redlink turn blue). {{ill}} is used like this:
{{ill|Sigmund Jakobsen|no}} → Sigmund Jakobsen
{{ill|Charles Darwin (botanist)|lt=Darwin|fr|Charles Darwin|de|Charles Darwin|es|Charles Darwin}}produces: Darwin
A simple example:
{{ill|Sheladize|ku}}
A slightly more complex example:
{{ill|Fall of Pajajaran|id|Invasi Pajajaran oleh Banten}}
- Fall of Pajajaran
Citation Bot development version
PMC to PMID to DOI converter
To check if a given article has a DOI, PMC, or PMID, enter one of the identifiers at the PMID converter web page.
Compare two pages
compare two pages (diff)
Coloring text
| What you type | What it looks like |
|---|---|
|
|
I will change the color in the middle part of this sentence. |
Show all pages with a given prefix
Show citation text and rendering
| Markup | Renders as |
|---|---|
{{cite journal|author=Author|title=Title|journal=Journal name|pages=56-62}} |
Author. "Title". Journal Name: 56–62. |
Purge CS1 citations
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:citation&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_AV_media&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_AV_media_notes&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_book&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_conference&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_DVD_notes&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_encyclopedia&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_interview&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_journal&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_news&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_podcast&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_press_release&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_sign&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_speech&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_techreport&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_thesis&forcerecursivelinkupdate
- https://en.wikipedia.org/w/api.php?action=purge&titles=Template:cite_web&forcerecursivelinkupdate
Run Citation Bot against a category
Links to RFCs referenced frequently
Is YYYY-MM an acceptable date format? (Feb–Apr 2014)
Hiding date errors (Sep–Oct 2013)
Cite doi templates (Sep 2014)
Hyphenated citation parameters (Jul 2014)
Medical articles: replace cite doi and cite pmid with cite journal and a previous discussion of a similar topic (Jan 2015, Mar 2014)
Month abbreviations (Jan 2014)
Excluding namespaces from CS1 error categories (Sep 2013)
Small caps only when it changes the meaning (May 2015)
Deprecation of Cite doi templates (Sep 2015)
Deprecation of Cite PMID templates (Oct 2015)
Religion in infoboxes (Apr 2016)
residence parameter in infobox person (December 2019)
home_town/hometown parameter in infobox person and related person infoboxes (August 2020)
Ethnicity in infoboxes (April 2016)
Four-digit years at the end of year ranges (July 2016)
Coordinates in infoboxes (Aug 2016) (see also Wikipedia:Coordinates in infoboxes, the mini-project page)
Future of magic links (ISBN, RFC, PMID) (Feb 2017)
- This March 2017 (English Wikipedia) RfC determined that these magic links on the English Wikipedia should be replaced by the {{ISBN}}, {{PMID}}, and {{IETF RFC}} templates.
Templates should have English parameters (not an RFC, not officially closed) (Feb 2017)
Pulling short descriptions from Wikidata (February 2018)
No small font sizes in infoboxes (April 2018)
Move DYKs out of Template space (April 2018)
Deprecation of inline parenthetical referencing (within prose, outside of ref tags) (Sep 2020) (use {{Format footnotes}})
Wikipedia:Wikidata/2018_Infobox_RfC#Discussion (June 2018) – most recent RFC on wikidata in infoboxes
- Also see Wikipedia:Wikidata#Appropriate usage in articles for related Wikidata RFCs
Wikipedia_talk:External_links/Archive_40#RFC_on_how_to_format_external_links (Sep 2020) – do not use cite templates in the External links section
Native name discussions:
- Wikipedia:Village_pump_(proposals)/Archive_163#Template:Infobox_person:_proposal_-_Let's_not_insult_the_natives_(BLP) (November 2019)
- Template_talk:Infobox_person/Archive_34#Let's_not_insult_the_natives_(BLP) (December 2019)
Large decorative quote marks in article space (March 2020) (cquote template)
RFC on unhyphenated parameters (April 2021, first close, later overturned)
- Second close of unhyphenated parameter RFC (April 2021, last six unhyphenated parameters remain supported)
Template:BibISBN TFD; Cite ISBN TFD with link to deleted discussion about deleting all Cite ISBN templates. Example TFD for an ISBN XXX template
Non-RFC discussion about hyphenation in ISBNs (in favor of it) (May 2023)
RFC on bots fixing obsolete tags like font/center/tt/strike (March 2023)
Disallowing obsolete tags in signatures (December 2023)
Catscan searches
Template test cases and sandbox templates
- {{Template test cases notice}} at the top for test cases
- {{Template sandbox notice}} for sandboxes
Foreign-language citation templates to change to auto-substitution
See the See Also section at {{Cytuj stronę}}.
Most of these are done. Add templates with over 100 transclusions to User:AnomieBOT/TemplateSubster force.
Help:Magic words
Help:Magic_words#Parser_functions for ifeq, ifexpr, switch, urlencode, CURRENTMONTH, formatting commands, and other magic words and parser functions.
Template for articles needing further translation
Templates I have edited (with useful code snippets)
- {{Age in years}}
- {{Birth date and age}}
- {{Birth date}}
- {{Birth year and age}}
- {{Death date and age}}
- {{Death year and age}} (not modified yet as of May 2015)
- {{GOCE award}}
- {{GOCE-new-blitz-page}}
- {{GOCE-new-drive-page}}
- {{ISBNT}} (ISBN check)
- {{Graphic novel list}} (ISBN check)
- {{Book list}} (ISBN check)
- {{Infobox comics story arc}} (ISBN check)
- {{Infobox comic book title}} (ISBN check)
- {{Infobox comics team and title}} (ISBN check)
- {{Infobox artist discography}} (unknown parameter check)