Uzanto-Diskuto:Blahma/Mortintaj esperantistoj

Paĝenhavo ne ekzistas en aliaj lingvoj.
El Vikipedio, la libera enciklopedio

Por ĝisdatigi tiun ĉi liston eblas ĉe tools.wmflabs.org uzi jenan komandon en Bash:

echo "use eowiki_p; select page_title, (select cl2.cl_to from categorylinks as cl2 where cl2.cl_from = cl1.cl_from and cl2.cl_to rlike 'Mortintoj_en_[0-9][0-9][0-9][0-9]' limit 1), cl1.cl_to from categorylinks as cl1 join page on cl1.cl_from = page_id where cl1.cl_from in (select cl3.cl_from from categorylinks as cl3 where cl3.cl_to rlike 'Mortintoj_en_[0-9][0-9][0-9][0-9]') and lower(cl1.cl_to) like '%esperantistoj%' order by page_title, cl1.cl_to" | mysql --defaults-file=~/replica.my.cnf -h eowiki.labsdb | tail -n+2 | awk -F'\t' 'BEGIN{OFS=FS} $1==P||P==""{C=C", "$3;P=$1;M=$2} $1!=P{print P, M, substr(C,3);C=", "$3;P=$1;M=$2}END{print P, M, substr(C,3)}' | sort -k2,2 -k1,1 | awk -F'\t' '{split($3,CA,", "); CS=""; for(I=1;I<=length(CA);I++){CS=CS", [[:Kategorio:"CA[I]"|]]"} CS=substr(CS,3); gsub(/_/," ",$1); gsub(/_/," ",$2); gsub(/_/," ",CS); print "| [["$1"]] || [[:Kategorio:"$2"|]] || "CS; print "|-"}'

Por produkti la datumojn por la grafeo eblas uzi jenan komandon en Bash:

cat mortintoj.wiki | grep -o 'Mortintoj en [0-9][0-9][0-9][0-9]' | cut -c14-17 | sort | uniq -c | sort -k2,2n | awk '{N[$2]=$1}END{O="";for(I=1887;I<=2016;I++){O=O","I}print substr(O,2);O="";for(I=1887;I<=2016;I++){if(!(I in N)){N[I]=0};O=O","N[I]}print substr(O,2)}'