From: <dn...@us...> - 2011-11-09 22:36:12
|
Revision: 5878 http://languagetool.svn.sourceforge.net/languagetool/?rev=5878&view=rev Author: dnaber Date: 2011-11-09 22:36:03 +0000 (Wed, 09 Nov 2011) Log Message: ----------- helper webapp to convert MediaWiki syntax to plain text Added Paths: ----------- trunk/wikipediatotext/ trunk/wikipediatotext/application.properties trunk/wikipediatotext/grails-app/ trunk/wikipediatotext/grails-app/conf/ trunk/wikipediatotext/grails-app/conf/BootStrap.groovy trunk/wikipediatotext/grails-app/conf/BuildConfig.groovy trunk/wikipediatotext/grails-app/conf/Config.groovy trunk/wikipediatotext/grails-app/conf/DataSource.groovy trunk/wikipediatotext/grails-app/conf/UrlMappings.groovy trunk/wikipediatotext/grails-app/conf/spring/ trunk/wikipediatotext/grails-app/conf/spring/resources.groovy trunk/wikipediatotext/grails-app/controllers/ trunk/wikipediatotext/grails-app/controllers/WikiSyntaxConverterController.groovy trunk/wikipediatotext/grails-app/i18n/ trunk/wikipediatotext/grails-app/i18n/messages.properties trunk/wikipediatotext/grails-app/views/ trunk/wikipediatotext/grails-app/views/error.gsp trunk/wikipediatotext/grails-app/views/index.gsp trunk/wikipediatotext/grails-app/views/layouts/ trunk/wikipediatotext/grails-app/views/layouts/main.gsp trunk/wikipediatotext/pom.xml trunk/wikipediatotext/src/ trunk/wikipediatotext/src/java/ trunk/wikipediatotext/src/java/resources/ trunk/wikipediatotext/src/java/resources/SimpleWikiConfiguration.xml trunk/wikipediatotext/src/main/ trunk/wikipediatotext/src/main/webapp/ trunk/wikipediatotext/src/main/webapp/WEB-INF/ trunk/wikipediatotext/src/main/webapp/WEB-INF/web.xml Added: trunk/wikipediatotext/application.properties =================================================================== --- trunk/wikipediatotext/application.properties (rev 0) +++ trunk/wikipediatotext/application.properties 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,8 @@ +#Grails Metadata file +#Mon Nov 07 23:50:24 CET 2011 +app.grails.version=1.3.7 +app.name=wikipediatotext +app.servlet.version=2.4 +app.version=1.0-SNAPSHOT +plugins.hibernate=1.3.7 +plugins.tomcat=1.3.7 Added: trunk/wikipediatotext/grails-app/conf/BootStrap.groovy =================================================================== --- trunk/wikipediatotext/grails-app/conf/BootStrap.groovy (rev 0) +++ trunk/wikipediatotext/grails-app/conf/BootStrap.groovy 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,7 @@ +class BootStrap { + + def init = { servletContext -> + } + def destroy = { + } +} Added: trunk/wikipediatotext/grails-app/conf/BuildConfig.groovy =================================================================== --- trunk/wikipediatotext/grails-app/conf/BuildConfig.groovy (rev 0) +++ trunk/wikipediatotext/grails-app/conf/BuildConfig.groovy 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,31 @@ +grails.project.class.dir = "target/classes" +grails.project.test.class.dir = "target/test-classes" +grails.project.test.reports.dir = "target/test-reports" +//grails.project.war.file = "target/${appName}-${appVersion}.war" +grails.project.dependency.resolution = { + // inherit Grails' default dependencies + inherits("global") { + // uncomment to disable ehcache + // excludes 'ehcache' + } + log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose' + repositories { + grailsPlugins() + grailsHome() + grailsCentral() + + // uncomment the below to enable remote dependency resolution + // from public Maven repositories + //mavenLocal() + //mavenCentral() + //mavenRepo "http://snapshots.repository.codehaus.org" + //mavenRepo "http://repository.codehaus.org" + //mavenRepo "http://download.java.net/maven/2/" + //mavenRepo "http://repository.jboss.com/maven2/" + } + dependencies { + // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg. + + // runtime 'mysql:mysql-connector-java:5.1.13' + } +} Added: trunk/wikipediatotext/grails-app/conf/Config.groovy =================================================================== --- trunk/wikipediatotext/grails-app/conf/Config.groovy (rev 0) +++ trunk/wikipediatotext/grails-app/conf/Config.groovy 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,90 @@ +// locations to search for config files that get merged into the main config +// config files can either be Java properties files or ConfigSlurper scripts + +// grails.config.locations = [ "classpath:${appName}-config.properties", +// "classpath:${appName}-config.groovy", +// "file:${userHome}/.grails/${appName}-config.properties", +// "file:${userHome}/.grails/${appName}-config.groovy"] + +// if(System.properties["${appName}.config.location"]) { +// grails.config.locations << "file:" + System.properties["${appName}.config.location"] +// } + +grails.project.groupId = appName // change this to alter the default package name and Maven publishing destination +grails.mime.file.extensions = true // enables the parsing of file extensions from URLs into the request format +grails.mime.use.accept.header = false +grails.mime.types = [ html: ['text/html','application/xhtml+xml'], + xml: ['text/xml', 'application/xml'], + text: 'text/plain', + js: 'text/javascript', + rss: 'application/rss+xml', + atom: 'application/atom+xml', + css: 'text/css', + csv: 'text/csv', + all: '*/*', + json: ['application/json','text/json'], + form: 'application/x-www-form-urlencoded', + multipartForm: 'multipart/form-data' + ] + +// URL Mapping Cache Max Size, defaults to 5000 +//grails.urlmapping.cache.maxsize = 1000 + +// The default codec used to encode data with ${} +grails.views.default.codec = "none" // none, html, base64 +grails.views.gsp.encoding = "UTF-8" +grails.converters.encoding = "UTF-8" +// enable Sitemesh preprocessing of GSP pages +grails.views.gsp.sitemesh.preprocess = true +// scaffolding templates configuration +grails.scaffolding.templates.domainSuffix = 'Instance' + +// Set to false to use the new Grails 1.2 JSONBuilder in the render method +grails.json.legacy.builder = false +// enabled native2ascii conversion of i18n properties files +grails.enable.native2ascii = true +// whether to install the java.util.logging bridge for sl4j. Disable for AppEngine! +grails.logging.jul.usebridge = true +// packages to include in Spring bean scanning +grails.spring.bean.packages = [] + +// request parameters to mask when logging exceptions +grails.exceptionresolver.params.exclude = ['password'] + +// set per-environment serverURL stem for creating absolute links +environments { + production { + grails.serverURL = "http://www.changeme.com" + } + development { + grails.serverURL = "http://localhost:8080/${appName}" + } + test { + grails.serverURL = "http://localhost:8080/${appName}" + } + +} + +// log4j configuration +log4j = { + // Example of changing the log pattern for the default console + // appender: + // + //appenders { + // console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n') + //} + + error 'org.codehaus.groovy.grails.web.servlet', // controllers + 'org.codehaus.groovy.grails.web.pages', // GSP + 'org.codehaus.groovy.grails.web.sitemesh', // layouts + 'org.codehaus.groovy.grails.web.mapping.filter', // URL mapping + 'org.codehaus.groovy.grails.web.mapping', // URL mapping + 'org.codehaus.groovy.grails.commons', // core / classloading + 'org.codehaus.groovy.grails.plugins', // plugins + 'org.codehaus.groovy.grails.orm.hibernate', // hibernate integration + 'org.springframework', + 'org.hibernate', + 'net.sf.ehcache.hibernate' + + warn 'org.mortbay.log' +} Added: trunk/wikipediatotext/grails-app/conf/DataSource.groovy =================================================================== --- trunk/wikipediatotext/grails-app/conf/DataSource.groovy (rev 0) +++ trunk/wikipediatotext/grails-app/conf/DataSource.groovy 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,32 @@ +dataSource { + pooled = true + driverClassName = "org.hsqldb.jdbcDriver" + username = "sa" + password = "" +} +hibernate { + cache.use_second_level_cache = true + cache.use_query_cache = true + cache.provider_class = 'net.sf.ehcache.hibernate.EhCacheProvider' +} +// environment specific settings +environments { + development { + dataSource { + dbCreate = "create-drop" // one of 'create', 'create-drop','update' + url = "jdbc:hsqldb:mem:devDB" + } + } + test { + dataSource { + dbCreate = "update" + url = "jdbc:hsqldb:mem:testDb" + } + } + production { + dataSource { + dbCreate = "update" + url = "jdbc:hsqldb:file:prodDb;shutdown=true" + } + } +} Added: trunk/wikipediatotext/grails-app/conf/UrlMappings.groovy =================================================================== --- trunk/wikipediatotext/grails-app/conf/UrlMappings.groovy (rev 0) +++ trunk/wikipediatotext/grails-app/conf/UrlMappings.groovy 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,13 @@ +class UrlMappings { + + static mappings = { + "/$controller/$action?/$id?"{ + constraints { + // apply constraints here + } + } + + "/"(view:"/index") + "500"(view:'/error') + } +} Added: trunk/wikipediatotext/grails-app/conf/spring/resources.groovy =================================================================== --- trunk/wikipediatotext/grails-app/conf/spring/resources.groovy (rev 0) +++ trunk/wikipediatotext/grails-app/conf/spring/resources.groovy 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,3 @@ +// Place your Spring DSL code here +beans = { +} Added: trunk/wikipediatotext/grails-app/controllers/WikiSyntaxConverterController.groovy =================================================================== --- trunk/wikipediatotext/grails-app/controllers/WikiSyntaxConverterController.groovy (rev 0) +++ trunk/wikipediatotext/grails-app/controllers/WikiSyntaxConverterController.groovy 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,25 @@ + +import org.languagetool.dev.wikipedia.WikipediaQuickCheck + +/** + * Get a Wikipedia page via Wikipedia API and return its plain text, filtered by Sweble. + * We use our own project for this as there were classpath issues when Sweble ran together with + * LanguageTool. + */ +class WikiSyntaxConverterController { + + def convert = { + if (!params.url) { + throw new RuntimeException("No url parameter specified"); + } + URL url = new URL(params.url) + WikipediaQuickCheck check = new WikipediaQuickCheck() + check.validateWikipediaUrl(url); + + final String mediaWikiContent = check.getMediaWikiContent(url) + final String plainText = check.getPlainText(mediaWikiContent) + + render plainText + } + +} Added: trunk/wikipediatotext/grails-app/i18n/messages.properties =================================================================== --- trunk/wikipediatotext/grails-app/i18n/messages.properties (rev 0) +++ trunk/wikipediatotext/grails-app/i18n/messages.properties 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,55 @@ +default.doesnt.match.message=Property [{0}] of class [{1}] with value [{2}] does not match the required pattern [{3}] +default.invalid.url.message=Property [{0}] of class [{1}] with value [{2}] is not a valid URL +default.invalid.creditCard.message=Property [{0}] of class [{1}] with value [{2}] is not a valid credit card number +default.invalid.email.message=Property [{0}] of class [{1}] with value [{2}] is not a valid e-mail address +default.invalid.range.message=Property [{0}] of class [{1}] with value [{2}] does not fall within the valid range from [{3}] to [{4}] +default.invalid.size.message=Property [{0}] of class [{1}] with value [{2}] does not fall within the valid size range from [{3}] to [{4}] +default.invalid.max.message=Property [{0}] of class [{1}] with value [{2}] exceeds maximum value [{3}] +default.invalid.min.message=Property [{0}] of class [{1}] with value [{2}] is less than minimum value [{3}] +default.invalid.max.size.message=Property [{0}] of class [{1}] with value [{2}] exceeds the maximum size of [{3}] +default.invalid.min.size.message=Property [{0}] of class [{1}] with value [{2}] is less than the minimum size of [{3}] +default.invalid.validator.message=Property [{0}] of class [{1}] with value [{2}] does not pass custom validation +default.not.inlist.message=Property [{0}] of class [{1}] with value [{2}] is not contained within the list [{3}] +default.blank.message=Property [{0}] of class [{1}] cannot be blank +default.not.equal.message=Property [{0}] of class [{1}] with value [{2}] cannot equal [{3}] +default.null.message=Property [{0}] of class [{1}] cannot be null +default.not.unique.message=Property [{0}] of class [{1}] with value [{2}] must be unique + +default.paginate.prev=Previous +default.paginate.next=Next +default.boolean.true=True +default.boolean.false=False +default.date.format=yyyy-MM-dd HH:mm:ss z +default.number.format=0 + +default.created.message={0} {1} created +default.updated.message={0} {1} updated +default.deleted.message={0} {1} deleted +default.not.deleted.message={0} {1} could not be deleted +default.not.found.message={0} not found with id {1} +default.optimistic.locking.failure=Another user has updated this {0} while you were editing + +default.home.label=Home +default.list.label={0} List +default.add.label=Add {0} +default.new.label=New {0} +default.create.label=Create {0} +default.show.label=Show {0} +default.edit.label=Edit {0} + +default.button.create.label=Create +default.button.edit.label=Edit +default.button.update.label=Update +default.button.delete.label=Delete +default.button.delete.confirm.message=Are you sure? + +# Data binding errors. Use "typeMismatch.$className.$propertyName to customize (eg typeMismatch.Book.author) +typeMismatch.java.net.URL=Property {0} must be a valid URL +typeMismatch.java.net.URI=Property {0} must be a valid URI +typeMismatch.java.util.Date=Property {0} must be a valid Date +typeMismatch.java.lang.Double=Property {0} must be a valid number +typeMismatch.java.lang.Integer=Property {0} must be a valid number +typeMismatch.java.lang.Long=Property {0} must be a valid number +typeMismatch.java.lang.Short=Property {0} must be a valid number +typeMismatch.java.math.BigDecimal=Property {0} must be a valid number +typeMismatch.java.math.BigInteger=Property {0} must be a valid number Added: trunk/wikipediatotext/grails-app/views/error.gsp =================================================================== --- trunk/wikipediatotext/grails-app/views/error.gsp (rev 0) +++ trunk/wikipediatotext/grails-app/views/error.gsp 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,54 @@ +<html> + <head> + <title>Grails Runtime Exception</title> + <style type="text/css"> + .message { + border: 1px solid black; + padding: 5px; + background-color:#E9E9E9; + } + .stack { + border: 1px solid black; + padding: 5px; + overflow:auto; + height: 300px; + } + .snippet { + padding: 5px; + background-color:white; + border:1px solid black; + margin:3px; + font-family:courier; + } + </style> + </head> + + <body> + <h1>Grails Runtime Exception</h1> + <h2>Error Details</h2> + + <div class="message"> + <strong>Error ${request.'javax.servlet.error.status_code'}:</strong> ${request.'javax.servlet.error.message'.encodeAsHTML()}<br/> + <strong>Servlet:</strong> ${request.'javax.servlet.error.servlet_name'}<br/> + <strong>URI:</strong> ${request.'javax.servlet.error.request_uri'}<br/> + <g:if test="${exception}"> + <strong>Exception Message:</strong> ${exception.message?.encodeAsHTML()} <br /> + <strong>Caused by:</strong> ${exception.cause?.message?.encodeAsHTML()} <br /> + <strong>Class:</strong> ${exception.className} <br /> + <strong>At Line:</strong> [${exception.lineNumber}] <br /> + <strong>Code Snippet:</strong><br /> + <div class="snippet"> + <g:each var="cs" in="${exception.codeSnippet}"> + ${cs?.encodeAsHTML()}<br /> + </g:each> + </div> + </g:if> + </div> + <g:if test="${exception}"> + <h2>Stack Trace</h2> + <div class="stack"> + <pre><g:each in="${exception.stackTraceLines}">${it.encodeAsHTML()}<br/></g:each></pre> + </div> + </g:if> + </body> +</html> \ No newline at end of file Added: trunk/wikipediatotext/grails-app/views/index.gsp =================================================================== --- trunk/wikipediatotext/grails-app/views/index.gsp (rev 0) +++ trunk/wikipediatotext/grails-app/views/index.gsp 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,11 @@ +<html> + <head> + <title>WikipediaToText</title> + </head> + <body> + + Helper project for ltcommunity to convert MediaWiki syntax to plain text. + <g:link controller="wikiSyntaxConverter">Conversion link</g:link> + + </body> +</html> Added: trunk/wikipediatotext/grails-app/views/layouts/main.gsp =================================================================== --- trunk/wikipediatotext/grails-app/views/layouts/main.gsp (rev 0) +++ trunk/wikipediatotext/grails-app/views/layouts/main.gsp 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> + <head> + <title><g:layoutTitle default="Grails" /></title> + <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" /> + <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" /> + <g:layoutHead /> + <g:javascript library="application" /> + </head> + <body> + <div id="spinner" class="spinner" style="display:none;"> + <img src="${resource(dir:'images',file:'spinner.gif')}" alt="${message(code:'spinner.alt',default:'Loading...')}" /> + </div> + <div id="grailsLogo"><a href="http://grails.org"><img src="${resource(dir:'images',file:'grails_logo.png')}" alt="Grails" border="0" /></a></div> + <g:layoutBody /> + </body> +</html> \ No newline at end of file Added: trunk/wikipediatotext/pom.xml =================================================================== --- trunk/wikipediatotext/pom.xml (rev 0) +++ trunk/wikipediatotext/pom.xml 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,346 @@ +<?xml version="1.0" encoding="utf-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.languagetool</groupId> + <artifactId>wikipediatotext</artifactId> + <packaging>war</packaging> + <version>1.0-SNAPSHOT</version> + + <name>A custom grails project</name> + <description>A custom grails project</description> + <url>http://www.myorganization.org</url> + + <properties> + <grails.version>1.3.7</grails.version> + </properties> + + <dependencies> + + <!-- + Not in a repro, install manually: + mvn install:install-file -Dfile=LanguageTool.jar -DgroupId=org.languagetool -DartifactId=languagetool -Dversion=1.6-SNAPSHOT -Dpackaging=jar + --> + <dependency> + <groupId>org.languagetool</groupId> + <artifactId>languagetool</artifactId> + <version>1.6-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.grails</groupId> + <artifactId>grails-bootstrap</artifactId> + <version>${grails.version}</version> + <exclusions> + <exclusion> + <groupId>org.codehaus.gpars</groupId> + <artifactId>gpars</artifactId> + </exclusion> + <exclusion> + <groupId>org.codehaus.gant</groupId> + <artifactId>gant_groovy1.7</artifactId> + </exclusion> + <exclusion> + <groupId>org.gparallelizer</groupId> + <artifactId>GParallelizer</artifactId> + </exclusion> + <exclusion> + <groupId>org.codehaus.gant</groupId> + <artifactId>gant_groovy1.6</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.ant</groupId> + <artifactId>ant</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.ant</groupId> + <artifactId>ant-launcher</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.ivy</groupId> + <artifactId>ivy</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>org.grails</groupId> + <artifactId>grails-crud</artifactId> + <version>${grails.version}</version> + <exclusions> + <exclusion> + <groupId>org.grails</groupId> + <artifactId>grails-docs</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.ant</groupId> + <artifactId>ant</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.ant</groupId> + <artifactId>ant-launcher</artifactId> + </exclusion> + <exclusion> + <groupId>org.springframework</groupId> + <artifactId>spring-test</artifactId> + </exclusion> + <exclusion> + <groupId>radeox</groupId> + <artifactId>radeox</artifactId> + </exclusion> + <exclusion> + <groupId>commons-digester</groupId> + <artifactId>commons-digester</artifactId> + </exclusion> + <exclusion> + <groupId>javax.persistence</groupId> + <artifactId>persistence-api</artifactId> + </exclusion> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>org.grails</groupId> + <artifactId>grails-gorm</artifactId> + <version>${grails.version}</version> + <exclusions> + <exclusion> + <groupId>org.apache.ant</groupId> + <artifactId>ant</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.ant</groupId> + <artifactId>ant-launcher</artifactId> + </exclusion> + <exclusion> + <groupId>commons-digester</groupId> + <artifactId>commons-digester</artifactId> + </exclusion> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + <exclusion> + <groupId>org.hibernate</groupId> + <artifactId>hibernate</artifactId> + </exclusion> + <exclusion> + <groupId>org.hibernate</groupId> + <artifactId>hibernate-annotations</artifactId> + </exclusion> + <exclusion> + <groupId>org.hibernate</groupId> + <artifactId>hibernate-commons-annotations</artifactId> + </exclusion> + <exclusion> + <groupId>antlr</groupId> + <artifactId>antlr</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>org.grails</groupId> + <artifactId>grails-test</artifactId> + <version>${grails.version}</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>jstl</artifactId> + <version>1.1.2</version> + </dependency> + + <dependency> + <groupId>taglibs</groupId> + <artifactId>standard</artifactId> + <version>1.1.2</version> + </dependency> + + <!-- Grails defaults to Ehache for the second-level Hibernate cache. --> + <dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate-ehcache</artifactId> + <version>3.3.1.GA</version> + <exclusions> + <!-- See http://www.slf4j.org/faq.html#IllegalAccessError --> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </exclusion> + + <!-- We are pulling in ehcache-core below --> + <exclusion> + <groupId>net.sf.ehcache</groupId> + <artifactId>ehcache</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>net.sf.ehcache</groupId> + <artifactId>ehcache-core</artifactId> + <version>1.7.1</version> + <exclusions> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </exclusion> + </exclusions> + </dependency> + + <!-- For ease of development and testing, we include the HSQLDB database. --> + <dependency> + <groupId>hsqldb</groupId> + <artifactId>hsqldb</artifactId> + <version>1.8.0.10</version> + </dependency> + + <!-- Use Log4J for logging. This artifact also pulls in the Log4J JAR. --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>1.5.8</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + <version>1.5.8</version> + <scope>runtime</scope> + </dependency> + + <!-- Needed in the case of AOP usage --> + <dependency> + <groupId>org.aspectj</groupId> + <artifactId>aspectjweaver</artifactId> + <version>1.6.8</version> + </dependency> + + <dependency> + <groupId>org.aspectj</groupId> + <artifactId>aspectjrt</artifactId> + <version>1.6.8</version> + </dependency> + + <dependency> + <groupId>commons-codec</groupId> + <artifactId>commons-codec</artifactId> + <version>1.3</version> + </dependency> + + <dependency> + <groupId>commons-collections</groupId> + <artifactId>commons-collections</artifactId> + <version>3.2.1</version> + </dependency> + + <dependency> + <groupId>commons-pool</groupId> + <artifactId>commons-pool</artifactId> + <version>1.5.3</version> + </dependency> + + </dependencies> + + <dependencyManagement> + <dependencies> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>1.2.16</version> + <scope>runtime</scope> + </dependency> + </dependencies> + </dependencyManagement> + + <repositories> + <!-- Required to get hold of javassist:javassist --> + <repository> + <id>jboss.org</id> + <name>jboss.org</name> + <url>http://repository.jboss.com/maven2/</url> + </repository> + <repository> + <id>osr-public-releases</id> + <name>OSR Public Releases</name> + <url>http://mojo.informatik.uni-erlangen.de/nexus/content/repositories/public</url> + </repository> + </repositories> + + <build> + <pluginManagement /> + + <plugins> + <plugin> + <groupId>org.grails</groupId> + <artifactId>grails-maven-plugin</artifactId> + <version>${grails.version}</version> + <extensions>true</extensions> + <executions> + <execution> + <goals> + <goal>init</goal> + <goal>maven-clean</goal> + <goal>validate</goal> + <goal>config-directories</goal> + <goal>maven-compile</goal> + <goal>maven-test</goal> + <goal>maven-war</goal> + <goal>maven-functional-test</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.3.2</version> + <configuration> + <source>1.6</source> + <target>1.6</target> + </configuration> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>tools</id> + + <activation> + <property> + <name>java.vendor</name> + <value>Sun Microsystems Inc.</value> + </property> + </activation> + + <dependencies> + <dependency> + <groupId>com.sun</groupId> + <artifactId>tools</artifactId> + <version>${java.version}</version> + <scope>system</scope> + <systemPath>${java.home}/../lib/tools.jar</systemPath> + </dependency> + <dependency> + <groupId>org.sweble.wikitext</groupId> + <artifactId>swc-engine</artifactId> + <version>1.0.1-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.sweble.wikitext</groupId> + <artifactId>swc-parser-lazy</artifactId> + <version>1.0.1-SNAPSHOT</version> + </dependency> + </dependencies> + + </profile> + </profiles> +</project> \ No newline at end of file Added: trunk/wikipediatotext/src/java/resources/SimpleWikiConfiguration.xml =================================================================== --- trunk/wikipediatotext/src/java/resources/SimpleWikiConfiguration.xml (rev 0) +++ trunk/wikipediatotext/src/java/resources/SimpleWikiConfiguration.xml 2011-11-09 22:36:03 UTC (rev 5878) @@ -0,0 +1,5626 @@ +<!-- + + Copyright 2011 The Open Source Research Group, + University of Erlangen-Nürnberg + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> + +<MediaWikiConfiguration> + <namespaces> + <Namespace> + <id>0</id> + <name></name> + <canonical></canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>1</id> + <name>Talk</name> + <canonical>Talk</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>100</id> + <name>Portal</name> + <canonical>Portal</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>2</id> + <name>User</name> + <canonical>User</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>101</id> + <name>Portal talk</name> + <canonical>Portal talk</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>3</id> + <name>User talk</name> + <canonical>User talk</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>4</id> + <name>Wikipedia</name> + <canonical>Project</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + <string>WP</string> + </aliases> + </Namespace> + <Namespace> + <id>5</id> + <name>Wikipedia talk</name> + <canonical>Project talk</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + <string>WT</string> + </aliases> + </Namespace> + <Namespace> + <id>6</id> + <name>File</name> + <canonical>File</canonical> + <subpages>false</subpages> + <isFileNs>true</isFileNs> + <aliases> + <no-comparator/> + <string>Image</string> + <string>Datei</string> + </aliases> + </Namespace> + <Namespace> + <id>7</id> + <name>File talk</name> + <canonical>File talk</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + <string>Image talk</string> + </aliases> + </Namespace> + <Namespace> + <id>8</id> + <name>MediaWiki</name> + <canonical>MediaWiki</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>9</id> + <name>MediaWiki talk</name> + <canonical>MediaWiki talk</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>108</id> + <name>Book</name> + <canonical>Book</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>10</id> + <name>Template</name> + <canonical>Template</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>109</id> + <name>Book talk</name> + <canonical>Book talk</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>11</id> + <name>Template talk</name> + <canonical>Template talk</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>12</id> + <name>Help</name> + <canonical>Help</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>13</id> + <name>Help talk</name> + <canonical>Help talk</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>14</id> + <name>Category</name> + <canonical>Category</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>15</id> + <name>Category talk</name> + <canonical>Category talk</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>-2</id> + <name>Media</name> + <canonical>Media</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + <Namespace> + <id>-1</id> + <name>Special</name> + <canonical>Special</canonical> + <subpages>false</subpages> + <isFileNs>false</isFileNs> + <aliases> + <no-comparator/> + </aliases> + </Namespace> + </namespaces> + <defaultNamespace reference="../namespaces/Namespace"/> + <templateNamespace reference="../namespaces/Namespace[14]"/> + <interwikiLinks> + <Interwiki> + <prefix>lostpedia</prefix> + <url>http://lostpedia.wikia.com/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>fy</prefix> + <url>http://fy.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>gd</prefix> + <url>http://gd.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>googledefine</prefix> + <url>http://www.google.com/search?q=define:$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>orgpatterns</prefix> + <url>http://www.bell-labs.com/cgi-user/OrgPatterns/OrgPatterns?$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>ga</prefix> + <url>http://ga.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>fj</prefix> + <url>http://fj.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>theopedia</prefix> + <url>http://www.theopedia.com/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>silcode</prefix> + <url>http://www.sil.org/iso639-3/documentation.asp?id=$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>ff</prefix> + <url>http://ff.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>citizendium</prefix> + <url>http://en.citizendium.org/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>fi</prefix> + <url>http://fi.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>fr</prefix> + <url>http://fr.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>tesoltaiwan</prefix> + <url>http://www.tesol-taiwan.org/wiki/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>translatewiki</prefix> + <url>http://translatewiki.net/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>fo</prefix> + <url>http://fo.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>wikitree</prefix> + <url>http://wikitree.org/index.php?title=$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>ethnologue</prefix> + <url>http://www.ethnologue.com/show_language.asp?code=$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>udm</prefix> + <url>http://udm.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>wikimedia</prefix> + <url>http://wikimediafoundation.org/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>doom_wiki</prefix> + <url>http://doom.wikia.com/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>he</prefix> + <url>http://he.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>humancell</prefix> + <url>http://www.humancell.org/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>freekiwiki</prefix> + <url>http://wiki.freegeek.org/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>ha</prefix> + <url>http://ha.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>pythoninfo</prefix> + <url>http://www.python.org/cgi-bin/moinmoin/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>gn</prefix> + <url>http://gn.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>gl</prefix> + <url>http://gl.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>revo</prefix> + <url>http://purl.org/NET/voko/revo/art/$1.html</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>drumcorpswiki</prefix> + <url>http://www.drumcorpswiki.com/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>sourceforge</prefix> + <url>http://sourceforge.net/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>thelemapedia</prefix> + <url>http://www.thelemapedia.org/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>quality</prefix> + <url>http://quality.wikimedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>gv</prefix> + <url>http://gv.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>gu</prefix> + <url>http://gu.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>hrwiki</prefix> + <url>http://www.hrwiki.org/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>linuxwiki</prefix> + <url>http://www.linuxwiki.de/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>rev</prefix> + <url>http://www.mediawiki.org/wiki/Special:Code/MediaWiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>dv</prefix> + <url>http://dv.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>evowiki</prefix> + <url>http://wiki.cotch.net/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>perlconfwiki</prefix> + <url>http://perl.conf.hu/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>ourmedia</prefix> + <url>http://www.socialtext.net/ourmedia/index.cgi?$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>dz</prefix> + <url>http://dz.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>urbandict</prefix> + <url>http://www.urbandictionary.com/define.php?term=$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>betawikiversity</prefix> + <url>http://beta.wikiversity.org/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>zea</prefix> + <url>http://zea.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>rfc</prefix> + <url>http://tools.ietf.org/html/rfc$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>de</prefix> + <url>http://de.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>roa-rup</prefix> + <url>http://roa-rup.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>aspienetwiki</prefix> + <url>http://aspie.mela.de/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>dk</prefix> + <url>http://dk.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>wmrs</prefix> + <url>http://rs.wikimedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>foundation</prefix> + <url>http://wikimediafoundation.org/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>abbenormal</prefix> + <url>http://ourpla.net/cgi/pikie?$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>buzztard</prefix> + <url>http://buzztard.org/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>nomcom</prefix> + <url>http://nomcom.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>orthodoxwiki</prefix> + <url>http://orthodoxwiki.org/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>memoryalpha</prefix> + <url>http://memory-alpha.org/en/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>eu</prefix> + <url>http://eu.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>wmse</prefix> + <url>http://se.wikimedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>b</prefix> + <url>http://en.wikibooks.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>finalfantasy</prefix> + <url>http://finalfantasy.wikia.com/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>n</prefix> + <url>http://en.wikinews.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>twiki</prefix> + <url>http://twiki.org/cgi-bin/view/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>fa</prefix> + <url>http://fa.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>zwiki</prefix> + <url>http://www.zwiki.org/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>nkcells</prefix> + <url>http://www.nkcells.info/wiki/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>v</prefix> + <url>http://en.wikiversity.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>jefo</prefix> + <url>http://esperanto-jeunes.org/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>veropedia</prefix> + <url>http://en.veropedia.com/a/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>new</prefix> + <url>http://new.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>organicdesign</prefix> + <url>http://www.organicdesign.co.nz/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>ee</prefix> + <url>http://ee.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>s</prefix> + <url>http://en.wikisource.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>el</prefix> + <url>http://el.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>q</prefix> + <url>http://en.wikiquote.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>eo</prefix> + <url>http://eo.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>wikiti</prefix> + <url>http://wikiti.denglend.net/index.php?title=$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>en</prefix> + <url>http://en.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>warpedview</prefix> + <url>http://www.warpedview.com/mediawiki/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>et</prefix> + <url>http://et.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>es</prefix> + <url>http://es.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>cxej</prefix> + <url>http://esperanto.blahus.cz/cxej/vikio/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>vec</prefix> + <url>http://vec.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>foxwiki</prefix> + <url>http://fox.wikis.com/wc.dll?Wiki~$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>theppn</prefix> + <url>http://wiki.theppn.org/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>ganfyd</prefix> + <url>http://ganfyd.org/index.php?title=$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>ca</prefix> + <url>http://ca.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>wipipedia</prefix> + <url>http://www.londonfetishscene.com/wipi/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>zzz wiki</prefix> + <url>http://wiki.zzz.ee/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>hak</prefix> + <url>http://hak.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>haw</prefix> + <url>http://haw.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>bs</prefix> + <url>http://bs.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>br</prefix> + <url>http://br.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>tejo</prefix> + <url>http://www.tejo.org/vikio/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>bn</prefix> + <url>http://bn.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>bo</prefix> + <url>http://bo.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>bat-smg</prefix> + <url>http://bat-smg.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>scramble</prefix> + <url>http://www.scramble.nl/wiki/index.php?title=$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>bm</prefix> + <url>http://bm.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>commons</prefix> + <url>http://commons.wikimedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>bg</prefix> + <url>http://bg.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>pdc</prefix> + <url>http://pdc.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>bh</prefix> + <url>http://bh.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>liswiki</prefix> + <url>http://liswiki.org/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>bi</prefix> + <url>http://bi.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>wikiversity</prefix> + <url>http://en.wikiversity.org/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>be</prefix> + <url>http://be.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>seapig</prefix> + <url>http://www.seapig.org/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>pmwiki</prefix> + <url>http://old.porplemontage.com/wiki/index.php/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>da</prefix> + <url>http://da.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>ang</prefix> + <url>http://ang.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>nds</prefix> + <url>http://nds.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>googlegroups</prefix> + <url>http://groups.google.com/groups?q=$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>mdf</prefix> + <url>http://mdf.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>tmwiki</prefix> + <url>http://www.EasyTopicMaps.com/?page=$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>boxrec</prefix> + <url>http://www.boxrec.com/media/index.php?$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>cndbname</prefix> + <url>http://cndb.com/actor.html?name=$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>cz</prefix> + <url>http://cz.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>wikitravel</prefix> + <url>http://wikitravel.org/en/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>cy</prefix> + <url>http://cy.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>metawiki</prefix> + <url>http://sunir.org/apps/meta.pl?$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>jiniwiki</prefix> + <url>http://www.cdegroot.com/cgi-bin/jini?$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>cv</prefix> + <url>http://cv.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>slashdot</prefix> + <url>http://slashdot.org/article.pl?sid=$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>cu</prefix> + <url>http://cu.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>crazyhacks</prefix> + <url>http://www.crazy-hacks.org/wiki/index.php?title=$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>cs</prefix> + <url>http://cs.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>cr</prefix> + <url>http://cr.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>co</prefix> + <url>http://co.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>perlnet</prefix> + <url>http://perl.net.au/wiki/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>gentoo-wiki</prefix> + <url>http://gentoo-wiki.com/$1</url> + <local>false</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>jbo</prefix> + <url>http://jbo.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>ch</prefix> + <url>http://ch.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>sco</prefix> + <url>http://sco.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>ce</prefix> + <url>http://ce.wikipedia.org/wiki/$1</url> + <local>true</local> + <trans>false</trans> + </Interwiki> + <Interwiki> + <prefix>scn</prefix> + <url>http://scn.wikipedia.org/wiki/$1</url> + <local>true</local> + ... [truncated message content] |