Template talk:PMID

message: Okay, what with the template? And why do I get this:
3792407?
--Rmky87 02:04, 26 February 2006 (UTC)
replies: text: because you put a space before the number.  Eupedia 14:52, 12 April 2006 (UTC)
thread_title: Comments

message: 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)
thread_title: changing to complement built-in system

message: 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)
replies: text: *...anyone? - Gobeirne 03:40, 24 May 2007 (UTC)
replies: text:  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)
thread_title:  AbstractPlus 

message: 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 ) provide a text readable ID (while  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 . Any thoughts? +mwtoews 05:12, 11 March 2007 (UTC)
replies: text: Okay, okay, I see the example above—no fixing needed.+mwtoews 01:40, 12 March 2007 (UTC)
thread_title:  Suggestion to show ID number 

message: 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)
replies: text: Discussion on this topic is being held at the Medical project - see Wikipedia_talk:WikiProject_Medicine/Archive 3#References to PubMed. David Ruben  Talk  20:19, 6 April 2007 (UTC)
replies: text: Fixed above link to archived discussion. — Xavier, 13:00, 22 May 2007 (UTC)
thread_title: Suggestion for improvement

message: 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=&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=&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=&dopt=Abstract&tool=wikipedia
— Xavier, 14:22, 22 May 2007 (UTC)
replies: text: 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)
replies: text: 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)
replies: text:  Done. Cheers. --MZMcBride 23:35, 23 May 2007 (UTC)
replies: text: Fine ! Thanks. — Xavier, 02:24, 24 May 2007 (UTC)
thread_title:  Actual URL 

message: I've created a version in the PMID/sandbox that works properly if there are spaces in the input:

* Current: 
* Sandbox: 
Please update the template accordingly. Thanks, Martin (Smith609 – Talk) 01:23, 16 February 2009 (UTC)
replies: text: The sandbox currently contains an error in the code. Could you work that out? Thanks, –Juliancolton Tropical Cyclone 17:36, 16 February 2009 (UTC)

text: The code should work alright, but is this really a common problem? It seems to me that it would be better to just not use spaces than to put another parser function on every page using this template. --- RockMFR 17:51, 16 February 2009 (UTC)
replies: text:  Done. Cheers. --MZMcBride (talk) 08:40, 20 February 2009 (UTC)
thread_title: Spaces in params

message: TemplateTiger shows 1278 PMID templates at 2009-05-30 as compared to 220377 cite journal pmid parameters.
Should the PMID template be documented as  deprecated, strengthening the current suggestion to use Template filler
cite journal output and adding a reference to the cite PMID template.
Please also update the example cite journal to an example that shows a linking URL for clearer understanding of the benefits of using a cite journal template.
Output from cite PMID — I think the ISSN is no longer generated

Template filler output
RDBrown (talk) 13:13, 5 January 2010 (UTC)
thread_title: Document as Deprecated, better examples

