Provider: |
Sun Microsystems, Inc. |
Maintainer: |
mh |
Bewertung: |
(19 votes)
|
Anwendung: |
Writer |
Tags: |
export, extension, Sun, extension, wiki, extension, mediawiki, extension |
Source code: |
http://sw.openoffice.org/source/browse/sw/swext/mediawiki/ |
Beitragsdatum: |
Mittwoch, 23 April, 2008 - 08:17 |
Statistiken |
Week: Nicht getrackt - Monat: Nicht getrackt - Jahr: Nicht getrackt - Timeline |
The Sun Wiki Publisher enables you to create Wiki articles on MediaWiki servers without having to know the syntax of the MediaWiki markup language. Publish your new and existing documents transparently with the Writer to a wiki page.
All important text attributes such as headings, hyperlinks, lists and simple tables are supported. Even images are supported as long as they have already been uploaded to the wiki site. An automatic upload of images is currently not supported.
It is the perfect extension for all users who want to make existing documentations and specifications available on MediaWiki servers. Just load the document and call the Extension with 'Send – MediaWiki Server'. A dialog will guide you to publish your document.
Requires StarOffice 9 (or OpenOffice.org 3.0) or higher
Version | Operating system | Compatibility | Release date | ||
---|---|---|---|---|---|
1.1 | System Independent | 3.0, 3.1, 3.2, 3.3, 3.4 | 09/06/2009 - 07:06 | Weitere Informationen | Download |
1.0 | System Independent | 2.x, 3.0, 3.1, 3.2, 3.3, 3.4 | 11/07/2008 - 09:16 | Weitere Informationen | Download |
0.9.3-dev | System Independent | 2.x, 3.0, 3.1, 3.2, 3.3, 3.4 | 09/05/2008 - 08:40 | Weitere Informationen | Download |
0.9.2-dev | System Independent | 2.x, 3.0, 3.1, 3.2, 3.3, 3.4 | 24/04/2008 - 03:16 | Weitere Informationen | Download |
0.9.1-dev | System Independent | 2.x, 3.0, 3.1, 3.2, 3.3, 3.4 | 23/04/2008 - 08:29 | Weitere Informationen | Download |
Kommentare
I try to send an .odt document via the extension Wiki Publisher (Version 1.2 or 1.1) to my MediaWiki server under LibreOffice (LO, Version 6.1.3.2, 32bit) Writer as well as under OpenOffice (OO Version 4.1.6) Writer. With LO I get to the start page. Despite correctly entered login data in the extension, the text is not inserted into the page to be created, with OO I don't get that far, the login takes endlessly, I don't get an error message. Does the Wiki Publisher extension still work at all? I followed the instructions exactly, Java Runtime is installed (also shown in the options). Under Windows 10 64bit as well as Linux Mint (17.3, 64bit) this behavior occurs.
Same as above - creates empty file.
Would be quite useful to have this working again!
Am using MSWord with the Word2MediaWiki plugin as an alternative
Today I tried this extension on OpenOffice 4.0.1 (Spanish) and it is not working.
It generated an empty, 0 bytes, .txt file when I try to export
Regression reported with issue: https://issues.apache.org/ooo/show_bug.cgi?id=123203
Once my mediawiki sites were updated to version 1.16 the error messages described below began. This is an excellent tool. Is there any plan for updating and maintaining it?
Thanks
This apps works! However for some reason when the document(with colored text) is exported in the mediawiki language, it does not change the color. The code is not in the exported txt file.
Wiki Publisher 1.1, OO 3.2.0 (on WinXP), mediawiki 1.16 (on Solaris10).
When trying to establish connection parameters (in OO, Tools->Extension Manager->WikiPublisher->Options ...), I get the above error. If I don't specify a user and password, no error results. But the wiki doesn't allow anonymous postings so that is useless.
I went ahead and left the username/password blank for the setup. Again, no errors there. But when I tried to publish a page to the wiki the same error occurred after the prompt for the user name and password.
Any suggestions for debugging? Is this extension being maintained?
Thanks
Mark
Running OpenOffice 3.2.1 (on a 'client' winxp box) and MediaWiki 1.15.1 (on Ubuntu 10.04).
Having trouble getting Sun Wiki Publisher to work. I try to send a document to MediaWiki but it keeps erroring, about invalid login/password.
Thing is, when I turn on the logging I don't even see a username being passed to MediaWiki.
I also tried to disable the cookie check ($wgDisableCookieCheck) thinking it might be related to that, but still does not work.
I think the issue is no username is even being passed to MediaWiki...
any help would be great!
There are a couple of blatant bugs in this extension (eg. can't handle article titles with '&' characters), so I downloaded the source and ended up spending pretty much an entire day attempting to compile. Notes for anybody else foolish enough to attempt this: http://user.services.openoffice.org/en/forum/viewtopic.php?f=25&t=29063&p=132769
In particular, the CVS link is completely obsolete, you need to get it from the Mercurial (hg) repository instead.
Namaste,
Well... I 've already found the solution to my problem, but I'm posting all the same, so others may benefit.
While trying for the first time this extension, I was wondering how to publish my document to a specific URL.
I wanted to publish a Copyright document but I didn't know how to send my doc to the right URL, as the extension, after launched, just ask for a server and a title of the doc to be published, but not for a specific url to send the doc to.
I've found out the title is the field to fill in with the url you want to publish to (you just have to write the section after the server.com/wiki/ ).
So, to publish my doc to:
http://wiki.services.openoffice.org/wiki/IT/Documentation/OOo3_User_Guides/Getting_Started/Copyright
in the title field I've inserted:
IT/Documentation/OOo3_User_Guides/Getting_Started/Copyright
That's all!
Namaste! :)
is there any requirements i should look for when picking a website
for my domain name for this to work for me?
thanks jon
I tried to install this on OpenOffice 3.1 on Ubuntu 9.10 and got the following dialog box:
Can not activate factory because
java.io.FileNotFoundException:
/usr/lib/openoffice/program/../basis-
link/program/classes/LuceneHelpWrapper.jar (No such file or di...
Too bad, it would have been really helpful to me.
You need install before the package "openoffice.org-java-common".
And consider new Sun Wiki Publisher 1.1, too:
http://extensions.services.openoffice.org/node/2526
You must install the package openoffice.org-java-common before!
The Sun Wiki Publisher is a great little tool to do some quick WYSIWYG MediaWiki content writing. I hope it will grow to include more export options.
It can already handle tables but the code is very bloated and I couldn't find a way to force it to export a slimmer version of the code. Here's an example of a typical 2x2 table export to MediaWiki markup:
{| style="border-spacing:0;"
| style="border-top:0.002cm solid #000000;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| cell1row1
| style="border:0.002cm solid #000000;padding:0.097cm;"| cell2row1
|-
| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| cell1row2
| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:0.002cm solid #000000;padding:0.097cm;"| cell1row2
|}
And while it's easy to add additional formatting to a basic table, it's quite a drag to cut this code down to a desired simple table like this:
{|
| cell1row1 || cell2row1
|-
| cell1row2 || cell2row2
|}
Now this is a nice extension, but it MUST be possible to upload images!
is there a way to help implementing this?
word2mediawikiplus did such a thing, but now its broken (at least for me)
Improvement over 1.0:
Problems:
I use it in OO 3.5.1.1 OOO310m21 (build 9319)
Is SSL/TLS (https) Supported?
I managed using it with windows xp , but has not worked with linux (ubuntu 8.10) ....please advice if you did it with linux
a bugreport has been filed :
http://www.openoffice.org/issues/show_bug.cgi?id=96279
I need this to work! I got the blog publisher to hook up just fine, but I keep getting an error telling me I can't connect. Any word on this?
I don't seem to be able to connect to our group's wiki or wikipedia.org. Known good passwords are apparently refused. Also the wiki address gets mangled with part of the content from the Main_Page when I try to use anonymous access. Looks an awful lot like 3.0 is sending in different sized data fields and things are getting overwitten or parsed in funny ways. I can save writer files to a text file that is in wiki format however, that appears to work. Filed as bug 95568
First, worked like a charm, will save me a ton of time converting old word documents into Wiki format (or close enough). Thanks SO much.
Second, I wonder if there is a roadmap that would eventually allow these to be reversed and pulled back down into office? Might not be do-able because it would be hard to predict changes, but just wondering.
Would it be possible to update the Sun Wiki Publisher OpenOffice.org extension to include a domain when logging in?
It should be a very simple change, the login.php url needs to be modified to contain one additional parameter, wpDomain. Then just add a simple Domain: field on the configuration screen.
wpName=User&wpPassword=p@ssword&wpDomain=my.domain&wpLoginattempt=Log+inHTTP/1.1
This would be a *very* useful addition for organizations who login using LDAP with multiple domains.
I have the same connection problem as reported by a number of users below. I also have a local MediaWiki installation, and run on Fedora Core 9. All the latest versions of Mediawiki, MySQL, OO 2.4.
It seems like Java connect problem, see stack trace below. There is no hint of a connection attempt in the httpd logs.
I am really eager to try this extension, hope you can pin it down.
Regards, LEO
Stack trace (std out/error):
Sep 12, 2008 1:31:18 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry(Socket.java:384)(Socket.java:258)(Unknown Source)
INFO: Retrying request
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:381)
at java.net.Socket.connect(Socket.java:537)
at java.net.Socket.connect(Socket.java:487)
at java.net.Socket.
at java.net.Socket.
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at com.sun.star.wiki.Helper.ExecuteMethod(Unknown Source)
at com.sun.star.wiki.Helper.Login(Unknown Source)
at com.sun.star.wiki.WikiArticle.Login(Unknown Source)
at com.sun.star.wiki.WikiArticle.
at com.sun.star.wiki.WikiEditorImpl.SendArticleImpl(Unknown Source)
at com.sun.star.wiki.WikiPropDialog$1.run(Unknown Source)
First of all: Great idea!
These are the bugs:
1. Clicking File--> Send --> To MediaWiki does nothing. :(
2. Tools --> Options --> Internet --> MediaWiki does not show anything but a solid, gray panel. :(
I'm using Open Office 2.4.0 - English edition
/JimmyVolatile
Turns out the built in style "preformatted text" seems to do the trick. It would be a kindness to mention this in the online help (indeed, a list of the supported tags would be most helpful).
I've got entries which have extensive code blocks. The writer file uses a "code" paragraph style (courier, etc.) and emboldened text uses a CodeUser font style.
Randomly, it seems that these blocks are picked up and put into appropriate boxes --- I've yet to grok the algorithm. Is there a document somewhere, or is it just a matter of reading the code?
tia
khbkhb@gmail.com
Click File -> Send -> To MediaWiki...
Click Add to add a new wiki
No matter what I enter for the [url] I get the error: "A connection to the MediaWiki system at [url] could not be created."
I have tried a localhost MediaWiki, a live MediaWiki on the internet, and Wikipedia.
There is no proxy being used.
Ubuntu Hardy Heron
OpenOffice.org 2.4
Is there some setting I'm missing for allowing OpenOffice to access the network? Feels like I must be missing something obvious.
Chris
same for me, local mediawiki and wikipedia
OOo 2.4.1 & OOo-dev 3.0(build9345)
I'm getting the same thing. OO 2.4.1 (build 2.4.1.6), OpenSuse 11.0, mediawiki 1.13.
I ran a tcpdump to see if OO even tries to contact the mediwiki server, and it does not. It errors before sending packet 1.
the same problem, OO 2.4.1 & OO 3 build 9359 - Ubuntu 8.10, Java Sun 1.6
This helped me:
try set in LocalSettings.php
$wgLanguageCode = "en";
then add your wiki server in OpenOffice preferences. and, finally, change "en" back to your language (in my case it is "ru"). There must be a problem OO working with utf-8.
I saw a number of comments about the plugin not working with LDAP authentication.
The mediawiki LdapAuthenticaion.php file needs a minor tweak to get it to work.
In the LocalSettings.php file find the statement that says something like
$wgLDAPEncryptionType = array( "ourwiki"=>"clear" );
write down the "ourwiki" (it will be different on your installation)
In LdapAuthentication.php, find the connect() function (Line 121 in my installation)
Underneath the global $wgLDAPEncryptionType; line write
$_SESSION['wsDomain']='ourwiki'; (again use the text you wrote down in the previous step.
Save the file and exit.
If your wiki uses multiple domains, then this won't work well for you, but it will work on most standard installations.
The problem is that the $_SESSION['wsDomain'] variable is set to "InvalidDomain" instead of "ourwiki" when it is trying to authenticate from the plugin.
I made a slight different change, and got LDAP to work even in a multiple domain case.
Again, editing the SpecialUserlogin.php file, in the constructor, I added the following lines after the mSkipCookieCheck field initialization
if ('' == $this->mDomain) {
$pieces = explode("\\",$this->mName);
if ('' != $pieces[1]) {
$this->mDomain = $pieces[0];
$this->mName= $pieces[1];
}
}
Basically saying, if the domain is empty (we didn't use the form obviously), the try to split the username into domain and user.
Then in OpenOffice, just configure your login with domain\user and voila, login works.
As written on "Sun Wiki Publisher" help - I choose "Tools - Options - Internet - MediaWiki."
TOREPLACE appears in the MediaWiki dialog title and buttons.
I am using OpenOffice.org 2.4.1 on Windows XP.
JRE is 1.6.0_07-b06
Unfortunately it doesn't work at al. I was hoping this version (1.0) would work, but still it gives below message when I click OK after filling in the MediaWiki server URL.
A connection to the MediaWiki system at http://en.wikipedia.org could not be created
When I start OOo on the Linux command line (Kubuntu Hardy), I get this:
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Jul 12, 2008 12:58:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 12, 2008 12:58:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Jul 12, 2008 12:58:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 12, 2008 12:58:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Jul 12, 2008 12:58:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
My Java version is: build 1.6.0_06-b02
0.9.3 doesn't appear to work with the LDAP extension for Mediawiki authentication. Is there any way we could get a raw output command where it can just pipe the wikicode to a text file?
I want to "bump" this so-to-speak as I have the exact same problem. I need to use LDAP auth for our internal wiki or at least some way to be able to get the markup on a text file
Thanks for the awesome plugin.
My web server lives on port 85, not 80 (because IIS lives on there). When I enter the URL as http://augustus:85/wiki it is being rewritten, and saved as http://augustus/wiki
Could this please be fixed, else I can't use it!
Thank you!
Actually, it's working for me just fine on Linux. It's the blog publisher I'm having a heck of a time with now.
The extension doesn't seem to work with MediaWiki installed on a USB drive. It will neither create a new page, nor update an existing
one. Is this a known issue? Or am I missing something? The extension gives every appearance of working; it goes through all the steps,
even asking if I want to create the new wiki page. But when I open the wiki, the page isn't there. And it clears the text from an existing page.
This is a really great extension but it does have its glitches in the OOo beta.
What ever the reason may be, it's still great.
Hope the devs take a serious look at the e-mail I sent them!
Just installed on Oo2.4.0.3.6 running on openSuse 10.3 with java 1.5 it appears in the package manager as enabled but when clicking File>Send>To Mediawiki nothing happens and the Options>Internet>Mediawiki page is blank
Just downloaded OOo 2.4, and this extension. When I try to install it, I get the message,
ImplementationRegistration::registerImplementation() InvalidRegistryException during registration (destination key is null or invalid)
whereupon the installation is rolled back.
Any hints what is wrong here and how I can fix it?
Wolf N. Paul
Running with OO 3.0 Beta on OS X Leopard 10.5.2. Not %100 perfect but close enough to save me tons of time converting my existing Word documents into Wiki format for my companies consumption. Hats off to the developers!
Operating system: Windows???
no sorry, this was an oversight, this extension is system independent