Skip to content

mediawiki_ui is a Pythonista module for a nicer iOS user interface for MediaWiki wikis.

License

Notifications You must be signed in to change notification settings

allanburleson/mediawiki_ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mediawiki_ui

mediawiki_ui is a Pythonista module for a nicer iOS user interface for MediaWiki wikis. You can use it with Wikipedia, Gamepedia, Wikia, and any other wikis using MediaWiki.

Put the mediwiki_ui folder in site-packages and mwapp.py wherever you want.

Use

The easiest way to use this is to run mwapp.py.

If you want to make your own app with the classes then continue reading.
Creating an instance of the wiki.Wiki class will open the main interface.
You must have arguments for the title, wiki URL, and extension where the wiki is located.
Example: w = wiki.Wiki('Wikipedia', 'https://en.wikipedia.org/', '/wiki')
The "extension" is needed because it can very between wikis. It is normally /wiki, but not always. It might be index.php or /w.

Acknowlegements

Many thanks go to members Pythonista community for their assistance.

TODO

  • Make the loading of articles look nicer
    • Make custom CSS styles
    • Make urls work with reader thing
  • Add open in Safari button
  • Add font changer
  • Implement history
  • Make external URLs work
  • Improve PEP-8 compliance
  • Add Wikia support
  • Document with comments
  • Create an interface for switching between wikis

About

mediawiki_ui is a Pythonista module for a nicer iOS user interface for MediaWiki wikis.

Resources

License

Stars

Watchers

Forks

Packages

No packages published