Status of wiki.debian.net migration

Done

TODO

Convert markup

Any snippets appreciated. Todo:

$data =~ s/\[([^]]+) ([^] ]+)\]/[wiki:Self:$2 $1]/g;

For testing the markup conversion, the following snippit may be useful: Just perl foo < bleh_test|less it.

while (<>){
                my $data = $_;
                #$data =~ s/_(\w)/''$1/g;
                #$data =~ s/(\w)_/$1''/g;
# asuffield
                #$data =~ s/\b_(\S+)_\b/''$1''/g;
# HelmutG
                $data =~ s/^(\*+) /' '."  " x (length($1)-1) . "* "/ge;
                $data =~ s/^(0+) /' '."  " x (length($1)-1) . "1 "/ge;
                $data =~ s/(_[^_]+_)/_$1_/g;
                $data =~ s{\[([^\]]+?)\s+($WIKINAME)\]}{qq([wiki:Self:$2 $1])}xeg;
                $data =~ s!\[([^]]+) ([a-z]{3,5}://[^ ]+) ([^]]+)\]!\[$2 $1 $3\]!g;
# jvw
                $data =~ s/\*([^\ ]+)\*/'''$1'''/g;
                #$data =~ s/^''' / \* /gm;
                $data =~ s/\[([a-zA-Z0-9]+)\]/["$1"]/g;
                #$data =~ s/\[([^]]+) ([^] ]+)\]/[wiki:Self:$2 $1]/g;
                $data =~ s/\[=([^]]+)\]/{{{$1

/g;

} }}}