summaryrefslogtreecommitdiff
path: root/swext
diff options
context:
space:
mode:
authorMikhail Voitenko <mav@openoffice.org>2007-11-28 09:53:00 +0000
committerMikhail Voitenko <mav@openoffice.org>2007-11-28 09:53:00 +0000
commit6f9fe80e8616125e6a817584281040078585ad6a (patch)
treeca6c95c98ebc714976e68bc520b903475a33ca89 /swext
parent6b2c5f871d743cca4e7fb20c4ca6404da8cd2140 (diff)
initial commit
Diffstat (limited to 'swext')
-rw-r--r--swext/mediawiki/build.xml168
-rw-r--r--swext/mediawiki/dialogs/EditSetting.xdl26
-rw-r--r--swext/mediawiki/dialogs/Module1.xba41
-rw-r--r--swext/mediawiki/dialogs/SendToMediaWiki.xdl31
-rw-r--r--swext/mediawiki/dialogs/Settings.xdl18
-rw-r--r--swext/mediawiki/dialogs/dialog.xlb45
-rw-r--r--swext/mediawiki/dialogs/script.xlb39
-rw-r--r--swext/mediawiki/makefile.mk41
-rw-r--r--swext/prj/build.lst4
-rw-r--r--swext/prj/d.lst3
10 files changed, 416 insertions, 0 deletions
diff --git a/swext/mediawiki/build.xml b/swext/mediawiki/build.xml
new file mode 100644
index 000000000000..02def1d65131
--- /dev/null
+++ b/swext/mediawiki/build.xml
@@ -0,0 +1,168 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: build.xml,v $
+ *
+ * $Revision: 1.1 $
+ *
+ * last change: $Author: mav $ $Date: 2007-11-28 10:45:35 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************ -->
+<project default="all">
+ <target name="init">
+ <property name="ext" value="oxt"/>
+ <property name="officeroot" value="/export/home/mav/OFFICES/OOG680/m5_netbeans_pro"/>
+ <property name="office.home" value="${officeroot}"/>
+
+ <!-- fallbacks for locations, when solenv is not used -->
+ <condition property="prjname" value="wikiaddon">
+ <not><isset property="prjname"/></not>
+ </condition>
+ <condition property="out" value="./build">
+ <not><isset property="out"/></not>
+ </condition>
+ <condition property="solar.jar" value="${officeroot}/program/classes">
+ <not><isset property="solar.jar"/></not>
+ </condition>
+
+ <!-- locations used throughout the build -->
+ <property name="name" value="${target}"/>
+ <property name="dist" value="${out}/bin"/>
+ <property name="classes" value="${out}/class"/>
+ <property name="classes.test" value="${out}/class-test"/>
+ <property name="officeclasses" value="${solar.jar}"/>
+
+ <!-- build options -->
+ <property name="sourcelevel" value="1.4"/>
+ <property name="verbose" value="false"/>
+ <property name="debug" value="true"/>
+
+ <!-- build classpath -->
+ <path id="classpath">
+ <pathelement location="${officeclasses}/juh.jar"/>
+ <pathelement location="${officeclasses}/jurt.jar"/>
+ <pathelement location="${officeclasses}/jut.jar"/>
+ <pathelement location="${officeclasses}/ridl.jar"/>
+ <pathelement location="${officeclasses}/unoil.jar"/>
+ <pathelement location="${officeclasses}/xml-apis.jar"/>
+ <!-- 3rd party libs -->
+ <pathelement location="jars/commons-codec-1.3.jar"/>
+ <pathelement location="jars/commons-httpclient-3.0.1.jar"/>
+ <pathelement location="jars/commons-lang-2.0.jar"/>
+ <pathelement location="jars/commons-logging.jar"/>
+ <pathelement location="jars/Tidy.jar"/>
+ </path>
+
+ <!-- create output directories -->
+ <mkdir dir="${classes}"/>
+ <mkdir dir="${classes.test}"/>
+ <mkdir dir="${dist}"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac debug="${debug}" destdir="${classes}" classpathref="classpath"
+ source="${sourcelevel}" verbose="${verbose}">
+ <src path="src"/>
+ </javac>
+ </target>
+
+ <target name="jar" depends="compile, init">
+ <jar basedir="${classes}" compress="true" jarfile="${dist}/${name}.jar">
+ <manifest>
+ <attribute name="Class-Path" value="commons-codec-1.3.jar commons-lang-2.3.jar commons-httpclient-3.0.1.jar commons-logging-1.1.jar"/>
+ <attribute name="RegistrationClassName" value="com.sun.star.wiki.WikiEditorImpl"/>
+ </manifest>
+ </jar>
+ </target>
+
+ <target name="uno-package" depends="jar, init">
+ <delete file="${dist}/${name}.${ext}"/>
+ <zip destfile="${dist}/${name}.${ext}">
+ <fileset dir="src" includes="**/*.xcu,**/*.xcs,**/*.xml" excludes="uno-extension-manifest.xml" casesensitive="yes"/>
+ <fileset dir="${dist}" includes="**/*.jar" casesensitive="yes"/>
+ <fileset dir="." includes="images/**,dialogs/**,templates/**" casesensitive="yes"/>
+ <fileset dir="jars" includes="**/*.jar" casesensitive="yes"/>
+ <zipfileset dir="dialogs" includes="**/*.xdl,**/*.xba,**/*.xlb" casesensitive="yes" prefix="WikiEditor"/>
+ <zipfileset dir="src" includes="uno-extension-manifest.xml" fullpath="META-INF/manifest.xml"/>
+ </zip>
+ </target>
+
+ <target depends="init, jar, uno-package" description="Build everything." name="all">
+ <echo message="${name} built."/>
+ </target>
+
+ <target depends="init" description="Clean all build products." name="clean">
+ <delete dir="${classes}"/>
+ <delete dir="${dist}"/>
+ </target>
+
+ <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
+
+ <target name="uno-deploy" description="Deploys UNO extension package" depends="uno-package">
+ <echo message="deploying UNO extension package ..."/>
+ <echo message="${office.unopkg} add -f ${uno.package.name}"/>
+ <exec executable="${office.unopkg}" dir="${office.program.dir}" failonerror="true">
+ <arg value="add"/>
+ <arg value="-f"/>
+ <arg file="${uno.package.name}"/>
+ </exec>
+ </target>
+
+ <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
+
+ <target name="uno-debug" description="Debugss UNO extension package in Target Office" depends="uno-package">
+ <!-- security fail for executing this without netbeans -->
+ <fail unless="netbeans.home">This target can only run inside the NetBeans IDE.</fail>
+ <!-- start debugger and get connection address jpda.address -->
+ <nbjpdastart name="Debug Office" addressproperty="jpda.address" transport="dt_socket">
+ <classpath path="${build.classes.dir}"/>
+ <sourcepath path="${src.dir}"/>
+ </nbjpdastart>
+ <!-- register component in temporaary user installation -->
+ <echo message="debugging UNO extension package ..."/>
+ <echo message="wait until preparation is finished."/>
+ <echo message=" deploying UNO extension package for debugging ..."/>
+ <echo message=" ${office.unopkg} add -f ${uno.package.name}"/>
+ <exec executable="${office.unopkg}" dir="${office.program.dir}">
+ <arg value="add"/>
+ <arg value="-f"/>
+ <arg file="${uno.package.name}"/>
+ <env key="UserInstallation" value="${office.debug.user.directory}"/>
+ </exec>
+ <!-- start Office with debug Java and user installation -->
+ <echo message=" starting the Office with ..."/>
+ <echo message=" user installation: ${office.debug.user.directory}"/>
+ <echo message=" debug options: &quot;-Xdebug&quot; &quot;-Xrunjdwp:transport=dt_socket,address=${jpda.address}&quot;"/>
+ <echo message=" ${office.soffice}"/>
+ <echo message="preparation finished."/>
+ <exec executable="${office.soffice}" dir="${office.program.dir}" failonerror="true">
+ <env key="UserInstallation" value="${office.debug.user.directory}"/>
+ <env key="JAVA_TOOL_OPTIONS" value="&quot;-Xdebug&quot; &quot;-Xrunjdwp:transport=dt_socket,address=${jpda.address}&quot;"/>
+ </exec>
+ </target>
+</project>
diff --git a/swext/mediawiki/dialogs/EditSetting.xdl b/swext/mediawiki/dialogs/EditSetting.xdl
new file mode 100644
index 000000000000..aefe989e972d
--- /dev/null
+++ b/swext/mediawiki/dialogs/EditSetting.xdl
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
+<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="EditSetting" dlg:left="180" dlg:top="89" dlg:width="186" dlg:height="156" dlg:closeable="true" dlg:moveable="true">
+ <dlg:bulletinboard>
+ <dlg:text dlg:id="UrlLabel" dlg:tab-index="4" dlg:left="6" dlg:top="33" dlg:width="50" dlg:height="8" dlg:value="URL" dlg:tabstop="false"/>
+ <dlg:textfield dlg:id="UrlField" dlg:tab-index="5" dlg:left="58" dlg:top="31" dlg:width="122" dlg:height="12" dlg:help-url="HID:31696"/>
+ <dlg:textfield dlg:id="UsernameField" dlg:tab-index="7" dlg:left="58" dlg:top="91" dlg:width="122" dlg:height="12" dlg:help-url="HID:31697"/>
+ <dlg:textfield dlg:id="PasswordField" dlg:tab-index="9" dlg:left="58" dlg:top="107" dlg:width="122" dlg:height="12" dlg:help-url="HID:31698" dlg:echochar="*"/>
+ <dlg:button dlg:id="All.OkButton" dlg:tab-index="12" dlg:left="77" dlg:top="139" dlg:width="50" dlg:height="14" dlg:help-url="HID:31700" dlg:default="true" dlg:value="OK">
+ <script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:OK" script:language="UNO"/>
+ </dlg:button>
+ <dlg:button dlg:id="All.CancelButton" dlg:tab-index="13" dlg:left="130" dlg:top="139" dlg:width="50" dlg:height="14" dlg:help-url="HID:31701" dlg:value="Cancel">
+ <script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:Cancel" script:language="UNO"/>
+ </dlg:button>
+ <dlg:button dlg:id="All.HelpButton" dlg:tab-index="11" dlg:left="6" dlg:top="139" dlg:width="50" dlg:height="14" dlg:help-url="HID:31702" dlg:value="Help">
+ <script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:Help" script:language="UNO"/>
+ </dlg:button>
+ <dlg:fixedline dlg:id="All.WeblogLabel" dlg:tab-index="0" dlg:left="3" dlg:top="4" dlg:width="180" dlg:height="8" dlg:value="Weblog"/>
+ <dlg:text dlg:id="All.UsernameLabel" dlg:tab-index="6" dlg:left="6" dlg:top="93" dlg:width="46" dlg:height="8" dlg:value="Username" dlg:tabstop="false"/>
+ <dlg:text dlg:id="All.PasswordLabel" dlg:tab-index="8" dlg:left="6" dlg:top="109" dlg:width="46" dlg:height="8" dlg:value="Password" dlg:tabstop="false"/>
+ <dlg:checkbox dlg:id="All.SaveBox" dlg:tab-index="10" dlg:left="58" dlg:top="123" dlg:width="116" dlg:height="8" dlg:help-url="HID:31699" dlg:value="Save password" dlg:checked="false"/>
+ <dlg:fixedline dlg:id="BottomLine" dlg:tab-index="1" dlg:left="0" dlg:top="131" dlg:width="186" dlg:height="8"/>
+ <dlg:fixedline dlg:id="AccountLine" dlg:tab-index="2" dlg:left="3" dlg:top="80" dlg:width="180" dlg:height="8" dlg:value="Account"/>
+ <dlg:fixedline dlg:id="WikiLine" dlg:tab-index="3" dlg:left="3" dlg:top="4" dlg:width="180" dlg:height="8" dlg:value="Wiki"/>
+ </dlg:bulletinboard>
+</dlg:window> \ No newline at end of file
diff --git a/swext/mediawiki/dialogs/Module1.xba b/swext/mediawiki/dialogs/Module1.xba
new file mode 100644
index 000000000000..9e6524fa3898
--- /dev/null
+++ b/swext/mediawiki/dialogs/Module1.xba
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: Module1.xba,v $
+ *
+ * $Revision: 1.1 $
+ *
+ * last change: $Author: mav $ $Date: 2007-11-28 10:53:00 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************ -->
+<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
+<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Module1" script:language="StarBasic">REM ***** BASIC *****
+
+Sub Main
+
+End Sub</script:module>
diff --git a/swext/mediawiki/dialogs/SendToMediaWiki.xdl b/swext/mediawiki/dialogs/SendToMediaWiki.xdl
new file mode 100644
index 000000000000..2ac90e6fb8cb
--- /dev/null
+++ b/swext/mediawiki/dialogs/SendToMediaWiki.xdl
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
+<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="SendToMediaWiki" dlg:left="62" dlg:top="57" dlg:width="288" dlg:height="129" dlg:closeable="true" dlg:moveable="true">
+ <dlg:bulletinboard>
+ <dlg:text dlg:id="Label1" dlg:tab-index="0" dlg:left="9" dlg:top="10" dlg:width="62" dlg:height="10" dlg:value="~MediaWiki Server" dlg:tabstop="false"/>
+ <dlg:text dlg:id="Label2" dlg:tab-index="2" dlg:left="9" dlg:top="27" dlg:width="62" dlg:height="10" dlg:value="~Title"/>
+ <dlg:text dlg:id="Label3" dlg:tab-index="4" dlg:left="9" dlg:top="44" dlg:width="62" dlg:height="10" dlg:value="S~ummary"/>
+ <dlg:menulist dlg:id="WikiList" dlg:tab-index="1" dlg:left="73" dlg:top="7" dlg:width="142" dlg:height="14" dlg:spin="true">
+ <script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:WikiListChange" script:language="UNO"/>
+ </dlg:menulist>
+ <dlg:combobox dlg:id="ArticleText" dlg:tab-index="3" dlg:left="73" dlg:top="24" dlg:width="142" dlg:height="14" dlg:spin="true">
+ <script:event script:event-name="on-textchange" script:macro-name="vnd.sun.star.UNO:ArticleTextChange" script:language="UNO"/>
+ </dlg:combobox>
+ <dlg:textfield dlg:id="CommentText" dlg:tab-index="5" dlg:left="73" dlg:top="41" dlg:width="142" dlg:height="14"/>
+ <dlg:button dlg:id="AddButton" dlg:tab-index="6" dlg:left="219" dlg:top="7" dlg:width="63" dlg:height="16" dlg:value="~Add...">
+ <script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:AddWiki" script:language="UNO"/>
+ </dlg:button>
+ <dlg:checkbox dlg:id="MinorCheck" dlg:tab-index="7" dlg:left="73" dlg:top="61" dlg:width="142" dlg:height="10" dlg:value="This is a minor edit" dlg:checked="false"/>
+ <dlg:checkbox dlg:id="BrowserCheck" dlg:tab-index="8" dlg:left="73" dlg:top="74" dlg:width="142" dlg:height="10" dlg:value="Show in web ~browser" dlg:checked="false"/>
+ <dlg:fixedline dlg:id="FixedLine1" dlg:tab-index="9" dlg:left="-5" dlg:top="100" dlg:width="294" dlg:height="4"/>
+ <dlg:button dlg:id="CancelButton" dlg:tab-index="10" dlg:left="219" dlg:top="108" dlg:width="63" dlg:height="16" dlg:value="Cancel">
+ <script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:Cancel" script:language="UNO"/>
+ </dlg:button>
+ <dlg:button dlg:id="SendButton" dlg:tab-index="11" dlg:disabled="true" dlg:left="153" dlg:top="108" dlg:width="63" dlg:height="16" dlg:value="~Send">
+ <script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:Send" script:language="UNO"/>
+ </dlg:button>
+ <dlg:button dlg:id="HelpButton" dlg:tab-index="12" dlg:left="6" dlg:top="108" dlg:width="63" dlg:height="16" dlg:value="~Help">
+ <script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:Help" script:language="UNO"/>
+ </dlg:button>
+ </dlg:bulletinboard>
+</dlg:window> \ No newline at end of file
diff --git a/swext/mediawiki/dialogs/Settings.xdl b/swext/mediawiki/dialogs/Settings.xdl
new file mode 100644
index 000000000000..3a283dbf04ac
--- /dev/null
+++ b/swext/mediawiki/dialogs/Settings.xdl
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
+<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Settings" dlg:left="142" dlg:top="89" dlg:width="225" dlg:height="121" dlg:closeable="true" dlg:withtitlebar="false">
+ <dlg:bulletinboard>
+ <dlg:button dlg:id="AddButton" dlg:tab-index="1" dlg:left="169" dlg:top="6" dlg:width="50" dlg:height="14" dlg:help-url="HID:31682" dlg:value="Add...">
+ <script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:Add" script:language="UNO"/>
+ </dlg:button>
+ <dlg:button dlg:id="EditButton" dlg:tab-index="2" dlg:left="169" dlg:top="22" dlg:width="50" dlg:height="14" dlg:help-url="HID:31683" dlg:value="Edit...">
+ <script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:Edit" script:language="UNO"/>
+ </dlg:button>
+ <dlg:button dlg:id="RemoveButton" dlg:tab-index="3" dlg:left="169" dlg:top="38" dlg:width="50" dlg:height="14" dlg:help-url="HID:31685" dlg:value="Remove">
+ <script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:Remove" script:language="UNO"/>
+ </dlg:button>
+ <dlg:menulist dlg:id="WikiList" dlg:tab-index="0" dlg:left="6" dlg:top="6" dlg:width="160" dlg:height="90" dlg:help-url="HID:31681" dlg:multiselection="true">
+ <script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ListStatus" script:language="UNO"/>
+ </dlg:menulist>
+ </dlg:bulletinboard>
+</dlg:window>
diff --git a/swext/mediawiki/dialogs/dialog.xlb b/swext/mediawiki/dialogs/dialog.xlb
new file mode 100644
index 000000000000..08672ae6fe9c
--- /dev/null
+++ b/swext/mediawiki/dialogs/dialog.xlb
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: dialog.xlb,v $
+ *
+ * $Revision: 1.1 $
+ *
+ * last change: $Author: mav $ $Date: 2007-11-28 10:47:53 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************ -->
+<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
+<library:library xmlns:library="http://openoffice.org/2000/library" library:name="WikiEditor" library:readonly="false" library:passwordprotected="false">
+ <library:element library:name="SendToMediaWiki"/>
+ <library:element library:name="NewWikiPage"/>
+ <library:element library:name="UnknownCertDialog"/>
+ <library:element library:name="Load"/>
+ <library:element library:name="Settings"/>
+ <library:element library:name="EditSetting"/>
+ <library:element library:name="Error"/>
+</library:library>
diff --git a/swext/mediawiki/dialogs/script.xlb b/swext/mediawiki/dialogs/script.xlb
new file mode 100644
index 000000000000..7c9bfa1a0545
--- /dev/null
+++ b/swext/mediawiki/dialogs/script.xlb
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: script.xlb,v $
+ *
+ * $Revision: 1.1 $
+ *
+ * last change: $Author: mav $ $Date: 2007-11-28 10:48:03 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************ -->
+<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
+<library:library xmlns:library="http://openoffice.org/2000/library" library:name="WikiEditor" library:readonly="false" library:passwordprotected="false">
+ <library:element library:name="Module1"/>
+</library:library>
diff --git a/swext/mediawiki/makefile.mk b/swext/mediawiki/makefile.mk
new file mode 100644
index 000000000000..0f19e29b223c
--- /dev/null
+++ b/swext/mediawiki/makefile.mk
@@ -0,0 +1,41 @@
+#*************************************************************************
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# $RCSfile: makefile.mk,v $
+#
+# $Revision: 1.1 $
+#
+# last change: $Author: mav $ $Date: 2007-11-28 10:45:46 $
+#
+# The Contents of this file are made available subject to
+# the terms of GNU Lesser General Public License Version 2.1.
+#
+#
+# GNU Lesser General Public License Version 2.1
+# =============================================
+# Copyright 2005 by Sun Microsystems, Inc.
+# 901 San Antonio Road, Palo Alto, CA 94303, USA
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License version 2.1, as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+#*************************************************************************
+
+PRJ=..
+PRJNAME=swext
+TARGET=mediawiki
+
+.INCLUDE : ant.mk
+ALLTAR: ANTBUILD
diff --git a/swext/prj/build.lst b/swext/prj/build.lst
new file mode 100644
index 000000000000..d7e3fe045f6a
--- /dev/null
+++ b/swext/prj/build.lst
@@ -0,0 +1,4 @@
+swext swext : xalan jut javaunohelper ridljar unoil jurt NULL
+swext swext usr1 - all swext_mkout NULL
+swext swext\mediawiki nmake - all swext_wiki NULL
+
diff --git a/swext/prj/d.lst b/swext/prj/d.lst
new file mode 100644
index 000000000000..1e1b302bc4fa
--- /dev/null
+++ b/swext/prj/d.lst
@@ -0,0 +1,3 @@
+mkdir: %_DEST%\bin%_EXT%\swext
+..\%__SRC%\bin\mediawiki.oxt %_DEST%\bin%_EXT%\swext\mediawiki.oxt
+