Lore archive · Warcraft Wiki, 2023 dump
API KBSetup GetArticleHeaderData
Last wiki revision 2022-07-22
Returns header information about an article.
id, title, isHot, isNew = KBSetup_GetArticleHeaderData(index)
- (index)
- index: - The articles index for that page.
- id, title, isHot, isNew
- id: - The article's id.
- title: - The article's title.
- isHot: - Show the "hot" symbol or not
- isNew: - Show the "new" symbol or not
local id, title, isHot, isNew = KBSetup_GetArticleHeaderData(1) if isNew then ChatFrame1:AddMessage("The article " .. id .. "(" .. title .. ") is new.", 1.0, 1.0, 1.0) end
- This will work on the "most asked" articles, not the articles of the active query.
Source
https://warcraft.wiki.gg/wiki/API_KBSetup_GetArticleHeaderData · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.