Sfoglia il codice sorgente

Improve redirected from behavior.

pull/24/head
Ben Kurtovic 9 anni fa
parent
commit
f43797fc8a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      templates/index.mako

+ 1
- 1
templates/index.mako Vedi File

@@ -171,7 +171,7 @@
% endif
% if query.redirected_from:
<br />
<span id="redirected-from">Redirected from <a href="${query.redirected_from.url}">${query.redirected_from.title | h}</a>. <a href="${request.url | httpsfix, h}&amp;noredirect=1">Check the original page.</a></span>
<span id="redirected-from">Redirected from <a href="//${query.site.domain | h}/w/index.php?title=${query.redirected_from.title | u}&amp;redirect=no">${query.redirected_from.title | h}</a>. <a href="${request.url | httpsfix, h}&amp;noredirect=1">Check original.</a></span>
% endif
</td>
<td>


Caricamento…
Annulla
Salva