|
|
@@ -45,7 +45,7 @@ fi |
|
|
sed -Ee 's/\[\[[^]]+\]\]/<nowiki>&<\/nowiki>/g' "$1" | \ |
|
|
sed -Ee 's/\[\[[^]]+\]\]/<nowiki>&<\/nowiki>/g' "$1" | \ |
|
|
pandoc --from=mediawiki --to=markdown_phpextra+auto_identifiers \ |
|
|
pandoc --from=mediawiki --to=markdown_phpextra+auto_identifiers \ |
|
|
--base-header-level=2 --wrap=none | \ |
|
|
--base-header-level=2 --wrap=none | \ |
|
|
sed -Ee 's/\\\[\\\[([^]]+)\\\]\\\]/[[::\1]]/g' -e 's/^-\s+/* /' |
|
|
|
|
|
|
|
|
sed -Ee 's/\\\[\\\[([^]]+)\\\]\\\]/[[::\1]]/g' -e 's/^-[[:space:]]+/* /' |
|
|
|
|
|
|
|
|
# Dodaj informację o źródle strony i licencji. |
|
|
# Dodaj informację o źródle strony i licencji. |
|
|
urlname=$(printf '%s\n' "$2" | sed -e 's/ /_/g') |
|
|
urlname=$(printf '%s\n' "$2" | sed -e 's/ /_/g') |
|
|
|