WikiProject Med/Tech

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

A number of technical efforts could improve the editing of Wikipedia's medical content. This page is a place to propose and discuss these issues. Prizes may be offered for some of the fixes. Another possibility is once they have been developed assitance can be appied for here.

Volunteer programs
Amir, Andrew, Fred, Ivo, User:Level C
Git hub repository for WPMED
Reward board on EN WP


What are the top articles by WikiProject in languages other than English?[edit]

Currently in English we have a great to tool that automatically lists the top 1,500 articles by page views for each WikiProject. Wikipedia:WikiProject_Medicine/Popular_pages The problem is that this does not exist in other languages.

This should be fairly easy to change. One can use the interlanguage links on Wikidata to tag articles that correspond to the English Wikiproject in other languages (after getting agreement). Once we have these tagged than this tool can be run on them

This tool requires being moved from toolserver to Tool Labs. Supposedly this is now possible. Doc James (talk ·contribs · email) (if I write on your page reply on mine) 13:22, 22 August 2013 (UTC)

New tool made by the community tech team up and running as of Mar 2017. Doc James (talk · contribs · email) 16:27, 1 September 2017 (UTC)

General traffic data[edit]

I made a blog post about this some time ago - see my personal blog. I want a way to easily tag any subset of articles, for example only certain health articles, and then to be able to get the total traffic to all of those articles for any range of dates.

This has utility beyond just health. I think that any external organization which considers contributing its resources to developing Wikipedia would want some supporting evidence that what it does matters, and so for example, if a cardiology organization were to develop 30 articles on cardiology, then I think they are justified in wanting to know for any given month just how much traffic only those 30 articles are getting.

I see the inability to quickly share traffic data as a major barrier to engaging external partners. Wikipedians take it for granted that readers come to Wikipedia; non-Wikipedians need to see supporting evidence. I think in many cases, people would be surprised to find that the entirety of their outreach strategy reaches far few people than a less ambitious and much less expensive Wikipedia partnership would. In health this really would have a major impact on public health education to connect existing public health education work hours to Wikipedia development. Blue Rasberry (talk) 14:42, 22 August 2013 (UTC)

Is this what you are looking for [4]? Doc James (talk · contribs · email) 21:36, 9 September 2013 (UTC)

Number of refs supporting med content[edit]

Was generated by Andrew West in the past. Data here

Number of Cochrane reviews used[edit]

Generated by Andrew West in the past here

Top editors[edit]

Generating list[edit]

