Convert MEDIAWIKI to IPYNB

Turn MEDIAWIKI files into IPYNB. A Jupyter notebook with the text in Markdown cells; only code blocks with the class code become code cells, and outputs are empty.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MEDIAWIKI files on the dialor turn it to pick what to do

Wiki text in a notebook.Your article becomes Markdown cells in one Jupyter notebook file.

  1. What you get

    A Jupyter notebook with the article text in Markdown cells. Only code blocks with the class code become code cells, and their outputs are empty.

    References become footnotes. A reference reused by name becomes an empty note.

  2. What it leaves behind

    Templates such as infoboxes are left out, because they live on the wiki and not in the page you convert.

    Images become their caption. The picture itself is not carried over.

  3. Going the other way

    To turn a notebook back into wiki markup, use IPYNB to MEDIAWIKI.

MEDIAWIKI and IPYNB.What each format is.

The formats

From · MEDIAWIKI

MediaWiki

MediaWiki markup, the syntax of Wikipedia articles.

Extensions
.wiki .mediawiki
MIME type
text/x-wiki
Kind
Text and data
To · IPYNB

Jupyter Notebook

Jupyter notebooks. Code cells, their outputs and Markdown notes in one JSON file.

Extensions
.ipynb
MIME type
application/x-ipynb+json
Kind
Text and data

In your code.The same MEDIAWIKI to IPYNB conversion through the API, for your app or your agent.

terminal
$ cv convert report.wiki report.ipynb
$ cv convert report.wiki report.ipynb

Questions.What people ask about MEDIAWIKI to IPYNB.

01OF 04

Only code blocks with the class code. Everything else becomes text in Markdown cells.

No. Code cells come out with empty outputs.

They are left out. Templates such as infoboxes live on the wiki, so their content is not in the converted file.

Each image becomes its caption. The image file itself is not included.

More conversions.Other ways in and out of MEDIAWIKI and IPYNB.