Mediawiker.sublime-settings - User

Z Dokumentace Disoft
Verze z 12. 11. 2019, 10:56, kterou vytvořil Fiala (diskuse | příspěvky) ((by SublimeText.Mediawiker))
(rozdíl) ← Starší verze | zobrazit aktuální verzi (rozdíl) | Novější verze → (rozdíl)
Přejít na: navigace, hledání

Konfigurace pro mediawiki:

 "site":
	{
		"Dokumentace disoft":
		{
			"authorization_type": "login",
			"cookies_browser": "chrome",
			"domain": "",
			"host": "dokumentace.disoft.cz",
			"http_auth_login": "fiala",
			"http_auth_password": "heslo_uzivatele",
			"https": false,
			"is_ssl_cert_verify": false,
			"is_wikia": false,
			"oauth_access_secret": "",
			"oauth_access_token": "",
			"oauth_consumer_secret": "",
			"oauth_consumer_token": "",
			"pagepath": "/",
			"password": "heslo_uzivatele",
			"path": "/",
			"preview_custom_head":
			[
			],
			"preview_sandbox": "",
			"proxy_host": "",
			"retry_timeout": 30,
			"show_red_links": false,
			"use_http_auth": true,
			"username": "fiala"
		}, ...

Konfigurace code completion pro vkládání wiki odkazů:

"page_prefix_min_length": 1,

více na: https://github.com/tosher/Mediawiker/issues/146

Celá funkční Mediawiker:sublime-settings-User pro nakopírování do Sublime Text (nutno změnit uživatele a heslo):

{
	"category_root": " ",
	"chrome_cookie_files":
	[
	],
	"clearpagename_oninput": true,
	"clipboard_as_defaultpagename": false,
	"config_icon_back": "←",
	"config_icon_checked": "✓",
	"config_icon_edit": "→",
	"config_icon_radio_checked": "✓",
	"config_icon_radio_unchecked": "⭕",
	"config_icon_unchecked": "✗",
	"config_icon_unnumbered_list": "•",
	"css_html":
	{
	},
	"csvtable_delimiter": "|",
	"debug": false,
	"favorites":
	{
	},
	"files_extension":
	[
		"mediawiki",
		"wiki",
		"wikipedia",
		""
	],
	"firefox_cookie_files":
	[
	],
	"fold_tags":
	[
		"div"
	],
	"image_prefix_min_length": 0,
	"linkstopage_limit": 50,
	"mark_as_minor": false,
	"newtab_ongetpage": true,
	"notifications_read_sign": " ✓",
	"notifications_show_all": true,
	"offline_mode": false,
	"page_prefix_min_length": 1,
	"pagelist":
	{
		"Dokumentace disoft":
		[
			"Kategorie:FRMICO#Z.C3.A1lo.C5.BEka Individu.C3.A1ln.C3.AD cen.C3.ADk SK",
			"Category:PRIJVYDHLAVOPR",
			"Category:4.7",
			"Category:OmezeniVedlNakl",
			"Kategorie:POHPADO T1",
			"Kategorie:PRIJVYD",
			"Kategorie:FRMREKL ODBERATELSKE",
			"Kategorie:FrmDPHSoupis",
			"Kategorie:Základní ovládání",
			"Kategorie:Export do Excelu",
			"Kategorie:4.7#4. 7. 22",
			"Kategorie:FRMREKL INTERNI",
			"Kategorie:Reklamace",
			"Kategorie:SKLPRESC 1",
			"Kategorie:POKLDENIKT",
			"Kategorie:POHLT",
			"Kategorie:SPECIALNI FORMA FAKTURY PRO ORGANIZACI",
			"Kategorie:FRMAKCNINABIDKY",
			"Kategorie:ZAVT",
			"Kategorie:FRMKONFUCTJED",
			"Kategorie:MOZNOSTI",
			"Kategorie:FRMPRIJVYDHLAVFILTR",
			"Kategorie:Pohledávky",
			"Kategorie:SALDOKONTOZAV",
			"Kategorie:SALDOKONTOPOHL",
			"Kategorie:ODBOBJ",
			"Kategorie:FRMKNIHAJIZD",
			"Kategorie:Moduly",
			"Kategorie:Kniha jízd",
			"Kategorie:SestavySklad1#P.C3.81ROV.C3.81N.C3.8D",
			"Kategorie:SKLPARPD 0",
			"Kategorie:SestavySklad1",
			"Kategorie:SKLPARPR 0",
			"Kategorie:FRMVPHLAVFILTR",
			":Category:EvidSklad",
			"Kategorie:DODOBJ",
			"Kategorie:ShareX",
			"Kategorie:PrijVyd",
			"Kategorie:4.7",
			"Kategorie:Úpravy webu",
			"Kategorie:ICOOPR",
			"Kategorie:FRMICO",
			"Kategorie:Mediawiker"
		]
	},
	"pagelist_maxsize": 100,
	"panel":
	[
		{
			"caption": "Open page",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_open_page"
		},
		{
			"caption": "Open section of a page",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_open_page_section"
		},
		{
			"caption": "Post page",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_post_page"
		},
		{
			"caption": "Move page",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_move_page"
		},
		{
			"caption": "Pages history",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_page_list"
		},
		{
			"caption": "Add to Favorites",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_favorites_add"
		},
		{
			"caption": "Favorite pages",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_favorites_open"
		},
		{
			"caption": "Reopen page",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_reopen_page"
		},
		{
			"caption": "Open page in browser",
			"type": "window_command",
			"value": "mediawiker_open_page_in_browser"
		},
		{
			"caption": "Set Category",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_set_category"
		},
		{
			"caption": "Insert image",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_insert_image"
		},
		{
			"caption": "Insert template",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_insert_template"
		},
		{
			"caption": "Configurator",
			"online": false,
			"type": "window_command",
			"value": "mediawiker_configurator"
		},
		{
			"caption": "Select wiki",
			"online": false,
			"type": "window_command",
			"value": "mediawiker_set_active_site"
		},
		{
			"caption": "Add SSO-linked wiki",
			"online": false,
			"type": "window_command",
			"value": "mediawiker_add_child_site"
		},
		{
			"caption": "Category tree",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_category_tree"
		},
		{
			"caption": "File upload",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_file_upload"
		},
		{
			"caption": "Search",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_search_string"
		},
		{
			"caption": "Show TOC",
			"online": false,
			"type": "text_command",
			"value": "mediawiker_show_toc"
		},
		{
			"caption": "Show internal links",
			"online": true,
			"type": "text_command",
			"value": "mediawiker_show_internal_links"
		},
		{
			"caption": "Show external links",
			"online": true,
			"type": "text_command",
			"value": "mediawiker_show_external_links"
		},
		{
			"caption": "Show red links",
			"online": true,
			"type": "text_command",
			"value": "mediawiker_show_red_links"
		},
		{
			"caption": "Hide red links",
			"online": true,
			"type": "text_command",
			"value": "mediawiker_hide_red_links"
		},
		{
			"caption": "Show language links",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_show_page_langlinks"
		},
		{
			"caption": "Show links to page",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_show_page_backlinks"
		},
		{
			"caption": "Numbered TOC",
			"online": false,
			"type": "text_command",
			"value": "mediawiker_enumerate_toc"
		},
		{
			"caption": "CSV to wiki table",
			"online": false,
			"type": "text_command",
			"value": "mediawiker_csv_table"
		},
		{
			"caption": "Wiki table to Simple (for plugin TableEdit)",
			"online": false,
			"type": "text_command",
			"value": "mediawiker_table_wiki_to_simple"
		},
		{
			"caption": "Simple table to wiki (for plugin TableEdit)",
			"online": false,
			"type": "text_command",
			"value": "mediawiker_table_simple_to_wiki"
		},
		{
			"caption": "Page preview",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_preview"
		},
		{
			"caption": "Page preview in sandbox",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_preview_sandbox"
		},
		{
			"caption": "Show unsaved changes",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_show_diff"
		},
		{
			"caption": "Get Notifications",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_notifications"
		},
		{
			"caption": "Open talk page",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_open_talk_page"
		},
		{
			"caption": "Copy remote page",
			"online": true,
			"type": "text_command",
			"value": "mediawiker_page_copy"
		},
		{
			"caption": "Create/edit an issue",
			"online": true,
			"type": "window_command",
			"value": "mediawiker_open_issue"
		},
		{
			"caption": "Heading 3",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_h3.sublime-snippet"
		},
		{
			"caption": "Heading 4",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_h4.sublime-snippet"
		},
		{
			"caption": "Bold",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_bold.sublime-snippet"
		},
		{
			"caption": "Italic",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_italic.sublime-snippet"
		},
		{
			"caption": "External link",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_outer_link.sublime-snippet"
		},
		{
			"caption": "Internal link",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_inner_link.sublime-snippet"
		},
		{
			"caption": "Source tag",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_src.sublime-snippet"
		},
		{
			"caption": "Unnumbered list",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_liu.sublime-snippet"
		},
		{
			"caption": "Numbered list",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_lio.sublime-snippet"
		},
		{
			"caption": "Strike",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_strike.sublime-snippet"
		},
		{
			"caption": "Predefined text",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_pre.sublime-snippet"
		},
		{
			"caption": "Keyboard",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_kbd.sublime-snippet"
		},
		{
			"caption": "Nowiki",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_nowiki.sublime-snippet"
		},
		{
			"caption": "Code",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_code.sublime-snippet"
		},
		{
			"caption": "Changelog",
			"online": false,
			"type": "window_command",
			"value": "mediawiker_changelog"
		},
		{
			"caption": "Heading 2",
			"online": false,
			"type": "snippet",
			"value": "Packages/Mediawiker/snippets/mw_h2.sublime-snippet"
		}
	],
	"password_char": "•",
	"password_input_hide": true,
	"popup_image_size": 300,
	"popup_type": "auto",
	"preview_head":
	[
		"<meta charset=\"UTF-8\"/>",
		"<link rel=\"stylesheet\" href=\"{{ http }}://{{ host }}{{ path }}load.php?debug=false&lang={{ lang }}&modules=site&only=styles&skin=vector\"/>",
		"<link rel=\"stylesheet\" href=\"{{ http }}://{{ host }}{{ path }}load.php?debug=false&lang={{ lang }}&modules={{ geshi_css }}ext.visualEditor.viewPageTarget.noscript|mediawiki.legacy.commonPrint,shared|mediawiki.sectionAnchor|mediawiki.skinning.interface|mediawiki.ui.button|skins.vector.styles&only=styles&skin=vector&*\" />"
	],
	"preview_lang": "cs",
	"red_link_icon": "✘",
	"search_namespaces": "0,6,14",
	"search_results_count": 50,
	"show_favorites_and_history_by_site_host": true,
	"show_gutters": true,
	"show_image_in_popup": true,
	"site":
	{
		"Dokumentace disoft":
		{
			"authorization_type": "login",
			"cookies_browser": "chrome",
			"domain": "",
			"host": "dokumentace.disoft.cz",
			"http_auth_login": "fiala",
			"http_auth_password": "heslo_uzivatele",
			"https": false,
			"is_ssl_cert_verify": false,
			"is_wikia": false,
			"oauth_access_secret": "",
			"oauth_access_token": "",
			"oauth_consumer_secret": "",
			"oauth_consumer_token": "",
			"pagepath": "/",
			"password": "heslo_uzivatele",
			"path": "/",
			"preview_custom_head":
			[
			],
			"preview_sandbox": "",
			"proxy_host": "",
			"retry_timeout": 30,
			"show_red_links": false,
			"use_http_auth": true,
			"username": "fiala"
		},
		"English wikipedia":
		{
			"authorization_type": "login",
			"cookies_browser": "chrome",
			"domain": "",
			"host": "en.wikipedia.org",
			"http_auth_login": "",
			"http_auth_password": "",
			"https": true,
			"is_ssl_cert_verify": true,
			"is_wikia": false,
			"oauth_access_secret": "",
			"oauth_access_token": "",
			"oauth_consumer_secret": "",
			"oauth_consumer_token": "",
			"pagepath": "/wiki/",
			"password": "",
			"path": "/w/",
			"preview_custom_head":
			[
			],
			"preview_sandbox": "",
			"proxy_host": "",
			"retry_timeout": 30,
			"show_red_links": false,
			"use_http_auth": false,
			"username": ""
		},
		"Mediawiki":
		{
			"host": "www.mediawiki.org",
			"parent": "English wikipedia"
		},
		"Russian wikipedia":
		{
			"host": "ru.wikipedia.org",
			"parent": "English wikipedia"
		}
	},
	"site_active": "Dokumentace disoft",
	"skip_summary": false,
	"snippet_char": "{☼}",
	"summary_postfix": " (by SublimeText.Mediawiker)",
	"syntax": "Packages/Mediawiker/MediawikiNG.sublime-syntax",
	"syntax_css": "Packages/CSS/CSS.sublime-syntax",
	"syntax_js": "Packages/JavaScript/JavaScript.sublime-syntax",
	"syntax_lua": "Packages/Lua/Lua.sublime-syntax",
	"use_status_messages_panel": true,
	"validate_revision_on_post": true,
	"wiki_instead_editor": true,
	"wikitable_cell_properties":
	{
	},
	"wikitable_properties":
	{
		"class": "wikitable"
	}
}