Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nikerabbit/mediawiki-extensions-lud
- Owner: Nikerabbit
- License: other
- Created: 2014-06-05T22:10:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T15:28:49.000Z (5 months ago)
- Last Synced: 2024-09-09T19:12:14.967Z (5 months ago)
- Topics: mediawiki, mediawiki-extension
- Language: PHP
- Homepage: https://sanat.csc.fi/wiki/L%C3%BC%C3%BCdi
- Size: 2.8 MB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: COPYING
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 delimiterOUTPUT=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