From f2d3c6ca51bfbf7620ddde9faf83ec5fd973abf5 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sun, 23 Jul 2023 23:05:13 +1000 Subject: Add a mediawiki API fetcher. Applicable to wikihow. Also clean up the code to reduce duplication with fetching and finding files. And fix when the wiki entry is under a directory naming itself which is common in mediawiki: both foo and foo/bar could be a valid wiki title. So locally files need to have an extension (by default .wiki). Also add the extension to auto-mode-alist. --- README.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index c2ae3b0..32e2b50 100644 --- a/README.org +++ b/README.org @@ -47,7 +47,7 @@ Currently supported features: * Install and use :PROPERTIES: - :UPDATED: [2023-07-23 Sun 18:12] + :UPDATED: [2023-07-23 Sun 22:25] :END: Clone, require, M-x: @@ -69,7 +69,7 @@ Some entry points: sites in the alist ~wiki-sites~. For example - M-x ~wiki-wikipedia-en-fetch~ RET Emacs RET - M-x ~wiki-parabolawiki-fetch~ RET Installation Guide RET - - M-x ~wiki-libreplanet-fetch~ RET Group:Freedom Ladder RET + - M-x ~wiki-libreplanet-fetch~ RET Activism Guide RET - M-x ~wiki-emacswiki-fetch~ RET SandBox RET - ~wiki-open-url~: fetches a title from a url. Example: - M-x ~wiki-open-url~ RET https://libreplanet.org/wiki/Group_talk:Freedom_Ladder RET -- cgit v1.2.3