A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

index.mako 1.3 KiB

123456789101112131415161718192021222324252627282930
  1. <%!
  2. from os import path
  3. tools = [
  4. ("Home", "home", "index", True, None),
  5. ("Settings", "settings", "settings", True, None),
  6. ("DIVIDER"),
  7. ("Copyvio Detector", "copyvios", "copyvios", True,
  8. 'Try to detect <a href="//en.wikipedia.org/wiki/WP:COPYVIO">copyright violations</a> in articles by searching the web for page content, or compare an article to a specific URL.'),
  9. ]
  10. %>\
  11. <%
  12. root = path.dirname(environ["SCRIPT_NAME"])
  13. pretty = path.split(root)[0]
  14. %>\
  15. <%def name="get_tools()"><% return tools %></%def>\
  16. <%include file="/support/header.mako" args="environ=environ, cookies=cookies, title='Home', slug='home'"/>
  17. <h1>My Tools</h1>
  18. % for tool in tools:
  19. % if tool != "DIVIDER":
  20. <% name, tool, link, complete, desc = tool %>
  21. % if desc:
  22. <div class="toolbox">
  23. <p class="toolname"><a class="dark" href="${pretty}/${link}"><span class="medium">${tool}:</span> ${name}</a></p>
  24. <p class="tooldesc">${desc}</p>
  25. </div>
  26. % endif
  27. % endif
  28. % endfor
  29. <%include file="/support/footer.mako" args="environ=environ, cookies=cookies"/>