Jump to content

User talk:OrenBochman

Add topic
From mediawiki.org
Latest comment: 12 years ago by 87.10.121.51 in topic Problem with mwdumper


"Mediawiki does not appear to have native search capabilities"

[edit]

Well, every DB backend seriously supported has its own full-text search, though they're inferior if compared with Lucene. Max Semenik 11:08, 7 August 2011 (UTC)Reply

Hi Max, my point is more along the lines that Lucene integration requires a couple of extensions which are not installed by the installer. Rather than being part of the core and being an option for installation. OrenBochman 01:16, 10 August 2011 (UTC)Reply

Labs

[edit]

Hi Oren, Sumana talked to me and said that you could use wikimedia labs for the project you work on (some search project). If you wanted to create a virtual instance for your development and testing, please step in #wikimedia-labs and I will be happy to help you! :) Petrb 16:37, 23 December 2011 (UTC)Reply

Hi will look for you at #wikimedia-labs.
I could use some assitence in getting my subversion to work using svn+ssh. OrenBochman 12:41, 26 December 2011 (UTC)Reply

Templates

[edit]

Care to elaborate on why you are creating all of these new templates and what you plan on using them for? Skizzerz 00:09, 5 July 2012 (UTC)Reply

Hi, images uploaded to this wiki are missing information required to clarify their licensing. The temlates added were required to supply this information so that they could be migrated to commons. OrenB [talk:OrenBochman|talk]] contib 04:19, 5 July 2012 (UTC)Reply
OK, thank you for clarifying this :) Skizzerz 04:51, 5 July 2012 (UTC)Reply

search question

[edit]

Hi. Since you're into search stuff, mind taking a look at http://www.mediawiki.org/w/index.php?title=Project:Support_desk&offset=20120725221759#How_do_I_format_search_results_.2F_add_section_links_to_search_results_.28the_same_way_Wikipedia_and_other_WikiMedia_sites_do.29.3F_17658 ? Bawolff (talk) 13:09, 27 July 2012 (UTC)Reply

Problem with mwdumper

[edit]

As you seem to be a maven maven :-), perhaps you can shed some light on this: I'm using Fedora 16, and on a clean Git clone of mwdumper, mvn package successfully builds build/mwdumper-1.16.jar. But when I want to execute it:

[tim@passepartout ~/src/mwdumper.2]$ java -jar build/mwdumper-1.16.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream
        at org.mediawiki.dumper.Dumper.main(Dumper.java:129)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 1 more
[tim@passepartout ~/src/mwdumper.2]$ java -classpath /usr/share/java/apache-commons-compress.jar -jar build/mwdumper-1.16.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream
        at org.mediawiki.dumper.Dumper.main(Dumper.java:129)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 1 more
[tim@passepartout ~/src/mwdumper.2]$ unzip -l /usr/share/java/apache-commons-compress.jar | fgrep org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream
    15957  05-24-2012 18:33   org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.class
     1531  05-24-2012 18:33   org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream$Data.class
[tim@passepartout ~/src/mwdumper.2]$

Any idea why this doesn't work? Tim Landscheidt 16:26, 25 September 2012 (UTC)Reply

I am seeing this problem as well when building mwdumper. This class is not included with the source code, so it's not compiled with the maven code from the git repository. Unfortunately I didn't find any documentation to solve this problem and mwdumper code has no documentation as well. Any help you find handles versions which are 5 or more years old :( 87.169.100.34 14:34, 17 November 2012 (UTC)Reply
Crazy enough, but on:
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/tools/mwdumper.git;a=summary
go back in time to this entry:
2009-11-22 Robert Stojnić Parse the title into Title format for liquid threads commit | commitdiff | tree | snapshot
and click on snapshot. Build from that download. You might find it works for you. For me, it was the first that didn't give me the headache you describe... all newer ones did.
Good luck! 74.87.88.74 01:22, 12 December 2012 (UTC)Reply
Thanks, it works! 87.10.121.51 11:46, 28 January 2013 (UTC)Reply
I removed all references with bz2 from the sources:
- commented out the BZip2 lines (with the corresponding "if else") and classes in Tools.java and Dumper.java
After that the project started successfully with the latest git.
Ofcourse, no bz2 for you.
193.22.173.10 08:50, 17 January 2013 (UTC)Reply