Add how-it-works steps to home page and fix post-OAuth redirect
- Add three-step explanation (Search, Review, Save or skip) below the search form on the index page - After a LoginNeeded during save, redirect to OAuth with next= pointing back to the article page showing the same candidate Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
25056aaf33
commit
5ba380d590
2 changed files with 33 additions and 3 deletions
|
|
@ -7,11 +7,40 @@
|
|||
<div class="row justify-content-center mt-5">
|
||||
<div class="col-md-6 text-center">
|
||||
<h1 class="mb-2">Missing Link</h1>
|
||||
<p class="text-muted mb-4">Find unlinked mentions of a Wikipedia article and add the links.</p>
|
||||
<form class="d-flex gap-2 justify-content-center" action="{{ url_for('index') }}">
|
||||
<p class="text-muted mb-4">Find Wikipedia articles that mention a topic but don't link to it — then add the link.</p>
|
||||
<form class="d-flex gap-2 justify-content-center mb-5" action="{{ url_for('index') }}">
|
||||
<input class="form-control" name="q" placeholder="Article title…" style="max-width:360px" autofocus>
|
||||
<button class="btn btn-primary" type="submit">Search</button>
|
||||
</form>
|
||||
<div class="row g-4 text-start mt-1">
|
||||
<div class="col-md-4">
|
||||
<div class="d-flex gap-3">
|
||||
<span class="fs-4">🔍</span>
|
||||
<div>
|
||||
<h6 class="mb-1">Search</h6>
|
||||
<p class="text-muted small mb-0">Enter a Wikipedia article title. Missing Link searches for other articles that mention it by name but don't have a wikilink.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="d-flex gap-3">
|
||||
<span class="fs-4">👀</span>
|
||||
<div>
|
||||
<h6 class="mb-1">Review</h6>
|
||||
<p class="text-muted small mb-0">For each candidate article, a diff shows exactly what would change. You can see the proposed link in context before doing anything.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="d-flex gap-3">
|
||||
<span class="fs-4">✅</span>
|
||||
<div>
|
||||
<h6 class="mb-1">Save or skip</h6>
|
||||
<p class="text-muted small mb-0">Save the edit directly to Wikipedia with one click, or skip to the next candidate. Log in with your Wikipedia account to save edits.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue