74 changes: 53 additions & 21 deletions core/ui/ControlPanel/Plugins.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,64 @@ tags: $:/tags/ControlPanel
caption: {{$:/language/ControlPanel/Plugins/Caption}}

\define lingo-base() $:/language/ControlPanel/Plugins/
\define popup-state-macro()
$(qualified-state)$-$(currentTiddler)$
\end
\define tabs-state-macro()
$(popup-state)$-$(pluginInfoType)$
\end
\define plugin-icon-title()
$(currentTiddler)$/icon
\end
\define plugin-table(type)
<table>
<tbody>
<tr>
<th>
<<lingo Fields/Description>>
</th>
<th>
<<lingo Fields/Version>>
</th>
</tr>
<$set name="qualified-state" value=<<qualify "$:/state/plugin-info">>>
<$list filter="[!has[draft.of]plugin-type[$type$]sort[description]]">
<tr>
<td>
<$link to={{!!title}}>
''<$view field="description"><$view field="title"/></$view>''<br>
<$set name="popup-state" value=<<popup-state-macro>>>
<$link to={{!!title}} class="tw-plugin-info">
<div class="tw-plugin-info-chunk">
<$reveal type="nomatch" state=<<popup-state>> text="yes">
<$button class="btn-invisible btn-dropdown" set=<<popup-state>> setTo="yes">
{{$:/core/images/right-arrow}}
</$button>
</$reveal>
<$reveal type="match" state=<<popup-state>> text="yes">
<$button class="btn-invisible btn-dropdown" set=<<popup-state>> setTo="no">
{{$:/core/images/down-arrow}}
</$button>
</$reveal>
</div>
<div class="tw-plugin-info-chunk">
<$transclude tiddler=<<currentTiddler>> subtiddler=<<plugin-icon-title>>>
<$transclude tiddler="$:/core/images/plugin-generic-$type$"/>
</$transclude>
</div>
<div class="tw-plugin-info-chunk">
<div>
''<$view field="description"><$view field="title"/></$view>''
</div>
<div>
<$view field="title"/>
</$link>
</td>
<td>
</div>
<div>
<$view field="version"/>
</td>
</tr>
</div>
</div>
</$link>
<$reveal type="match" text="yes" state=<<popup-state>>>
<$reveal type="nomatch" text="" state="!!list">
<div class="tw-plugin-info-dropdown">
<$macrocall $name="tabs" state=<<tabs-state-macro>> tabsList={{!!list}} default="readme" template="$:/core/ui/PluginInfo"/>
</div>
</$reveal>
<$reveal type="match" text="" state="!!list">
<div class="tw-plugin-info-dropdown">
No information provided
</div>
</$reveal>
</$reveal>
</$set>
</$list>
</tbody>
</table>
</$set>
\end

! <<lingo Plugin/Prompt>>
Expand Down
2 changes: 1 addition & 1 deletion core/ui/ControlPanel/Saving.tid
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ http://$(userName)$.tiddlyspot.com/backup/
</$set>
</$reveal>
\end
! <<lingo Saving/Heading>>
! <<lingo Heading>>

|<<lingo AutoSave>> |{{$:/snippets/autosavestatus}} |

Expand Down
9 changes: 8 additions & 1 deletion core/ui/EditTemplate/controls.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
title: $:/core/ui/EditTemplate/controls
tags: $:/tags/EditTemplate

<span class="tw-tiddler-controls titlebar"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list> </span>
\define config-title()
$:/config/EditToolbarButtons/Visibility/$(listItem)$
\end
<div class="tw-tiddler-title">
<$view field="title"/>
<span class="tw-tiddler-controls titlebar"><$list filter="[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$list></span>
<div style="clear: both;"></div>
</div>
10 changes: 9 additions & 1 deletion core/ui/EditTemplate/fields.tid
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@ title: $:/core/ui/EditTemplate/fields
tags: $:/tags/EditTemplate

\define lingo-base() $:/language/EditTemplate/
\define config-title()
$:/config/EditTemplateFields/Visibility/$(currentField)$
\end
\define config-filter()
[[hide]] -[title{$(config-title)$}]
\end
<$fieldmangler>
<div class="tw-edit-fields">
<table class="tw-edit-fields">
<tbody>
<$list filter="[all[current]fields[]] -title -tags -text -creator -created -modified -modifier -type -[[draft.title]] -[[draft.of]] +[sort[title]]" variable="currentField">
<$list filter="[all[current]fields[]] +[sort[title]]" variable="currentField">
<$list filter=<<config-filter>> variable="temp">
<tr class="tw-edit-field">
<td class="tw-edit-field-name">
<$text text=<<currentField>>/>:</td>
Expand All @@ -18,6 +25,7 @@ tags: $:/tags/EditTemplate
</td>
</tr>
</$list>
</$list>
</tbody>
</table>
</div>
Expand Down
2 changes: 0 additions & 2 deletions core/ui/EditTemplate/title.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
title: $:/core/ui/EditTemplate/title
tags: $:/tags/EditTemplate

<$view field="title"/>

<$edit-text field="draft.title" class="titlebar tw-edit-texteditor"/>
13 changes: 11 additions & 2 deletions core/ui/EditToolbar/cancel.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
title: $:/core/ui/EditToolbar/cancel
title: $:/core/ui/Buttons/cancel
tags: $:/tags/EditToolbar
caption: {{$:/core/images/cancel-button}} {{$:/language/Buttons/Cancel/Caption}}
description: {{$:/language/Buttons/Cancel/Hint}}

<$button message="tw-cancel-tiddler" title={{$:/language/Buttons/Cancel/Hint}} aria-label={{$:/language/Buttons/Cancel/Caption}} class="btn-invisible">{{$:/core/images/cancel-button}}</$button>
<$button message="tw-cancel-tiddler" title={{$:/language/Buttons/Cancel/Hint}} aria-label={{$:/language/Buttons/Cancel/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/cancel-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Cancel/Caption}}/>
</$list>
</$button>
13 changes: 11 additions & 2 deletions core/ui/EditToolbar/delete.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
title: $:/core/ui/EditToolbar/delete
title: $:/core/ui/Buttons/delete
tags: $:/tags/EditToolbar
caption: {{$:/core/images/delete-button}} {{$:/language/Buttons/Delete/Caption}}
description: {{$:/language/Buttons/Delete/Hint}}

<$button message="tw-delete-tiddler" title={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class="btn-invisible">{{$:/core/images/delete-button}}</$button>
<$button message="tw-delete-tiddler" title={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/delete-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Delete/Caption}}/>
</$list>
</$button>
13 changes: 11 additions & 2 deletions core/ui/EditToolbar/save.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
title: $:/core/ui/EditToolbar/save
title: $:/core/ui/Buttons/save
tags: $:/tags/EditToolbar
caption: {{$:/core/images/done-button}} {{$:/language/Buttons/Save/Caption}}
description: {{$:/language/Buttons/Save/Hint}}

<$button message="tw-save-tiddler" title={{$:/language/Buttons/Save/Hint}} aria-label={{$:/language/Buttons/Save/Caption}} class="btn-invisible">{{$:/core/images/done-button}}</$button>
<$button message="tw-save-tiddler" title={{$:/language/Buttons/Save/Hint}} aria-label={{$:/language/Buttons/Save/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/done-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Save/Caption}}/>
</$list>
</$button>
56 changes: 56 additions & 0 deletions core/ui/ImportListing.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
title: $:/core/ui/ImportListing

\define lingo-base() $:/language/Import/
\define messageField()
message-$(payloadTiddler)$
\end
\define selectionField()
selection-$(payloadTiddler)$
\end
\define previewPopupState()
!!popup-$(payloadTiddler)$
\end
<table>
<tbody>
<tr>
<th>
<<lingo Listing/Select/Caption>>
</th>
<th>
<<lingo Listing/Title/Caption>>
</th>
<th>
<<lingo Listing/Status/Caption>>
</th>
</tr>
<$list filter="[all[current]plugintiddlers[]sort[title]]" variable="payloadTiddler">
<tr>
<td>
<$checkbox field=<<selectionField>> checked="checked" unchecked="unchecked" default="checked"/>
</td>
<td>
<$reveal type="nomatch" state=<<previewPopupState>> text="yes">
<$button class="btn-invisible btn-dropdown" set=<<previewPopupState>> setTo="yes">
{{$:/core/images/right-arrow}}&nbsp;<$text text=<<payloadTiddler>>/>
</$button>
</$reveal>
<$reveal type="match" state=<<previewPopupState>> text="yes">
<$button class="btn-invisible btn-dropdown" set=<<previewPopupState>> setTo="no">
{{$:/core/images/down-arrow}}&nbsp;<$text text=<<payloadTiddler>>/>
</$button>
</$reveal>
</td>
<td>
<$view field=<<messageField>>/>
</td>
</tr>
<tr>
<td colspan="3">
<$reveal type="match" text="yes" state=<<previewPopupState>>>
<$transclude subtiddler=<<payloadTiddler>> mode="block"/>
</$reveal>
</td>
</tr>
</$list>
</tbody>
</table>
13 changes: 13 additions & 0 deletions core/ui/PageControls/closeall.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
title: $:/core/ui/Buttons/close-all
tags: $:/tags/PageControls
caption: {{$:/core/images/close-all-button}} {{$:/language/Buttons/CloseAll/Caption}}
description: {{$:/language/Buttons/CloseAll/Hint}}

<$button message="tw-close-all-tiddlers" title={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/close-all-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/CloseAll/Caption}}/>
</$list>
</$button>
13 changes: 11 additions & 2 deletions core/ui/PageControls/controlpanel.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
title: $:/core/ui/PageControls/control-panel
title: $:/core/ui/Buttons/control-panel
tags: $:/tags/PageControls
caption: {{$:/core/images/options-button}} {{$:/language/Buttons/ControlPanel/Caption}}
description: {{$:/language/Buttons/ControlPanel/Hint}}

<$button to="$:/ControlPanel" title={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class="btn-invisible">{{$:/core/images/options-button}}</$button>
<$button to="$:/ControlPanel" title={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/options-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/ControlPanel/Caption}}/>
</$list>
</$button>
25 changes: 25 additions & 0 deletions core/ui/PageControls/encryption.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
title: $:/core/ui/Buttons/encryption
tags: $:/tags/PageControls
caption: {{$:/core/images/locked-padlock}} {{$:/language/Buttons/Encryption/Caption}}
description: {{$:/language/Buttons/Encryption/Hint}}

<$reveal type="match" state="$:/isEncrypted" text="yes">
<$button message="tw-clear-password" title={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/locked-padlock}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/>
</$list>
</$button>
</$reveal>
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
<$button message="tw-set-password" title={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/unlocked-padlock}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/>
</$list>
</$button>
</$reveal>
13 changes: 13 additions & 0 deletions core/ui/PageControls/full-screen.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
title: $:/core/ui/Buttons/full-screen
tags: $:/tags/PageControls
caption: {{$:/core/images/full-screen-button}} {{$:/language/Buttons/FullScreen/Caption}}
description: {{$:/language/Buttons/FullScreen/Hint}}

<$button message="tw-full-screen" title={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/full-screen-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/FullScreen/Caption}}/>
</$list>
</$button>
13 changes: 13 additions & 0 deletions core/ui/PageControls/home.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
title: $:/core/ui/Buttons/home
tags: $:/tags/PageControls
caption: {{$:/core/images/home-button}} {{$:/language/Buttons/Home/Caption}}
description: {{$:/language/Buttons/Home/Hint}}

<$button message="tw-home" title={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/home-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Home/Caption}}/>
</$list>
</$button>
16 changes: 16 additions & 0 deletions core/ui/PageControls/import.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
title: $:/core/ui/Buttons/import
tags: $:/tags/PageControls
caption: {{$:/core/images/import-button}} {{$:/language/Buttons/Import/Caption}}
description: {{$:/language/Buttons/Import/Hint}}

<div class="tw-file-input-wrapper">
<$button title={{$:/language/Buttons/Import/Hint}} aria-label={{$:/language/Buttons/Import/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/import-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Import/Caption}}/>
</$list>
</$button>
<$browse/>
</div>
52 changes: 52 additions & 0 deletions core/ui/PageControls/language.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
title: $:/core/ui/Buttons/language
tags: $:/tags/PageControls
caption: {{$:/core/images/globe}} {{$:/language/Buttons/Language/Caption}}
description: {{$:/language/Buttons/Language/Hint}}

