aboutsummaryrefslogtreecommitdiff
path: root/wiki-utils.el
Commit message (Collapse)AuthorAgeFilesLines
* Add search.Yuchen Pei2023-07-241-3/+18
| | | | | | - For mediawiki sites, use API search. - For non-mediawiki sites, use eww. - Now it depends on a new library `generic-search.el'.
* Adding more defaults in wiki site info.Yuchen Pei2023-07-241-34/+30
| | | | | | - add mandatory host, and base-url is by default computed from host - add api-base-url for api base url, only applicable to mediawiki now - compute display name from site id by default
* Make mediawiki the default engineYuchen Pei2023-07-241-14/+0
|
* Add a mediawiki API fetcher.Yuchen Pei2023-07-231-42/+72
| | | | | | | | | 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.
* Add readme, license file, and clean up headersYuchen Pei2023-07-231-1/+0
|
* Fixing copyright and flymake complaints.Yuchen Pei2023-07-231-8/+20
|
* Update fetching mechanism.Yuchen Pei2023-07-151-4/+10
| | | | | | | | | Before: write process output buffer content to a file. After: open the file, insert the buffer string from the process output buffer, then save the file. This way we start with a "clean" buffer that allows undo etc.
* Adding a few more wiki sitesYuchen Pei2023-07-151-0/+9
|
* Enhance local navigation.Yuchen Pei2023-07-101-1/+3
| | | | | Add `wiki-find-file' to open a local file in wiki-mode. Guess the wikisite id based on the default directory.
* Implement wiki-fetch-prefer-localYuchen Pei2023-07-101-2/+2
|
* Show link target in help-echoYuchen Pei2023-07-101-3/+6
|
* Add some more wikis and wiki-open-urlYuchen Pei2023-07-101-14/+30
|
* Fixing stacking of multiple fontsYuchen Pei2023-07-101-0/+1
| | | | There may be italics in header and links, say
* Adding more wiki site examplesYuchen Pei2023-07-091-7/+34
| | | | and simple moinmoin / oddmuse fetching support.
* Browsing and navigating with various wiki enginesYuchen Pei2023-07-091-0/+23
|
* Implement wikilink followingYuchen Pei2023-07-091-5/+13
|
* Start work on wiki-engineYuchen Pei2023-07-091-0/+60
Adding wiki-engine.el, wiki-utils.el