Page MenuHomePhabricator

wikipedialibrary.wmflabs.org/about needs an update
Closed, ResolvedPublic

Description

https://wikipedialibrary.wmflabs.org/about/ – which I do not appear able to edit directly, for some reason – has some coding issues and needs an update:

The citation code shown under "Citation practices" is obsolete; in particular: 1) the subscription and via options are now part of the citation template itself (for several years now) and should not be done with a second template. 2) Worse, the |author= parameter is no longer used this way (also for many years); it is an alias of |last1=, and (in |author= form) should only be used for organizational authors. 3) MOS:INITIALS applies (like the rest of MoS) by default to all citations, except where citation style requires a variance. (Something like this is apt to be true at well-developed wikis other than en.WP; most of them have their own style guides and most of them are based on w:en:Wikipedia:Manual_of_Style for basics and where local language norms do not diverge; the example provided is English and intended for en.WP, anyway). 4) |number= is just a parameter alias of |issue=, so don't make the parser do extra work to convert it. This:

  • {{cite journal|author=Zieger, R|title=Walmart and the broken narrative of US labor history|journal=Labor History|pages=563–569|date=November 2011|volume=52|number=4|doi=10.1080/0023656X.2011.632517}} {{subscription required|via=[[Taylor & Francis]]}}

should thus be changed to this (with some spacing also inserted to make it more human-readable):

  • {{cite journal |last1=author=Zieger |first1=R. |title=Walmart and the broken narrative of US labor history |journal=Labor History |pages=563–569 |date=November 2011 |volume=52 |issue=4 |doi=10.1080/0023656X.2011.632517 |url-access=subscription |via=[[Taylor & Francis]]}}

Secondly, the page in question is showing code markup as literal strings instead of applying the code markup. E.g.:

  • "You can use <code>|via=<code> in templates using CS1 citation format or add <code>{{subscription required|via=}}</code> to identify the provider."

I would prefer to just be an editor there so I can fix stuff like this myself.

Event Timeline

At a discussion over on Meta, someone (Xover) has suggested that the details of this example should be replaced: "Labor History is also a poor example to use for this (cf. the recent VPP discussion) as it's actually published by T&F and so the |via= parameter is of questionable value there. It would be better to use an example from JSTOR or Project MUSE ... Since these to a much larger degree are pure archive services (Project MUSE is run by Johns Hopkins, and some journals are published by Johns Hopkins University Press, but they also have a lot of journals published by others. JSTOR doesn't publish any journals themselves.)" Such an example would be this:

{{cite journal |last1=Bearman |first1=Robert |title=Shakespeare's Purchase of New Place |journal=[[Shakespeare Quarterly]] |volume=63 |issue=4 |date=2012 |pages=465–486 |location=Washington, DC |publisher=[[Folger Shakespeare Library]] |issn=0037-3222 |eissn=1538-3555 |url= https://www.jstor.org/stable/41819765 |subscription=yes |via=[[JSTOR]]}}

Samwalton9-WMF moved this task from Open tasks to Planned on the Library-Card-Platform board.
Samwalton9-WMF subscribed.

Thanks for raising this! Looks like we copied the content from one of the old signup pages on-wiki and didn't do a good enough job of removing markup or making sure the citation was still up to date!

I'll get this updated this week, probably with the example you've provided.

As for editing the page, we don't have any functionality in the library card for editing pages like this, but the relevant HTML is on Github at https://github.com/WikipediaLibrary/TWLight/blob/master/TWLight/templates/about.html, where you could file a pull request.

Updated with the citation example provided above, as well as a general pass to make sure everything was up to date.