Working here[edit]

I am working to improve this template. -DePiep (talk) 23:26, 30 January 2021 (UTC)[reply]

@Ajpolino: -DePiep (talk) 23:29, 30 January 2021 (UTC)[reply]
Excellent! I've been offline for a couple of days so I'm just taking a look through the WT:MED thread now. As you can see, most of the template fields now are just leftover from ((Medical resources)) as I quickly realized I was past the limits of my technical understanding (sadly, a low bar for me). I was imagining at the very least moving all the fields that show up under "Identifiers" in ((Drugbox)) and consist of an external link to some database to this box? But we'll see what others think. Thanks a million for putting some time into this! I hear you about the limited hours in the day. They just slip by. Ajpolino (talk) 23:42, 30 January 2021 (UTC)[reply]
We'll do fine. I'm building this base table to check the data, more easiliy. Good OP. -DePiep (talk) 23:48, 30 January 2021 (UTC)[reply]

Thoughts[edit]

To consider:

-DePiep (talk) 23:53, 30 January 2021 (UTC)[reply]

More design concepts

Let us keep good design concepts in mind.

What "Drug links" is not
−1. Not a Auth Control ((Authority control)), not just referencing external IDs
−2. Not a box of repositioned infobox parts
−3. Not an infobox
What "Drug links" is (I hope)
+1. Part of article body = content, and in the TOC
+2. Legible, readable
+3. A data sheet, basically
+4. Using page width and space
What it has
Indexes, that is: repeated 'Drug list' data for multiple, separate items. Like:
Indexes for multiple drug compounds (eg Efavirenz/lamivudine/tenofovir)
Indexes for multiple chemical compounds (eg Propylhexedrine, CAS)
Allowing multiple input (eg ATC's)
Thinking wide usage
Usable on ((Chembox)) articles. ((Chembox)) sometimes handles drugs, as in: drug properties of a chemical as a drug ([1])
Thinking Wikidata
WD-1: read Wikidata automatically, allow setting qid
WD-2: allow local (=enwiki) overwrite by parameter (eg, current ECHA InfoCard ID)
This setup is well-provided by templates etc in enwiki
Do not
Do not use CheMoBot verification & validation handling Red XN.
Do not create an ((AuthContol))-like code only box Red XN, keep it a readable section, in TOC
So, change thinking that ...
...it is some 'infobox things, replaced'
...it is an EL linkfarm
...info cannot be repeated in the Infobox (it can, is what Infoboxes are about :-) )


-DePiep (talk) 19:58, 12 February 2021 (UTC)[reply]

Multiples: compounds, combination, stereo

Drugs can have multiple chemical componds (eg ivermectin), and/or can be a combination drug (eg Artemether/lumefantrine)

Also, to keep in mind (((Chembox))-related): a single article can contain multiple compounds (eg by Stereochemistry)

To think about is: how do we present such multiple information? Simple drug = simlpe list-like, OK.
Then a drug can have chemical compounds end drug combination parts. I understand these are not the same - full stop. This can be shown: each drug (in a combination) gets its own main section (visual box). Within every single-drug section, properties of chemical compounds are listed in a regular form (pattern or tabular-like), so readers can oversee the list easiliy & compare values.
Of course, overall properties (for the drug) are in to listed once.
Not in this: a single drug can have multiple ATC-values. Later. -DePiep (talk) 17:10, 14 February 2021 (UTC)[reply]
I can get behind that. We may end up with at least two sections to the box then. Section one is links where the destination site describes the marketed pharmaceutical product (e.g. Drugs.com link for artemether/lumefantrine). Section two is where the destination site describes chemicals (e.g. PubChem has separate links for Artemether and Lumefantrine)... actually as I'm typing this I took a look and found out that PubChem does indeed have a database page for the combination artemether/lumefantrine! Perhaps if many other databases also contain combination pages, this whole splitting point will become moot. Ajpolino (talk) 17:21, 14 February 2021 (UTC)[reply]
Not yet thought of this: destination site setup (EL). So over there the splitup I decribe (drug → sub-combinator, → sub-compound: hierachic only) could come together for these items. Will think about this, but must prevent headache ;-) -DePiep (talk) 17:28, 14 February 2021 (UTC)[reply]
Yeah poking around these sites, it's a mixed bag. The next two I checked (Commonchemistry.org and IUPHAR/BPS) don't host a separate page for artemether/lumefantrine. Though the good news is that all three sites so far have a single page for ivermectin. Perhaps today I'll get a moment to make a table for all of the current links so we can start to sort out how we'd make this work under-the-hood. Ajpolino (talk) 17:34, 14 February 2021 (UTC)[reply]
Sounds good. After all, in top of the new box there could/should be "all of this drug" links; so far for our presentation. Could require manual (=enwiki editor manual research like you did in this). We could use a mockup by now. -DePiep (talk) 21:09, 14 February 2021 (UTC)[reply]

