Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nikerabbit/mediawiki-extensions-lud

Import tools for Ludic dictionary
https://github.com/nikerabbit/mediawiki-extensions-lud

mediawiki mediawiki-extension

Last synced: 3 months ago
JSON representation

Import tools for Ludic dictionary

Awesome Lists containing this project

README

        

# LyE (lud-x-south): docx -> txt with copy-paste
# Nettisanat_LyE (lud-x-south): ods -> csv with export using | as delimiter
# LyK_Simonas (lud-x-middle): ods -> csv with export using | as delimiter
# LyKK-ven (lud): docx -> txt with copy-paste
# LyKK-SU: docx -> ods with copy paste -> csv with export using | as delimiter
# LyP (lud-x-north): xlsx -> csv with export using | as delimiter

OUTPUT=output-2024-01-19
rm -rf "$OUTPUT"
mkdir "$OUTPUT"
php import.php "$OUTPUT" \
--LyE-txt=aineistot/LyE.txt \
--LyE-csv=aineistot/Nettisanat_LyE.csv \
--LyK=aineistot/LyK_Simonas.csv \
--LyKK-txt=aineistot/LyKK.txt \
--LyKK-csv=aineistot/LyKK-SU.csv \
--LyP=aineistot/LyP.csv
php list-pages-to-delete.php "$OUTPUT" > todelete.txt
cd ../..
./maintenance/run ./extensions/Sanat/SanatImport.php --threads=$(nproc) extensions/Lud/mw
./maintenance/run ./extensions/Sanat/SanatImport.php --threads=$(nproc) extensions/Lud/"$OUTPUT"
./maintenance/run deleteBatch extensions/Lud/todelete.txt