From 5d387b1df85f0c9e0ccb4527701e32f0268ab3bd Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Sun, 24 Sep 2017 09:09:45 +0100 Subject: [PATCH] Small tweaks to the wiki importer --- main/webapp/modules/core/MOD-INF/controller.js | 2 ++ .../scripts/index/parser-interfaces/wikitext-parser-ui.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/main/webapp/modules/core/MOD-INF/controller.js b/main/webapp/modules/core/MOD-INF/controller.js index d611edd50..f8d4649c6 100644 --- a/main/webapp/modules/core/MOD-INF/controller.js +++ b/main/webapp/modules/core/MOD-INF/controller.js @@ -241,6 +241,8 @@ function registerImporting() { IM.registerExtension(".marc", "text/marc"); IM.registerExtension(".mrc", "text/marc"); + IM.registerExtension(".wiki", "text/wiki"); + /* * Mime type to format mappings */ diff --git a/main/webapp/modules/core/scripts/index/parser-interfaces/wikitext-parser-ui.html b/main/webapp/modules/core/scripts/index/parser-interfaces/wikitext-parser-ui.html index 5f5477126..5c4191a00 100644 --- a/main/webapp/modules/core/scripts/index/parser-interfaces/wikitext-parser-ui.html +++ b/main/webapp/modules/core/scripts/index/parser-interfaces/wikitext-parser-ui.html @@ -1,4 +1,4 @@ -
+