unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: Philip Kaludercic <philipk@posteo.net>,
	Jonas Damm <mailing@jonas-damm.de>,
	help-gnu-emacs@gnu.org
Subject: Re: Edit Wikipedia Article directly in Emacs?
Date: Fri, 30 Jun 2023 15:26:37 +0700	[thread overview]
Message-ID: <CAP_d_8WFOu_Q1LqB+hz0BhV1C1kbhoK8YzyAv_MB21UraKGu3Q@mail.gmail.com> (raw)
In-Reply-To: <ZJ5egga70I1o3Chw@lco.syogm.com>

On Fri, 30 Jun 2023 at 11:57, Jean Louis <bugs@gnu.support> wrote:

> * Philip Kaludercic <philipk@posteo.net> [2023-06-28 17:28]:
> > I am not sure how good of an idea this is, to my recollection Wikipedia
> > markup is fairly specific and it is not easy to map between different
> > markup formats without loosing too much information.
>
> Just to mention that command line:
>
> pandoc -f org -t mediawiki MYFILE.org
>
> is to convert Org to Mediawiki format.

The specifics of Mediawiki is that you can have templates that
effectively extend the markup language, and this is widely used in
Wikipedia and its sister wikis. A quick experiment shows that Pandoc
silently drops most template inclusions. So if you take the source of
a wiki page, convert it to Org with pandoc, edit it in Org, then
convert back to mediawiki format and save, you will annoy moderators,
who will then be tempted to just revert your change without spending
time to pick out useful parts from overall formatting destruction.



  reply	other threads:[~2023-06-30  8:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-28 13:53 Edit Wikipedia Article directly in Emacs? Jonas Damm
2023-06-28 14:26 ` Philip Kaludercic
2023-06-28 16:43   ` Emanuel Berg
2023-06-30  4:48   ` Jean Louis
2023-06-30  8:26     ` Yuri Khan [this message]
2023-06-30  9:24       ` Jonas Damm
2023-06-30 11:02       ` Yuchen Pei
2023-06-30 10:53 ` Yuchen Pei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP_d_8WFOu_Q1LqB+hz0BhV1C1kbhoK8YzyAv_MB21UraKGu3Q@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mailing@jonas-damm.de \
    --cc=philipk@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).