A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

37 satır
1.7 KiB

  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. ("EarwigBot Status", "earwigbot", "earwigbot", True,
  10. 'View <a href="//en.wikipedia.org/wiki/User:EarwigBot">EarwigBot</a>\'s current status and read its IRC-based mini-wiki.'),
  11. ("Contribution Surveyor", "surveyor", "surveyor", False,
  12. "Nothing to see here yet!"),
  13. ("SWMT Helper", "swmt", "swmt", False,
  14. "Nothing to see here yet!"),
  15. ]
  16. %>\
  17. <%
  18. root = path.dirname(environ["SCRIPT_NAME"])
  19. pretty = path.split(root)[0]
  20. %>\
  21. <%def name="get_tools()"><% return tools %></%def>\
  22. <%include file="/support/header.mako" args="environ=environ, cookies=cookies, title='Home', slug='home'"/>
  23. <h1>My Tools</h1>
  24. % for tool in tools:
  25. % if tool != "DIVIDER":
  26. <% name, tool, link, complete, desc = tool %>
  27. % if desc:
  28. <div class="toolbox">
  29. <p class="toolname"><a class="dark" href="${pretty}/${link}"><span class="medium">${tool}:</span> ${name}</a></p>
  30. <p class="tooldesc">${desc}</p>
  31. </div>
  32. % endif
  33. % endif
  34. % endfor
  35. <%include file="/support/footer.mako" args="environ=environ, cookies=cookies"/>