From WikiProjectMed
Jump to navigation Jump to search

Add suggestions to the talk page WikiProjectMed talk:Tech

Tracking requests

We will also track pending work here

Prior tech suggestions WikiProjectMed:Tech/Meta

[Top] Mirroring of Wikipedia


1) All pages will mirror Wikipedia until edited. When one clicks the view history button it will be possible to see the history of the page in question from WP. And when one hits talk one will also see the talk page as mirrored.

2) Once a page is edited it will bring over the history of the page with a line like

MDwiki _______________________________________________________________________ Wikipedia

That separates the edits that occured in the two different places

3) In certain cases one may want to turn back on mirroring for a page. This may work by deleting the page and then having a button under "more" that says "restore page mirroring". This will leave the ability to delete a page and have it remain deleted in the fork.

4) When a page is edited locally the talk page will also be brought into the fork. But if the talk page is edited locally the article will not be brought into the fork.

5) When a page is edited and thus brought into the fork, all the templates used for that page will also be automatically brought over. For example all the reference templates and infoboxes etc. As should the categories.

6) Might be useful to have the ability to switch between the fork version of any article and the current Wikipedia version of the article. Would make it easy to check functionaility / do updates.

Test site here / Code [1]

Further efforts

  • As associated templates are imported, will need the ability to block the over writing of certain pages.
  • Color links to mirrored pages "green" instead of the usual "blue" such as done here for redirects.[2]

ZIM creation (April 2021 / Tims collection)

  • [High] (Kiwix ticket) Build a ZIM of the content here
  •  Done Use this as the main page
  • (Kiwix ticket) Bring into the ZIM redirect pages such as this
  • Get videos to work such as seen on Gout
    • HIV/AIDS video not working.
    • Improve resolution of videos a bit

Translation project

Translation dashboard


1) Create a copy of this tool that can use a category from MDWiki

2) We use the corresponding Wikidata link on ENWP to find the corresponding articles in other languages. This will allow us to move forwards before we have Wikidata working on MDWiki.

3) Add a button beside each missing article such that when clicked on it

a) Loads the lead and infobox of the article into a person's userspace on Simple WP (eg. [3])
b) Opens CTX in the target language with that userspace content loaded
c) Once the translation is complete and live, connect it via Wikidata
  • Request for CTX improvements.[4]

Other work

  •  Done[Low] (Phab ticket) Get access to VideoWiki
  •  Done [Low] (ticket) Add graph extension as used here
  • [Mid] (ticket) Allow iframe from OurWorldinData for example <iframe src="" loading="lazy" style="width: 100%; height: 600px; border: 0px none;"></iframe>[5] -> would this work.[6]
  • [Mid] (ticket) Add language links in the sidebar -> will need Wikidata functionality (ticket)
  • [Mid] Links to redirects do not work within ZIM. Thus change all links to redirects to links to the actual page.
  • [Mid] Allow history import for articles with larger histories. A bunch of these failed import with Ibrahem's tool.[7]
  • [Low] Adjust mwoffliner to retry if first try fails.[8]
  • [Low] Add "Preview page with this template" [9]
  • [Low] Add desktop refresh (ie new Vector) -> Needs update maybe?
  • [Low] Will need to add "language settings" to the sidebar when languages are enabled
  • [Low] Allow embedding a calculator widget like [10]
  • [Low] (ticket) Add JsonConfig extension needed here
  • [Low] Build a lock for certain pages to prevent the import tool "updating" them


  • One Carotid artery stenosis, a mirrored page, the gallery should be horizontal not vertical and the refs should be two columns.
  • Fix "Unknown parameter |name-list-format= ignored" such as seen at Dengue_vaccine

On hold

Work here is pending on other stuff

  • [Low] (ticket) Add "advanced search options

User script

Medication update script

  • Move identifiers to the bottom of the page such as this[11]
  • Add the heading <!--Names--> and add "pronounce", "tradename", and "synonyms" and "IUPAC_name" under it[12]
  • Create the heading <!--External links--> and add "" and "MedlinePlus" under it[13]
  • Add "class", "uses", and "side effects" under <!--Clinical data--> in that order. Add "defined_daily_dose" at the end of that section if not present[14]
  • Removed {{portal bar|Medicine}} if present
  • Create the heading <!-- Legal data --> if not present and add "legal_UK", "legal_US", "legal _status" under it[15]
  • Move / add "onset" and "duration_of action" after "routes_of administration" and before "defined_daily_dose"[16]
  • Add <!--External links--> and "NLM" at the top of the drug resources template[17]
  • If {{cite web | url = | publisher = U.S. National Library of Medicine | work = Drug Information Portal | title = XX }} is present remove it and add the value present in "title =" to the NLM value in the "drug resources" template. If the value is the same as the pagename add "PAGENAME"[18]

Potential collaborators

Finished work