mathfixer, a tool for fixing math in MediaWiki-based wikis
Project description
mathfixer, a tool for fixing math in MediaWiki-based wikis
MediaWiki-based wikis usually use Wikipedia to show math. However, Wikipedia is blocked in some places.
This tool replaces math tags with MathJax to let the math be displayed correctly, using a local proxy at 127.0.0.1 (i.e.: this is not a VPN-like tool).
Installation
mathfixer requires mitmproxy and bs4. You should set the system proxy IP to be 127.0.0.1 and port to be the port configured for mathfixer for it to work. Also, it requires the command line mitmdump (part of mitmproxy) to be in PATH.
Usage
mathfixer
The port 8080 is used for the proxy and the wiki esolangs.org is fixed.
mathfixer -p 1234 -d somewiki.org
The port 1234 is used for the proxy and the wiki somewiki.org is fixed.
You should bypass the browser cache if you accessed the wiki before.
Effect
Note: Both images are screenshots of https://esolangs.org/wiki/Factorial which means they are both public domain.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mathfixer-1.0.1.tar.gz.
File metadata
- Download URL: mathfixer-1.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e97ca2a3e062360d36875fe8a843ca33e8a6f6b4cb6e67da1b5dd9d9072cbec
|
|
| MD5 |
f8cfce73618d61fc6657f97c3828b1be
|
|
| BLAKE2b-256 |
c16ac6dbc96b9e953088b9856b4926055625cf72946341f1f75316e0b7607007
|
File details
Details for the file mathfixer-1.0.1-py3-none-any.whl.
File metadata
- Download URL: mathfixer-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31ad28782fd5c904f36cdc7b4a24d6f58115284db8641072710f7ec71f1be707
|
|
| MD5 |
9e990fabdb0e6c8e5dcf7d32b69ab3f0
|
|
| BLAKE2b-256 |
d60661d5e734ced7640ffba3e89216887620371951c7551696a71ab7ebd0d6e3
|