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]
  • (ticket) Move the fork button to were the edit button usually is.


Mirrored redirects are not working. For example ATC code P01AC02

Multiple things broken

ZIM creation (Jun 2021 Download / Tims collection)

Testing list

Large articles

Redirects or mirrored articles

Fix Bring over redirects for all 50K articles in the set

Translation project

Translation dashboard

  • Redirect the EN name to the name of the article in the target language for Or.
  • Change the "target language" entry so that ONLY one of the language of Wikipedia can be choosen. Have it sort based on the language code so that when you entry "ja" Japanese is first
  • A number of the articles listed under "in process" are completed such as "Squamous cell skin cancer"[3]
  • If one puts in "or" and than hits "sign in" the tool should remember the "or" you entered
  • If someone puts in "Or" it should automatically convert it to lower case "or" so that an error is not given
Prior data
  • Collect prior data for translation efforts: take all the EN leads that have been developed and determine how many of the leads in other languages are translations of it. This can be determined by finding that the same references are used.


  • Request for CTX improvements (stream lining the process) [4]
  • Fix the issue around missing references. CTX produces[5] and than user needs to add the missing reference tags and re expand the infobox.[6]. Prior ticket from 2018[7]. (ticket 2021)
  •  Done Collapsing infobox issue.(ticket)

Other work

  • [Mid] (ticket) Fix NC Commons.[8]
  • [Mid] (ticket) Allow iframe from OurWorldinData for example <iframe src="" loading="lazy" style="width: 100%; height: 600px; border: 0px none;"></iframe>[9] -> would this work.[10]
  • [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.[11]
  • [Low] Adjust mwoffliner to retry if first try fails.[12]
  • [Low] Add "Preview page with this template" [13]
  • [Low] Will need to add "language settings" to the sidebar when languages are enabled
  • [Low] Allow embedding a calculator widget like [14]
  • [Low] (ticket) Add JsonConfig extension needed here
  • [Low] Build a lock for certain pages to prevent the import tool "updating" them
  • [Low] Import the histories for the video script pages from EN WP. Ie the history of this page[15] should import to this page Video:Malaria
  • [Mid] (ticket) have MDWiki recognized as a "language" of WP
  • Improve "history import tool". For a given page on MDWiki would be nice to be able to state what page from EN Wikipedia it should import from.
  • Restrict the "find and replace" tool to main space
  • Fix redirect creation tool as it is unable to import redirects due to them all being mirrored now. Need to build an API fork function.
  • [Mid] (ticket)Add crop tool to gadgets on NC Commons
  • [Mid] (ticket) Thumb nail generation issues
  • [Mid] (ticket) Install CentralNotice extension [16]
  • [Mid] (ticket) Allow downloading of pages as PDFs[17]

CT viewer

Next steps

  • Make scrolling slower.
  • Add a narrow slider to the left of the scan
  • Improve loading (or show a loading icon)

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[18]
  • Add the heading <!--Names--> and add "pronounce", "tradename", and "synonyms" and "IUPAC_name" under it[19]
  • Create the heading <!--External links--> and add "" and "MedlinePlus" under it[20]
  • 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[21]
  • Removed {{portal bar|Medicine}} if present
  • Create the heading <!-- Legal data --> if not present and add "legal_UK", "legal_US", "legal _status" under it[22]
  • Move / add "onset" and "duration_of action" after "routes_of administration" and before "defined_daily_dose"[23]
  • Add <!--External links--> and "NLM" at the top of the drug resources template[24]
  • 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"[25]

Potential collaborators

Finished work