Discussion Jargonf:Chantiers

Une définition du Jargon Français.

[modifier] Nombre d'articles par année

select count(page_title),left(rev_timestamp,4) as date from page,revision where page_namespace=0 and page_id=rev_page and rev_id=page_latest group by date;

Y'a un problème : si on additionne pour juin 2008, on arrive à plus de 13200 articles, or il y en a encore moins de 12000... Roland 27 octobre 2008 à 19:01 (CET)

[modifier] Titres d'articles non révisés

select page_title,left(rev_timestamp,4) as date from page,revision where page_namespace=0 and page_id=rev_page and rev_id=page_latest and convert(left(rev_timestamp,4),unsigned)<2000 order by date limit 20;

[modifier] app-cat -> um

le problème c'est que du coup, les catégories sortent sans ordre alphabétique dans ce cas (y'a un truc à développer quelque part, comme un uc() dans le modèle:um à rajouter...) Roland 27 octobre 2008 à 18:50 (CET)