Borlox7456@legacy41528709 (talk | contribs) (New page: {{wowapi}} __NOTOC__ <div style="float: right"><small>'''Main Page'''</small></div> Returns the number of articles for the current page. count = KBSetup_GetArticleHead...) |
Borlox7456@legacy41528709 (talk | contribs) m (Forgot to remove a link to my sandbox page )-:) |
||
Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ |
{{wowapi}} __NOTOC__ |
||
− | <div style="float: right"><small>'''[[User:Borlox/KB|Main Page]]'''</small></div> |
||
Returns the number of articles for the current page. |
Returns the number of articles for the current page. |
||
Revision as of 17:17, 18 April 2008
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the number of articles for the current page.
count = KBSetup_GetArticleHeaderCount()
Parameters
Arguments
- ()
Returns
- count
- count
- Integer - The number of articles for the current page.
Example
local count = KBSetup_GetArticleHeaderCount() for i=1, count do -- do something with the article
Details
- This will count the "most asked" articles, not the number of articles for the active query.