Citation Style Language plugin wrong year for back issues

OJS 3.2.X

We want to include the Citation Style Language plugin to make life that much easier for authors when citing one of our journals’ articles. But the plugin grabs the year from issues->date_published, not issues->year, which makes the citation wrong for all back issues. Am I missing something or do I have to go into the database and change every instance of “date_published” to match “year”?

All the best from Oslo

Hi @geirrosset ,

You can change the date published in the OJS UI, no need to go to the DB:

Screen Shot 2021-02-04 at 18.13.17

Regards, Primož

Forgot to mention. For some reason we have not been able to sort out we are unable to edit back issues. We get an error saying we do not have access to that part of the editorial flow (despite being assigned all roles).

Also. Leaving the date blank for each article should cause it to use the issue’s date as publication date, but it doesn’t. At least not if you change the issue’s date after adding the articles.

Hello,

we have the same problem with old articles (before 2015) which we have uploaded online in 2015. This date appears in the citation for all articles, no matter what the correct date is.

Is there a possibility to change the citation plugin so that it takes the information from the issue publication year rather than from the article data?

Thank you for a suggestion here.

There is an old discussion about this, and there is no real solution by PKP.

I’ve adapted the CSL plugin so that one choose whether the publication date of the article or the year should have precedence, and can share my code on GitHub, if needed.

Thank you for your reply!

I’ve adapted the CSL plugin so that one choose whether the publication date of the article or the year should have precedence, and can share my code on GitHub, if needed.

If you don’t mind sharing it - it would be very useful indeed, thank you!

See GitHub - mpbraendle/citationStyleLanguage at stable-3_4_0 and the commits OJS-118: Citation year precedence · mpbraendle/citationStyleLanguage@d2d30de · GitHub and OJS-118: Citation year precedence · mpbraendle/citationStyleLanguage@60965af · GitHub especially the parts that are within comment # UZH CHANGE OJS-118 and # END UZH CHANGE OJS-118

This fix is for OJS 3.4.0-x, if you run an older or newer version, you have to to port it.

@asmecher I don’t do a PR on this due to other changes (e.g. using COAR types for passing the type the CSL processor, adding other CSL files). But it might be worth looking at it.