Description in more or less human-readable language (will try to improve it later). How I did it.

  1. Run a SQL query to get all enwiki articles (and their Wikidata item), that are part of Wikiproject Medicine (gladfully we have a category, so no "overload" with querying with template)
  2. From the results, grab all WD items and do API query (I do them in batches of 500 items) to get all sitelinks
  3. Make a dictionary/array/list/JSON or whatever it's called in your preferred language in such form:
    {'enwiki':['enwiki article 1','enwiki article 2',...],'frwiki':['frwiki article 1',...],...}
  4. Wiki by wiki do a SQL for articles (I made it by batches of 100 articles), first selecting page ids from page titles (don't forget about underscores :) ), and then get user edit history of 2017. And then simply group by the results in form that you prefer.

Other proposals[edit]

  • A way to search Wikidata for duplicate entries that match on two criteria (eg ICD-9 AND ICD-10 matches), as the current method of searching allows just one metric and results are not very specific (ie. there are many false positives).LT90001 (talk) 10:23, 22 August 2013 (UTC)

Development of Wikisource as a translation hub.[edit]

In medicine there are many translation efforts, most notably the Translation Task Force. However, the infrastructure there is ad hoc and not really designed to support a major translation effort.

I think there should be a unified place to support and direct translation efforts of all kind. Medicine should be the flagship project, but some other people may want to translate other things. If I were to propose the central forum for translation, probably I would propose Wikisource.

At Grants:IEG/Elaborate Wikisource strategic vision/Profile some people are currently working on planning for the future and development of Wikisource. I think that Wikisource will naturally want to set translation policies for who can translate historical documents, which versions are shared if the community does original translations, and how version control and annotation is managed. If this community were to make a proposal there to connect to a Wikisource translation infrastructure, then that could greatly expand the base of people who do translation and also increase the amount of support in translation that all people get.

I would like to see a lot more support for translators, and I think that to do this some people who are familiar with the Mediawiki backend should have some input into how the future of translation across all Wikimedia projects will appear. Blue Rasberry (talk) 14:50, 22 August 2013 (UTC)

Do you want exact translations? Mediawiki has translation software that's used for the software's help pages and such. I believe that Meta has it for the CentralNotice announcements.
If you don't necessarily want exact translations, then you might prefer an easier way to have cross-wiki discussions. WhatamIdoing (talk) 15:33, 22 August 2013 (UTC)
Translators Without Borders gives free translation tools from what I understand to their volunteers. Doc James (talk · contribs ·email) (if I write on your page reply on mine) 01:02, 23 August 2013 (UTC)


  • Consistently formats the infoboxes (have a tool)
  • Yes check.svg Done Improves formating of the references (over one line rather than many lines, replaces cite PMID and cite DOI with cite journal)
  • Yes check.svg Done Move medical specialties form the infobox to wikidata. The property is here [5]

Doc James (talk · contribs · email) 03:56, 14 July 2015 (UTC)

  • Isn't there some category for medical specialties? That (not some parameter in infobox) would be easier to move to WD. --Edgars2007 (talk) 14:43, 1 November 2015 (UTC)
  •  :) And what about the first one? Some example edit(-s) would be nice. Probably I won't be able to do that, but in this way you could save time for real bot writers. --Edgars2007 (talk) 12:04, 2 November 2015 (UTC)


  • A bot to enforce MEDMOS on C-class or below articles, using their categorisation (Disease, Symptom, etc). to determine correct style. Examples of use:
    • rename sections (symptoms -> Signs and symptoms), enforce capitalisation
    • reorder sections (eg. epidemiology, history last)
    •  ? add titles + {{expand section}} if sections not present.
    • anything else which requires a lot of correcting

I think this would save a lot of time, maybe disrupt a few articles, but in the main significantly help standardise medical articles without editor input. LT90001 (talk) 13:46, 22 August 2013 (UTC)

I don't think this will work. Some diseases have no independently observable signs (only symptoms), and so should have the shorter heading. Some sections need to be merged, and MEDMOS says that the order varies significantly. However, a bot could leave a note about seemingly missing sections, and that might be useful for relatively active pages. WhatamIdoing (talk) 15:28, 22 August 2013 (UTC)
I have spent a fair bit of time getting disease and medication related article sections to follow MEDMOS. Still a fair bit of work to day. Might be a little complicated for a bot to do. Doc James (talk · contribs ·email) (if I write on your page reply on mine) 01:00, 23 August 2013 (UTC)

Brand name redirect/wikidata bot[edit]

Takes lists of brandnames and creates redirects to the generic. Doc James (talk · contribs · email) 12:48, 12 August 2015 (UTC)

If you have a list of them, then you probably can use w:en:Wikipedia:CSVLoader. Could help with the technical part. --Edgars2007 (talk) 14:43, 1 November 2015 (UTC)
Thanks User:Edgars2007 will look at this as a possible solution. Doc James (talk · contribs · email) 19:03, 1 November 2015 (UTC)
  • Wikidata [6]
  • List of brands [7]

Commons deletion notification bot[edit]

Phabricator ticket here Doc James (talk · contribs · email) 02:37, 29 July 2017 (UTC)

Asked here as one exists on Fr WP. Doc James (talk · contribs · email) 15:35, 1 September 2017 (UTC)

Wikidata additions[edit]

Med doses[edit]

Add doses

  • Defined daily dose based on ATC[11]/Wikidata[12]
  • nfobox discussion[13]
    • Adding new property to WD[14]

Method to watch for changes