\define flag-title()
$(languagePluginTitle)$/icon
\end
<$button popup=<<qualify "$:/state/popup/language">> title={{$:/language/Buttons/Language/Hint}} aria-label={{$:/language/Buttons/Language/Caption}} class=<<tw-config-toolbar-class>> selectedClass="tw-selected">
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
<span class="tw-image-button">
<$set name="languagePluginTitle" value={{$:/language}}>
<$image source=<<flag-title>>/>
</$set>
</span>
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Language/Caption}}/>
</$list>
</$button>
<$reveal state=<<qualify "$:/state/popup/language">> type="popup" position="below" animate="yes">
<div class="tw-drop-down">
<$linkcatcher to="$:/language">
<$list filter="[[$:/languages/en-GB]] [plugin-type[language]sort[title]]">
<$link>
<span class="tw-drop-down-bullet">
<$reveal type="match" state="$:/language" text=<<currentTiddler>>>
&bull;
</$reveal>
<$reveal type="nomatch" state="$:/language" text=<<currentTiddler>>>
&nbsp;
</$reveal>
</span>
<span class="tw-image-button">
<$set name="languagePluginTitle" value=<<currentTiddler>>>
<$transclude subtiddler=<<flag-title>>>
<$list filter="[all[current]field:title[$:/languages/en-GB]]">
<$transclude tiddler="$:/languages/en-GB/icon"/>
</$list>
</$transclude>
</$set>
</span>
<$view field="description">
<$view field="name">
<$view field="title"/>
</$view>
</$view>
</$link>
</$list>
</$linkcatcher>
</div>
</$reveal>
46 changes: 46 additions & 0 deletions core/ui/PageControls/more-page-actions.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
title: $:/core/ui/Buttons/more-page-actions
tags: $:/tags/PageControls
caption: {{$:/core/images/down-arrow}} {{$:/language/Buttons/More/Caption}}
description: {{$:/language/Buttons/More/Hint}}

\define config-title()
$:/config/PageControlButtons/Visibility/$(listItem)$
\end
<$button popup=<<qualify "$:/state/popup/more">> title={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tw-config-toolbar-class>> selectedClass="tw-selected">
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/down-arrow}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/More/Caption}}/>
</$list>
</$button>
<$reveal state=<<qualify "$:/state/popup/more">> type="popup" position="below" animate="yes">

<div class="tw-drop-down">

<$set name="tw-config-toolbar-icons" value="yes">

<$set name="tw-config-toolbar-text" value="yes">

<$set name="tw-config-toolbar-class" value="btn-invisible">

<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]] -[[$:/core/ui/Buttons/more-page-actions]]" variable="listItem">

<$reveal type="match" state=<<config-title>> text="hide">

<$transclude tiddler=<<listItem>> mode="inline"/>

</$reveal>

</$list>

</$set>

</$set>

</$set>

</div>

</$reveal>

13 changes: 11 additions & 2 deletions core/ui/PageControls/newtiddler.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
title: $:/core/ui/PageControls/new-tiddler
title: $:/core/ui/Buttons/new-tiddler
tags: $:/tags/PageControls
caption: {{$:/core/images/new-button}} {{$:/language/Buttons/NewTiddler/Caption}}
description: {{$:/language/Buttons/NewTiddler/Hint}}

<$button message="tw-new-tiddler" title={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class="btn-invisible">{{$:/core/images/new-button}}</$button>
<$button message="tw-new-tiddler" title={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/new-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/NewTiddler/Caption}}/>
</$list>
</$button>
15 changes: 13 additions & 2 deletions core/ui/PageControls/savewiki.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
title: $:/core/ui/PageControls/save-wiki
title: $:/core/ui/Buttons/save-wiki
tags: $:/tags/PageControls
caption: {{$:/core/images/save-button}} {{$:/language/Buttons/SaveWiki/Caption}}
description: {{$:/language/Buttons/SaveWiki/Hint}}

<$button message="tw-save-wiki" title={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class="btn-invisible">{{$:/core/images/save-button}}</$button>
<$button message="tw-save-wiki" title={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=<<tw-config-toolbar-class>>>
<span class="tw-dirty-indicator">
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/save-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/SaveWiki/Caption}}/>
</$list>
</span>
</$button>
37 changes: 37 additions & 0 deletions core/ui/PageControls/storyview.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
title: $:/core/ui/Buttons/storyview
tags: $:/tags/PageControls
caption: {{$:/core/images/storyview-classic}} {{$:/language/Buttons/StoryView/Caption}}
description: {{$:/language/Buttons/StoryView/Hint}}

\define icon()
$:/core/images/storyview-$(storyview)$
\end
<$button popup=<<qualify "$:/state/popup/storyview">> title={{$:/language/Buttons/StoryView/Hint}} aria-label={{$:/language/Buttons/StoryView/Caption}} class=<<tw-config-toolbar-class>> selectedClass="tw-selected">
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
<$set name="storyview" value={{$:/view}}>
<$transclude tiddler=<<icon>>/>
</$set>
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/StoryView/Caption}}/>
</$list>
</$button>
<$reveal state=<<qualify "$:/state/popup/storyview">> type="popup" position="below" animate="yes">
<div class="tw-drop-down">
<$linkcatcher to="$:/view">
<$list filter="[storyviews[]]" variable="storyview">
<$link to=<<storyview>>>
<span class="tw-drop-down-bullet">
<$reveal type="match" state="$:/view" text=<<storyview>>>
&bull;
</$reveal>
<$reveal type="nomatch" state="$:/view" text=<<storyview>>>
&nbsp;
</$reveal>
</span>
<$transclude tiddler=<<icon>>/>
<$text text=<<storyview>>/></$link>
</$list>
</$linkcatcher>
</div>
</$reveal>
32 changes: 32 additions & 0 deletions core/ui/PageControls/theme.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
title: $:/core/ui/Buttons/theme
tags: $:/tags/PageControls
caption: {{$:/core/images/theme-button}} {{$:/language/Buttons/Theme/Caption}}
description: {{$:/language/Buttons/Theme/Hint}}

<$button popup=<<qualify "$:/state/popup/theme">> title={{$:/language/Buttons/Theme/Hint}} aria-label={{$:/language/Buttons/Theme/Caption}} class=<<tw-config-toolbar-class>> selectedClass="tw-selected">
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/theme-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Theme/Caption}}/>
</$list>
</$button>
<$reveal state=<<qualify "$:/state/popup/theme">> type="popup" position="below" animate="yes">
<div class="tw-drop-down">
<$linkcatcher to="$:/theme">
<$list filter="[plugin-type[theme]sort[title]]" variable="themeTitle">
<$link to=<<themeTitle>>>
<span class="tw-drop-down-bullet">
<$reveal type="match" state="$:/theme" text=<<themeTitle>>>
&bull;
</$reveal>
<$reveal type="nomatch" state="$:/theme" text=<<themeTitle>>>
&nbsp;
</$reveal>
</span>
<$view tiddler=<<themeTitle>> field="name"/>
</$link>
</$list>
</$linkcatcher>
</div>
</$reveal>
2 changes: 1 addition & 1 deletion core/ui/PageStylesheet.tid
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ background-image: -ms-linear-gradient($gradient$);
\end


<$list filter="[all[shadows+tiddlers]tag[$:/tags/stylesheet]]">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/stylesheet]!has[draft.of]]">
<$transclude/>
</$list>
12 changes: 12 additions & 0 deletions core/ui/PageTemplate.tid
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ tw-page-container tw-page-view-$(themeTitle)$ tw-language-$(languageTitle)$

<$importvariables filter="[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]">

<$set name="tw-config-toolbar-icons" value={{$:/config/Toolbar/Icons}}>

<$set name="tw-config-toolbar-text" value={{$:/config/Toolbar/Text}}>

<$set name="tw-config-toolbar-class" value="btn-invisible">

<$set name="themeTitle" value={{$:/view}}>

<$set name="currentTiddler" value={{$:/language}}>
Expand Down Expand Up @@ -40,4 +46,10 @@ tw-page-container tw-page-view-$(themeTitle)$ tw-language-$(languageTitle)$

</$set>

</$set>

</$set>

</$set>

</$importvariables>
9 changes: 5 additions & 4 deletions core/ui/PageTemplate/sidebar.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
title: $:/core/ui/PageTemplate/sidebar
tags: $:/tags/PageTemplate

\define config-title()
$:/config/PageControlButtons/Visibility/$(listItem)$
\end
<$scrollable fallthrough="no" class="tw-sidebar-scrollable">

<div class="sidebar-header">
Expand All @@ -20,13 +23,11 @@ tags: $:/tags/PageTemplate
</div>

<div class="tw-page-controls">

<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">

<$reveal type="nomatch" state=<<config-title>> text="hide">
<$transclude tiddler=<<listItem>> mode="inline"/>

</$reveal>
</$list>

</div>

<$transclude tiddler="$:/core/ui/SideBarLists" mode="inline"/>
Expand Down
20 changes: 20 additions & 0 deletions core/ui/PageTemplate/story.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@ tags: $:/tags/PageTemplate

<section class="story-river">

<section class="story-backdrop">

<$list filter="[all[shadows+tiddlers]tag[$:/tags/AboveStory]!has[draft.of]]">

<$transclude/>

</$list>

</section>

<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" template="$:/core/ui/ViewTemplate" editTemplate="$:/core/ui/EditTemplate" storyview={{$:/view}} />

<section class="story-frontdrop">

<$list filter="[all[shadows+tiddlers]tag[$:/tags/BelowStory]!has[draft.of]]">

<$transclude/>

</$list>

</section>

</section>
15 changes: 15 additions & 0 deletions core/ui/PluginInfo.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
title: $:/core/ui/PluginInfo

\define localised-info-tiddler-title()
$(currentTiddler)$/$(languageTitle)$/$(currentTab)$
\end
\define info-tiddler-title()
$(currentTiddler)$/$(currentTab)$
\end
<$transclude tiddler=<<localised-info-tiddler-title>> mode="block">
<$transclude tiddler=<<currentTiddler>> subtiddler=<<localised-info-tiddler-title>> mode="block">
<$transclude tiddler=<<currentTiddler>> subtiddler=<<info-tiddler-title>> mode="block">
No ''"<$text text=<<currentTab>>/>"'' found
</$transclude>
</$transclude>
</$transclude>
24 changes: 13 additions & 11 deletions core/ui/SideBar/Tools.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,26 @@ tags: $:/tags/SideBar
caption: {{$:/language/SideBar/Tools/Caption}}

\define lingo-base() $:/language/ControlPanel/
<<lingo Tools/Import/Prompt>> <$browse/>
\define config-title()
$:/config/PageControlButtons/Visibility/$(listItem)$
\end

---
<<lingo Basics/Version/Prompt>> <<version>>

{{$:/snippets/encryptionstatus}}
<$set name="tw-config-toolbar-icons" value="yes">

---
<$set name="tw-config-toolbar-text" value="yes">

<<lingo Basics/Version/Prompt>> <<version>>
<$set name="tw-config-toolbar-class" value="">

---
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">

{{$:/snippets/viewswitcher}}
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>>/> <i class="tw-muted"><$transclude tiddler=<<listItem>> field="description"/></i></$checkbox>

---
</$list>

{{$:/snippets/minithemeswitcher}}
</$set>

---
</$set>

{{$:/snippets/languageswitcher}}
</$set>
23 changes: 14 additions & 9 deletions core/ui/TagManager.tid
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
title: $:/TagManager

\define lingo-base() $:/language/TagManager/
\define iconEditor(title)
<$edit-text field="icon" tag="input" size="20"/> <$button popup=<<qualify "$:/state/popup/icon/$title$">> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button>
<div class="tw-block-dropdown-wrapper">
<$reveal state=<<qualify "$:/state/popup/icon/$title$">> type="nomatch" text="" default="">
<$linkcatcher to="$title$!!icon">
<div class="tw-block-dropdown tw-edit-type-dropdown">
<$list filter="[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] +[sort[title]]">
\define iconEditorTab(type)
<$list filter="[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] -[type[application/pdf]] +[sort[title]] +[$type$is[system]]">
<$link to={{!!title}}>
<$view field="title"/>
<$transclude/> <$view field="title"/>
</$link>
</$list>
</div>
\end
\define iconEditor(title)
<div class="tw-drop-down-wrapper">
<$edit-text field="icon" tag="input" size="20"/> <$button popup=<<qualify "$:/state/popup/icon/$title$">> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button>
<$reveal state=<<qualify "$:/state/popup/icon/$title$">> type="popup" position="belowleft" text="" default="">
<div class="tw-drop-down">
<$linkcatcher to="$title$!!icon">
<<iconEditorTab type:"!">>
<hr/>
<<iconEditorTab type:"">>
</$linkcatcher>
</div>
</$reveal>
</div>
\end
Expand Down
2 changes: 1 addition & 1 deletion core/ui/TiddlerInfo.tid
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title: $:/core/ui/TiddlerInfo

<<tabs "[all[shadows+tiddlers]tag[$:/tags/TiddlerInfo]!has[draft.of]]" "$:/core/ui/TiddlerInfo/References">>
<<tabs "[all[shadows+tiddlers]tag[$:/tags/TiddlerInfo]!has[draft.of]]" "$:/core/ui/TiddlerInfo/Tools">>
25 changes: 25 additions & 0 deletions core/ui/TiddlerInfo/Tools.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
title: $:/core/ui/TiddlerInfo/Tools
tags: $:/tags/TiddlerInfo
caption: {{$:/language/TiddlerInfo/Tools/Caption}}

