Revision: 7013
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7013&view=rev
Author:   dnaber
Date:     2012-05-20 11:49:12 +0000 (Sun, 20 May 2012)
Log Message:
-----------
add new page for WikiCheck

Modified Paths:
--------------
    trunk/website/include/header.php
    trunk/website/www/css/style.css

Added Paths:
-----------
    trunk/website/www/wikicheck/
    trunk/website/www/wikicheck/index.php

Modified: trunk/website/include/header.php
===================================================================
--- trunk/website/include/header.php    2012-05-20 11:44:51 UTC (rev 7012)
+++ trunk/website/include/header.php    2012-05-20 11:49:12 UTC (rev 7013)
@@ -103,6 +103,7 @@
                        <?php makeEntry("languages", "Supported Languages"); ?>
                        <?php makeEntry("usage", "Usage"); ?>
                        <?php makeEntry("forum", "Forum"); ?>
+                       <?php makeEntry("wikicheck", "WikiCheck"); ?>
                        <?php makeEntry("development", "Development"); ?>
                        <?php makeEntry("http://languagetool.wikidot.com/";, 
"Wiki"); ?>
                        <?php makeEntry("links", "Links &amp; Resources"); ?>

Modified: trunk/website/www/css/style.css
===================================================================
--- trunk/website/www/css/style.css     2012-05-20 11:44:51 UTC (rev 7012)
+++ trunk/website/www/css/style.css     2012-05-20 11:49:12 UTC (rev 7013)
@@ -213,31 +213,31 @@
 }
 
 /* check form on the homepage */
-BODY TABLE TBODY TR TD.content FORM SELECT#lang:HOVER {
+FORM SELECT:HOVER {
     background-color: #EF8701;
     color: #FFFFFF;
     border: 1px solid #464646;
 }
-BODY TABLE TBODY TR TD.content FORM SELECT#lang {
+FORM SELECT {
     background-color: #F9F5F2;
     color: #464646;
     border: 1px solid #464646;
     font-weight: bold;
     padding: 4px;
 }
-TABLE TBODY TR TD.content FORM INPUT:HOVER {
+FORM INPUT:HOVER {
     background-color: #EF8701;
     border: 1px solid #464646;
     color: #FFFFFF;
 }
-TABLE TBODY TR TD.content FORM INPUT {
+FORM INPUT {
     background-color: #FBF7F4;
     border: 1px solid #464646;
     color: #464646;
     font-weight: bold;
     padding: 4px;
 }
-TABLE TBODY TR TD.content FORM TEXTAREA {
+FORM TEXTAREA {
     background-color: #EEEEEE;
     border: 1px solid #464646;
 }

Copied: trunk/website/www/wikicheck/index.php (from rev 7004, 
trunk/website/www/development/index.php)
===================================================================
--- trunk/website/www/wikicheck/index.php                               (rev 0)
+++ trunk/website/www/wikicheck/index.php       2012-05-20 11:49:12 UTC (rev 
7013)
@@ -0,0 +1,91 @@
+<?php
+$page = "wikicheck";
+$title = "LanguageTool";
+$title2 = "WikiCheck";
+$lastmod = "2012-05-20 13:06:00 CET";
+include("../../include/header.php");
+?>
+
+<!-- NOTE: also see http://community.languagetool.org/wikiCheck/ -->
+
+<p class="firstpara">This page helps you to check Wikipedia articles using 
LanguageTool. Please be aware
+that automatically extracting plain text from Wikipedia isn't that easy, so 
you will probably get quite some
+false alarms due to formatting issues.<p>
+
+<p>If you fix an error in the Wikipedia found with this page, please mention 
"LanguageTool" in your change comment
+at Wikipedia. Please share your experiences in our <a href="/forum">Forum</a> 
or
+<a 
href="https://lists.sourceforge.net/lists/listinfo/languagetool-devel";>mailing 
list</a>.</p>
+
+
+<table>
+  <tr>
+    <td><label for="wikipediaUrl">Wikipedia URL:</label></td>
+    <td>
+
+      <form action="http://community.languagetool.org/wikiCheck/index"; 
method="get" >
+        <label id="wikipediaUrl">
+          <input style="width:350px" name="url" 
value="http://en.wikipedia.org/wiki/Grammar"/>
+        </label>
+        <input type="submit" value="Check Page"/>
+      </form>
+
+    </td>
+  </tr>
+  <tr>
+    <td>&nbsp;</td>
+  </tr>
+  <tr>
+    <td><label for="language">Language:</label></td>
+    <td>
+
+      <form action="http://community.languagetool.org/wikiCheck/index"; 
method="get" >
+        <label id="language">
+          <select name="url">
+            <option value="random:en">English</option>
+            <optgroup label="all languages">
+              <!--<option value="random:ast">Asturian</option>-->
+              <!--<option value="random:be">Belarusian</option>-->
+              <option value="random:br">Breton</option>
+              <option value="random:ca">Catalan</option>
+              <option value="random:zh">Chinese</option>
+              <option value="random:da">Danish</option>
+              <option value="random:nl">Dutch</option>
+              <option value="random:en">English</option>
+              <option value="random:eo">Esperanto</option>
+              <option value="random:fr">French</option>
+              <option value="random:gl">Galician</option>
+              <option value="random:de">German</option>
+              <option value="random:is">Icelandic</option>
+              <option value="random:it">Italian</option>
+              <option value="random:km">Khmer</option>
+              <!--<option value="random:lt">Lithuanian</option>-->
+              <option value="random:ml">Malayalam</option>
+              <option value="random:pl">Polish</option>
+              <option value="random:ro">Romanian</option>
+              <option value="random:ru">Russian</option>
+              <option value="random:sk">Slovak</option>
+              <option value="random:sl">Slovenian</option>
+              <option value="random:es">Spanish</option>
+              <option value="random:tl">Tagalog</option>
+              <option value="random:uk">Ukrainian</option>
+            </optgroup>
+          </select>
+        </label>
+        <input type="submit" value="Check Random Page"/>
+      </form>
+
+    </td>
+  </tr>
+</table>
+
+<h2>Bookmarklet</h2>
+
+<p>
+Bookmark the following link and then open the bookmark when you are on a 
Wikipedia page - LanguageTool will then check that page:
+<a 
href="javascript:(function(){%20window.open('http://community.languagetool.org/wikiCheck/index?url='+escape(location.href));%20})();">WikiCheck
 Bookmarklet</a></p>
+
+<div style="height: 400px"></div>
+
+<?php
+include("../../include/footer.php");
+?>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to