Date: Tue, 11 Apr 2017 08:21:34 +0200
Subject: [PATCH] Improved error reports on various wiki dump prerequisites
failure cases.
Also added some JavaDoc.
---
htroot/IndexImportMediawiki_p.html | 7 +++++-
htroot/IndexImportMediawiki_p.java | 36 +++++++++++++++++++++++-------
2 files changed, 34 insertions(+), 9 deletions(-)
diff --git a/htroot/IndexImportMediawiki_p.html b/htroot/IndexImportMediawiki_p.html
index 7c473f50d..1959ed091 100644
--- a/htroot/IndexImportMediawiki_p.html
+++ b/htroot/IndexImportMediawiki_p.html
@@ -13,7 +13,12 @@
MediaWiki Dump Import
#(import)#
- #(status)#No import thread is running, you can start a new thread here::Bad input data: #[message]# #(/status)#
+ #(status)#
No import thread is running, you can start a new thread here
+ ::Error : file argument must be a path to a document in the local file system
+ ::Error : file not found "#[sourceFile]#"
+ ::Error : can not read file "#[sourceFile]#"
+ ::Error : you selected a directory ("#[sourceFile]#")
+ #(/status)#