tosher / mediawiker Goto Github PK
View Code? Open in Web Editor NEWA plugin for Sublime Text editor that adds possibility to use it as Wiki Editor on MediaWiki-based sites like Wikipedia and many other.
License: Other
A plugin for Sublime Text editor that adds possibility to use it as Wiki Editor on MediaWiki-based sites like Wikipedia and many other.
License: Other
This is what I'm getting after loading Mediawiker in my sublime text, and trying to use some plugins that use urllib (or just using the console):
>>> import urllib.request
>>> urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) )
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "X/urllib/request.py", line 540, in build_opener
NameError: global name 'HTTPSHandler' is not defined
Of course this leads to crashes in other plugins...
For instance, if I try to write something like [[File:SomeFile.jpg]]
or [[Category:SomeCategory]]
, the cursor will pause almost at every character, sometimes freezing the editor for a couple of seconds, and I get no auto-complete suggestions (though I'm not sure if I should), unlike regular content pages which have no issues at all. This happens with a wiki from Wikia.
Currently using latest Mediawiker release and Sublime Text 3.
Currently there is no support for:
Any chance Mediawiker could be packaged like a .sublime-package like other packages? So rather than being in ./Packages/Mediawiker, it would reside at ./Installed Packages/Medawiker.sublime-package instead, like other packages.
Basically the big difference is that it's a nice and tidy ZIP file.
I have this error when open, save , ... file wiki.
Traceback (most recent call last):
File ".\sublime_plugin.py", line 356, in run_
File ".\mediawiker.py", line 179, in run
File ".\mwutils.py", line 215, in get_connect
File ".\mwclient\client.py", line 115, in init
self.site_init()
File ".\mwclient\client.py", line 122, in site_init
meta = self.api('query', meta='siteinfo|userinfo', siprop='general|namespaces', uiprop='groups|rights')
File ".\mwclient\client.py", line 185, in api
info = self.raw_api(action, **kwargs)
File ".\mwclient\client.py", line 285, in raw_api
json_data = self.raw_call('api', data).read()
File ".\mwclient\client.py", line 254, in raw_call
stream = self.connection.post(self.host, url, data=data, headers=headers)
File ".\mwclient\httpmw.py", line 288, in post
return self.find_connection(host).post(host, path, headers, data)
File ".\mwclient\httpmw.py", line 280, in find_connection
conn = cls(host, self)
File ".\mwclient\httpmw.py", line 107, in init
self._conn.connect()
File ".\httplib.py", line 716, in connect
File ".\socket.py", line 500, in create_connection
socket.gaierror: [Errno 11004] getaddrinfo failed
Perhaps this is a general Sublime-related question, but when I'm in a file that is in a language other than MediaWiki (such as a Ruby or PHP file), then when I pull up the Command Palette, the MediaWiker snippets still appear.
How can I get them to NOT appear at that time, and to ONLY appear when the current file is specifically made to use the MediaWiki syntax highlighting?
It appears that opening pages doesn't work behind a proxy.
Is it possible for the package to define proxy settings?
More precisely, I tell it to open a page; after a pause, it opens a new tab without contents, but no overt error message.
If I check the console, I see this:
Traceback (most recent call last):
File "/Users/jandahl/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mwclient/client.py", line 113, in __init__
self.site_init()
File "/Users/jandahl/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mwclient/client.py", line 120, in site_init
meta = self.api('query', meta='siteinfo|userinfo', siprop='general|namespaces', uiprop='groups|rights')
File "/Users/jandahl/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mwclient/client.py", line 186, in api
res = self.handle_api_result(info, token=token)
File "/Users/jandahl/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mwclient/client.py", line 213, in handle_api_result
raise errors.APIError(info['error']['code'], info['error']['info'], kwargs)
errors.APIError: ('readapidenied', 'You need read permission to use this module', None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 543, in run_
return self.run(edit, **args)
File "/Users/jandahl/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mediawiker.py", line 365, in run
sitecon = mw_get_connect(password)
File "/Users/jandahl/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mediawiker.py", line 59, in mw_get_connect
sitecon = mwclient.Site(addr, path)
File "/Users/jandahl/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mwclient/client.py", line 116, in __init__
if e[0] not in (u'unknown_action', u'readapidenied'):
TypeError: 'APIError' object does not support indexing
My settings are copied from ST2 verbatim. I'm running the newest version from Package Control.
on post, right now the plugin is uploading the full page which in a highly collaborative environment could results in overwriting other people changes.
i wonder if is possible to change the behaviour a bit, maybe store locally the page version on open (or reopen), than on post first check the version. if the version differs either show a dialog box asking the user to choose what they want (overwrite|stop|) or open the new version in a different doc in sublime so i can run a diff and resolve the changes. if i where to have an option i would choose the second option (maybe have a setting that enables opening the new version automatically in a new doc by default)
what do you think? too complicated?
the tailing "]]", border and captions don't highlight
Ex: [[File:MyImage.jpg | border | caption ]]
Ex: [[File:MyImage.jpg]]
I want to use symbol search.
List and jump to header by Ctrl+P
and type @
or only Ctrl+R
like such as Markdown.
Just found Mediawiker. Thx for the effort! There really is a lack of good MediaWiki-tools usable outside of browsers.
I added a corporate-wiki, that needs authentication with domain and https. Opening pages works so far, but I couldn't search. When trying to search, there's an info "Trying to get https connection to ..." but nothing afterwards. Without auth and https, it works fine.
Is there any log-output or debug-flag I can set to maybe get some more verbose information about what actually happens?
I'm aware of the "experimental" state of https in Mediawiker.
Regards
I use templates with many named variables, e.g.
Hello {{{Name}}},
Thanks for {{{Reason}}}
What I'd love to see is a function that creates a - and maybe even updates an existing - "Usage" paragraph, e.g.
Usage:
{{ Template:Foo
| Name=Example Name
| Reason=Example Reason
}}
This could be done by trawling the open page for unique {{{Named Variables}}}, parsing them into an array as above, and in case one exists, add the {{{Named Variables}}} not already on the list (with "Example {{{Named Variable}}}" behind the equal sign)
I can't get the pages from wiki sites such as community.wikia.com. This is due to the fact that you can only use wikipedia.org and mediawiki.org hosts or due to incorrect setup?
I've made two color schemes. Would like some feedback to make them better.
I would like to use your grammar for Mediawiki but I don't know what licensing terms you're distributing it under. Any chance you could pick one from here: http://choosealicense.com?
should be "ctrl" not "ctril".
I was wondering how feasible it would be to have a scheme handler to automatically open a page from the browser, e.g.
mediawiker://en.wikipedia.org/wiki/Sublime_Text
… would open Sublime Text with Mediawiker fetching "Sublime Text" with credentials matched against "en.wikipedia.org" from the settings.
Then I could make a Greasemonkey plugin to add an icon next to a page name for "Edit in Sublime Text"
How doable do you think this would be?
(By the way, I love your plugin)
Kind regards,
Jan
Hi,
maybe not a real issue, but just FYI, the Default (Linux).sublime-keymap
contains commented-out hotkey commands (in contrast to the same ones for Mac and Windows):
[
{ "keys": ["ctrl+shift+f1"], "command": "mediawiker_edit_panel" },
//{ "keys": ["ctrl+shift+f2"], "command": "mediawiker_show_toc" },
//{ "keys": ["ctrl+shift+f3"], "command": "mediawiker_open_page" },
//{ "keys": ["ctrl+shift+f5"], "command": "mediawiker_open_page_in_browser" },
//{ "keys": ["ctrl+shift+f6"], "command": "mediawiker_set_active_site" },
//{ "keys": ["ctrl+shift+f7"], "command": "mediawiker_post_page" },
//{ "keys": ["ctrl+shift+f10"], "command": "mediawiker_page_list" },
//{ "keys": ["ctrl+shift+f11"], "command": "show_overlay", "args": {"overlay": "command_palette", "text":"Mediawiker"} }
{
"keys": ["ctrl+b"], "command": "insert_snippet", "args": {"name": "Packages/Mediawiker/snippets/mw_bold.sublime-snippet"},
"context": [{"key": "setting.mediawiker_is_here", "operand": true}]
},
...
I can successfully install this on ST2(2.02, build 2221) and ST3 (build 3047). On either version I don't get the full syntax highlighting. Most immediately noticeable are the headings. In your screenshots they are orange, but I get nothing. So far the only things I've noticed to be working are:
• [[Category:]]
• [[Image:]]
• frame
• style= (this one is inconsistent)
Let me know if there is anything I can provide to help.
ST3...
Just attempted to install Mediawiker via package control and it just times out.
Have installed it manually via GIT download of .zip file, with the contained Mediawiker-master folder copied to ST3/Data/Packages and renamed to Mediawiker.
Appears to work OK (ie. keys are active and menu entries exist) but I am getting no syntax highlighting. The 'Mediawiki' sytax exists as I can select it, but no highlighting happens.
Any thoughts and help appreciated.
NOTE: I am trying to use Mediawiker to edit a DokuWiki site. Pages have a .txt extension.
Base data:
OS: Win7
ST: 3, build 3059
Installated via Package Control
Invoking "Select wiki" gives following output:
Traceback (most recent call last):
File "mediawiker in C:\Users\jan.dahl\AppData\Roaming\Sublime Text 3\Installed Packages\Mediawiker.sublime-package", line 544, in <lambda>
File "C:\Program Files\Sublime Text 3\sublime.py", line 341, in show_quick_panel
if len(items) > 0 and isinstance(items[0], list):
TypeError: object of type 'map' has no len()
The referred line in the sublime-package... well...
3524 a351 e23f 2a27 119c 1ef3 74a2 a705
Steps taken to abate:
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 568, in run_
return self.run(edit, **args)
File "C:\Users\username\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\mediawiker.py", line 1371, in run
html = sitecon.parse(text=text, title=mw.get_title(), disableeditsection=True).get('text', {}).get('*', '')
TypeError: parse() got an unexpected keyword argument 'disableeditsection'
would it be possible to remember the name of the page opened so on post i don't have to always type in the page? this would be a huge time saver
I would like to have a configuration option to disable the publish page command: I'm not comfortable with the possibility to upload article with a single keystroke because I translate/write long articles and make extensive change to existing one so I prefer to check the preview several time before uploading the final version.
An alternative could be to add a confirmation step before publishing the article and enabling/disabling the confirmation step in the plug-in configuration, with a default of disable so there would be no change in the default behaviour of the plug-in.
I'm using Mediawiker with a corporate wiki on the latest El Capitan release.
Whenever I try to open a page, I get an error:
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:550)
Now that I've done my homework, I've found that similar bug plagues Package Control, and the solution is to add custom certificate to Package Control.user-ca-bundle. That didn't help though.
Is there some other way to add custom certificate to Mediawiker?
Is there an option to bypass/skip inputing changes? I would like to post the page with one keystroke.
Hi all, hi @tosher ,
I was wondering if someone ever tried to connect to mediawiki that runs on a non-standard port (other than 80 or 443). I was able to connect to an https mediawiki, but I couldn't change the port. My config (sublime 3) is:
"host": "server.org:12345",
"path": "/wiki/",
"pagepath": "/wiki/index.php/",
"username": "user",
"password": "pw",
"domain": "", (I also tried "server.org:12345").
"https": true
I appreciate any comments and help :)
Thanks!
When trying to access my self-hosted MediaWiki instance, I can reach it fine if I try to use it without login data, getting an error popup about insufficient rights to access the Wiki (as expected for anonymous users).
When I set my Username in the user config of ST3's MediaWiker I'll get asked to enter my password and after that nothing happens except for this log:
`Writing file /C/Users/khorne/AppData/Roaming/Sublime Text 3/Packages/User/Mediawiker.sublime-settings with encoding UTF-8 (atomic)
reloading Packages/User/Mediawiker.sublime-settings
Traceback (most recent call last):
File "C:\Users\khorne\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\mediawiker.py", line 175, in mw_get_connect
sitecon = mwclient.Site(host=addr, path=path)
File "C:\Users\khorne\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\mwclient\client.py", line 115, in init
self.site_init()
File "C:\Users\khorne\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\mwclient\client.py", line 122, in site_init
meta = self.api('query', meta='siteinfo|userinfo', siprop='general|namespaces', uiprop='groups|rights')
File "C:\Users\khorne\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\mwclient\client.py", line 185, in api
info = self.raw_api(action, **kwargs)
File "C:\Users\khorne\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\mwclient\client.py", line 283, in raw_api
json_data = self.raw_call('api', data).read().decode('utf-8')
File "C:\Users\khorne\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\mwclient\client.py", line 254, in raw_call
stream = self.connection.post(self.host, url, data=data, headers=headers)
File "C:\Users\khorne\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\mwclient\httpmw.py", line 301, in post
return self.find_connection(host).post(host, path, headers, data)
File "C:\Users\khorne\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\mwclient\httpmw.py", line 224, in post
return self.request('POST', host, path, headers, data)
File "C:\Users\khorne\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\mwclient\httpmw.py", line 214, in request
raise errors.HTTPStatusError(res.status, res)
errors.HTTPStatusError: (404, <http.client.HTTPResponse object at >0x0000000003A07CC0>)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 543, in run_
return self.run(edit, **args)
File "C:\Users\khorne\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\mediawiker.py", line 551, in run
sitecon = mw_get_connect(password)
File "C:\Users\khorne\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\mediawiker.py", line 207, in mw_get_connect
raise Exception('HTTP connection failed.')
Exception: HTTP connection failed.`
The Wiki is reachable and userless access works fine in the confinements of the configuration. I have actually no clue why MediaWiker throws 404's and Connection Errors.
I'd appreciate any help and input from you. Thank you.
I manage to set up your plugin to work with English wikipedia but when I try to set it up to work with my company wiki here is what I got:
Traceback (most recent call last):
File "./sublime_plugin.py", line 356, in run_
File "./mediawiker.py", line 179, in run
File "./mediawiker.py", line 30, in mediawiker_get_connect
File "./mwclient/client.py", line 92, in __init__
self.site_init()
File "./mwclient/client.py", line 101, in site_init
siprop = 'general|namespaces', uiprop = 'groups|rights')
File "./mwclient/client.py", line 161, in api
info = self.raw_api(action, **kwargs)
File "./mwclient/client.py", line 244, in raw_api
json_data = self.raw_call('api', data).read()
File "./mwclient/client.py", line 219, in raw_call
url, data = data, headers = headers)
File "./mwclient/http.py", line 229, in post
path, headers, data)
File "./mwclient/http.py", line 161, in post
return self.request('POST', host, path, headers, data)
File "./mwclient/http.py", line 152, in request
raise errors.HTTPStatusError, (res.status, res)
mwclient.errors.HTTPStatusError: (400, <httplib.HTTPResponse instance at 0x7f4a90328e18>)
"AJLSM":
{
"domain": "",
"host": "mw.my-company.com",
"pagepath": "/wiki/",
"password": "******",
"path": "", /* <---- not sure about this */
"username": "my-account"
},
So I'm not really sure about path
and pagepath
value.
When using Mediawiker:Search I get the following error:
Traceback (most recent call last):
File "/Users/muloka/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mediawiker.py", line 849, in show_results
for i in range(self.search_limit):
TypeError: 'NoneType' object cannot be interpreted as an integer
Normally I translate (or add content) translating articles from en.wiki to it.wiki, so I have to traslate wikilink from the en.wiki title to the it.wiki title.
I would like to have an option to configure a "target wiki" and a command to search the current select text as title article on the target wiki and get the corresponding title on the working wiki using the wikidata database. For example select the text “Steve Jackson (US game designer)" search it as article title on en.wiki (target wiki) and getting "Steve Jackson (1953)" on it.wiki (working wiki)
Hello.
I have been trying to set up the plugin to use a proxy server via the "proxy_host" setting that appears to support only host and port (according to the documentation), i tried to specify the username and password via URL (user:password@host:port) and i get the parse error below via a sublime message window.
At a second look, i get the same error with the standard documented URL format of "host:port" also.
Connection failed for ('https', 'user:pass@proxy-01:3128'): Failed to parse: proxy-01:3128https:
I am using Sublime Text 3083 and the plugin is version 3.0.2 installed via Package Control 3.1.2
Thank you!
I cannot use 'Open file in browser' because it is not displayed in the command palette.
I looked in the settings file and there is a proper entry, though.
I'm running Sublime Text 3 on Ubuntu 14.04.
EDIT: I activated the default keyboard shortcut and it works, but it's still not displayed in the command palette.
Whether it is possible to make somehow a fast preview the page of the wiki-site with the changes made by me without saving of the page? Thanks.
One of the few essential things this package does not do is provide syntax highlighting for headings, e.g.:
== H2 ==
=== H3 ===
In long MediaWiki documents, picking out headings is important. The old TextMate syntax highlighting bundle does this, and your screenshot shows it. However, I have never been able to get this to work, regardless of theme/color scheme in Sublime.
It looks like since you implemented the workaround for HTTPS on linux now the ssl module doesn't load and caused the whole plugin to fail to load.
Mediawiker: enabling custom linux ssl module
Mediawiker: _ssl module import error - No module named '_ssl'
Mediawiker: _ssl module import error - No module named '_ssl'
Mediawiker: _ssl module import error - No module named '_ssl'
Traceback (most recent call last):
File "/opt/sublime_text_3/sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/__init__.py", line 88, in import_module
File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
File "/opt/sublime_text_3/sublime_plugin.py", line 671, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "/home/user/.config/sublime-text-3/Packages/Mediawiker/mediawiker.py", line 66, in <module>
from . import mwclient
ImportError: cannot import name mwclient
The Mediawiker menu is available in tools but is grayed out and no options are available from keyboard shortcuts or the command list.
To me a pushing an article is a "save operation".
Maybe add on option to open wiki pages as scratch pads to keep Sublime from asking me to save an already "saved" file.
auto completions for internal wiki links is not being inserted in the file, but it shows the result in Console.
So I start typing GTD
+TAB
it gives me GTD - Getting Things Done
in the Console, but leaves a empty tabspace in the document.
Using Sublime Text 3, installed from Package Control.
Great plugin btw!!
reloading plugin Mediawiker.mediawiker
Traceback (most recent call last):
File "/Users/jjaco/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 74, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1022, in load_module
File "<frozen importlib._bootstrap>", line 1003, in load_module
File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 868, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "/Users/jjaco/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mediawiker.py", line 21, in <module>
from . import mwutils as mw
File "/Users/jjaco/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mwutils.py", line 12, in <module>
import requests
ImportError: No module named 'requests'
reloading plugin Mediawiker.mwsetup
Traceback (most recent call last):
File "/Users/jjaco/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 74, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1022, in load_module
File "<frozen importlib._bootstrap>", line 1003, in load_module
File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 868, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "/Users/jjaco/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mwsetup.py", line 9, in <module>
from . import mwutils as mw
File "/Users/jjaco/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mwutils.py", line 12, in <module>
import requests
ImportError: No module named 'requests'
reloading plugin Mediawiker.mwutils
Traceback (most recent call last):
File "/Users/jjaco/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 74, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1022, in load_module
File "<frozen importlib._bootstrap>", line 1003, in load_module
File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 868, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "/Users/jjaco/Library/Application Support/Sublime Text 3/Packages/Mediawiker/mwutils.py", line 12, in <module>
import requests
ImportError: No module named 'requests'
Thanks for an awesome extension for Sublime. I use it every day.
I cant get the new version of Mediawiker to start. I have tried to reinstall the package and when I look in the console I get the above message. Do I have to install anything more with the new version of Mediawiker?
Any ideas?
(First of all, this is amazingly awesome! I'm so excited that you have made this! It took a moment to get it setup right but I'm now connected to http://wikiapiary.com/ and am able to make edits! http://wikiapiary.com/w/index.php?title=User:Thingles/Scratch5&action=history)
It would be really nice to have a checkbox option when inputing a summary to mark a change as minor.
In the default Monokai theme, section headings (==) are not colored. I see in the example screenshot that they should be colored though.
Could this be fixed? Thanks!
This may be obvious (I'm not that skilled at Sublime Text) but is there a way to reclaim the Control-S keyboard shortcut which Mediawiker takes over for the "Change Summary" function, so it can be reverted to the built in Sublime Text "Save" function?
I can't seem to break myself of the unconscious habit of saving with Control-S which ends up not actually saving the file.
Hi.
I don't know wheter this is a question or an issue.
I access my private knowledgebase (mediawiki) via https and like to edit the pages with sublime, but i don't know if mediawiker does support https and how to configure it.
I tried putting https:// in front of "host" but because of the colon it is interpreted as port.
Thanks
Silberling
There is no fileio
dependency available via Package Control for ST2 since ST2 on OS X comes with _fileio
. This causes errors for ST2 users on OS X who install this package.
The new page preview(#62) is really nice addition, I was wondering if you can pull the css files to give the page a little styling. (?)
I'm brand new to Sublime Text. Like, BRAND new. I just got it tonight because I got sick of Wikia's template editor and its lack of word wrapping. So I'm here to ask how the heck I properly set up a Wikia connection! Trying to access a page with a general Wikia connection crashed the program, and after fiddling with the settings (as in, adding a specific mediawiki_site line for the wiki I wanted to access), I did get it to not crash...but instead of crashing, it instead brings up an error that says this:
"HTTP connection failed: httplib.HTTPResponse instance at 0x000000000403ADC8
I have no idea what this means (again, new to Sublime Text), but my API path is set as "api/v1/", since all the Wikia API info I could find led me to believe this was the right path. I think the API path might be the problem but I don't know how to set that up!
Anyone who's set this up with Wikia able to help me out here? (And of course, tell me if I'm wrong with my API-path wild guessing, lol!)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.