Extension talk:Pubmed

From MediaWiki.org
Jump to: navigation, search

Could this be made into a parserfunction call instead of a tag call? i.e. {{#pubmed: pmid}}? This is because I'm trying to call it like this:

<pubmed>Pubmed</pubmed> which dosn't work (for known reasons).

It's an excellent piece of work otherwise!

Cheers, --Dmb 18:44, 17 August 2009 (UTC)

Dmb - try using it with the tag parser hook like this:
{{#tag:pubmed|content inside tag here}}
Or try Extension:PubmedParser. -- Bovender 07:24, 20 September 2011 (UTC)
Good tip about the tag parser hook! I was trying to use <pubmed>{{{1}}}</pubmed> within a template. All my citations were rendering as the same list of 4 PMIDs, which I finally figured out were coming from literally passing "{{{1}}}" as the PMID [1]. Switching to {{#tag:pubmed|{{{1}}}}} worked perfectly. --Quantum7 00:11, 25 January 2012 (UTC)

Just installed it on MW 1.15.1[edit]

Using PHP 5.2.8 (cgi-fcgi) & MYSQL 4.1.22-max-log. So far so good. Thanks for the awesome extension!!

Pubmed SOAP Web Service Isses[edit]

This extension may have the same issue I found with the Biblio extension and described here. Recent changes in the data delivered via the Pubmed SOAP Web Service cause the PHP XML Parser to fail if the character set is not correctly configured. This Nusoap included in this extension distribution may need to be modified. It failed the same way Biblio did when I tested. Both the PHP executabe and Nusoap are effected.

Overlay makes the page unreadable for me[edit]

When I open this page in Firefox 13.0.1 on Mac OS X 10.6.8, that green overlay covers all the text, making both of them unreadable. → screenshot of the page

--Thnidu (talk) 19:04, 14 August 2012 (UTC)

I changed the layout a bit. Should be better now. Cheers --[[kgh]] (talk) 12:46, 12 February 2013 (UTC)

Extra whitespace[edit]

The HTML comments in these lines seem to be adding empty <p> elements before and after the references.

$output  = "<!-- MediaWiki extension http://www.mediawiki.org/wiki/Extension:Pubmed -->\n";
$output .= $out;
$output .= "<!-- end of Pubmed -->\n";

Thanks! --Ike @ WikiWorks 22:05, 17 April 2013 (UTC)

On second thought, it seems the primary culprit is actually two newlines at the end of file layout_ext.def. --Ike @ WikiWorks 23:05, 26 June 2013 (UTC)

Current version[edit]

The current version is listed as '2.0 (2011-04-11)', but the changelog contains an update from 2012-01-24. Perhaps the version number should be bumped to make the extension seem slightly less old? --Quantum7 (talk) 22:10, 24 April 2013 (UTC)

Abandoned?[edit]

Last I checked, this extension hadn't been updated since 2012. Now the download link (https://www.umm.uni-heidelberg.de/bibl/system/public/wikiext/) gives a 404 error. Any chance of that being fixed? Should we mark this extension as abandoned and recommend people switch to Extension:PubmedParser? --Quantum7 (talk) 12:08, 19 January 2017 (UTC)