ソースを参照

Fix cookie name; remove beta note (for now).

pull/24/head
Ben Kurtovic 10年前
コミット
c9366d83c8
2個のファイルの変更3行の追加4行の削除
  1. +3
    -3
      static/script.js
  2. +0
    -1
      templates/index.mako

+ 3
- 3
static/script.js ファイルの表示

@@ -5,12 +5,12 @@ function copyvio_toggle_details(details) {
if (link.innerHTML == "Show details:") {
details.style.display = "block";
link.innerHTML = "Hide details:";
set_cookie("CopyviosCVShowDetails", "True", 1095);
set_cookie("CopyviosShowDetails", "True", 1095);
} else {
details.style.display = "none";
link.innerHTML = "Show details:";
if (get_cookie("CopyviosCVShowDetails")) {
delete_cookie("CopyviosCVShowDetails");
if (get_cookie("CopyviosShowDetails")) {
delete_cookie("CopyviosShowDetails");
}
}
}


+ 0
- 1
templates/index.mako ファイルの表示

@@ -23,7 +23,6 @@
%endif
<p>This tool attempts to detect <a href="//en.wikipedia.org/wiki/WP:COPYVIO">copyright violations</a> in articles. Simply give the title of the page or ID of the revision you want to check and hit Submit. The tool will search for similar content elsewhere on the web using <a href="//info.yahoo.com/legal/us/yahoo/boss/pricing/">Yahoo! BOSS</a> and then display a report if a match is found. If you give a URL, it will skip the search engine step and directly display a report comparing the article to that particular webpage, like the <a href="//toolserver.org/~dcoetzee/duplicationdetector/">Duplication Detector</a>.</p>
<p>Specific websites can be excluded from the check (for example, if their content is in the public domain) by being added to the <a href="//en.wikipedia.org/wiki/User:EarwigBot/Copyvios/Exclusions">excluded URL list</a>.</p>
<p><i>Note:</i> The tool is still in beta. You are completely welcome to use it and provide <a href="//en.wikipedia.org/wiki/User_talk:The_Earwig">feedback</a>, but be aware that it may produce strange or broken results.</p>
<form action="${request.base_url}" method="get">
<table id="cv-form">
<tr>


読み込み中…
キャンセル
保存