\define lingo-base() $:/language/TiddlerInfo/
\define config-title()
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
\end
<$set name="tw-config-toolbar-icons" value="yes">

<$set name="tw-config-toolbar-text" value="yes">

<$set name="tw-config-toolbar-class" value="">

<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem">

<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>>/> <i class="tw-muted"><$transclude tiddler=<<listItem>> field="description"/></i></$checkbox>

</$list>

</$set>

</$set>

</$set>
2 changes: 1 addition & 1 deletion core/ui/ViewTemplate.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: $:/core/ui/ViewTemplate

\define frame-classes()
tw-tiddler-frame tw-tiddler-view-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$
tw-tiddler-frame tw-tiddler-view-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$
\end
<$set name="storyTiddler" value=<<currentTiddler>>><$set name="tiddlerInfoState" value=<<qualify "$:/state/popup/tiddler-info">>><$tiddler tiddler=<<currentTiddler>>><div class=<<frame-classes>>><$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
</div>
Expand Down
4 changes: 4 additions & 0 deletions core/ui/ViewTemplate/body.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ tags: $:/tags/ViewTemplate

<div class="body">

<$list filter="[all[current]!has[plugin-type]]">

<$transclude>

<$transclude tiddler="$:/language/MissingTiddler/Hint"/>

</$transclude>

</$list>

</div>
19 changes: 19 additions & 0 deletions core/ui/ViewTemplate/import.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
title: $:/core/ui/ViewTemplate/import
tags: $:/tags/ViewTemplate

\define lingo-base() $:/language/Import/

<$list filter="[all[current]field:plugin-type[import]]">

<div class="tw-import">

<<lingo Listing/Hint>>

{{||$:/core/ui/ImportListing}}

<$button message="tw-delete-tiddler" param=<<currentTiddler>>><<lingo Listing/Cancel/Caption>></$button>
<$button message="tw-perform-import" param=<<currentTiddler>>><<lingo Listing/Import/Caption>></$button>

</div>

</$list>
8 changes: 8 additions & 0 deletions core/ui/ViewTemplate/plugin.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
title: $:/core/ui/ViewTemplate/plugin
tags: $:/tags/ViewTemplate

<$list filter="[all[current]has[plugin-type]] -[all[current]field:plugin-type[import]]">

{{||$:/core/ui/TiddlerInfo/Advanced/PluginInfo}}

</$list>
5 changes: 4 additions & 1 deletion core/ui/ViewTemplate/title.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ tags: $:/tags/ViewTemplate
\define title-styles()
fill:$(foregroundColor)$;
\end
\define config-title()
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
\end
<div class="tw-tiddler-title">
<h2 class="titlebar">
<span class="tw-tiddler-controls">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$list>
</span>
<$set name="foregroundColor" value={{!!color}}>
<span style=<<title-styles>>>
Expand Down
13 changes: 13 additions & 0 deletions core/ui/ViewToolbar/clone.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
title: $:/core/ui/Buttons/clone
tags: $:/tags/ViewToolbar
caption: {{$:/core/images/clone-button}} {{$:/language/Buttons/Clone/Caption}}
description: {{$:/language/Buttons/Clone/Hint}}

<$button message="tw-new-tiddler" param=<<currentTiddler>> title={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/clone-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Clone/Caption}}/>
</$list>
</$button>
13 changes: 13 additions & 0 deletions core/ui/ViewToolbar/close-others.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
title: $:/core/ui/Buttons/close-others
tags: $:/tags/ViewToolbar
caption: {{$:/core/images/close-others-button}} {{$:/language/Buttons/CloseOthers/Caption}}
description: {{$:/language/Buttons/CloseOthers/Hint}}

<$button message="tw-close-other-tiddlers" param=<<currentTiddler>> title={{$:/language/Buttons/CloseOthers/Hint}} aria-label={{$:/language/Buttons/CloseOthers/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/close-others-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/CloseOthers/Caption}}/>
</$list>
</$button>
13 changes: 11 additions & 2 deletions core/ui/ViewToolbar/close.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
title: $:/core/ui/ViewToolbar/close
title: $:/core/ui/Buttons/close
tags: $:/tags/ViewToolbar
caption: {{$:/core/images/close-button}} {{$:/language/Buttons/Close/Caption}}
description: {{$:/language/Buttons/Close/Hint}}

<$button message="tw-close-tiddler" title={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class="btn-invisible">{{$:/core/images/close-button}}</$button>
<$button message="tw-close-tiddler" title={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/close-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Close/Caption}}/>
</$list>
</$button>
13 changes: 11 additions & 2 deletions core/ui/ViewToolbar/edit.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
title: $:/core/ui/ViewToolbar/edit
title: $:/core/ui/Buttons/edit
tags: $:/tags/ViewToolbar
caption: {{$:/core/images/edit-button}} {{$:/language/Buttons/Edit/Caption}}
description: {{$:/language/Buttons/Edit/Hint}}

<$button message="tw-edit-tiddler" title={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class="btn-invisible">{{$:/core/images/edit-button}}</$button>
<$button message="tw-edit-tiddler" title={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/edit-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Edit/Caption}}/>
</$list>
</$button>
13 changes: 11 additions & 2 deletions core/ui/ViewToolbar/info.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
title: $:/core/ui/ViewToolbar/info
title: $:/core/ui/Buttons/info
tags: $:/tags/ViewToolbar
caption: {{$:/core/images/info-button}} {{$:/language/Buttons/Info/Caption}}
description: {{$:/language/Buttons/Info/Hint}}

<$button popup=<<tiddlerInfoState>> title={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class="btn-invisible" selectedClass="tw-selected">{{$:/core/images/info-button}}</$button>
<$button popup=<<tiddlerInfoState>> title={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=<<tw-config-toolbar-class>> selectedClass="tw-selected">
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/info-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Info/Caption}}/>
</$list>
</$button>
30 changes: 30 additions & 0 deletions core/ui/ViewToolbar/more-tiddler-actions.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
title: $:/core/ui/Buttons/more-tiddler-actions
tags: $:/tags/ViewToolbar
caption: {{$:/core/images/down-arrow}} {{$:/language/Buttons/More/Caption}}
description: {{$:/language/Buttons/More/Hint}}

\define config-title()
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
\end
<$button popup=<<qualify "$:/state/popup/more">> title={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tw-config-toolbar-class>> selectedClass="tw-selected">
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/down-arrow}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/More/Caption}}/>
</$list>
</$button>
<$reveal state=<<qualify "$:/state/popup/more">> type="popup" position="below" animate="yes">
<div class="tw-drop-down">
<$set name="tw-config-toolbar-icons" value="yes">
<$set name="tw-config-toolbar-text" value="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] -[[$:/core/ui/Buttons/more-tiddler-actions]]" variable="listItem">
<$reveal type="match" state=<<config-title>> text="hide">
<$transclude tiddler=<<listItem>>/>
</$reveal>
</$list>
</$set>
</$set>
</div>
</$reveal>

13 changes: 13 additions & 0 deletions core/ui/ViewToolbar/permalink.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
title: $:/core/ui/Buttons/permalink
tags: $:/tags/ViewToolbar
caption: {{$:/core/images/permalink-button}} {{$:/language/Buttons/Permalink/Caption}}
description: {{$:/language/Buttons/Permalink/Hint}}

<$button message="tw-permalink" title={{$:/language/Buttons/Permalink/Hint}} aria-label={{$:/language/Buttons/Permalink/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/permalink-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Permalink/Caption}}/>
</$list>
</$button>
13 changes: 13 additions & 0 deletions core/ui/ViewToolbar/permaview.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
title: $:/core/ui/Buttons/permaview
tags: $:/tags/ViewToolbar $:/tags/PageControls
caption: {{$:/core/images/permaview-button}} {{$:/language/Buttons/Permaview/Caption}}
description: {{$:/language/Buttons/Permaview/Hint}}

<$button message="tw-permaview" title={{$:/language/Buttons/Permaview/Hint}} aria-label={{$:/language/Buttons/Permaview/Caption}} class=<<tw-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/permaview-button}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Permaview/Caption}}/>
</$list>
</$button>
14 changes: 14 additions & 0 deletions core/wiki/config/EditTemplateFields.multids
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
title: $:/config/EditTemplateFields/Visibility/

title: hide
tags: hide
text: hide
creator: hide
created: hide
modified: hide
modifier: hide
type: hide
draft.title: hide
draft.of: hide
revision: hide
bag: hide
2 changes: 1 addition & 1 deletion core/wiki/config/NavigationUpdateAddressBar.tid
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
title: $:/config/Navigation/UpdateAddressBar
text: permaview
text: no
12 changes: 12 additions & 0 deletions core/wiki/config/PageControlButtons.multids
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
title: $:/config/PageControlButtons/Visibility/$:/

core/ui/Buttons/close-all: hide
core/ui/Buttons/encryption: hide
core/ui/Buttons/full-screen: hide
core/ui/Buttons/home: hide
core/ui/Buttons/import: hide
core/ui/Buttons/language: hide
core/ui/Buttons/more-page-actions: hide
core/ui/Buttons/permaview: hide
core/ui/Buttons/storyview: hide
core/ui/Buttons/theme: hide
2 changes: 1 addition & 1 deletion core/wiki/config/SyncFilter.tid
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title: $:/config/SyncFilter

[is[tiddler]] -[[$:/HistoryList]] -[[$:/StoryList]] -[[$:/isEncrypted]] -[prefix[$:/status]] -[prefix[$:/state]] -[prefix[$:/temp]]
[is[tiddler]] -[[$:/HistoryList]] -[[$:/StoryList]] -[[$:/Import]] -[[$:/isEncrypted]] -[prefix[$:/status]] -[prefix[$:/state]] -[prefix[$:/temp]]
3 changes: 3 additions & 0 deletions core/wiki/config/ToolbarIcons.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/config/Toolbar/Icons

yes
3 changes: 3 additions & 0 deletions core/wiki/config/ToolbarText.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/config/Toolbar/Text

no
7 changes: 7 additions & 0 deletions core/wiki/config/ViewToolbarButtons.multids
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: $:/config/ViewToolbarButtons/Visibility/$:/

core/ui/Buttons/clone: hide
core/ui/Buttons/close-others: hide
core/ui/Buttons/more-tiddler-actions: hide
core/ui/Buttons/permalink: hide
core/ui/Buttons/permaview: hide
6 changes: 5 additions & 1 deletion core/wiki/macros/tabs.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: $:/core/macros/tabs
tags: $:/tags/Macro

\define tabs(tabsList,default,state:"$:/state/tab",class)
\define tabs(tabsList,default,state:"$:/state/tab",class,template)
<div class="tw-tab-set $class$">
<div class="tw-tab-buttons $class$">
<$list filter="$tabsList$" variable="currentTab">
Expand All @@ -16,8 +16,12 @@ tags: $:/tags/Macro

<$reveal type="match" state=<<qualify "$state$">> text=<<currentTab>> default="$default$">

<$transclude tiddler="$template$" mode="block">

<$transclude tiddler=<<currentTab>> mode="block"/>

</$transclude>

</$reveal>

</$list>
Expand Down
2 changes: 1 addition & 1 deletion core/wiki/tags/EditToolbar.tid
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
title: $:/tags/EditToolbar
list: [[$:/core/ui/EditToolbar/delete]] [[$:/core/ui/EditToolbar/cancel]] [[$:/core/ui/EditToolbar/save]]
list: [[$:/core/ui/Buttons/delete]] [[$:/core/ui/Buttons/cancel]] [[$:/core/ui/Buttons/save]]
2 changes: 1 addition & 1 deletion core/wiki/tags/PageControls.tid
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
title: $:/tags/PageControls
list: [[$:/core/ui/PageControls/new-tiddler]] [[$:/core/ui/PageControls/control-panel]] [[$:/core/ui/PageControls/save-wiki]]
list: [[$:/core/ui/Buttons/home]] [[$:/core/ui/Buttons/close-all]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/new-tiddler]] [[$:/core/ui/Buttons/import]] [[$:/core/ui/Buttons/control-panel]] [[$:/core/ui/Buttons/language]] [[$:/core/ui/Buttons/theme]] [[$:/core/ui/Buttons/storyview]] [[$:/core/ui/Buttons/encryption]] [[$:/core/ui/Buttons/full-screen]] [[$:/core/ui/Buttons/save-wiki]] [[$:/core/ui/Buttons/more-page-actions]]
2 changes: 1 addition & 1 deletion core/wiki/tags/TiddlerInfo.tid
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title: $:/tags/TiddlerInfo
list: [[$:/core/ui/TiddlerInfo/References]] [[$:/core/ui/TiddlerInfo/Tagging]] [[$:/core/ui/TiddlerInfo/List]] [[$:/core/ui/TiddlerInfo/Listed]] [[$:/core/ui/TiddlerInfo/Fields]]
list: [[$:/core/ui/TiddlerInfo/Tools]] [[$:/core/ui/TiddlerInfo/References]] [[$:/core/ui/TiddlerInfo/Tagging]] [[$:/core/ui/TiddlerInfo/List]] [[$:/core/ui/TiddlerInfo/Listed]] [[$:/core/ui/TiddlerInfo/Fields]]

