Jump to content

Talk:Wikipedia featured articles

Add topic
From Meta, a Wikimedia project coordination wiki
Latest comment: 3 months ago by Hedger z Castleton in topic Automation

Automation

[edit]

Anyone want to try to automate this list? Should be possible with a {{Wikidata list}} with a custom template for inserting the comments and whatnot. Basic query for Wikipedia FA counts:

SELECT ?lang (count(?sitelink) as ?i) WHERE {
  ?sitelink 
    schema:inLanguage ?lang;
    schema:isPartOf ?site;
    schema:about ?item;
    # Sitelink is badged as a Featured Article
    wikibase:badge wd:Q17437796.
  FILTER EXISTS { ?site wikibase:wikiGroup "wikipedia" . }
} GROUP BY ?lang

--Yair rand (talk) 00:43, 9 February 2022 (UTC)Reply

@Yair rand:, there is a little problem on small wikis. Sometimes articles are listed on FA / GA main page, but FA / GA templates are not used on all articles from these lists (av and some others). From the other site, on FA / GA main pages sometimes are listed another articles (from main page templates). Hedger z Castleton (talk) 09:00, 3 April 2024 (UTC)Reply