message: Simply replace the code with this (copy-paste).
{{only in print|PMID 



This will cleanup the print version of articles (see explanation). 
: It's putting "Template:Hide from print" in red into articles.  Ronhjones  (Talk) 22:54, 6 March 2010 (UTC)
thread_title:  Tweak for print 

message: The PubMed URLs seem to have been updated so that you can now link to a much shorter version. Now, the URLs seem to be of the format:
http://www.ncbi.nlm.nih.gov/pubmed/<PubMed ID>
So I propose updating this template to generate these new, shorter URLs, which are already used by Wikipedia's built-in function when you type PMID 18813071 for example, which generates this: PMID 18813071
I think this is the right code to replace in the template (although with the line spacing right, I'm not sure how to do that):
PubMed


-Paul1337 (talk) 15:31, 3 September 2010 (UTC)
replies: text: Changed as requested. -- WOSlinker (talk) 22:05, 3 September 2010 (UTC)
replies: text: I also added some includeonly tags. --Selket Talk 22:09, 3 September 2010 (UTC)
thread_title:  Suggest change to new URL format 

message: Can this be updated to handle NIHMSID and PMCID ? (all three templates PMID1, PMID2, PMID3) -- 65.94.171.126 (talk) 13:17, 9 June 2014 (UTC)
replies: text: For example, input check the input for PMC prefix or NIHMSID prefix and treat those as PMC and NIH id numbers, since their full format forms include the fixed prefix. -- 65.94.171.126 (talk) 13:24, 9 June 2014 (UTC)
thread_title: PMCID and NIHMSID?

message: Since www.ncbi.nlm.nih.gov website supports HTTPS, I suggest switching the link to protocol-relative URL. Here is the change. Here is the testcase Thanks! Chmarkine (talk) 19:39, 20 August 2014 (UTC)
replies: text: Done --Redrose64 (talk) 22:16, 20 August 2014 (UTC)
thread_title:  Protected edit request on 20 August 2014: Use protocol relative URL

message: In the interest of format consistency, I think this template (Template:PMID) should have the same format as the PMID format used in Template:Cite journal, which looks like this:
:
It includes a link to PMID explaning what it is all about, and the identifier. The current format which only shows it as "PubMed" doesn't (visibly) convey much information, neither a link to an explanatory article nor the identifier. In particular there should be a "manual" way to show the PMID in the same format as Template:Cite journal, for example in bibliographies or references which don't use that (more complex) template. If template:doi and template:PMID are used together in the same reference, they will have a different format since template:doi includes an explanatory link and the identifier (as in ). The built-in feature doesn't use the same format as Template:Cite journal, alas, and lacks the explanatory link.
Note that there is also a template called Template:PubMed which currently uses a different format (the fourth PMID format I've come across) which could have its format changed to the simple "PubMed" format currently used by this article. --Bjerrebæk (talk) 05:10, 14 August 2016 (UTC)
replies: text: PMID 


--Bjerrebæk (talk) 19:39, 14 August 2016 (UTC)

text: Not done: The page's protection level has changed since this request was placed. You should now be able to edit the page yourself. If you still seem to be unable to, please reopen the request with further details. Jo-Jo Eumerus (talk, contributions) 19:48, 14 August 2016 (UTC)
thread_title: Format consistency

message: See
* Wikipedia:Village pump (proposals)#Access locks: Visual Design RFC
* Wikipedia:Village pump (proposals)#Access Locks: Citation Template Behaviour RFC
Headbomb {talk / contribs / physics / books} 17:07, 29 October 2016 (UTC)
thread_title:  RFCs on citations templates and the flagging free-to-read sources 

message: Switch to using interwiki links as per: mw:Help:Magic links. Update is in the sandbox so just look at the testcases and copy the code over. Thank you. 50.53.1.33 (talk) 05:05, 24 January 2017 (UTC)
replies: text: The current behaviour of the templates is to have consistant presentation with  templates, and with other identifiers templates. Not only would this change that, but magic links will be phased out at some point in the future. Unless you can show consensus for such a change, this change won't be put into the template. Headbomb {talk / contribs / physics / books} 11:27, 24 January 2017 (UTC)
replies: text: Could you add your comments here too: Template talk:ISBN#Make the link style consistent with cite xxx instead of magic links. I am trying to converge on a unified link style. Thank you. 50.53.1.33 (talk) 22:51, 24 January 2017 (UTC)
thread_title:  Switch to using interwiki 

message: Per this announcement, I have updated this template after testing the new base URL in the sandbox and on the testcases page. Drop a note here if anything looks amiss. – Jonesey95 (talk) 05:27, 6 December 2019 (UTC)
thread_title:  New URL for PMIDs 

message: Would it be a good idea to use nbsp instead of a normal space between "PMID" and the number, as it's done in Template:PMC? Jzandin (talk) 22:33, 4 November 2022 (UTC)
thread_title:  Use nbsp in the result?