2 changes: 1 addition & 1 deletion core/wiki/tags/ViewToolbar.tid
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
title: $:/tags/ViewToolbar
list: [[$:/core/ui/ViewToolbar/info]] [[$:/core/ui/ViewToolbar/edit]] [[$:/core/ui/ViewToolbar/close]]
list: [[$:/core/ui/Buttons/more-tiddler-actions]] [[$:/core/ui/Buttons/info]] [[$:/core/ui/Buttons/clone]] [[$:/core/ui/Buttons/edit]] [[$:/core/ui/Buttons/permalink]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/close-others]] [[$:/core/ui/Buttons/close]]
1 change: 0 additions & 1 deletion editions/de-AT-DE/tiddlywiki.info
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"plugins": [
"tiddlywiki/fullscreen",
"tiddlywiki/github-fork-ribbon"
],
"themes": [
Expand Down
1 change: 0 additions & 1 deletion editions/empty/tiddlywiki.info
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"plugins": [
"tiddlywiki/fullscreen"
],
"themes": [
"tiddlywiki/vanilla",
Expand Down
1 change: 0 additions & 1 deletion editions/fr-FR/tiddlywiki.info
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"plugins": [
"tiddlywiki/fullscreen"
],
"themes": [
"tiddlywiki/vanilla",
Expand Down
19 changes: 19 additions & 0 deletions editions/test/tiddlers/tests/test-filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,25 @@ describe("Filter tests", function() {
expect(wiki.filterTiddlers("[modifier{!!modifier}] +[sort[title]]",fakeWidget).join(",")).toBe("$:/TiddlerTwo,a fourth tiddler,one,Tiddler Three");
});

it("should handle variable operands", function() {

var widget = require("$:/core/modules/widgets/widget.js");
// Create a root widget for attaching event handlers. By using it as the parentWidget for another widget tree, one can reuse the event handlers
var rootWidget = new widget.widget({
type: "widget",
children: [{type: "widget", children: []}]
},{
wiki: $tw.wiki,
document: $tw.document
});
rootWidget.makeChildWidgets();
var anchorWidget = rootWidget.children[0];
rootWidget.setVariable("myVar","Tidd");
rootWidget.setVariable("myVar2","JoeBloggs");
expect(wiki.filterTiddlers("[prefix<myVar>] +[sort[title]]",anchorWidget).join(",")).toBe("Tiddler Three,TiddlerOne");
expect(wiki.filterTiddlers("[modifier<myVar2>] +[sort[title]]",anchorWidget).join(",")).toBe("TiddlerOne");
});

it("should handle the before and after operators", function() {
expect(wiki.filterTiddlers("[list[TiddlerSeventh]after[TiddlerOne]]").join(",")).toBe("Tiddler Three");
expect(wiki.filterTiddlers("[list[TiddlerSeventh]after[a fourth tiddler]]").join(",")).toBe("MissingTiddler");
Expand Down
10 changes: 10 additions & 0 deletions editions/test/tiddlers/tests/test-wikitext.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ describe("WikiText tests", function() {
it("should support attributes specified as macro invocations", function() {
expect(wiki.renderTiddler("text/html","TiddlerFour")).toBe("<p><a class='tw-tiddlylink tw-tiddlylink-missing' href='#This%20is%20my%20''amazingly''%20groovy%20macro!'>This is a link</a></p>");
});
it("should identify wikiwords to automatically link", function() {
expect(wiki.renderText("text/html","text/vnd-tiddlywiki","No wikilinks here").indexOf("<a") !== -1).toBe(false);
expect(wiki.renderText("text/html","text/vnd-tiddlywiki","One WikiLink here").indexOf("<a") !== -1).toBe(true);
expect(wiki.renderText("text/html","text/vnd-tiddlywiki","No Wiki-Link here").indexOf("<a") !== -1).toBe(false);
expect(wiki.renderText("text/html","text/vnd-tiddlywiki","No Wiki×Link here").indexOf("<a") !== -1).toBe(false);
expect(wiki.renderText("text/html","text/vnd-tiddlywiki","No Wiki÷Link here").indexOf("<a") !== -1).toBe(false);
expect(wiki.renderText("text/html","text/vnd-tiddlywiki","No xWikiLink here").indexOf("<a") !== -1).toBe(false);
expect(wiki.renderText("text/html","text/vnd-tiddlywiki","No -WikiLink here").indexOf("<a") !== -1).toBe(false);
expect(wiki.renderText("text/html","text/vnd-tiddlywiki","No _WikiLink here").indexOf("<a") !== -1).toBe(false);
});

});

Expand Down
1 change: 0 additions & 1 deletion editions/testcommonjs/tiddlywiki.info
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"plugins": [
"tiddlywiki/fullscreen"
],
"themes": [
"tiddlywiki/vanilla",
Expand Down
5 changes: 4 additions & 1 deletion editions/tw5.com-server/tiddlywiki.info
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
],
"includeWikis": [
"../tw5.com"
]
],
"config": {
"default-tiddler-location": "../tw5.com/tiddlers"
}
}
10 changes: 3 additions & 7 deletions editions/tw5.com/tiddlers/Acknowledgements.tid
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
created: 20140129204112515
modified: 20140129204114743
modified: 20140801084114743
tags: introduction
title: Acknowledgements
type: text/vnd.tiddlywiki

TiddlyWiki5 wouldn't be possible without the ongoing support of the TiddlyWiki user and developer community. Their attention and feedback has made it possible to gain an understanding of what is wanted from the product, and their passion for it has taught me that it is worth the investment that I am making.
TiddlyWiki wouldn't be possible without the ongoing support of the TiddlyWiki community. Their attention and feedback has made it possible to gain an understanding of what is wanted from the product, and their passion for it has taught me that it is worth the investment.

TiddlyWiki5 stands on the shoulders of giants by incorporating code from these fine OpenSource projects:

* [[The Stanford Javascript Crypto Library|http://bitwiseshiftleft.github.io/sjcl/]]
* [[The Jasmine JavaScript Test Framework|http://pivotal.github.io/jasmine/]]
* [[Normalize.css by Nicolas Gallagher|http://necolas.github.io/normalize.css/]]
{{$:/Acknowledgements}}
2 changes: 1 addition & 1 deletion editions/tw5.com/tiddlers/Contributing.tid
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ eg: `Jeremy Ruston, @Jermolene, 2011/11/22`

!!!! Attribution

The CLA documents used for this project were created using [[Harmony Project Templates|http://www.harmonyagreements.org]]. "~HA-CLA-I-LIST Version 1.0" for "CLA-individual" and "~HA-CLA-E-LIST Version 1.0" for "CLA-entity"
The CLA documents used for this project were created using [[Harmony Project Templates|http://www.harmonyagreements.org]]. "HA-CLA-I-LIST Version 1.0" for "CLA-individual" and "HA-CLA-E-LIST Version 1.0" for "CLA-entity"
33 changes: 10 additions & 23 deletions editions/tw5.com/tiddlers/GettingStarted.tid
Original file line number Diff line number Diff line change
@@ -1,32 +1,19 @@
created: 20131129090249275
modified: 20140206212022007
modified: 20140811172052886
tags: introduction
title: GettingStarted
type: text/vnd.tiddlywiki

TiddlyWiki is very flexible, and there are many different ways to use it. Here we're focusing on using it as a standalone file in the browser, which is a good choice for most users as it doesn't require any special knowledge or tools. For more options you can also run [[TiddlyWiki on Node.js]].
\define default-platform()
GettingStarted - $(browser-name)$
\end
<$set name="browser-name" value={{$:/info/browser/name}}>
<$macrocall $name="tabs" state="$:/state/tabs/platform" tabsList="[prefix[GettingStarted - ]]" default=<<default-platform>> class="tw-vertical"/>
</$set>

[[Video Tutorials]] are available, too.
See also:

! The 'works anywhere' method

{{Saving with the HTML5 fallback saver}}

! The convenient and fast method

Saving changes as described above is quite inconvenient because of the degree of manual intervention that browsers require. The following alternative method is recommended for everyone who is able to use Mozilla's [[Firefox]] browser.

{{Saving with TiddlyFox}}

! Other ways of saving changes

[[Saving with Encryption]] explains how to use TiddlyWiki's built-in encryption to protect your content with a password.

You can also try:

* [[Using TiddlyWiki on TiddlyDesktop]], a custom desktop application for working with TiddlyWiki
* [[Saving on iPad/iPhone]] with the custom ''TWEdit'' app
* [[Saving on Android]] with the custom ''~AndTidWiki'' app
* [[Saving on InternetExplorer]] with the [[TiddlyIE]] extension, or via the [[Windows HTA Hack]]
* [[Saving with Encryption]] explains how to use TiddlyWiki's built-in encryption to protect your content with a password
* [[Saving on TiddlySpot]], a free service that lets you use TiddlyWiki online
* Running [[TiddlyWiki on node-webkit]], turning a single TiddlyWiki into a native application on your desktop
* [[Using TiddlyWiki on TiddlyDesktop]], a custom desktop application for working with TiddlyWiki
14 changes: 7 additions & 7 deletions editions/tw5.com/tiddlers/HelloThere.tid
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
created: 20130822170200000
modified: 20140624094134118
modified: 20140813164027280
tags: introduction
title: HelloThere
type: text/vnd.tiddlywiki

Welcome to TiddlyWiki, a complete interactive wiki in JavaScript. It can be used as a [[single HTML file in the browser|SingleFileApplication]] or as a powerful [[Node.js application|Node.js]]. It is highly customisable: the entire user interface is itself implemented in hackable WikiText.
Welcome to TiddlyWiki, a non-linear personal web notebook that anyone can use and keep forever, independently of any corporation.

This is version <<version>> of ~TiddlyWiki, a major reboot designed [[for the next 25 years|Future of TiddlyWiki]]. It is currently in beta (see the detailed ReleaseHistory). There is a RoadMap for moving to the full release. It is a great time to [[get involved|Community]] and support the future development of ~TiddlyWiki.
TiddlyWiki is a complete interactive wiki in JavaScript. It can be used as a [[single HTML file in the browser|SingleFileApplication]] or as a powerful [[Node.js application|Node.js]]. It is highly customisable: the entire user interface is itself implemented in hackable WikiText.

This is version <<version-link>> of ~TiddlyWiki, a major reboot designed [[for the next 25 years|Future of TiddlyWiki]]. It is currently in beta (see the detailed ReleaseHistory) with a RoadMap for moving to the full release. It is a great time to [[get involved|Community]] and support the future development of ~TiddlyWiki.

//~TiddlyWiki is a free, open source project that depends on [[your love and support|HelpingTiddlyWiki]] for its survival//.

<div class="tw-message-box">

<a class="tw-message-icon" href="http://tiddlywiki.com/" target="_blank">{{TiddlyWiki Classic.png}}</a>

!! TiddlyWikiClassic - http://classic.tiddlywiki.com

On this site, unless noted otherwise, "~TiddlyWiki" refers to the new version 5, and "~TiddlyWikiClassic" is used to identify the older version.
!! TiddlyWikiClassic

The deep internal improvements mean that the new version of ~TiddlyWiki is not fully compatible with ~TiddlyWikiClassic. Existing content will need massaging, while plugins and themes will have to be completely rewritten. The upgrade path will get smoother as the new version matures.
The original "Classic" version of TiddlyWiki is still available at http://classic.tiddlywiki.com. Note that it is not fully backwards compatible: existing content will need massaging, while plugins and themes will have to be completely rewritten. The upgrade path will get smoother as the new version matures.
</div>
2 changes: 1 addition & 1 deletion editions/tw5.com/tiddlers/HelpingTiddlyWiki.tid
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If you find TiddlyWiki useful, there are lots of ways you can help assure its fu
OpenSource projects like ~TiddlyWiki thrive on the feedback and engagement of users. ~TiddlyWiki becomes more useful to everyone as more and more people use it. So, if you find ~TiddlyWiki useful, spread the word. The best possible way to assure its future is for it to become a hundred times more popular than before.

* [[Tweet about TiddlyWiki|https://twitter.com/intent/tweet?text=I+love+TiddlyWiki+because...&source=tiddlywiki5]]
* [[Star the TiddlyWiki5 GitHub Repository|https://github.com/Jermolene/TiddlyWiki5/star]]
* [[Star the TiddlyWiki5 GitHub Repository|https://github.com/Jermolene/TiddlyWiki5]]

! Help improve the documentation and code

Expand Down
20 changes: 20 additions & 0 deletions editions/tw5.com/tiddlers/ImageGallery Example.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
created: 20140809113603449
modified: 20140809113849873
tags: demo
title: ImageGallery Example
type: text/vnd.tiddlywiki

Here is an example of using the ListWidget and the TranscludeWidget to show a grid of all system images (ie, tiddlers tagged [[$:/tags/Image]]).

<style>
.my-gallery svg {
width: 6em;
height: 6em;
margin: 1em;
}
</style>
<div class="my-gallery">
<$list filter="[all[tiddlers+shadows]tag[$:/tags/Image]]">
<$transclude/>
</$list>
</div>
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.0alpha11.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ modified: 201311081754007
title: Release 5.0.0-alpha.11
tags: releasenote
released: 201311081806
caption: 5.0.0-alpha.11

This release is the culmination of a large scale refactoring of the widget mechanism of TiddlyWiki5. There are several changes to be aware of if upgrading from earlier versions:

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.0alpha12.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ modified: 201311081854007
title: Release 5.0.0-alpha.12
tags: releasenote
released: 201311082141
caption: 5.0.0-alpha.12

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.0-alpha.11...v5.0.0-alpha.12]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.0alpha13.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ modified: 201311091122007
title: Release 5.0.0-alpha.13
tags: releasenote
released: 201311091927
caption: 5.0.0-alpha.13

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.0-alpha.12...v5.0.0-alpha.13]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.0alpha14.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ modified: 201311101922007
title: Release 5.0.0-alpha.14
tags: releasenote
released: 201311102315
caption: 5.0.0-alpha.14

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.0-alpha.13...v5.0.0-alpha.14]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.0alpha15.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ modified: 201311122050007
title: Release 5.0.0-alpha.15
tags: releasenote
released: 201311191221
caption: 5.0.0-alpha.15

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.0-alpha.14...v5.0.0-alpha.15]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.0alpha16.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.0-alpha.16
type: text/vnd.tiddlywiki
released: 201311301325
caption: 5.0.0-alpha.16

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.0-alpha.15...v5.0.0-alpha.16]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.0alpha17.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.0-alpha.17
type: text/vnd.tiddlywiki
released: 201311301519
caption: 5.0.0-alpha.17

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.0-alpha.16...v5.0.0-alpha.17]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.10beta.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.10-beta
type: text/vnd.tiddlywiki
released: 201404191305
caption: 5.0.10-beta

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.9-beta...v5.0.10-beta]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.11beta.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.11-beta
type: text/vnd.tiddlywiki
released: 201405161600
caption: 5.0.11-beta

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.10-beta...v5.0.11-beta]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.12beta.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.12-beta
type: text/vnd.tiddlywiki
released: 201405170102
caption: 5.0.12-beta

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.11-beta...v5.0.12-beta]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.13beta.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.13-beta
type: text/vnd.tiddlywiki
released: 201406240941
caption: 5.0.13-beta

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.12-beta...v5.0.13-beta]]//

Expand Down
88 changes: 88 additions & 0 deletions editions/tw5.com/tiddlers/Release 5.0.14beta.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
caption: 5.0.14-beta
created: 20140518150234142
modified: 20140813153116300
tags: releasenote
title: Release 5.0.14-beta
type: text/vnd.tiddlywiki
released: 201408131731

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.13-beta...v5.0.14-beta]]//

!! Major Changes

!!! Improved Control Panel Plugins Tab

The ''Plugins'' tab of the [[control panel|$:/ControlPanel]] has been improved with the addition of documentation tabs that plugins can use to show documentation. There is also a larger draggable area for dragging tiddlers across to other wikis.

!!! Configurable Button Toolbars

The page toolbar and the tiddler toolbars can now be configured with several new buttons - see the [[control panel|$:/ControlPanel]] under the ''Appearance'' and ''Toolbars'' tabs.

The sidebar tools tab now shows all the available page controls, allowing them to be invoked or checked to appear in the toolbar. The tiddler info area now includes a tools tab that includes buttons for all the tiddler actions.

!!! Upgrade Mechanism

There are two components:

* A more flexible ImportMechanism that:
** Presents incoming tiddlers as a pending import list that allows the user to inspect them and, if necessary, explicitly deselect them from the actual import
** Provides UpgraderModules with an opportunity to process each incoming tiddler
*** The [[plugin upgrader|$:/core/modules/upgraders/plugins.js]] module handles version checking of plugins and upgrading them from a special UpgradeLibrary plugin tiddler
*** The [[system upgrader|$:/core/modules/upgraders/system.js]] module is responsible for suppressing the importing of certain system tiddlers (currently [[$:/StoryList]] and [[$:/HistoryList]])
*** The [[themetweak upgrader|$:/core/modules/upgraders/themetweaks.js]] module handles migrating theme tweaks from their pre-5.0.14-beta format (see below)
* An UpgradePlugin and associated edition that provides a custom, single-purpose user interface for upgrading standalone TiddlyWiki files - see http://tiddlywiki.com/upgrade.html

!!! Improvements to CamelCase Recognition

TiddlyWiki now takes a much more conservative approach to recognising CamelCase terms that should be automatically linked. Previously, the dash and underscore were treated as lower case letters, leading to a number of false positives. See the [[GitHub bug #337|https://github.com/Jermolene/TiddlyWiki5/issues/337]] for details.

!!! Automatic Permalinking Off by Default

With previous beta releases of TiddlyWiki the browser address bar is automatically updated so that it dynamically reflects the tiddlers that are currently open. This makes it easier to get a permalink for copying and pasting elsewhere, but it leads to much confusion for casual users who don't always understand why unexpected tiddlers are being displayed after they have refreshed the page in the browser.

For 5.0.14-beta, the setting has been changed. Visit [[control panel|$:/ControlPanel]] ''Advanced''/''Settings'' to switch the setting back to "Include the target tiddler and the current story sequence".

!! Usability Improvements

* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/f6d7d87a3d49f816ccc050bdf4a5394eed37dd51]] previews to the icon dropdown in the [[tag manager|$:/TagManager]]
* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/56945d91d327489478fc44dce5234ece35a01abb]] an indication of unsaved changes by changing the colour of the save changes button
* [[Split|https://github.com/Jermolene/TiddlyWiki5/commit/7aa6c7c06d8b5359f183e6b9f6f57cf89611cda8]] the wikitext emphasis parsers into separate modules so that they can be independently controlled with the `\rules` pragma
* [[Refactored|https://github.com/Jermolene/TiddlyWiki5/commit/f43cd5ba9c6e5eda221ec738174e61e34fad2b8d]] (and [[here|https://github.com/Jermolene/TiddlyWiki5/commit/a3de93b4eb8b108239b2e4b496308026e9e9eef8]]) ReleaseHistory to place the releases into vertical tabs
* [[Stopped|https://github.com/Jermolene/TiddlyWiki5/commit/3ff7462afd5414b92680c6b6e67274be79233224]] saving [[$:/HistoryList]], thus avoiding it uncontrollably increasing in size
* [[Improved|https://github.com/Jermolene/TiddlyWiki5/commit/73cf1bfdb3cd238ac7800162f58d44a8bb60019b]] (and [[here|https://github.com/Jermolene/TiddlyWiki5/commit/d5e4b9b5d1e7db5ad4d769433cc934ef08265f57]]) print stylesheet to remove page background
* [[Updated|https://github.com/Jermolene/TiddlyWiki5/commit/07f13b310d300631267936ad8bc55a338369afc0]] display of plugin tiddlers so that their constituent tiddlers are shown, rather than the raw JSON
* [[Moved|https://github.com/Jermolene/TiddlyWiki5/commit/799a5b059a40a51fdeb1dae7a0eb5bf8a79f5106]] the functionality of the fullscreen plugin into the core

!! Hackability Improvements

* [[Extended|https://github.com/Jermolene/TiddlyWiki5/commit/c23f6af4b5c59f4d09dd8d6704e1939bb9d5b2d3]] TiddlerWidget to add a CSS class corresponding to each tag present on displayed tiddlers
* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/d357e1706c91d17a72fb19fedf43e57071fc7dd6]] support for hiding specified fields in the tiddler editor
* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/be040ea8a2cc8962f1a28a313e4c9ebc2d5c0e31]] support for variable operands in filters (see [[Introduction to Filters]])
* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/1f16ef6fa88b51d2dad7c8e57fcff014950a7442]] support for widget messages [[tw-permalink|WidgetMessage: tw-permalink]] and [[tw-permaview|WidgetMessage: tw-permaview]]
* [[Added|https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/browser-sniff]] browser sniffing plugin so that tiddlywiki.com can present the correct browser-specific documentation
* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/ef67cc3fd9b267a522598abccdfbb93fbfca240c]] a configuration option for specifying the default location for saving new tiddlers in the client-server configuration
* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/b4d47858e587c96f3a68cc28cffff181ec45f55f]] support for the InfoMechanism
* [[Extended|https://github.com/Jermolene/TiddlyWiki5/commit/f08f57c5d24eb0146ac2cb77472a5fc5f135f1e9]] CheckboxWidget to allow it to toggle fields as well as tags
* [[Refactored|https://github.com/Jermolene/TiddlyWiki5/commit/21c137a66c37f010b36697bb6bed5321138fbb9f]] [[control panel|$:/ControlPanel]] theme tweaks to be stored in individual tiddlers
* [[Extend|https://github.com/Jermolene/TiddlyWiki5/commit/e18d8a88661a1c2caa1b722841747c75ca6af437]] the TabsMacro to allow tabs to be templated
* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/91acad0f7ce8637945a953dfcb122cd31292626d]] (and [[here|https://github.com/Jermolene/TiddlyWiki5/commit/8612bc4006e717e4fa3c562fa72a85650206b66f]]) SystemTags support for inserting content above and below the story river
* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/f793816dfa687ae7791143b33487fd5f95f3265c]] support for transcluding plugin subtiddlers with the TranscludeWidget
* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/c73853288c5b4b0716da94fea2f2edec09345643]] (and [[here|https://github.com/Jermolene/TiddlyWiki5/commit/08f775eac8cb053d08c1c561e65a5eeb87c4c6b6]]) support for importing from `*.htm` and `*.hta` files as well as the existing support for `*.html` files
* [[Extended|https://github.com/Jermolene/TiddlyWiki5/commit/73d7e85e11c7732080ca8bc4321ebb12afbac09c]] the "sticky titles" theme so that it works when tiddlers are in edit mode

!! Bug Fixes

* [[Fixed|https://github.com/Jermolene/TiddlyWiki5/commit/5b3b62f93da4b7b19e24ccf72d9ce20b9edce6d5]] bug with execution order of BuildCommand targets
* [[Fixed|https://github.com/Jermolene/TiddlyWiki5/commit/d93da81671a704377209fc1871425c3a7c5db35a]] bug with missing hover colours for external links
* [[Fixed|https://github.com/Jermolene/TiddlyWiki5/commit/465f4ac46903070759a572d183c498c5579cb922]] problem with refreshing modal dialogues
* [[Fixed|https://github.com/Jermolene/TiddlyWiki5/commit/3351ae7e29cbf3bed6fc1925ef33664bcc59fef5]] issue with cookies disabled on Firefox
* [[Relax|https://github.com/Jermolene/TiddlyWiki5/commit/5260899d8b090e8886e41e3aa770fdcf5967ad8c]] the requirement for a newline immediately the closing `\end` of a macro definition

!! Contributors

[[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki:

* [[@BramChen|https://github.com/BramChen]]
* [[@pmario|https://github.com/pmario]]
* [[@ssokolow|https://github.com/ssokolow]]
* [[@xcazin|https://github.com/xcazin]]
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.1alpha.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.1-alpha
type: text/vnd.tiddlywiki
released: 201312061753
caption: 5.0.1-alpha

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.0-alpha.17...v5.0.1-alpha]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.2beta.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.2-beta
type: text/vnd.tiddlywiki
released: 201312151436
caption: 5.0.2-beta

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.1-alpha...v5.0.2-beta]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.3beta.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.3-beta
type: text/vnd.tiddlywiki
released: 201312151700
caption: 5.0.3-beta

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.2-beta...v5.0.3-beta]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.4beta.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.4-beta
type: text/vnd.tiddlywiki
released: 201312221544
caption: 5.0.4-beta

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.3-beta...v5.0.4-beta]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.5beta.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.5-beta
type: text/vnd.tiddlywiki
released: 201312241430
caption: 5.0.5-beta

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.4-beta...v5.0.5-beta]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.6beta.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.6-beta
type: text/vnd.tiddlywiki
released: 201401031714
caption: 5.0.6-beta

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.5-beta...v5.0.6-beta]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.7beta.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.7-beta
type: text/vnd.tiddlywiki
released: 201401262107
caption: 5.0.7-beta

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.6-beta...v5.0.7-beta]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.8beta.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.8-beta
type: text/vnd.tiddlywiki
released: 201402281551
caption: 5.0.8-beta

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.7-beta...v5.0.8-beta]]//

Expand Down
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/Release 5.0.9beta.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tags: releasenote
title: Release 5.0.9-beta
type: text/vnd.tiddlywiki
released: 201404152139
caption: 5.0.9-beta

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.8-beta...v5.0.9-beta]]//

Expand Down
18 changes: 2 additions & 16 deletions editions/tw5.com/tiddlers/ReleaseHistory.tid
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
created: 20131109105400007
modified: 20140119201607494
modified: 20140701201607494
title: ReleaseHistory
type: text/vnd.tiddlywiki

Here are the details of recent releases of TiddlyWiki5. See [[TiddlyWiki5 Versioning]] for details of how releases are named.

<$list filter="[tag[releasenote]!sort[created]]">

<div>

<h1><$link to={{!!title}}><$view field="title"/></$link></h1>
<div>''Release date: <$view field="released" format="date" template="DDth MMM YYYY at 0hh:0mm">TBA</$view>''</div>
<div>

<$transclude/>

</div>

</div>

</$list>
<<tabs "[tag[releasenote]!sort[created]]" "Release 5.0.14-beta" "$:/state/tab2" "tw-vertical" "ReleaseHistoryTemplate">>
7 changes: 7 additions & 0 deletions editions/tw5.com/tiddlers/ReleaseHistoryTemplate.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: ReleaseHistoryTemplate

<h2><$link to=<<currentTab>>><$view tiddler=<<currentTab>> field="title"/></$link></h2>

^^Released <$view tiddler=<<currentTab>> field="released" format="date" template="DDth MMM YYYY at 0hh:0mm">TBA</$view>^^

<$transclude tiddler=<<currentTab>> />
23 changes: 23 additions & 0 deletions editions/tw5.com/tiddlers/Saving on Safari.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
created: 20140811171304926
modified: 20140811171800263
tags: howto
title: Saving on Safari
type: text/vnd.tiddlywiki

This method of saving changes is clunky because it requires manual intervention for each save.

# [[Download]] an empty TiddlyWiki by clicking this button:
#> {{$:/editions/tw5.com/snippets/download-empty-button}}
#> If the button doesn't work save this link: http://tiddlywiki.com/empty.html
#> Your browser may ask you to accept the download before it begins
# Locate the file you just downloaded
#* You may rename it, but be sure to keep the `.html` or `.htm` extension
# Open the file in Safari
# Try creating a new tiddler using the ''new tiddler'' {{$:/core/images/new-button}} button in the sidebar. Type some content for the tiddler, and click the {{$:/core/images/done-button}} ''done'' button
# Save your changes by clicking the {{$:/core/images/save-button}} ''save changes'' button in the sidebar
# A popup "Download changes" window is displayed that includes a link labelled //Right-click to save changes//
# Right-click on the link and select "Download Linked File As..." from the popup menu
# Navigate to the folder containing your wiki HTML file and select the existing file
# Click the "Save" button
# Click "Replace" to confirm replacing the existing file
# Verify that your changes have been saved correctly
21 changes: 19 additions & 2 deletions editions/tw5.com/tiddlers/TableOfContents.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
title: TableOfContents
caption: {{$:/language/SideBar/Contents/Caption}}
created: 20140809114010378
list-after: $:/core/ui/SideBar/Open
modified: 20140809114018461
tags: $:/tags/SideBar
caption: {{$:/language/SideBar/Contents/Caption}}
title: TableOfContents
type: text/vnd.tiddlywiki

\define toc-heading(caption,body)
<$reveal type="nomatch" state=<<qualify "$:/state/toc/$caption$">> text="show">
Expand Down Expand Up @@ -106,6 +109,7 @@ $body$
## [[Creating SubStories]]
## [[Editing Tiddlers with Emacs]]
## [[GoogleChromeTips]]
## [[ImageGallery Example]]
## [[Making curved text with SVG]]
## [[Preserving open tiddlers at startup]]
## [[Setting a favicon]]
Expand Down Expand Up @@ -179,18 +183,30 @@ $body$
">>
## <<toc-heading "Widget Messages" "
## WidgetMessages
## [[tw-auto-save-wiki|WidgetMessage: tw-auto-save-wiki]]
## [[tw-cancel-tiddler|WidgetMessage: tw-cancel-tiddler]]
## [[tw-clear-password|WidgetMessage: tw-clear-password]]
## [[tw-close-all-tiddlers|WidgetMessage: tw-close-all-tiddlers]]
## [[tw-close-other-tiddlers|WidgetMessage: tw-close-other-tiddlers]]
## [[tw-close-tiddler|WidgetMessage: tw-close-tiddler]]
## [[tw-delete-tiddler|WidgetMessage: tw-delete-tiddler]]
## [[tw-download-file|WidgetMessage: tw-download-file]]
## [[tw-edit-tiddler|WidgetMessage: tw-edit-tiddler]]
## [[tw-full-screen|WidgetMessage: tw-full-screen]]
## [[tw-home|WidgetMessage: tw-home]]
## [[tw-import-tiddlers|WidgetMessage: tw-import-tiddlers]]
## [[tw-login|WidgetMessage: tw-login]]
## [[tw-logout|WidgetMessage: tw-logout]]
## [[tw-modal|WidgetMessage: tw-modal]]
## [[tw-navigate|WidgetMessage: tw-navigate]]
## [[tw-new-tiddler|WidgetMessage: tw-new-tiddler]]
## [[tw-notify|WidgetMessage: tw-notify]]
## [[tw-perform-import|WidgetMessage: tw-perform-import]]
## [[tw-permalink|WidgetMessage: tw-permalink]]
## [[tw-permaview|WidgetMessage: tw-permaview]]
## [[tw-save-tiddler|WidgetMessage: tw-save-tiddler]]
## [[tw-save-wiki|WidgetMessage: tw-save-wiki]]
## [[tw-server-refresh|WidgetMessage: tw-server-refresh]]
## [[tw-set-password|WidgetMessage: tw-set-password]]
">>
## <<toc-heading "Filter Operators" "
Expand Down Expand Up @@ -330,6 +346,7 @@ $body$
## [[Release 5.0.11-beta]]
## [[Release 5.0.12-beta]]
## [[Release 5.0.13-beta]]
## [[Release 5.0.14-beta]]
">>

</div>
43 changes: 13 additions & 30 deletions editions/tw5.com/tiddlers/Upgrading.tid
Original file line number Diff line number Diff line change
@@ -1,57 +1,40 @@
created: 20131202102427114
modified: 20140419133900452
modified: 20140716133900452
tags: howto
title: Upgrading
type: text/vnd.tiddlywiki

There are several methods for upgrading an existing TiddlyWiki version 5 document to a new release. There is a [[different procedure|Upgrading TiddlyWiki on Node.js]] for upgrading [[TiddlyWiki on Node.js]].
The process described here is for upgrading standalone TiddlyWiki files. There is a [[different procedure|Upgrading TiddlyWiki on Node.js]] for upgrading [[TiddlyWiki on Node.js]].

<<<
Regardless of which method you use, remember the [[The First Rule of Using TiddlyWiki]]:
When upgrading, please remember the [[The First Rule of Using TiddlyWiki]]:

//You are responsible for looking after your own data; take care to make backups, especially when upgrading the ~TiddlyWiki core//
<<<

<div class="tw-message-box">

<a class="tw-message-icon" href="http://tiddlywiki.com/" target="_blank">{{TiddlyWiki Classic.png}}</a>

!! Upgrading from TiddlyWikiClassic

Remember that TiddlyWiki version 5 is not fully backwards compatible with the older TiddlyWikiClassic. It is recommended that users of TiddlyWikiClassic should not attempt to upgrade their existing files until the new version is more mature.

</div>
Remember that TiddlyWiki version 5 is not fully backwards compatible with the older TiddlyWikiClassic.

! Online upgrading

This process will work on most desktop browsers. Note that none of your personal data leaves your browser with this process.

# Locate your TiddlyWiki file in the file system (ie using Windows Explorer, the Finder on Mac OS X, or your file manager on Linux)
# Visit http://tiddlywiki.com/empty.html in your browser
# Visit http://tiddlywiki.com/upgrade.html in your browser
# Drag your old TiddlyWiki HTML file into the browser window
#* If the file is encrypted you will be prompted for the password
#* Your tiddlers should be imported
# Set a password if you want to use encryption
# Review the list of tiddlers that will be upgraded
# Click ''Upgrade''
# Save changes to save the new version

This will download a file called ''empty.html'' to your computer. This file is the upgrade of your old file. You may need to open the location where ''empty.html'' was downloaded, rename ''empty.html'' with the name of the old file you are upgrading, and replace the old file by moving the new file in its place.

//For the moment you'll also need to manually update any plugins that are not included in empty.html://

># Open the control panel to the ''Plugins'' tab in your upgraded wiki
># Check the version numbers of the plugins you are using; any plugins with an older version than the version of [[$:/core]] will probably need updating
># Locate a wiki with the plugins you need to update and open the control panel ''Plugins'' tab
>#* http://tiddlywiki.com/d3demo.html for the D3 plugin
>#* http://tiddlywiki.com/codemirrordemo.html for the CodeMirror plugin
>#* http://tiddlywiki.com/markdowndemo.html for the MarkDown plugin
>#* http://tiddlywiki.com/ for most of the others
># Drag the plugin links one by one back to your own wiki. You should see the version numbers update in the control panel
># Save your wiki
This will download a file called ''upgrade.html'' to your computer. This file is the upgrade of your old file. You may need to open the location where ''upgrade.html'' was downloaded, rename ''upgrade.html'' with the name of the old file you are upgrading, and replace the old file by moving the new file in its place.

! Offline upgrading

You can also download http://tiddlywiki.com/empty.html locally and perform the same drag-and-drop procedure to upgrade your files.
You can also download http://tiddlywiki.com/upgrade.html locally and perform the same drag-and-drop procedure to upgrade your files.

! Problems with Upgrades

Particularly during the beta, it is possible for a customisation applied in a previous version to break when upgraded to the latest version. Use SafeMode to investigate and fix these problems.
Particularly during the beta, it is possible for a customisation applied in a previous version to break when upgraded to the latest version. There are two techniques you can use to help track down issues:

* Try repeating the upgrade having selectively unchecked any tiddlers that may be applying customisations to TiddlyWiki
* Use SafeMode to disable all customisations of shadow tiddlers
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Submit new entries to this collection of articles via GitHub, Twitter or by post

!!! <a href={{!!url}} target="_blank"><$text text={{!!url}}/></a>

<div class="tw-subtitle">Updated <$view field="modified" format="relativedate"/></div>
<div class="tw-subtitle">Posted <$view field="modified" format="relativedate"/></div>

<$transclude/>

Expand Down
7 changes: 7 additions & 0 deletions editions/tw5.com/tiddlers/community/Community.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
created: 20130909151600000
modified: 20140321090723435
tags: community
title: Community
type: text/vnd.tiddlywiki

<<tabs "Forums Latest Resources Examples Articles Groups" "Latest">>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Submit new entries to this collection via GitHub, Twitter or by posting in the [

!!! <a href={{!!url}} target="_blank"><$text text={{!!url}}/></a>

<div class="tw-subtitle">Updated <$view field="modified" format="relativedate"/></div>
<div class="tw-subtitle">Posted <$view field="modified" format="relativedate"/></div>

<$transclude/>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
created: 20130909151600000
modified: 20140321090723435
title: Forums
created: 20140721121924384
modified: 20140721121924384
tags: community
title: Community
type: text/vnd.tiddlywiki

TiddlyWiki is made much more useful by its vibrant community of users and OpenSource developers.

! Community Forums

The ~TiddlyWiki discussion groups are mailing lists for talking about ~TiddlyWiki: requests for help, announcements of new releases and plugins, debating new features, or just sharing experiences.

Expand All @@ -17,16 +12,4 @@ The ~TiddlyWiki discussion groups are mailing lists for talking about ~TiddlyWik
* Get involved in the [[development on GitHub|https://github.com/Jermolene/TiddlyWiki5]]
* Watch recordings of our regular [[TiddlyWiki Hangouts]]

New releases of TiddlyWiki, TiddlyDesktop and TiddlyFox are announced via the discussion groups and Twitter.

! Local ~TiddlyWiki Interest Groups

Local meetings of ~TiddlyWiki enthusiasts around the world:

* [[OXTWIG]], the ''Oxford ~TiddlyWiki Interest Group'' meets monthly in Oxford, UK to share experiences of using TiddlyWiki

//If you are a ~TiddlyWiki enthusiast please consider starting a local TWIG in your area, it's a great way to spread the word about using TiddlyWiki//

! Links

<<tabs "Latest Resources Examples Articles" "Latest">>
New releases of TiddlyWiki, TiddlyDesktop and TiddlyFox are announced via the discussion groups and Twitter (you can also subscribe to an Atom/RSS feed of [[TiddlyWiki releases from GitHub|https://github.com/jermolene/tiddlywiki5/releases.atom]])
13 changes: 13 additions & 0 deletions editions/tw5.com/tiddlers/community/Groups.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
title: Groups
created: 20140721121924384
modified: 20140721121924384
tags: community

! Local ~TiddlyWiki Interest Groups

Local meetings of ~TiddlyWiki enthusiasts around the world:

* [[OXTWIG]], the ''Oxford ~TiddlyWiki Interest Group'' meets monthly in Oxford, UK to share experiences of using TiddlyWiki

//If you are a ~TiddlyWiki enthusiast please consider starting a local TWIG in your area, it's a great way to spread the word about using TiddlyWiki//

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The latest news, articles, resources and examples.

!!! <a href={{!!url}} target="_blank"><$text text={{!!url}}/></a>

<div class="tw-subtitle">Updated <$view field="modified" format="relativedate"/></div>
<div class="tw-subtitle">Posted <$view field="modified" format="relativedate"/></div>

<$transclude/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ These resources created by the TiddlyWiki [[Community]] help you get the best ou

!!! <a href={{!!url}} target="_blank"><$text text={{!!url}}/></a>

<div class="tw-subtitle">Updated <$view field="modified" format="relativedate"/></div>
<div class="tw-subtitle">Posted <$view field="modified" format="relativedate"/></div>

<$transclude/>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
created: 20140716085406905
modified: 20140716084548184
tags: articles
title: "Un wiki sur votre BiblioBox avec TiddlyWiki" from A Penguin in Redmond
type: text/vnd.tiddlywiki
url: http://bibliobox.net/blog/post/2014/07/16/un-wiki-sur-votre-bibliobox-avec-tiddlywiki

A guide (in French) to using TiddlyWiki on the [[BiblioBox|http://bibliobox.net/]], a variation of the [[PirateBox|http://daviddarts.com/piratebox/]] mobile communication and file sharing system.

<<<
I've known TiddlyWiki since its beginning in 2004. For personal or professional needs, I used it regularly for notepad staff in 2007 and 2012. But I admit I ignored the tool during the past two years. And then I said yesterday: but why not put TiddlyWiki on a BiblioBox? Because it is a single HTML file with javascript. In addition I knew the existence of a server version for saving online amendments.
<<<

//Hand optimised from a translation by Google Translate//
17 changes: 17 additions & 0 deletions editions/tw5.com/tiddlers/community/examples/PETTIL.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
created: 20140716085406905
modified: 20140716084548184
tags: examples
title: "PETTIL - Forth for the Commodore PET" by Charlie Hitselberger
type: text/vnd.tiddlywiki
url: http://chitselb.com/files/tiddlypettil.html

A fast Forth interpreter for the [[Commodore PET|http://en.wikipedia.org/wiki/Commodore_PET]], written in 6502 assembly language. The TiddlyWiki containing program documentation is automatically generated from the source code: see https://github.com/chitselb/pettil.

<<<
Objectives of the project are, in no particular order:

* make a Forth that runs on my Commodore PET 2001
* have fun
* improve my "6502 assembly golf" skills
* find other people who are interested in this project
<<<
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
created: 20140720085406905
modified: 20140720084548184
tags: resources
title: "TiddlyWiki for Scholars" by Alberto Molina
type: text/vnd.tiddlywiki
url: http://tw5.scholars.tiddlyspot.com/

An early release of an edition of TiddlyWiki customised for rigorous, academic notetaking.

<<<
TiddlyWiki for Scholars is a personal customization of TiddlyWiki 5.0.13-beta I made for note-taking from readings, but it can be useful for other purposes. The idea behind this adaptation is to show and to allow creating relevant data related to the current tiddler without leaving the tiddler.
<<<
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions editions/tw5.com/tiddlers/concepts/CurrentTiddler.tid
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ title: CurrentTiddler
type: text/vnd.tiddlywiki

The CurrentTiddler is the current tiddler during WikiText processing. A context tiddler is set by the TiddlerWidget. It allows you to write references like `<$view field="title" format="link"/>` in TemplateTiddlers without explicitly specifying the tiddler that it applies to.

The title of the current tiddler is contained in the widget variable ''currentTiddler''.
2 changes: 1 addition & 1 deletion editions/tw5.com/tiddlers/concepts/DataTiddlers.tid
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The tiddler dictionary format is an alternative syntax for data tiddlers:
* The ContentType field `type` is set to `application/x-tiddler-dictionary`
* The `text` field consists of one or more lines of the form `<name>:<value>`

For example, the [[metrics of the Vanilla theme|$:/themes/tiddlywiki/vanilla/metrics]] are a tiddler dictionary.
For example, palettes such as the [[default Vanilla palette|$:/palettes/Vanilla]] are tiddler dictionaries.

! Accessing data within data tiddlers

Expand Down
2 changes: 2 additions & 0 deletions editions/tw5.com/tiddlers/concepts/ExternalImages.tid
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ An external image is an ordinary image tiddler that has a ''_canonical_uri'' fie

To manually create an external image just create the tiddler with the appropriate image content type, and add a ''_canonical_uri'' field with a URI pointing to the actual image location.

''IMPORTANT:'' Double-check your spelling. ``_canonical_uri`` is spelled [[URI|https://en.wikipedia.org/wiki/URI#The_relationship_between_URIs.2C_URLs.2C_and_URNs]], not URL.

! Creating external images under Node.js

The following steps are used to create a static HTML file version of a wiki accompanied by an ''images'' folder containing the referenced external images:
Expand Down
34 changes: 20 additions & 14 deletions editions/tw5.com/tiddlers/concepts/SystemTags.tid
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
created: 20130822080600000
modified: 20131228161338857
modified: 20140707161338857
tags: concepts
title: SystemTags
type: text/vnd.tiddlywiki

System tags are used to give special behaviour to tiddlers:

* [[$:/tags/stylesheet]] to indicate that a tiddler should be applied as a CSS stylesheet
* [[$:/tags/TiddlerInfo]] for tiddler info panel tabs
* [[$:/tags/ControlPanel]] for control panel tabs
* [[$:/tags/SideBar]] for sidebar tabs
* [[$:/tags/MoreSideBar]] for tabs in the "more" sidebar
* [[$:/tags/ViewTemplate]] for the view template
* [[$:/tags/ViewToolbar]] for the view mode tiddler toolbar
* [[$:/tags/EditTemplate]] for the edit template
* [[$:/tags/EditToolbar]] for the edit mode tiddler toolbar
* [[$:/tags/PageControls]] for the page control tools in the sidebar
* [[$:/tags/PageTemplate]] for the main page elements
* [[$:/tags/RawMarkup]] for raw markup to be included in the generated HTML file
* {{$:/tags/AboveStory||$:/core/ui/TagTemplate}} for elements to be placed at the top of the story river
* {{$:/tags/BelowStory||$:/core/ui/TagTemplate}} for elements to be placed at the bottom of the story river
* {{$:/tags/ControlPanel||$:/core/ui/TagTemplate}} for control panel tabs
* {{$:/tags/EditTemplate||$:/core/ui/TagTemplate}} for the edit template
* {{$:/tags/EditToolbar||$:/core/ui/TagTemplate}} for the edit mode tiddler toolbar
* {{$:/tags/MoreSideBar||$:/core/ui/TagTemplate}} for tabs in the "more" sidebar
* {{$:/tags/PageControls||$:/core/ui/TagTemplate}} for the page control tools in the sidebar
* {{$:/tags/PageTemplate||$:/core/ui/TagTemplate}} for the main page elements
* {{$:/tags/RawMarkup||$:/core/ui/TagTemplate}} for raw markup to be included in the generated HTML file
* {{$:/tags/SideBar||$:/core/ui/TagTemplate}} for sidebar tabs
* {{$:/tags/stylesheet||$:/core/ui/TagTemplate}} to indicate that a tiddler should be applied as a CSS stylesheet
* {{$:/tags/TiddlerInfo||$:/core/ui/TagTemplate}} for tiddler info panel tabs
* {{$:/tags/ViewTemplate||$:/core/ui/TagTemplate}} for the view template
* {{$:/tags/ViewToolbar||$:/core/ui/TagTemplate}} for the view mode tiddler toolbar

! System tags in use

These are the system tags in use in this wiki:

{{{ [all[shadows+tiddlers]tags[]prefix[$:/]] +[sort[title]] }}}
<ul>
<$list filter="[all[shadows+tiddlers]tags[]prefix[$:/]sort[title]]">
<li>{{||$:/core/ui/TagTemplate}}</li>
</$list>
</ul>
4 changes: 3 additions & 1 deletion editions/tw5.com/tiddlers/concepts/TiddlyWikiFolders.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20130825214200000
modified: 20140427210453175
modified: 20140720210453175
tags: dev
title: TiddlyWikiFolders
type: text/vnd.tiddlywiki
Expand Down Expand Up @@ -29,6 +29,8 @@ The `tiddlywiki.info` file in a wiki folder contains a JSON object comprising th

Configuration options include:

* ''default-tiddler-location'' - a string path to the default location for the filesystem adaptor to save new tiddlers (resolved relative to the wiki folder)

* ''retain-original-tiddler-path'' - If true, the server will generate a tiddler [[$:/config/OriginalTiddlerPaths]] containing the original file paths of each tiddler in the wiki

For example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ title: Releasing a new version of TiddlyWiki5
type: text/vnd.tiddlywiki

# Adjust the release date of the latest release tiddler (eg, [[Release 5.0.7-beta]])
# Ensure ReleaseHistory has the new version as the default tab
# Adjust the modified time of HelloThere
# Make sure ''Jermolene/TiddlyWiki5'' is fully committed
# Edit `package.json` to the new version number
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20140210141217955
modified: 20140303091312363
modified: 20140725091312363
tags: dev
title: TiddlerFilter Formal Grammar
type: text/vnd.tiddlywiki
Expand Down Expand Up @@ -34,7 +34,7 @@ Whitespace is matched with javascript "\s+", which matches space, tab, carriage

''&lt;opt-operator-suffix&gt;'' ::= ''&lt;string&gt;'' | ""

''&lt;operand&gt;'' ::= "[" ''&lt;search-string&gt;'' "]" | "{" ''&lt;indirect-search-string&gt;'' "}" | ''&lt;regex&gt;''
''&lt;operand&gt;'' ::= "[" ''&lt;search-string&gt;'' "]" | "{" ''&lt;indirect-search-string&gt;'' "}" | "<" ''&lt;variable-name-string&gt;'' ">" | ''&lt;regex&gt;''

''&lt;regex&gt;'' ::= "/" ''&lt;string&gt;'' "/" ''&lt;opt-regex-args&gt;''

Expand Down
48 changes: 48 additions & 0 deletions editions/tw5.com/tiddlers/dev/TiddlyWiki Architecture.tid
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,51 @@ DOM events trigger actions on widgets which update the tiddler store. The update

{{Server Architecture.svg}}

When programming TiddlyWiki 5 plugins which make changes outside the scope of the included examples, you will need a more in-depth understanding of TiddlyWiki's internal architecture.

! Model

TiddlyWiki's data model is a fairly simple key-value store.

* Each tiddler is simply an object with a `fields` member containing members such as `title`, `text`, `tags` and so on.
* The core `Wiki` class defined in `boot/boot.js` implements simple associative array behaviours like insertion, deletion, iteration, listing keys, and get-by-key.
* The code in `core/modules/wiki.js` then extends the `Wiki` class with functionality such as event dispatch and various cache-backed methods such as `getTiddlersWithTag`.

The active tiddler store can be accessed via `$tw.wiki` as in this example:

```js
$tw.wiki.makeTiddlerIterator($tw.wiki.getTiddlersWithTag('timeline')
)(function(tiddler, title) {
// Skip templates
if (tiddler.fields.tags.indexOf('templates') >= 0) { return; }

do_something(tiddler);
});
```

Data which should not be visible to end users under normal operation (eg. internal components, plugins, persisted state for GUI widgets) is stored in [[system tiddlers|SystemTiddlers]] organized via a set of [[namespaces|Naming of System Tiddlers]].

The similarity between filesystem paths and system tiddler names is intentional and will be used to provide a hierarchical browsing interface in a future TiddlyWiki release.

! View

TiddlyWiki's view layer has a //lot// in common with desktop widget toolkits and this is the part which is most likely to trip up newcomers. There are two facets to it:

!! Role of the DOM
Because TiddlyWiki may re-render content, plugins should treat the DOM as write-only.

In other words, any state you store in the DOM could vanish at any instant and you need to use TiddlyWiki's internal [[StateMechanism]] instead.

In a desktop application, the base widget class defines a method such as `paint(canvas)` which is called in response to `expose` events or "data has changed" messages.

In TiddlyWiki, the `Widget` class in `core/modules/widgets/widgets.js` defines a `render(parent, nextSibling)` method which TiddlyWiki calls in response to various events such as changes in the model.

(The potential inefficiency of this approach is mitigated via a `refresh(changedTiddlers)` method which TiddlyWiki calls to ask your widget whether its current rendering is stale.)

!! Locus of Control

While TiddlyWiki's extended [[WikiText]] is similar in design to HTML templating languages with logic constructs, you can't just ignore it and assemble all of your content in raw Javascript because it is used to define most of TiddlyWiki's UI.

In this respect, it's closer to a glue language like Qt Quick or Python with Javascript filling the "create new components" role of C/C++ in widget toolkits like Qt and GTK+.

To familiarize yourself with this, read [[Widgets in WikiText]] and [[Introduction to Filters]]. then examine the internals for a tiddler like [[TaskManagementExample]].
2 changes: 1 addition & 1 deletion editions/tw5.com/tiddlers/filters/FilterOperator field.tid
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ The operand is the value to match, and the suffix is used to identify the field.

|!Filter String |!Description |
|`[field:modifier[JeremyRuston]]` |Returns a list of the tiddlers created by `JeremyRuston` |
|`[modifier[JeremyRuston]]` |Returns a list of the tiddlers created by `JeremyRuston |
|`[modifier[JeremyRuston]]` |Returns a list of the tiddlers created by `JeremyRuston` |

Note that if an unknown filter operator `[unknown[xxx]]` is encountered it is interpreted as `[field:unknown[xxx]]`.
2 changes: 1 addition & 1 deletion editions/tw5.com/tiddlers/filters/FilterOperator nsort.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tags: filters
title: FilterOperator: nsort
type: text/vnd.tiddlywiki

The ''nsort'' filter operator sorts the current list as numeric values. String values are sorted case insensitively (upper and lower case letters are considered equivalent). Preceding the operator with `!` reverses the sort order.
The ''nsort'' filter operator sorts the current list as numeric values, along the field specified in the operand (which defaults to `title`). String values are sorted case insensitively (upper and lower case letters are considered equivalent). Preceding the operator with `!` reverses the sort order.

For example:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tags: filters
title: FilterOperator: nsortcs
type: text/vnd.tiddlywiki

The ''nsortcs'' filter operator sorts the current list as numeric values. String values are sorted case sensitively (upper and lower case letters are considered different). Preceding the operator with `!` reverses the sort order.
The ''nsortcs'' filter operator sorts the current list as numeric values, along the field specified in the operand (which defaults to `title`). String values are sorted case sensitively (upper and lower case letters are considered different). Preceding the operator with `!` reverses the sort order.

For example:

Expand Down
4 changes: 3 additions & 1 deletion editions/tw5.com/tiddlers/filters/FilterOperator sort.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ tags: filters commonfilters
title: FilterOperator: sort
type: text/vnd.tiddlywiki

The ''sort'' filter operator sorts the current list case insensitively (upper and lower case letters are considered equivalent). Preceding the operator with `!` reverses the sort order.
The ''sort'' filter operator sorts the current list case insensitively (upper and lower case letters are considered equivalent), along the field specified in the operand (which defaults to `title`). Preceding the operator with `!` reverses the sort order.

For example:

|!Filter String |!Description |
|`one two three four +[sort[]]` |Returns `four`, `one`, `three`, `two` |
|`one two Three four +[sort[]]` |Returns `four`, `one`, `Three`, `two` |

For an example of use with explicit operands, see [[FilterOperator: limit]].

See also [[FilterOperator: nsort]], [[FilterOperator: sortcs]] and [[FilterOperator: nsortcs]].
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tags: filters
title: FilterOperator: sortcs
type: text/vnd.tiddlywiki

The ''sortcs'' filter operator sorts the current list case sensitively (upper and lower case letters are considered different). Preceding the operator with `!` reverses the sort order.
The ''sortcs'' filter operator sorts the current list case sensitively (upper and lower case letters are considered different), along the field specified in the operand (which defaults to `title`). Preceding the operator with `!` reverses the sort order.

For example:

Expand Down
2 changes: 1 addition & 1 deletion editions/tw5.com/tiddlers/filters/FilterOperator tag.tid
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ For example:
|`[all[shadows]tag[mytag]]` |Returns all ShadowTiddlers tagged `mytag` |
|`[all[shadows+tiddlers]tag[mytag]]` |Returns all ShadowTiddlers and non-ShadowTiddlers tagged `mytag` |
|`[!tag[mytag]]` |Returns all tiddlers not tagged `mytag` |
|`[tag[mytag]!tag[exclude]]` |Returns all tiddlers tagged `mytag` that are not tagged `mytag` |
|`[tag[mytag]!tag[exclude]]` |Returns all tiddlers tagged `mytag` that are not tagged `exclude` |

See also [[FilterOperator: tagging]], [[FilterOperator: tags]] and [[FilterOperator: untagged]].
12 changes: 11 additions & 1 deletion editions/tw5.com/tiddlers/filters/Introduction to Filters.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20140410101941871
modified: 20140410103229640
modified: 20140725103229640
tags: introduction
title: Introduction to Filters
type: text/vnd.tiddlywiki
Expand Down Expand Up @@ -67,6 +67,16 @@ If a filter operator is written with curly brackets around the operand then it i
[search{$:/temp/search}]
```

! Variable Operands

If a filter operator is written with angle brackets around the operand then it is taken to be the name of a variable containing the actual value. For example, this filter selects all tiddlers containing the title of the current tiddler:

```
[search<currentTiddler>]
```

(Note that the `currentTiddler` variable is used to track the current tiddler).

! Regular Expression Operands

The "field" filter also accepts [[regular expressions|http://en.wikipedia.org/wiki/Regular_expression]] with the syntax `/regexp/(modifier)`. For example:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
caption: Android
created: 20140811171036268
modified: 20140811171041595
title: GettingStarted - Android
type: text/vnd.tiddlywiki

{{Saving on Android}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
caption: Chrome
created: 20140811165935523
modified: 20140811170107969
title: GettingStarted - Chrome
type: text/vnd.tiddlywiki

TiddlyWiki on Google Chrome can only save changes using the HTML5-compatible fallback saver module.

{{Saving with the HTML5 fallback saver}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
caption: Firefox
created: 20140811170425199
modified: 20140811170527083
title: GettingStarted - Firefox
type: text/vnd.tiddlywiki

Firefox provides the best user experience for using TiddlyWiki with the TiddlyFox browser extension.

{{Saving with TiddlyFox}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
caption: Internet Explorer
created: 20140811172058274
modified: 20140811172247864
title: GettingStarted - Internet Explorer
type: text/vnd.tiddlywiki

{{Saving with TiddlyIE}}

The [[Windows HTA Hack]] describes an alternative method of using TiddlyWiki with Internet Explorer.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
caption: Node.js
created: 20140811172010003
modified: 20140811172012677
title: GettingStarted - Node.js
type: text/vnd.tiddlywiki

{{Installing TiddlyWiki on Node.js}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
caption: Safari
created: 20140811171121022
modified: 20140811171247643
title: GettingStarted - Safari
type: text/vnd.tiddlywiki

TiddlyWiki on Safari can only save changes using the HTML5-compatible fallback saver module.

{{Saving on Safari}}

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
caption: iPad/iPhone
created: 20140811170918707
modified: 20140811170921731
title: GettingStarted - iOS
type: text/vnd.tiddlywiki

{{Saving on iPad/iPhone}}
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ tags: howto
title: How to create a translation for TiddlyWiki
type: text/vnd.tiddlywiki

Making a translation

Prerequisites:
! Prerequisites

* [[TiddlyWiki on Node.js]]
* A GitHub account to submit the translation to tiddlywiki.com

Quick and dirty instructions:
! Setting Up

# Fork the TiddlyWiki GitHub repository (https://github.com/Jermolene/TiddlyWiki5)
#* If your GitHub username is JoeBloggs, your fork will be https://github.com/JoeBloggs/TiddlyWiki5
Expand Down Expand Up @@ -42,3 +40,9 @@ Content of `plugin.info` for Joe Bloggs' Welsh translation:
```

MultiTiddlerFiles make it possible to pack the text of several tiddlers in a single text file, simplifying some editing tasks.

! Handling Updates

Sometimes the master en-GB language tiddlers are updated with revised content or new items. The best way to keep track of language-related commits to ~TiddlyWiki5:master is to monitor this RSS/Atom feed:

https://github.com/Jermolene/TiddlyWiki5/commits/master/core/language.atom
15 changes: 10 additions & 5 deletions editions/tw5.com/tiddlers/macros/TabsMacro.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20131228162203521
modified: 20140509223527667
modified: 20140702113527667
tags: macros
title: TabsMacro
type: text/vnd.tiddlywiki
Expand All @@ -15,15 +15,20 @@ By default the tab control arranges the tabs horizontally with the content under
|2nd |default |Name of the tiddler containing the default tab | |
|3rd |state |String to distinguish multiple tabs within the same tiddler (use of the system tiddler prefix is recommended) |''$:/state/tab'' |
|4th |class |Additional CSS classes for the three wrappers DIV of the tab | |
|5th |template |Optional template through which to render the tab content | |

Within the template the title of the current tab is available in the widget variable ''currentTab''.

! Examples

Here is an example of the tabs macro:
Here are some examples of the tabs macro:

```
<<tabs "Docs WikiText Features RoadMap" "WikiText" "$:/state/tab1">>
<<tabs "SampleTabOne SampleTabTwo SampleTabThree SampleTabFour" "SampleTabThree" "$:/state/tab1">>

<<tabs "[tag[sampletab]]" "SampleTabTwo" "$:/state/tab2" "tw-vertical">>
```

<<tabs "Docs WikiText Features RoadMap" "WikiText" "$:/state/tab1">>
<<tabs "SampleTabOne SampleTabTwo SampleTabThree SampleTabFour" "SampleTabThree" "$:/state/tab1">>

<<tabs "[tag[tips]]" "GoogleChromeTips" "$:/state/tab2" "tw-vertical">>
<<tabs "[tag[sampletab]]" "SampleTabTwo" "$:/state/tab2" "tw-vertical">>
14 changes: 14 additions & 0 deletions editions/tw5.com/tiddlers/mechanisms/InfoMechanism.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
created: 20140720164948099
modified: 20140720165248031
tags: mechanism
title: InfoMechanism
type: text/vnd.tiddlywiki

System tiddlers in the namespace `$:/info/` are used to expose information about the system (including the current browser) so that WikiText applications can adapt themselves to available features.

! Information Tiddlers

|!Title |!Description |
|[[$:/info/browser]] |Running in the browser? ("yes" or "no") |
|[[$:/info/node]] |Running under [[Node.js]]? ("yes" or "no") |

26 changes: 24 additions & 2 deletions editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20130826122000000
modified: 20131214094840608
modified: 20140807094840608
tags: mechanism
title: PluginMechanism
type: text/vnd.tiddlywiki
Expand Down Expand Up @@ -32,6 +32,7 @@ Plugins are stored as tiddlers with the following fields:
|type |Must be ''application/json'' |
|plugin-type |Can be ''plugin'' (default) or ''theme'' |
|text |JSON encoding of the list of tiddlers comprising the plugin |
|list |Names of exposed plugin information tiddlers (see below) |
|dependents |List of dependent plugins (currently only implemented for themes) |

! Plugin folders
Expand All @@ -50,7 +51,8 @@ The JSON structure for plugin tiddlers is as follows:
"version": "1.2.3-alpha3",
"core-version": ">=5.0.0",
"source": "http://tiddlywiki.com/MyPlugin",
"plugin-type": "plugin"
"plugin-type": "plugin",
"list": "readme license history"
}
```

Expand Down Expand Up @@ -84,3 +86,23 @@ Plugins can also be included manually by copying them into the `plugins` subfold
The wiki object keeps track of all of the currently loaded plugins. If a request for a tiddler isn't in the store then the wiki looks through the cascade of plugins to find the requested tiddler. It is a similar idea to the way that shadow tiddlers are implemented in classic TiddlyWiki.

In the browser, any constituent tiddlers that are JavaScript modules (ie shadow tiddlers of content type `application/javascript` and possessing the field `module-type`) are executed during startup processing.

! Information Tiddlers for Plugins

Plugin authors are encouraged to provide special information and documentation tiddlers that TiddlyWiki can include as plugin information tabs in the [[control panel|$:/ControlPanel]].

Plugins should provide an icon contained in a tiddler with the title formed of `<plugin-name>/icon` (for example, [[$:/core/icon]]).

Plugins expose the names of the individual information tabs that they wish to display in the `list` field of the plugin tiddler. By convention, some or all of the following should be provided:

* ''readme'': basic information about the plugin
* ''license'': the license under which the plugin is published

The process used to generate the title of the information tiddler is as follows:

# `<plugin-name>/<current-language>/<tab-name>` (for example, ''$:/core/en-GB/readme'')
# `<plugin-name>/<tab-name>` (for example, ''$:/core/readme'')

Thus, plugins can provide language-specific versions of each information tiddler.

Note that information tiddlers should not reference other tiddlers within the plugin. This is because plugins containing themes or languages are dynamically switched in and out as they are selected, and so their information tiddlers may not be available for viewing. The control panel uses the 'subtiddler' attribute of the TranscludeWidget to access these tiddlers, which works independently of the plugin switching mechanism.
Loading