Talk:Gfdl-wikititle

From Meta, a Wikimedia project coordination wiki

License[edit]

GPL 3 hasn't been realeased yet, so I'm not sure it's a good idea to use non-existent license for your software.

Ilya Voyager 09:31, 29 March 2007 (UTC)[reply]

Compiling error[edit]

When trying to compile the program on Debian "Etch", I got:

# make
gcc -Wno-pointer-sign -g gfdl-wikititle.c -o gfdl-wikititle
gfdl-wikititle.c:44:25: error: openssl/md5.h: file or directory does not exist
make: *** [gfdl-wikititle] error 1

The package "openssl" was installed; on Debian, there is no "openssl-dev" or "openssl-devel" package. After some searching I found what was missing, it's called "libssl-dev". Maybe this helps someone running into the same error. Regards, -01:38, 3 May 2007 (UTC)

Usage?[edit]

# gfdl-wikititle -h
USAGE:  gfdl-wikititle [-hsu|num] < src.xml > target.xml
           -h              - this help screen
           -code <num>     - language code (en,de,etc)
           -s string       - custom insertion string
           -u string       - custom url string
           -strip          - strip/number title names
           -badtitlelen    - show titles > 256 bytes,
           -badtitlechar   - show titles that contain
                        multiple ':' and '/' chars
           -fix            - fix broken titles
           src.xml         - source xml file
           target.xml      - output xml file

On my machine, "-s string" doesn't insert anything in the dump; "-fix" doesn't fix broken titles (still getting "Parser::replaceInternalLinks: $this->mTitle is null"); "-strip" seems to remove all content of the dumps except a list of the article titles. What effect has the parameter "-code <num>"? Is there anything else that I have to to to make this program work? --14:46, 3 May 2007 (UTC)