diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2017-05-03 18:53:01 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2017-05-03 18:53:01 +0200 |
| commit | a87281b4988bcf20934b5a6d95a66b297f00fbff (patch) | |
| tree | f814a8802cc83a5c24526cd80825734d2cade89e /htroot/IndexImportMediawiki_p.html | |
| parent | 10c03c6c641df3c1c915d582560fec520de55f77 (diff) | |
Added MediaWiki dump import scheduling feature.
Checking the last modified date by default to prevent unnecessary long
running operations.
Diffstat (limited to 'htroot/IndexImportMediawiki_p.html')
| -rw-r--r-- | htroot/IndexImportMediawiki_p.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/htroot/IndexImportMediawiki_p.html b/htroot/IndexImportMediawiki_p.html index 907b597ff..c37583d4e 100644 --- a/htroot/IndexImportMediawiki_p.html +++ b/htroot/IndexImportMediawiki_p.html @@ -19,6 +19,7 @@ ::<div class="alert alert-danger" role="alert">Error : file not found "#[sourceFile]#"</div> ::<div class="alert alert-danger" role="alert">Error : can not read file "#[sourceFile]#"</div> ::<div class="alert alert-danger" role="alert">Error : you selected a directory ("#[sourceFile]#")</div> + ::<div class="alert alert-danger" role="alert">Error : dump file ("#[sourceFile]#") was not modified since last import (#[lastImportDate]#).</div> #(/status)#</p> <form action="IndexImportMediawiki_p.html" method="post" accept-charset="UTF-8" class="form-horizontal"> <input type="hidden" name="transactionToken" value="#[transactionToken]#"/> @@ -40,6 +41,22 @@ <input id="file" class="form-control" name="file" type="text" title="Dump file path on this YaCy server file system, or any remote URL" required="required"/> </div> </div> + <div class="form-group"> + <div class="col-sm-3"> + <div class="checkbox"> + <label> + <input name="iffresh" id="iffresh" + type="checkbox" checked="checked" + aria-describedby="iffreshInfo"/> + Import only when modified since last import + </label> + </div> + </div> + <div class="col-sm-5" id="iffreshInfo"> + When checked, the dump file is imported only if its last modified date is unknown or is after the last import execution date on this same file + (see <a href="Table_API_p.html?filter=mediawikidump">recorded API calls</a> with the "dump" type). + </div> + </div> <input name="submit" class="btn btn-primary" type="submit" value="Import MediaWiki Dump" /> </fieldset> </form> |
