Difference between revisions of "Template:FA number/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(code)
imported>Andrybak
m (+category sort key)
Line 14: Line 14:
 
into your browser's [[address bar]], and press enter.
 
into your browser's [[address bar]], and press enter.
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia featured content templates]]
+
[[Category:Wikipedia featured content templates|Article]]
 
+
}}</includeonly>
</includeonly>
 

Revision as of 13:00, 18 April 2020

This template returns the number of featured articles as recorded at Wikipedia:Featured articles. The count at Wikipedia:Featured articles is scrupulously updated and due to chronic server issues it is in general more accurate than {{PAGESINCATEGORY:Featured articles}}.

Usage

  • {{FA number}} = {{Wikipedia:Featured articles}}

Method for verifying accuracy

Logged-in users can use the MediaWiki API to verify the featured article count. Go to [1], type

javascript:alert(document.getElementsByTagName("cm").length)

into your browser's address bar, and press enter.