You are not logged in.
let's say i have local file "wiki_Page.md" which is pure markdown text file, great for vim/emacs.
i would like to edit it and upload into arch wiki, maybe create user page, with tags, headers, links...
it will be good also download other one, make changes, and upload.
something like git or other version control system.
questions:
- it is possible to edit arch wiki locally (via vim, spacemacs) ?
- is there any markdown converter for markdown >> arch wiki format?
i found pandoc:
https://pandoc.org/MANUAL.html#specifying-formats
it will work? with which wiki format?
- is there any version control ?
edit:
https://wiki.archlinux.org/index.php/Mediawiki-el
found something like that, i will test it
Last edited by collector1871 (2018-08-18 20:29:15)
Offline
There is something like a git-MediaWiki bridge and I remember there is some plugin for Emacs. Beware, though, that none of these tools are perfect and it if they break the formatting of the page (e.g. because they purposely hide some markup or render it differently), it is still your responsibility.
As for the markup converters, I don't think it is possible to implement them reliably. Each markup language has different set of formatting tags so if you convert from a feature-poor to feature-rich language, the result will not be great. Also note that ArchWiki has a particularly strict style rules which are definitely not supported by pandoc etc.
Offline
ok thank you,
it seems that Git-Mediawiki is no longer actively maintained:
https://github.com/Git-Mediawiki/Git-Me … /issues/33
so most people use only standard web browser for editing (firefox, chrome)?
Last edited by collector1871 (2018-08-18 20:42:21)
Offline
Most browsers can be configured to allow the opening of text fields in your preferred editor. Also there is no need for your browser to be one of those "standard" ones: any web browser will do.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Frankly, the idea of introducing something like git into the collaboration process is vaguely terrifying...
Offline
after some research:
* Git-Mediawiki is no longer actively maintained and probably will stop working soon
* https://wiki.archlinux.org/index.php/Mediawiki-el > the same, probably is not working anymore
* there is also plugin for VIM:
https://github.com/aquach/vim-mediawiki-editor
but i don't know what is current state of it and what is comparability with arch wiki pages
* there was also quite popular extension for firefox:
https://addons.mozilla.org/en-US/firefo … -all-text/
but nowdays "Not compatible with Firefox Quantum"
* other similar ffox extensions also "Not compatible with Firefox Quantum"
* https://superuser.com/questions/261689/ … for-chrome
and it looks like there is emacs plugin for task like this
https://chrome.google.com/webstore/deta … oh/related
https://www.emacswiki.org/emacs/Edit_with_Emacs
* it is also "vimperator" : http://vimperator.org/vimperator
with:
"External editor support" ,
but current firefox probably will not work with it
* and finally something like:
https://github.com/GhostText/GhostText
so... current working solutions are:
- GhostText
- edit with emacs
Last edited by collector1871 (2018-08-18 21:34:04)
Offline
Or ... Copy and paste.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
if someone is interested, i found solution:
ArchWiki is powered by "MediaWiki" engine:
https://wiki.archlinux.org/index.php/ArchWiki:About
and there is tool for Media Wiki called:
https://en.wikipedia.org/wiki/User:KeithTyler/mwpush.pl
mwpush.pl
so this is command line tool which allows to use it with parameters for uploading into Media Wiki engines
(but i haven't tested it, no time at the moment, but in theory it should work)
Last edited by collector1871 (2018-09-02 16:28:07)
Offline