WikiProjectMed:Tech

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.

[High] Adding the histories

All the imported articles will need their histories added.

Other work

  •  Done [Mid] Fix ref toolbar 2.0[1]. It is visible under preferences -> gadgets but despite being turned on does not work.(ticket)
  •  Done [Mid] "Reference Tooltips: hover over inline citations to see reference information without moving away from the article text (does not work if "Navigation popups" is enabled above)"(ticket)
  •  Done Add "Video" namespace (ticket)
  •  Done [Mid] (ticket) Have the abbreviation "WPM:" automatically redirect to "WikiProjectMed:"
  •  Done [Mid] (ticket) Add gadget "CharInsert: add a toolbar under the edit window for quickly inserting wiki markup and special characters (troubles?)"
  •  Done [Low] (ticket) Add sandbox tag
  •  Done [Low] (ticket) Add extension https://www.mediawiki.org/wiki/Extension:ImageMap
  •  Done [Low] (ticket) Install "Math" extension
  • [Mid] (ticket) Import function re imports templates despite them already being here as at Oct 16 08:00[2]
  • [Mid] Allow iframe from OurWorldinData for example <iframe src="https://ourworldindata.org/grapher/obesity-in-men-vs-obesity-in-women" loading="lazy" style="width: 100%; height: 600px; border: 0px none;"></iframe>[3]
  • [Mid] Build a bot to import redirects for all the pages currently imported
  • [Mid] (ticket) Add language links in the sidebar
  • [Low] Change top tags from "Page" and "Discuss" to " Article" and "talk". Put video namespace between "article" and "talk".
  • [Low] Allow MP4s
  • [Low] Thank button
  • [Low] Add WikiData functionality
  • [Low] Add visual editor functionality
  • [Low] image crop tool
  • [Low] Video crop tool

User script

Medication update script

  • Move identifiers to the bottom of the page such as this[4]
  • Add the heading <!--Names--> and add "pronounce", "tradename", and "synonyms" and "IUPAC_name" under it[5]
  • Create the heading <!--External links--> and add "Drugs.com" and "MedlinePlus" under it[6]
  • 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[7]
  • Removed {{portal bar|Medicine}} if present
  • Create the heading <!-- Legal data --> if not present and add "legal_UK", "legal_US", "legal _status" under it[8]
  • Move / add "onset" and "duration_of action" after "routes_of administration" and before "defined_daily_dose"[9]
  • Add <!--External links--> and "NLM" at the top of the drug resources template[10]
  • If {{cite web | url = https://druginfo.nlm.nih.gov/drugportal/name/lactulose | 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"[11]

Potential collaborators

Finished work