mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-29 11:30:28 +00:00
80256b4dab
* Add string '.htm' to 'Saving with TiddlyIE' * Change external links to match locale with wiki language * Add instructions for use to 'Saving on Android' * Change string in 'task' * Change instructions for use in 'Saving on iPad/iPhone' * Add newline to 'TiddlyDesktop Releases' * Remove caption from 'Serving TW5 from Android' * Change link to external in tiddlers which tagged 'Editions' * Remove string 'index.html' from 'Some of the things you can do with TiddlyWiki' * Change link 'TiddlyWiki Groups' to 'Forums' in tiddlers which tagged 'Community' * Remove CamelCase link 'TiddlyWiki' from tiddlers tagged 'Community' * Change string 'done' to 'Upgrade' in 'UpgradeMechanism' * Change buttons to images in 'How to export tiddlers' * Add images about buttons to tiddlers * Add quotation mark to text 'edit' in 'Signing the Contributor License Agreement' * Rename 'UsingSVG' to 'Using SVG' * Change link 'TypedBlockWikiText' to 'Typed Blocks in WikiText' in 'Using SVG' * Add tiddler 'Using Stamp' * Add 'rel="noopener noreferrer"' to external links * Add description about 'rel="noreferrer"' to 'HTML in WikiText' * Add link of prerelease version about translators edition, and how to translate on Node.js, in 'Translate TiddlyWiki into your language' * Change string 'dropdown' to 'tab' in 'Installing a plugin from the plugin library' * Add download button to 'Empty Edition'
23 lines
1.2 KiB
Plaintext
23 lines
1.2 KiB
Plaintext
created: 20140711090154150
|
|
modified: 20160606122804180
|
|
tags: Mechanisms
|
|
title: UpgradeMechanism
|
|
|
|
# Open upgrade.html
|
|
# Includes a data tiddler called `$:/UpgradeLibrary` that contains the latest compatible versions of all plugins in the library
|
|
# Drag in old wiki file
|
|
# Place tiddlers into a data tiddler `$:/Import` that is typed as a "pending import"
|
|
# Kick off import processing for each tiddler
|
|
## Give each "upgrader" module a chance to inspect the incoming tiddlers
|
|
## Upgrader modules can trigger actions for each tiddler:
|
|
##* Display a warning message
|
|
##* Don't import
|
|
##* Replace with another tiddler from the upgrade library
|
|
##* Disable incompatible plugins
|
|
# Display the newly created pending import tiddler through a new view template segment
|
|
## Displays the payload tiddlers as a list of titles and checkboxes, with a dropdown showing the full details of the tiddler
|
|
## Perhaps we also suppress the usual JSON display for data tiddlers behind a reveal widget
|
|
# The user can adjust the selection checkboxes
|
|
# Clicking "Upgrade" unpacks the selected tiddlers from the pending import tiddler
|
|
# The pending import tiddler and the upgrade library tiddler are excluded from the subsequent save operation
|