Comments (15)
Please, try the new 3.0.8
version.
from mediawiker.
Very very restricted preview is possible - it will be local generated page, not preview on wiki site.
I'll commit the changes soon..
from mediawiker.
Already - all user setting must be defined in Preferences/Package Settings/Mediawiker/Settings - User - it's standard sublime's rule (default settings|user settings).
from mediawiker.
@Kristinita - with the same effect - no. Wiki page generation - it's a real request to wiki api. I don't want to generate on-the-fly ddosing :) Markdown preview - local process, mediawiki - not.
But, i'll think on preview with one local file..
from mediawiker.
Great work!
Whether it is possible to make that when updatings a plugin the lines "mediawiki_site"
weren't removed?
"mediawiki_site": { "English wikipedia": { "host": "en.wikipedia.org", "path": "/w/", "pagepath": "/wiki/", "username": "", "password": "", "domain": "" }, "Russian wikipedia": { "host": "ru.wikipedia.org", "path": "/w/", "pagepath": "/wiki/", "username": "", "password": "", "domain": "" }, "Mediawiki": { "host": "www.mediawiki.org", "path": "/w/", "pagepath": "/wiki/", "username": "", "password": "", "domain": "" }, "Циклопедия": { "host": "cyclowiki.org", "path": "/w/", "pagepath": "/wiki/", "username": "Саша_Черных", "password": "MyPassword", "domain": "" }, },
I had to re-enter the line of those sites with which I work. Thanks.
from mediawiker.
Thanks, I asked a stupid question.
Is it possible to carry out a preview in a one tab? Now each preview opens in a new tab, in the browser many tabs can be open.
from mediawiker.
I'm not sure how this feature works, so I went to try it and got this error:
Error loading scope:text.html: Unable to find syntax file for scope text.html in Packages/Mediawiker/MediawikiNG.tmLanguage
Error loading scope:source.ini: Unable to find syntax file for scope source.ini in Packages/Mediawiker/MediawikiNG.tmLanguage
Error loading scope:source.actionscript: Unable to find syntax file for scope source.actionscript in Packages/Mediawiker/MediawikiNG.tmLanguage
Error loading scope:source.latex: Unable to find syntax file for scope source.latex in Packages/Mediawiker/MediawikiNG.tmLanguage
Error loading scope:source.tsql: Unable to find syntax file for scope source.tsql in Packages/Mediawiker/MediawikiNG.tmLanguage
Error loading scope:source.postscript: Unable to find syntax file for scope source.postscript in Packages/Mediawiker/MediawikiNG.tmLanguage
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 568, in run_
return self.run(edit, **args)
File "/home/reagle/.config/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'
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 568, in run_
return self.run(edit, **args)
File "/home/reagle/.config/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'
from mediawiker.
@reagle, just restart the sublime text.. internal mwclient library was updated and require restart of ST
from mediawiker.
@Kristinita, nope, unfortunately Sublime Text can't to control browser window - it's just system call to open url in default browser...
Ctrl+w - for fast tabs closing :)
from mediawiker.
@tosher, confirmed. Is it odd that the preview command is in sublime's palette and not the mediawikier specific one?
from mediawiker.
This command is the mediawiker's function, which makes request to wiki's API for rendering page in html.
from mediawiker.
@tosher, whether you in the future plan to make a plug-in so that it was possible to preview without resaving, reload of the page and reload page in the browser? For example, as writing text on Markdown by means of OmniMarkupPreviewer:
from mediawiker.
@tosher, I meant that I'd expect to see the command by hitting window+w (mediawikir's commands) rather than ctrl+shift+p (sublime's palette). (Or it should at least / also be in mediawikir's commands.)
from mediawiker.
@reagle, hmm, this command is available in ST's palette as Mediawiker: Page preview and in Mediawiker's palette as Page preview (last command, before snippets).
If you have redefined version in your user's config, please remove it, or move the string with this command from default config (if you need custom version of menu).
from mediawiker.
@tosher, that fixed it, thanks!
from mediawiker.
Related Issues (20)
- [Bug?] Can't log in HOT 6
- Crypto library problem in ST4 HOT 19
- Can't start variable/template scope in a file
- Toggles for various mouseover functionality HOT 1
- Updates to Mediawiker delete custom wiki entries in sublime-settings file. HOT 4
- Visual Studio Code? HOT 2
- Edit summaries in the console HOT 3
- Occasional TypeError exception for get_page HOT 7
- Connection exception: 'HTTPError' object does not support indexing - GSSAPI Authentication HOT 9
- Automatically converting tabs to spaces/spaces to tabs on load HOT 6
- Shorten the summary / description
- Certificate failing HOT 9
- No option to "Open page" in Command Palette HOT 7
- syntax highlighter doesn't recognize <math> tags with "display=..." attributes HOT 2
- Support per-site "new_page_template_path" overriding the default
- Keys start acting strange after saving a page
- Chrome cookies not working: "cookies_browser": "chrome",
- authentication via firefox failing HOT 1
- File Load usage HOT 1
- InsecureRequestWarning -- wants a verified cert but those fail HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediawiker.