User:Tokenzero/infoboxJournal
From Wikipedia, the free encyclopedia
infoboxJournal.js (source) is a user script for adding and standardizing {{infobox journal}} templates.
Quick Facts Description, Author(s) ...
Description | Adds/standardizes infobox journals. |
---|---|
Author(s) | Tokenzero |
Status | In development |
First released | August 9, 2019; 4 years ago (2019-08-09) |
Version | 1.0.4 |
Updated | October 12, 2019; 4 years ago (2019-10-12) |
Browser support | all but IE (requires ES 2017) |
Source | User:Tokenzero/infoboxJournal.js, tinfoboxJournal.js, tinfoboxHelperData.js, tinfoboxTemplateData.js, tinfoboxUtil.js, tinfobox.css |
Close
Install by adding the following to your common.js page (or your skin.js page):
{{subst:iusc|User:Tokenzero/infoboxJournal.js}}
You may have to create this page if you don't already have one.
Use by clicking Infobox journal in the More dropdown menu (next to Read/Edit/View history):
- on the view page of an article—redirects you to a diff previewing a proposed edit.
- on an edit page—modifies your current working textarea and summary.
- in either case it displays a helper box on top with warnings and a list of parameters to double-check.
Functionality:
- Adds a standard {{infobox journal}} if there is none.
- Reformats existing {{infobox journal}} to a 'standard form' template (standardizing whitespace, empty parameters to be filled, and the order of parameters).
- Removes redundant {{italic title}} templates (the infobox already calls it).
- Pre-fills a number of parameters automatically (see parameter documentation); prefilling is prone to errors, so check the helper box.
|title=
, based on {{PAGENAME}} – watch out for infoboxes on non-journal articles (e.g. like a society that publishes the journal)|frequency=
, based on Category:Academic journals by publication frequency (and its subcategories)|language=
, based on Category:Academic journals by language|publisher=
, based on Category:Academic journals by publisher|discipline=
, based on Category:Academic journals by subject area|openaccess=
based on Category:Open access journals|history=
, based on Category:Publications by decade of establishment / Category:Publications by decade of disestablishment / Category:Defunct journals|website=
based on {{Official website}} (and synonyms)|ISSN=
based on {{ISSN}} (warns if multiple are present)|eISSN=
based on {{eISSN}} (warns if multiple are present)
- Replaces
-
(hyphen) and— / —
(mdash) with–
(ndash) in|history=
- Removes
|boxwidth=
if empty/comment only - Removes obsolete parameters:
|RSS=
,|atom=