Repository navigation
MWS-wikiwise 0.7.3
MWS-wikiwise 0.7.3
2 commits since 0.7.2, 11 files, +1943/−28.
A new wiki now opens in the visitor's language, and the bundled SimpleWiki
shell jumps to v0.1.47 with coloured code and formulas.
Install
mkdir my-folder && cd my-folder
npm install https://github.com/heino17/MultiWikiServer-wikiwise/releases/download/v0.7.3/mws-wikiwise-0.7.3.tgz
npx mws init-data-folder
npx mws update-tiddlywiki
npx mws init-store
npx mws listen --listener
mws-wikiwise-0.7.3.tgz — 4,626,020 bytes
sha256 54ca4d040e526568128f78af44a8acba2b933c23f06146c17d9a654a6a9491ba
npx mws init-data-folder is not optional: the server only starts if the data
folder's package.json is named @tiddlywiki/mws-instance, is marked private
and carries a 0.2.x version.
Added
- A new wiki opens in the visitor's language (§138). The default
Tiddlywikitemplate now ships the seven TiddlyWiki UI languages
(de-DE,es-ES,fr-FR,ja-JP,ko-KR,ru-RU,zh-Hans), and the
wiki client starts in the language that best fits the visitor's browser
(de-AT→de-DE,zh-CN→zh-Hans). The choice is per visitor:
$:/languageis never synced to the server and is remembered in
localStorage.
Changed
- The bundled SimpleWiki shell is refreshed from v0.1.46 to v0.1.47.
Reading view and editor preview now colour fenced code blocks (highlight.js)
and set$$ … $$/$ … $as math (KaTeX); a formula survives the round trip
through the WYSIWYG editor, and in the Markdown editor you see and edit the
formula itself. A freshinit-storeprovisions the new shell; an existing
template is brought forward withprovision-simplewiki.
Operating notes
- To update an existing installation, install the new tarball
(npm install .../v0.7.3/mws-wikiwise-0.7.3.tgz) —npm updatedoes not move
MWS. The next server start carries the bundled SimpleWiki shell forward on its
own;npx mws update-simplewikidoes the same thing right away. - No migration and no new dependency of the server itself: highlight.js and
KaTeX are embedded in the shell file.
Verified
npm run tsc2andnpm run buildare clean.templates/simplewiki.htmlinside the tarball reports
mws-shell-version v0.1.47, and the tarball'spackage.jsonsays0.7.3.- The refreshed shell is the SimpleWiki v0.1.47 build; its own suite
(tests/alle.py) is green with 1288 checks, and the reading view and editor
preview were exercised in a dev instance.