What links would be useful for a Drug links bar?[edit]

Hi @WhatamIdoing, Bondegezou, Boghog, Colin, Seppi333, Tom (LT), RexxS, and Whywhenwhohow:, although the WT:MED discussion got caught on some tangents, I think the general consensus is in support of spinning off some links from ((Infobox drug)) to a new template bar in the External links section (compare to ((Medical resources))). I'm hoping we can discuss here which links should be included in this new template. As candidates, I'll list the external links currently in the infobox:

So my questions for you all: (1) Are there any links that we should no longer include? Any we should add? (2) ((Medical resources)) separates links into two sections "Classification" and "External resources", are there categories we can separate these links into? Clicking though these, many of the database links seem to offer more-or-less the same information. Should we still list them all? Are there some that are inferior and should be trimmed to better guide readers to the superior links? I know this is a lot, so I'll just note that we're not in a huge rush here, and no one is planning to secretly remove links to your favorite database. Also we can always go back and add/move/change links, so let's not let seeking perfection prevent doing good. Anyway, pardon the large post. Happy to hear folks' thoughts. Ajpolino (talk) 02:36, 12 February 2021 (UTC)[reply]

At the risk of sending everyone screaming from the room, what do you think about including https://mshpriceguide.org/en/search-results-by-name-2/?searchYear=2015&searchString=Acetylsalicylic+Acid&searchType=Name ? It qualifies under WP:ELYES #3. WhatamIdoing (talk) 03:24, 12 February 2021 (UTC)[reply]
Looks good to me! We can sort out how to "categorize" it with the other links as we start to settle what else will be on the template. Ajpolino (talk) 03:51, 12 February 2021 (UTC)[reply]
Most of those identifiers look great as external links, but I'd take them out of an infobox. Bondegezou (talk) 09:44, 12 February 2021 (UTC)[reply]
I don't think we should link to it, for several reasons.
  • When I follow the link or go to any page on the site, Kaspersky pops up to warn that it has blocked malicious javascript from iclickcdn[.]com. So it looks whatever platform they are using to construct the site has been compromised. (WP:ELNO #3) I emailed them months ago about a similar issue, and they took the site down for a while, but it is back up and seems no better.
  • The link above is to search results, which fails WP:ELNO #9. I'm also not convinced there is reliably a 1:1 mapping between article subject and search text (e.g. "valproic acid" and "sodium valproate" are two forms of essentially the same medicine but are held separately in their database).
  • Their dataset hasn't been updated since 2015, which makes the data about 6 years old, and that is ancient history really. A key user of this database was the WHO/Health Action International Project on Medicine Prices and Availability, which is now historical.
  • As we discovered from the discussions about prices, correctly interpreting the often very limited data on individual drug products is very hard and mistakes were more often made than not. My feeling is that this site could be used in an difficult exam about statistics to see who is actually capable of reliably drawing conclusions about the data: it is filled with gotchas.
-- Colin°Talk 10:38, 12 February 2021 (UTC)[reply]
  • My thoughts for the list:
INN: Add formal "INN" explicitly (now implicitly through title, with exceptions like heroin)
InChI, InChIKey, SMILES: under "Chemical and physical data", add InChI, InChIKey and SMILES. These are not exactly having the external links issue at hand, but this info is technical only (structured illegible ascii text), and so doe not even belong in the infobox. Meanwhile, while in the "Drug info" data sheet, as true identifiers, they are visible in front for searching machines, helpfully.
3D model: Also, by adding SMILES, the "3D model" can be derived from this input. Example: Aspirin infobox has SMILES data (hidden); the infobox has the "3D model (JSmol)" EL using that same SMILES input.
-DePiep (talk) 19:15, 12 February 2021 (UTC)[reply]

The WHO link for the ATC code seems more like a reference than something that qualifies as an external link. For the identifiers, is there some way we can determine if these database sites are well used and relevant in 2021 or just hangovers from something interesting someone found in the early days of the web. -- Colin°Talk 10:38, 12 February 2021 (UTC)[reply]

Thank for the ping. I really feel that, consistent with most areas of the encyclopedia, the better place for identifiers is in the ((Authority control)) template - particularly the most fixed and formal ones (including ATC). Excluding those ones, because in your proposed template the links will not be to conspicuous, I think we should just include all the ones in the existing template, and any others that are felt to be useful - I will support any that others propose as finding useful themselves where the sites satisfy our general wiki principles such as likely to be verifiable, not paywalled etc. Over time the links can be whittled as required. Cheers --Tom (LT) (talk) 08:09, 15 February 2021 (UTC)[reply]

Some ID's may be acceptable in the AC template. However, reading WP:Authority control I think not all are suitable for this. I think AC is not suitable for ATC, a classification only and not per sé singular for a drug. Note that AC values & links are outside of body content (do not even show in mobile view). OTOH, with info like ATC, FDA-data, InChi definition, c hemical names and INN: all relevant in teh article. So while some of these should be removed from the infobox, they should be present in the article body. (Some could be repeated in the infobox, like INN, ATC).
In chemistry there is a thing called "data sheet", a list of all properties of a compound. For every data point, we should consider it they should be in the "data sheet" list such as a template box, in a dedicated article (sub)-section.
IOW, for each data point listed: why should be moved to AC?, to the datasheet?, and should it be repeated in the WP:infobox? -DePiep (talk) 15:13, 15 February 2021 (UTC)[reply]
My basic opinion is that the infobox should contain only essential information, and should ideally contain information that our readers, who are normal people and not for the most part pharmacists, can read and understand. Whatever else should be moved out to the AC, datasheet, external resources box etc. IF there is duplication then that defeats the point of the box. Whatever is suitable to move to the AC could be moved there, otherwise should be moved to the datasheet / external resources box. --Tom (LT) (talk) 22:38, 20 February 2021 (UTC)[reply]

Unbelievably after a quiet week, Tom and I came back to this at the same time. Edit conflict, but here's some follow-up info for each link, sandbox style. Trying to sort through what is what:

Work in progress. Ajpolino (talk) 22:51, 20 February 2021 (UTC)[reply]

Proposal

Alright folks after spending some time clicking around today (see above), here's my proposal:

  1. Pharmaceutical resources - MedlinePlus, EMA link, licensing links (if available, see WT:MED discussion), MSH Price Guide (if available)
  2. Biology/chemistry resources - PubChem, ECHA infocard, KEGG link, ChEMBL, PDB link, CompTox link. The others seem less useful to me, but I'm happy to be talked into them.

Note that in this proposal, Template:Drug links would contain only external links to useful resources. So it would be a bar in the External links section, analogous to ((Medical resources)). Also just to be clear this means we would lose the Drugs.com link (redundant to the Medline and EMA links); Guide to Pharmacology, DrugBank, ChemSpider, FDA Substance Registration System, ChEBI (all redundant to PubChem and ECHA); PDB search results (but not the database page), and St. Olaf 3D model (redundant to PDB page). I've got no personal beef with any of the above. If anyone feels strongly about them, happy to re-add. I just personally found them to be redundant to the existing resources. Happy to hear folks thoughts! Ajpolino (talk) 06:25, 21 February 2021 (UTC) Setup a new subheading to make clearer what's being proposed. Pardon the mess. Ajpolino (talk) 20:04, 27 February 2021 (UTC) [reply]

Ajpolino, I didn't see any consensus for "MSH Price Guide (if available)". Even if it is updated beyond 2015, and even if they fix their security issues, the data remains statistically difficult and weak, but fundamentally, they are not a resource on drugs but a database of product prices. It is like adding a search for "cookies" on a supermarket website to Cookie. That isn't the kind of external link that is permitted. -- Colin°Talk 08:52, 21 February 2021 (UTC)[reply]
Oh, apologies, I somehow missed your reply above about the MSH Price Guide. Striking it from my proposal for now, and we can further discuss below or in the future. I'll take a look later this week and share my thoughts, but I don't want to hang up everything else based on that link. Ajpolino (talk) 18:51, 21 February 2021 (UTC)[reply]
Drugs are products, and it being statistically difficult isn't a bar. But let's talk about it later. It's easy to add or remove one or two things, once we've got the overall structure in place. WhatamIdoing (talk) 01:12, 27 February 2021 (UTC)[reply]
"Drugs are products" is using both "are" and "drugs" ambiguously and in shorthand. A packet of 60 10mg generic tablets of wonderpam distributed by Drugs R Us International Aid and sold to the health ministry of ForeignLand in 2015 is not the subject of the article on wonderpam, indeed there are very few drug articles where such an end-product would even be mentioned. The same is not true of most (all?) of the other drug links we are discussing, where wonderpam is their page subject too.
Statistically difficult is a bar if we claim to have a generally usable link to an international reference price for drug X. We have a search-results link to a database, where readers can 'have fun' clicking on all the links and being disappointed. We don't have a way to educate the reader en-route to the results page, to say that a reference price requires a good number of supplier prices, for which you should use the median, to ignore buyer prices, and to apologise for wasting their time. There is a reason why WHO/HAI restricted themselves to a few dozen products (drug+dose+formulation+quantity) when doing their price comparisons among nations: those were the small number of records for which sufficient supplier prices were available to create a reference. It is like we are pretending to have an EU price for wonderpam, but in fact only having a six-year-old price for three dose/formulations from only two of the six pharmacy chains in Poland, one of which has since gone into administration and the other taken over by a multinational. -- Colin°Talk 19:30, 27 February 2021 (UTC)[reply]
@WhatamIdoing, Bondegezou, Boghog, Seppi333, Tom (LT), RexxS, and Whywhenwhohow: Hi all, I'm sorry for the second ping, but if folks could take a quick look at this it'd be much appreciated. I've gone through each of the current links a few posts above and given a brief summary. Here's a proposal for what to put in the Drug links bar to start. We can always add more resources as we find them, but we've got to start somewhere. I'd feel better if we could get a couple more sets of eyes on this so that DePiep and I don't do anything idiotic while no one is watching. Thanks for your time! Ajpolino (talk) 16:28, 25 February 2021 (UTC) [reply]

Moving some to authority control

Hi DePiep and others. Having browsed through the above, could we consider moving these to the authority control template?

These seem to be official databases that could conceivably be moved. If we agree on that, then there are less things to put in your resource box.--Tom (LT) (talk) 22:42, 20 February 2021 (UTC)[reply]

Honestly, I'm still not sure I understand the purpose of authority control. Is the template just intended to hold widely used identifier codes for the page it's on? If so, you can see from these databases which identifiers they consider worthy of listing. DrugBank lists just the Unique Ingredient Identifier, CAS number, International Chemical Identifier (InChI), IUPAC name, and SMILES name. The first two are short(ish) alphanumeric codes. The latter three can be a bit long. Those other sites have their own internal IDs, but to my (limited) knowledge their internal IDs aren't widely used. Ajpolino (talk) 23:02, 20 February 2021 (UTC)[reply]
As an extra data nugget, I'll note that under the "Identifiers" section of its datapages, PubChem lists IUPAC name, InChI, SMILES, CAS, and "DSSTox Substance ID" which looks to be the same as the CompTox Dashboard link we currently have. Ajpolino (talk) 23:07, 20 February 2021 (UTC)[reply]
@Tom (LT):
Yes these should be removed from ((Drugbox)) tomorrowtoday. Per WP:INFOBOX.
No they should not go to AC. Per WP:Authority Control. AC is not to provide EL's to databases with new/extra info. Not. Mainly, AC is to to distinguish names, aka WP:DISAMBIGUATE. AC is not to serve info WP:External Links. (but elsewhere we can ;-) see below)
Let's do create section ~"==Data sheet==" that has this info, including the EL's.
-DePiep (talk) 23:59, 20 February 2021 (UTC)[reply]
I disagree with your interpretation of authority control (WP:VIAF). The first line says that it is important to help disambiguate but if you continue reading it clearly indicates that it can be used to link unique identifiers in other circumstances: The template links Wikipedia articles (and user pages) to the corresponding entries in library catalogs of national libraries and other authority files all over the world. The entries typically correspond to people, book titles, and similar well-defined entities and in "Purpose" Authority files, however, are not restricted to information about people. Some files contain data about organizations, geographic names, work titles, or general subject terms or keywords... By adding authority data to Wikipedia articles, software developers from both the Wikimedia and library communities will be able to create new tools to link and combine information from Wikipedia and databases and online catalogs that use these identifiers. Happy to wait for other editors to comment on this.
With respect to the data sheet, I'm not sure why this can't just be a little box like ((Medical resources)) at the end of the article, and I also think that the title is unclear (I wouldn't know what to expect if I was reading and saw a section titled "Data sheet" - perhaps "Additional resources" might be more readily understood). Overall I support the general idea to move things out of the infobox and to a place that's less prominent.--Tom (LT) (talk) 00:12, 21 February 2021 (UTC)[reply]
It's not just about WP wordings. AC, INFOBOX, EL, and yes DATASHEET too have their own information concept. For example, AC does not show in mobile phones, for a reason. -DePiep (talk) 00:24, 21 February 2021 (UTC)[reply]
AIUI the main reason that AC doesn't show on the mobile site (regardless of your device) is because it's built on navbox, which is a wide table, and wide tables display poorly. (Also, we have no good evidence that readers use navboxes anyway – nobody ever complains about their absence.) WhatamIdoing (talk) 01:21, 27 February 2021 (UTC)[reply]
IMO, first candidate for AC WP:VIAF is CAS number. Truly an identifier, assigned by an authority (CAS). -DePiep (talk) 18:01, 21 February 2021 (UTC)[reply]

In searching the Integrated Authority File, only the most common medications like aspirin are listed. The vast majority of medications are not. There does not seem to be an equivalent authority control system for chemicals or drugs. Strictly speaking, CAS numbers are proprietary to the Chemical Abstract Service and one needs a subscription to access their database to determine a CAS number. An authority control system by definition, must be completely open, and the Chemical Abstract Service which creates CAS numbers is not. Granted, CAS numbers have become the de facto standard for identification of chemicals by chemical vendors and CAS has loosened up access over time, but there are still restrictions on their use. A prerequisite for using CAS numbers as a Authority control is a working external link however the vast majority of CAS links from Wikipedia drug articles to www.commonchemistry.org return no hits.

I don't think it is a good idea to split the drug infobox into more pieces than is absolutely necessary. Better to place all the identifiers/external links in a single ((Drug links)) template and skip the authority control file which because of very limited coverage of drugs by established authority control systems is probably not appropriate for drugs to begin with. Boghog (talk) 16:15, 28 February 2021 (UTC)[reply]

One additional potential short coming of CAS number for authority control is that there is often more than one salt form of a drug, and hence more than one CAS number assigned to a drug. It seems to me that a one-to-one relationship is needed between an entity and its authority control identifier whereas there is often a one-to-several relationship between a drug and CAS numbers. Boghog (talk) 14:54, 1 March 2021 (UTC)[reply]

Some relevant statistics about Authority control in drug articles:

Boghog (talk) 16:49, 1 March 2021 (UTC) One additional[reply]

What is being proposed here?

@Ajpolino and DePiep: I had not been following this discussion very carefully, but I was recently pinged and now you have my full attention. My starting position is if it ain't broke, don't fix it. The current ((infobox drug)) is logically laid out into sections, and even if it is long, it is easy to find the information one is looking for. Furthermore, I do not see a coherent plan for replacing it. At various points of this discussion, I have seen proposals to split the infobox into at least four pieces, a slimmed down drug infobox (at the top), a chemistry box (in the chemistry section), a links box (I assume in the external links section), and authority control. This is crazy. As far as I can tell, there are no authority control links that would be appropriate for a drug, so this proposal is a non-starter. Creating a chemistry box where many drug articles do not contain chemistry sections also makes no sense. So essentially we are talking about moving some external links to the ((Drug links)) template and no other templates. Correct? If so, it is essential that you first create a fully populated mock-up for what the slimmed ((infobox drug)) and ((Drug links)) would look like in a draft article. But I am still not convinced that splitting up the drug infobox is a good idea. Seems like a lot of work for dubious benefit. Boghog (talk) 20:24, 27 February 2021 (UTC)[reply]

You are right in noting that current proposals are manyfold, and so not straightforward (now).
You are wrong in claiming "that is crazy" full stop.
Point is, that there is information in the infobox that does not belong there (see WP:INFOBOX design principles).
As for ((Chembox)): the same issue occurs there. Both since it has similar links, and since it also can contain drugbox data.
Whether these links should be in Authority Control or in regular article body text (as an overview list/see-also/extrenal links/info table ie not running text) depends on the data point (is one of my points).
So far, my first replies from top of my head. -DePiep (talk) 20:36, 27 February 2021 (UTC)[reply]
Moving information from one into four templates, particularly when one of the templates has no drug specific fields, is crazy. Full stop. Splitting one into two templates is less crazy, but still dubious. Boghog (talk) 20:43, 27 February 2021 (UTC)[reply]
My quick reply was, also, to note that "crazy" is not a good way to start a wiki discussion. Especially when the premisse is "I had not been following this discussion very carefully, but ..". Pls allow me this bumping. This said, the issue is complicated and can use good fleshouts & demo's sure. (My personal opinion is, in short & with broad brush: yes, some data points *must* be removed from the IB; yes, some info should/could be in the article, yes data can be present in IB, AC, body text, seealso, ELs AND repetition is possible). -DePiep (talk) 23:00, 27 February 2021 (UTC)[reply]
Boghog, I understand that you feel the current infobox is fine as is. We already discussed here whether the infobox should be trimmed, and you had your say. Your preferred option did not carry the day. Now I'd like to move on and implement the least bad solution we can come up with. I've proposed this new template ((Drug links)) to hold many of the external links that are current in ((Infobox drug)). We're currently discussing which links should be moved to this new template. I've given my thoughts above and proposed a set of links to put in the template. Your thoughts on that set of links would be helpful to the discussion. Repeatedly reminding us here that you really don't wish to split the infobox at all is less helpful. I already know that's your wish. I disagree that "it ain't broke". If you wish to object to the whole process, your objection is heard. Here, you may contribute to the new setup, if you wish. I understand the discussion above has been freewheeling, but that's ok. Now I'm trying to focus us on a discrete proposal at the subheading "Proposal" above. I'll annotate it to make extra clear what is being proposed. Your comments are welcome. Ajpolino (talk) 02:15, 28 February 2021 (UTC)[reply]
Repeating the question asked above: So essentially we are talking about moving some external links to the ((Drug links)) template and no other templates. Correct? Boghog (talk) 06:46, 28 February 2021 (UTC)[reply]
There are authority control standards for information such as books, locations, organizations, and people. To the best of my knowledge, a generally accepted authority control standard has not been established for drugs. Would you then agree then that it is not appropriate to move some of the links to an authority control template?
Consistent placement of templates is also important so that readers can easily find information that they are after. ((Infobox drug)) is almost always placed at the top of the article. The most logical place for the ((Drug links)) template is in the external links section. Hence for consistency, it should always be placed there. Would you agree? Boghog (talk) 07:30, 28 February 2021 (UTC)[reply]
It is broken. I think it is important that the Infobox in the lead directly contains information for readers, otherwise it isn't an infobox. Anything that is merely an external link (e.g., licence data links) or a database primary key code (most of the identifiers), is not in itself providing information, and is a candidate for moving, such as to external links, which we usually locate at the bottom. -- Colin°Talk 12:33, 28 February 2021 (UTC)[reply]
OK, if the purpose is to move most if not all of the external links from the infobox to external links section, and there would be no need for a seperate chembox in the chemistry section. Correct? Boghog (talk) 15:34, 28 February 2021 (UTC)[reply]
To your questions: Here we're discussing moving some (most?) external links to the ((Drug links)) template and no other templates. Folks at WT:MED (and above, myself included) had discussed moving some of the chemical data from ((Infobox drug)) to a new box that would live in the chemistry section. That is not currently being discussed, but I'm interested in following up on that part of the conversation some day. I'll ping the participants in the previous discussion (yourself included) when/if we have that discussion. I agree that ((Drug links)) should be consistently placed in the external links section, and should only contain external links. No opinion on whether some identifiers should be placed in ((Authority control)) in addition to - or instead of - ((Drug links)). I'll just note that I read your comments above, and I've struck mention of Authority control from the proposal so that we can focus on links here. Ajpolino (talk) 17:23, 28 February 2021 (UTC)[reply]

Thanks for your clarifications and I think we are making progress. As for the proposed ChemDrugBox, the following statistics are relevant:

Less than 10% of drug articles contain Chemistry sections and I assume that the ChemDrugBox would be added to this section. Are you proposing to add chemistry sections to the 90% of drug articles that do not already contain one? (I think that would be great, but I do not think it is practical.) I think a better solution would be to remove chemistry parameters that have little relevance to drugs (boiling point and density), Jmol and the 3D representation (which are arbitrary and for the most part do not correspond to the active or low energy conformation), and leave the rest of the chemistry section in place. I do get that Project Medicine is allergic to chemicals, but there is no getting around that drugs are chemicals and without chemistry, there would be no drug. Hence chemistry is an essential part of the article and belongs in the drug infobox. Boghog (talk) 17:37, 1 March 2021 (UTC)[reply]

Mock drug links bar[edit]

Hi all, per conversation above, here's an example of how the drug links bar would look. The links are for aspirin. Here's the full version containing all the links currently in the Identifiers section (and a few ELs in the Clinical section):

Clinical resources
Chemistry resources


And here's the shorter version removing the links that I think are redundant:

Clinical resources
Chemistry resources


This much could be done by just moving the links currently in the infobox into this new box. If we want the template to automagically grab links from Wikidata, I'm afraid that's above my abilities, so that will depend on how much time DePiep and others with technical know-how have to dedicate. Happy to hear anyone's thoughts. Ajpolino (talk) 16:41, 31 March 2021 (UTC)[reply]

Thanks for the mockup. This helps enormously. One could argue that the DrugBank link is the single most useful in the entire list. It has an incredible breadth and depth of information which provides an excellent starting point for expanding stubs. It also provides a reciprocal link back to Wikipedia which I think is admirable. Also I think we should limit the Balkanization of data to the drug links bar and skip the authority control which is a non-starter and chembox is impractical since a large majority of drug articles do not contain chemistry sections. Boghog (talk) 15:36, 3 April 2021 (UTC)[reply]
Poof, DrugBank re-added. DePiep, any chance you've still got the time and interest to codify this? I'd be perfectly happy with a version where the links are manually added at each page (as they are at ((Medical resources))). But if you've still got the bandwidth to make a version where links are auto-magically pulled from Wikidata, that would be amazing. But certainly no pressure. Ajpolino (talk) 05:16, 17 April 2021 (UTC)[reply]