From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonas Damm Newsgroups: gmane.emacs.help Subject: Re: Edit Wikipedia Article directly in Emacs? Date: Fri, 30 Jun 2023 11:24:48 +0200 Message-ID: <87ilb5cne4.fsf@jonas-damm.de> References: <87jzvnheu4.fsf@jonas-damm.de> <87sfabd5nc.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17981"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.13; emacs 29.0.91 Cc: Philip Kaludercic , help-gnu-emacs@gnu.org To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 30 11:26:48 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qFAOt-0004RN-4U for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 30 Jun 2023 11:26:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFAOC-00020l-Jl; Fri, 30 Jun 2023 05:26:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFAOA-0001zH-23 for help-gnu-emacs@gnu.org; Fri, 30 Jun 2023 05:26:02 -0400 Original-Received: from dd15330.kasserver.com ([85.13.136.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFAO6-0007Za-4S for help-gnu-emacs@gnu.org; Fri, 30 Jun 2023 05:26:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jonas-damm.de; s=kas202303062134; t=1688117140; bh=p7Ddqkf+YJ8ajzah6tOEKg2a7xkXkqAqsNeErI1v6Uo=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=iA9ejrN7ELl8T5C96OQu0jPDIa3AdP4fE/SJw7z1pE2n3z5Kab3rbMAOhDC5v9G/O U3yb9EAo1UpOKAXkKeowbPOQenFTQYRqk/CLJzrbBapbH9LoVTnMqy74dCMG5KuDX7 mKCT3NM9twaoH57y42nqlqAO3DCQ2WMmeCmqOgoo4jZrLIkuZCgO3C+eRXIxWIgor7 oFZ0p65OUFi3TwnsSOYOXKDkMgIhZb/L8jJEwBCrqoIB5/S4BeuDB7orAUE1p42Ijd sKJ6qhVTCH8+DR86qDSbUmFj7jcatrL063g4OeKeQkAaYGu/PGxsJJOXa1YwAa1ckE BeC/NnOtNXwZQ== Original-Received: from jonas-x201 (p57b2b7d5.dip0.t-ipconnect.de [87.178.183.213]) by dd15330.kasserver.com (Postfix) with ESMTPSA id 29B4A75005DF; Fri, 30 Jun 2023 11:25:40 +0200 (CEST) In-reply-to: X-Spamd-Bar: ++ Received-SPF: pass client-ip=85.13.136.159; envelope-from=mailing@jonas-damm.de; helo=dd15330.kasserver.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144063 Archived-At: Thanks, I understand, that this is not a good idea. Too bad, but at least I will draft it in org first. Jonas Yuri Khan writes: > On Fri, 30 Jun 2023 at 11:57, Jean Louis wrote: > >> * Philip Kaludercic [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.