From WikiProjectMed
Jump to navigation Jump to search


Templates & modules

I'm working through importing as many of the enwiki templates and modules as needed. Please make any requests for missing templates or modules below and I'll do my best to oblige. At present, I'm not looking at gadgets, and things like short descriptions are not really applicable. --Doug (talk) 17:22, 2 August 2020 (UTC)

Missing infrastructure

  1. Check that TemplateStyles is installed. See
  2. Install content handler for sanitized-css. See
  3. Check whether Scribunto has mw.wikibase library installed.


  •  Done Adding the histories. All the imported articles will need their histories added.
  •  Done(ticket) MDWiki servers too slow?

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
  •  Done [Low] (ticket) Install "Math" extension
  •  Done [Low] (ticket) Thank button
  •  Done [Med] (ticket) Add visual editor / parsoid
  •  Done [Mid] (ticket) Increase disk space
  •  Done [Mid] Build a bot to import redirects for all the pages currently imported
  •  Done [Low] Bot to fix double redirects
  •  Done [Low] (ticket) Improve mobile appearance
  •  Done [Low] (ticket) Get stl[2] and pdfs[3] to work
  •  Done [Low] (ticket) Allow and set default size of images of 220px
  •  Done [Low] (ticket) Improve citation tool within VE[4]
  •  Done [Low] Improve Youtube video formatting on mobile and desktop.[5][6] -> {{YoutubeWraper}} Format as seen at Gout
  •  Done [Low] (ticket) Add button to "Mark all changes as Seen" on watchlists
  •  Done [Mid] (ticket) Fix OAuth* Done [Low] (ticket) Change top tags from "Page" and "Discuss" to " Article" and "talk". Put video namespace between "article" and "talk" when that namespace is used.
  •  Done[Low] (Phab ticket) Get access to VideoWiki
  •  Done [Low] (ticket) Add graph extension as used here

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

 Done 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.

 Done 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. [7])
b) Opens CTX in the target language with that userspace content loaded
  •  Done [Mid] (ticket) Add replace text extension
  •  Done One Carotid artery stenosis, a mirrored page, the gallery should be horizontal not vertical and the refs should be two columns.
  •  Done Double width for video Template:Videowiki like at here.
  •  Done Fix "Unknown parameter |name-list-format= ignored" such as seen at Dengue_vaccine
  •  Done [Low] (ticket) Replace old with new MediaWiki logo in the bottom of the page
  •  Done Convert {{reflist|2}} to {{reflist}}
  •  Done Convert references over many lines to over one line
  •  Done[Mid] (ticket) Turn on OAuth for NCCommons
  •  Done[Mid] (ticket) Add syntax highlighting and edit of lead section
  •  Done[Mid] (ticket) Video from NC Commons not working
  •  Done [Low] Add desktop refresh (ie new Vector) -> Needs update maybe?


  •  Done Keep the language code in the box
  •  Done Add all languages of WP to the "target language" dropdown
  •  Done Instead of (ja) use the language name... Japanese.
  •  Done Make the tool faster
  •  Done For those not logged in, have the "Do it" button replaced by a "Login" button in red
  •  Done Once the translation is complete and live, connect it via Wikidata
  •  Done Fix the "sort" arrows. Should be right beside the item in question and do not need the sort arrows for the "translate" buttons
  •  DoneAdd the language links to MDWiki like THIS once the translation is complete
  •  Done Change spelling of "categories" to "category"
  •  Done For Japanese it says 1730 pages in the category, 1318 exists, and 411 missing in (ja). But the list only goes to 360, which means 51 are missing.
  •  Done The initial sort of "Top users" should be by the number. With highest first. Add "Top users by number of words"
  •  Done Develop a leaderboard that collect metrics including: date, translator, target language, progress (started versus completed), article translated, word count, also include the category involved
  •  Done Add a link to final translation to these screens[8]
  •  Done Separate the leaderboard numbers into articles in progress and articles completed. And do the same for each individuals translations.
  •  Done Change "For an explanation on how to use this tool click HERE" to "How to use."
  •  Done Add total pageviews to the leader-board under the "Numbers" heading
  •  Done Getting shortening of references working better.[9]
CTX workaround
  •  Done Expand all the citations like this[10]
  •  Done Than once the translation is complete shrink the citations again.[11]

ZIM work

  •  Done Use this as the main page
  •  Done(Kiwix ticket) Bring into the ZIM redirect pages such as this


  •  Done[Mid] (ticket) Allow 2010 WikiEditor so syntax highlighting can be adjusted
  • [Mid] (ticket) Iframe improvements
  •  Done [Mid] (ticket) Allow iframe from OurWorldinData for example[12] -> would this work.[13]
  •  Done [Mid] (ticket) Add "search in wikitext source"
  •  Done[Mid] (ticket)Add crop tool to gadgets on NC Commons
  • [Not needed] (ticket) Allow downloading of pages as PDFs[14]
  • [Mid] (ticket) Fix NC Commons.[15]
  • [Mid] (ticket) Thumb nail generation issues
  • Restrict the "find and replace" tool to main space
  • [Low] Build a lock for certain pages to prevent the import tool "updating" them
  • [Low] Adjust mwoffliner to retry if first try fails.[16]
  • [Mid] Links to redirects do not work within ZIM. Thus change all links to redirects to links to the actual page.
  • Declined [Mid] Request ContentTranslation to work. Add request here
  •  Done Collapsing infobox issue.(ticket)

[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 [17]

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.[18]
  • (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

User script

Medication update script

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