From 10c03c6c641df3c1c915d582560fec520de55f77 Mon Sep 17 00:00:00 2001
From: luccioman
Date: Tue, 2 May 2017 09:38:45 +0200
Subject: [PATCH] Improved MediaWiki dump import monitoring.
When import thread is terminated :
- now stop refreshing and stay on the monitoring page to give user a
feedback after a long running import
- added link to the next monitoring step : results from surrogates
reader
- added link to new import
On the new import page, added a link on the eventual last import report.
---
htroot/IndexImportMediawiki_p.html | 11 +++++------
htroot/IndexImportMediawiki_p.java | 26 ++++++++++++--------------
2 files changed, 17 insertions(+), 20 deletions(-)
diff --git a/htroot/IndexImportMediawiki_p.html b/htroot/IndexImportMediawiki_p.html
index d3379e858..907b597ff 100644
--- a/htroot/IndexImportMediawiki_p.html
+++ b/htroot/IndexImportMediawiki_p.html
@@ -3,9 +3,9 @@
YaCy '#[clientname]#': MediaWiki Dump Import
#%env/templates/metas.template%#
- #(import)#::
+ #(refresh)#::
- #(/import)#
+ #(/refresh)#
#%env/templates/header.template%#
@@ -13,9 +13,7 @@
MediaWiki Dump Import
#(import)#
- #(prevStatus)#
- ::
Error on last import : #[message]#
- #(/prevStatus)#
+ #(prevReport)#::Check the last import report.#(/prevReport)#
#(status)#
No import thread is running, you can start a new thread here
::Error : dump
URL is malformed.
::Error : file not found "#[sourceFile]#"
@@ -77,7 +75,8 @@
#(/status)#