From 84650b9a54fabf63d19ed3a816894166f3977929 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sun, 18 Nov 2012 15:22:13 +0000 Subject: [PATCH] Swap over to the new mime type conventions Discussed in https://groups.google.com/forum/#!topic/tiddlywikidev/re8xfLqZNCE --- core/boot.js | 2 +- core/messages/Download.tid | 2 +- core/messages/EnterEditMode.tid | 2 +- core/messages/SaveInstructions.tid | 2 +- core/modules/macros/edit/edit.js | 2 +- core/modules/macros/edit/editors/texteditor.js | 2 +- core/modules/macros/list/list.js | 2 +- core/modules/macros/tiddler.js | 2 +- core/modules/macros/view/viewers/wikified.js | 2 +- core/modules/parsers/javascriptparser/javascriptparser.js | 4 ++-- core/modules/parsers/tiddlytextparser.js | 4 ++-- core/modules/parsers/wikitextparser/wikitextparser.js | 6 +++--- core/modules/utils/dom/modal.js | 4 ++-- core/modules/wiki.js | 4 ++-- core/templates/StaticContent.tid | 2 +- core/templates/static.template.html.tid | 2 +- core/templates/tiddlywiki5.encrypted.template.html.tid | 2 +- core/templates/tiddlywiki5.template.html.tid | 2 +- core/wiki/title.tid | 2 +- editions/tw2/wiki/tiddlywiki2.template.html.tid | 2 +- editions/tw5.com/tiddlers/HelloThere.tid | 2 +- editions/tw5.com/tiddlers/TiddlyWikiArchitecture.tid | 2 +- editions/tw5.com/tiddlers/concepts/WikiText.tid | 2 +- editions/tw5.com/tiddlers/mechanisms/ParsingMechanism.tid | 4 ++-- editions/tw5dropbox/appwiki/wiki/index.template.html.tid | 2 +- editions/tw5dropbox/appwiki/wiki/styles.template.css.tid | 2 +- editions/tw5dropbox/appwiki/wiki/tw5dropbox.template.js.tid | 2 +- editions/tw5dropbox/dummycontent/HelloThere.tid | 2 +- editions/tw5dropbox/mainwiki/wiki/index.template.html.tid | 2 +- plugins/tiddlywiki/dropbox/dropbox.js | 4 ++-- plugins/tiddlywiki/tiddlyweb/tiddlyweb.js | 2 +- plugins/tiddlywiki/tw2parser/wikitextparser.js | 2 +- readme.md | 2 +- tests/wikitests/EighthTiddler.tid | 2 +- tests/wikitests/Fifth Tiddler.tid | 2 +- tests/wikitests/FirstTiddler.tid | 2 +- tests/wikitests/Fourth Tiddler.tid | 2 +- tests/wikitests/SecondTiddler.tid | 2 +- tests/wikitests/SeventhTiddler.tid | 2 +- tests/wikitests/SixthTiddler.tid | 2 +- tests/wikitests/ThirdTiddler.tid | 2 +- 41 files changed, 49 insertions(+), 49 deletions(-) diff --git a/core/boot.js b/core/boot.js index 5be7bce53..e8672c785 100644 --- a/core/boot.js +++ b/core/boot.js @@ -82,7 +82,7 @@ $tw.config.fileExtensionInfo = { // Content type mappings $tw.config.contentTypeInfo = { - "text/x-tiddlywiki": {encoding: "utf8", extension: ".tid"}, + "text/vnd.tiddlywiki": {encoding: "utf8", extension: ".tid"}, "application/x-tiddler": {encoding: "utf8", extension: ".tid"}, "application/x-tiddler-html-div": {encoding: "utf8", extension: ".tiddler"}, "application/x-tiddlywiki-recipe": {encoding: "utf8", extension: ".recipe"}, diff --git a/core/messages/Download.tid b/core/messages/Download.tid index 07f4f2fca..6435d34bf 100644 --- a/core/messages/Download.tid +++ b/core/messages/Download.tid @@ -1,5 +1,5 @@ title: $:/messages/Download -type: text/x-tiddlywiki +type: text/vnd.tiddlywiki subtitle: Download changes footer: <