Template talk:PMID

From Wikipedia, the free encyclopedia

Template:PMID is permanently protected from editing, as it is a heavily used or visible template.

Substantial changes should be proposed here, and made by administrators if the proposal is uncontroversial, or has been discussed and is supported by consensus. Use {{editprotected}} to attract the attention of an administrator in such cases.
Any contributor may edit the template's documentation to add usage notes, categories or interwiki links.

Okay, what with the template? And why do I get this:

3792407? --Rmky87 02:04, 26 February 2006 (UTC)

because you put a space before the number. Eupedia 14:52, 12 April 2006 (UTC)

Contents

[edit] changing to complement built-in system

i am changing this template to give a more tasteful "Pubmed" rather than the number. if you want the number, just use Wikipedia's built-in feature, e.g. simply putting the following in the code "PMID 1234567" gives PMID 1234567. Eupedia 14:53, 12 April 2006 (UTC)

[edit] AbstractPlus

Does anyone else think it would be a good idea to link to the AbstractPlus version of the abstract, rather than the old version? Instead of linking to PubMed, we would link to PubMed. The second one has more functionality and looks better, in my opinion. - Gobeirne 03:06, 20 February 2007 (UTC)

  • ...anyone? - Gobeirne 03:40, 24 May 2007 (UTC)
Personally, I won't oppose but I fail to see an obvious interest in using AbstractPlus. While the AbstractPlus version may seem clearer to some (including me), the left menu on the Abstract version may be useful to others. — Xavier, 10:58, 24 May 2007 (UTC)

[edit] Suggestion to show ID number

Hi,
This template is extremely valuable, and does a fantastic job. However, it does not provide a text readable ID number. Other similar templates (such as {{doi}}) provide a text readable ID (while {{doi-inline}} is more flexible). The benefit of displaying the PMID number allows this to be printed. The present version does not provide any useful data when printed on paper. This will also help a print edition of WP:1.0, if it is ever made. So my suggestion is to consider making this template more-or-less like {{doi}}. Any thoughts? +mwtoews 05:12, 11 March 2007 (UTC)

Okay, okay, I see the example above—no fixing needed.+mwtoews 01:40, 12 March 2007 (UTC)

[edit] Suggestion for improvement

While simply typing "PMID ########" is easy to do and works, it does not provide citation information at the bottom of the article. While http://diberri.dyndns.org/wikipedia/templates/?type=pmid helps, it still requires busy authors to become comfortable working with tags and markup language. Technically, we should be able to let the author simply type "PMID ########" at the appropriate spot in the article and the citations are collated and the reference list is built automatically. I have suggested this as a project for WP's participation in Google's summer of code (http://meta.wikimedia.org/wiki/Summer_of_Code_2007/proposals).

Is there anything else that can be done to promote the idea of the change? It is really painful as if you adequately cite your sources, you may create paragraphs whose source content has more text inside of the ref tag than outside. These paragraphs become very hard for subsequent authors. I suspect this either keeps a lot of docs from being authors, or prevents some authors from citing the sources. Badgettrg 03:59, 6 April 2007 (UTC)

Discussion on this topic is being held at the Medical project - see Wikipedia_talk:WikiProject_Medicine/Archive3#References to PubMed. David Ruben Talk 20:19, 6 April 2007 (UTC)
Fixed above link to archived discussion. — Xavier, 13:00, 22 May 2007 (UTC)

[edit] Actual URL

{{editprotected}} According to NCBI Help Manual on URLs, the URl used in this template is not correct. Instead of:

http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=pubmed&dopt=Abstract&list_uids={{{1}}}&query_hl=14&itool=pubmed_docsum

web sites like WP should use this shorter version:

http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=retrieve&db=pubmed&list_uids={{{1}}}&dopt=Abstract

Especially, the variable itool, in the query, seems to be a reference to an internal query tool at NCBI, and IMHO should preferably not be used by an external site. itool is not documented but here is the documentation about the tool query variable:

A string with no internal spaces that identifies the resource that is using Entrez links. This argument is used to help NCBI provide better service to third parties generating Entrez queries from programs. As with any query system, it is sometimes possible to ask the same question different ways, with different effects on performance. NCBI requests that developers sending batch requests include a constant 'tool' argument for all requests using the utilities.

Through this template (and mediawiki NCBI internal syntax), WP may be seen as a third party Entrez query generator and should provide its own (constant) tool ID, instead of "pubmed_docsum". Thus a proper URL may be something like :

http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=retrieve&db=pubmed&list_uids={{{1}}}&dopt=Abstract&tool=wikipedia

Xavier, 14:22, 22 May 2007 (UTC)

I've not sure what the policies and guidelines are regarding the inclusion of "wikipedia" tags in URLs. Before this change is made, there should probably be a little research into whether or not there are any relevant policies or precedents regarding this. Cheers. --MZMcBride 19:23, 23 May 2007 (UTC)
Well, I can't help, I don't know anything related to a policy of this kind. If in doubt, could you change the URL the second way, i.e. without the "&tool=wikipedia" part? Thanks. — Xavier, 20:55, 23 May 2007 (UTC)
Done. Cheers. --MZMcBride 23:35, 23 May 2007 (UTC)
Fine ! Thanks. — Xavier, 02:24, 24 May 2007 (UTC)