Moving buttons[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
Issue Fixed Doc James (talk · contribs · email) 16:14, 12 September 2017 (UTC)

The gadgets push around the standard buttons when they load. Would be nice for the new buttons to load to the left of the standard buttons instead of the right and this would solve the issue.

Half Yes check.svg Done. Doc James (talk · contribs · email) 15:21, 1 September 2017 (UTC)

Other half[15]. Request here

The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.

Fixing moving buttons 2[edit]

Moving problem issue

Improving "clean references" tool[edit]

  • Yes check.svg Done Add removal of <!-- --> from refs
  • Yes check.svg Done Add "pronounce =", "synonyms =", "field ="
  • Yes check.svg Done Add "external links" section if missing
  • Yes check.svg Done Move "| meshNumber" "| meshName ="
  • Yes check.svg Done Convert "{{reflist|2}}" to "{{reflist}}"
  • Yes check.svg Done Move "diseasesDB_mult ="
  • Yes check.svg Done "eMedicine1 ="
  • Yes check.svg Done "meSH1 ="
  • Yes check.svg Done Extra spaces for "field", "synonyms", "pronounce"[16]
  • Add "capital" to details coming from Wikidata -> ask User:aude[17]

Text highlighting issue[edit]

Undisclosed paid editing[edit]

AI detection[edit]

Detect all articles / accounts like this:

Improving ability to request changes[edit]

Pending changes[edit]

Remove need to confirm with en:Pending changes (example of the problem [19])

Diff viewer not working well[edit]

Hard spaces[edit]

Interactive heatmaps[edit]

CC 0 license for data[edit]

Improve enhanced whatlists[edit]

User script to help with education efforts[edit]

On EN WP we have a template to help guide students

The idea is to automate some of this feedback within a userscript phab ticket

Requested here and as part of the 2019 Wishlist

Initial draft here by User:TheSandDoctor
  • Request to block "ezprozy" links.[22]


  • Category issues need to be fixed per here


Add hidden and then unhide.

Edit here?

Template added here to Carcinoid



Requested changes here[23]

Fix for mwoffliner


Not in language tool[edit]

This tool by Magnus [24]

It would be even more useful if beside each of the items listed there was a link to "Content Translation" that when clicked on would open "Content Translation" on the "not in language" Wikipedia with that item loaded into "Content Translation" from the "in language".

Phab ticket[25]

Content translation missing refs[edit]

Yes check.svg Done

  • En:User:Fz29bot is working on a work around. (code for bot)
    • Note: Does not handle the case were two refs occur together within the infobox and BOTH need to be potentially moved


Cutting video[edit]

  • Community request for video cutter for commons[28]
  • Phab tickets[30]
    • Cutting tool Phab ticket[31]

WP App[edit]

Does not appropriately handle video.[32]

Video converter from MP4[edit]

For commons.

Improve watchlists[edit]


  • So that it only shows the element actually used within the article in question.[33][34]
  • Improve usage tracking granularity to avoid irrelevant changes showing in the watchlist.[35]


  • Move the "(X changes | history)" to just after the time stamp: will make opening large numbers easier
  • If to edits 100% cancel each other out, provide the option to not see these as changes in ones watchlist.
    • Currently lines like this appear "22:14 HPV vaccine‎‎ (2 changes | history) . . (0)‎ . . [Bruce1ee‎;‎]"
    • When you click on "2 changes" you get this.
    • Phab ticket
  • Edits to a specific article group themselves together by day. Allow grouping since one last looked at the article in question (thus potentially multiday)

Add PMID/DOI to "cite journal" when missing[edit]

Visual editor[edit]

Breaks spacing within infoboxes.

Copyright for images[edit]


Add redirects from brands to generics. (list of 40,000 brands) Get list of INNs[40]


  1. To User:Doc James/punctuation.js Test page
    Fix punctuation
    Condense refs over one line
    Convert to {{reflist}}
  2. Fixing moving wiked icon
  3. Adding CTX links to the Petscan[41]
  4. Add medical images up for deletion to Wikipedia:WikiProject Medicine/Article alerts (phab ticket)