{"id":13512253,"url":"https://github.com/tosher/Mediawiker","last_synced_at":"2025-03-30T22:32:22.126Z","repository":{"id":5393252,"uuid":"6582157","full_name":"tosher/Mediawiker","owner":"tosher","description":"A plugin for Sublime Text editor that adds possibility to use it as Wiki Editor on MediaWiki-based sites like Wikipedia and many other.","archived":false,"fork":false,"pushed_at":"2024-08-07T20:23:24.000Z","size":9330,"stargazers_count":137,"open_issues_count":22,"forks_count":27,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-27T02:12:54.106Z","etag":null,"topics":["mediawiki","sublime-text-wiki-editor","wiki-editor","wikipedia"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tosher.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.mediawiki","contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-11-07T16:18:25.000Z","updated_at":"2024-10-29T00:06:01.000Z","dependencies_parsed_at":"2024-09-21T09:00:54.511Z","dependency_job_id":"847c09c0-f6a4-4c74-9d25-fa99386b1eaf","html_url":"https://github.com/tosher/Mediawiker","commit_stats":{"total_commits":293,"total_committers":12,"mean_commits":"24.416666666666668","dds":"0.10580204778156999","last_synced_commit":"5dceaa9dd9af0d2266f1c9e45966d8a610226213"},"previous_names":[],"tags_count":88,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tosher%2FMediawiker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tosher%2FMediawiker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tosher%2FMediawiker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tosher%2FMediawiker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tosher","download_url":"https://codeload.github.com/tosher/Mediawiker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390886,"owners_count":20769475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mediawiki","sublime-text-wiki-editor","wiki-editor","wikipedia"],"created_at":"2024-08-01T03:01:38.725Z","updated_at":"2025-03-30T22:32:17.117Z","avatar_url":"https://github.com/tosher.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Sublime Text plugin: Mediawiker\n\n[Mediawiker](https://github.com/tosher/Mediawiker) is a plugin for Sublime Text editor that adds possibility to use it as Wiki Editor on [Mediawiki](http://mediawiki.org) based sites like [Wikipedia](http://en.wikipedia.org) and [many other](http://www.mediawiki.org/wiki/Sites_using_MediaWiki/en).\n\n## Main features\n* [MWClient](https://github.com/mwclient/mwclient) library based.\n* Syntax highlighting - improved version of the [Textmate Mediawiki bundle](https://github.com/textmate/mediawiki.tmbundle).\n* Editor - create new pages, edit existing and post it to wiki.\n* Completions - auto completions for internal wiki links\n* History - list of edited pages\n* Bookmarks - bookmark your favorite pages\n* TOC - table of contents for opened page - available through command **Show TOC** or **Symbol list** (\u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eR\u003c/kbd\u003e)\n* Insert templates, images into pages\n* Upload files to wiki\n* Search - search by wiki\n* Table editor - edit simple wiki-tables with plugin [TableEdit](https://github.com/vkocubinsky/SublimeTableEditor), convert csv-format tables to wiki-tables.\n* Snippets - basic wiki marking tags - bold, italic, headings, etc.\n* Edit panel - all commands and snippets available through one panel. \n* Shortcuts - possibility to create plugin specific shortcuts to all commands and snippets to create word-like editor.\n* Connectivity - http/https, direct/proxy connection with basic/digest web-server authorization. Types of authorization: \n    - Login/Password;\n    - OAuth;\n    - Browser's cookie based - Firefox or Chrome.\n* Connection manager - add new wiki sites, and switch between them.\n* Page preview - possibility to preview page before posting with some preview customization options.\n* Text folding - folding/unfolding page blocks by headers, tags, templates, html comments.\n* Notifications - show [notifications](https://www.mediawiki.org/wiki/Notifications) as menu.\n* Context opening - possibility to open included page, template, function by inline context.\n* Configurator - visual configuration of important settings.\n\n![Subime Text Wiki editor plugin - Mediawiker](https://raw.githubusercontent.com/wiki/tosher/Mediawiker/Mediawiker_Dark.png)\n*Screenshot using the Mediawiker_Dark color scheme*\n\n## External dependencies (with modifications or not)\n* [Mwclient](https://github.com/mwclient/mwclient) - the core!\n* [Browsercookie](https://bitbucket.org/richardpenman/browsercookie), [Browser_cookie3](https://github.com/borisbabic/browser_cookie3)\n    - [Keyring](https://pypi.python.org/pypi/keyring)\n    - [Pbkdf2](https://pypi.python.org/pypi/pbkdf2)\n    - [Pyaes](https://pypi.python.org/pypi/pyaes)\n\n### Dependencies, supported by Package control\n* [Requests](https://github.com/packagecontrol/requests)\n* [Requests-oauthlib](https://github.com/packagecontrol/requests-oauthlib)\n* [OAuthlib](https://github.com/packagecontrol/oauthlib)\n* [python-jinja2](https://bitbucket.org/teddy_beer_maniac/sublime-text-dependency-jinja2)\n* [markupsafe](https://bitbucket.org/teddy_beer_maniac/sublime-text-dependency-markupsafe)\n* [python-pywin32](https://github.com/randy3k/sublime-pywin32)\n\n## Installation\nThe easiest way to install this is with [Package Control](https://packagecontrol.io/packages/Mediawiker).\n\n* If you just went and installed [Package Control](https://packagecontrol.io/installation), you probably need to restart Sublime Text before doing this next bit.\n* Bring up the Command Palette (\u003ckbd\u003eCommand\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003ep\u003c/kbd\u003e on OS X, \u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003ep\u003c/kbd\u003e on Linux/Windows).\n* Select **Package Control: Install Package** (it'll take a few seconds)\n* Select `Mediawiker` when the list appears.\n\nPackage Control will automatically keep `Mediawiker` up to date with the latest version.\n\n## Documentation\n* **Note**: Not all color schemes fully supports syntax highlighting scopes required by markup languages like Mediawiki or Markdown. On this moment, color schemes with better support are: **Twilight**, **Sunburst**, **Eiffel**. Also, Mediawiker package includes **Twilight (Mediawiki)**, **Eiffel (Mediawiki)** and **Mediawiker_Dark**/**Mediawiker_Light** schemes with improved highlighting for mediawiki syntax. \n* Check [plugin wiki](https://github.com/tosher/Mediawiker/wiki) for setup instructions.\n* Use `Preferences / Package settings / Mediawiker / Settings` for setup wiki connection and plugin options.\n\n### Configurator\nGUI configurator for important settings.\n\n![Mediawiker configurator](https://raw.githubusercontent.com/wiki/tosher/Mediawiker/Mediawiker_Configurator.png)\n\n### Commands\n* **Edit panel** with all commands and snippets in ordered list (can be customized in the settings).\n * *Main menu / Tools / Mediawiker / Edit panel* (windows, osx: \u003ckbd\u003eAlt\u003c/kbd\u003e+\u003ckbd\u003eF1\u003c/kbd\u003e, linux: \u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eF1\u003c/kbd\u003e)\n* **Open page** command for retrieving existing wiki-page. If the page does not exists, you can create the new one.\n * *Main menu / Tools / Mediawiker / Open page*\n* Use page name or page url as a wiki page name. When the url will be inserted, it will be *cleared* to page name, if wiki parameters is correct and current wiki site was selected.\n* **Reopen page** command - to reopen current page (\u003ckbd\u003eF5\u003c/kbd\u003e).\n* **Post page** command for publishing pages. When you post a page, the name of the page will be saved to pages history.\n * *Main menu / Tools / Mediawiker / Post page*\n * Settings option **mediawiker_mark_as_minor** (default: false) - using to mark changes as minor. Or you can use **!** character as **summary prefix** to invert this option on current post.\n* **Pages history** command to open the page by name from history.\n* **Show TOC** command for show table of contents of the current page and to move by page headers. Or you can use standard Symbol list (\u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eR\u003c/kbd\u003e).\n* **Show internal links** command for show all internal links of the current page. You can go to selected link on page, open it in editor or in browser.\n* **Show external links** command for show all external links of the current page (links like [link..]). You can go to selected links on page or open it in browser.\n* **Select wiki** command to select your current wiki site.\n* **Add/Edit wiki site** command for create new or edit existed wiki sites configurations.\n* **Open page in browser** command to open current page in web-browser.\n* **Set category** command to add category to current article from list of root category members (check \"mediawiker_category_root\" option in configuration).\n* **Insert image** command to insert link to image from wiki. Parameter **mediawiker_image_prefix_min_length** is using to limit length of search prefix for large wikies (by default: 4 characters).\n* **Insert template** command to insert template from wiki.\n* **Search** command to search articles by text string. Results are shown as markdown formatted text in a new tab. Parameter **mediawiker_search_results_count** is using to limit search results count.\n* **Category tree** command to show sub-categories and pages of the predefined category as menu.\n* **Numbered TOC** command to set headers as numbered list (format 1.1.1.).\n* **File upload** for uploading files to wiki\n* **CSV data to wiki table** command to transform selected csv-text to wiki table (default delimiter since version 2.0: |).\n* **(Buggy) Wiki table to Simple** command to transform the selected table (or under cursor) to *Simple table* (for using with plugin [TableEdit](https://github.com/vkocubinsky/SublimeTableEditor)).\n* **(Buggy) Simple table to wiki** command to convert *Simple table* back to wiki syntax.\n* Native Sublime text **Command palette** with predefined filter of plugin's commands and snippets.\n  * *\u003ckbd\u003eAlt\u003c/kbd\u003e+\u003ckbd\u003eF11\u003c/kbd\u003e*\n\n### Predefined mediawiki sites settings\nNote: You must setup your credentials for authorization in the settings.\n\n* English wikipedia: [en.wikipedia.org](http://en.wikipedia.org)\n* Russian wikipedia: [ru.wikipedia.org](http://ru.wikipedia.org)\n* Mediawiki [www.mediawiki.org](http://www.mediawiki.org)\n\nYou can add your favorite sites in the settings.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftosher%2FMediawiker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftosher%2FMediawiker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftosher%2FMediawiker/lists"}