All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
5.2.0 - 2023-11-28
- It is now possible to send optional additional parameters to the citation
template, e.g.
{{#pmid:12345|my_optional_argument=my_argument_value}}
. This can be useful for additional information such as an article URL.
- Address deprecation warnings with PHP 8.x.
5.1.0 - 2023-01-07
- It is now possible to configure a Pubmed
API
key when setting up the extension. - Keywords parameter is now available for the Pubmed template (values are sources
from
Keyword
elements), separated by comma.
- Use only first occurrence of specific tag to prevent values like journal from being overwritten by multiple occurrences of Title tag like for this article https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&id=32681566&retmode=xml where Title also present in References section.
- Strip tags and newlines/whitespaces from Abstract field (
AbstractText
). - Updated extension.json manifest version to 2.
5.0.2 - 2021-05-04
- Extraction of the journal title is now more resilient; if no
ISOAbbreviation
field is present,MedlineTA
may be used instead.
5.0.1 - 2019-12-31
- Fix vesion number.
5.0.0 - 2019-12-31
- Fix "Invalid server index index" error that occurred with MediaWiki version 1.34 (issue #5). NOTE that this change now requires at least version 1.28 of MediaWiki (an obsolete version).
4.0.5 - 2019-07-16
- Delay loading of Wiki messages in order to ensure compatibility with VisualEditor.
4.0.4 - 2019-07-16
- Caching is now only performed if Pubmed provided actual article data.
- Database migration now works with Postgres database as well.
- Fixed detection of empty data sets.
4.0.3 - 2019-04-28
- Articles with single authors would not be formatted correctly.
4.0.2 - 2017-03-19
- Prevent log flooding with warnings in certain situations.
4.0.1 - 2016-11-09
- Use only https to access the Pubmed API.
4.0.0 - 2016-11-05
- Compatibility with MediaWiki 1.25 and newer. The extension is not compatible with MediaWiki 1.24 and older.
- Prevent database errors on updating a citation with 'reload'.
- The caching table in the database is now created in a database transaction.
- The caching table in the database now uses the custom table prefix (you may want to manually rename an existing Pubmed table to include the prefix before running the new version of the extension.)
- Undefined variable errors.
3.2.1 - 2016-06-04
- Do not crash on database access (due to call to ignoreErrors function that has been turned into a protected function in newer MediaWiki versions).
3.2.0 - 2016-06-04
- Ability to give PMC ID as an alternative to PMID ('PMC1234567').
- Ability to output PubmedCentral ID.
- Prevent "instance of MySqlUpdater" error.
3.1.0 - 2014-10-15
- The template name to use for the citation can now be given as a parameter (with a leading '#').
- The extension requires PHP 5.3.0 or later.
- Use persistent database connections to increase performance.
- The name of the 'reload' option can be customized in the system messages.