Move WDQS report and add a heading.

This commit is contained in:
Edward Betts 2019-11-26 16:07:57 +00:00
parent 0ef6eced13
commit e849f18660
2 changed files with 9 additions and 1 deletions

2
app.py
View file

@ -899,7 +899,7 @@ def missing_image_report():
return render_template('missing_image.html', item_list=item_list)
@app.route('/report/query')
@app.route('/report/wdqs')
def wikidata_query_list():
q = WikidataQuery.query.order_by(WikidataQuery.start_time.desc())
return render_template('query_list.html', q=q)

View file

@ -4,6 +4,14 @@
<div class="p-2">
<div class="container">
<div class="row">
<div class="col">
<h1>Wikidata Query Service report</h1>
<p>This report lists every query sent to the <a href="https://query.wikidata.org/">Wikidata Query Service</a> (WQDS) by WADE. Failed queries are in red.</p>
</div>
</div>
<div class="row">
<div class="col-2">when</div>
<div class="col-3">page</div>