afaik, you first need to have the Quest in your Quest Log to extract the ID from the
UI escape sequence
this breaks the UI escape sequence to reveal the Quest ID:
Code:
/run print(strreplace(" [QuestLink] ", "\124", "!"))
alternatively, you can print all the Quest IDs in the quest log with this macro script:
Code:
/run for i = 1, GetNumQuestLogEntries() do if GetQuestLink(i) then print(strreplace(GetQuestLink(i), "\124", "!")) end; end
No idea, how wowhead datamines the quests that you can't have in your questlog though
Edit: Ailea has a better solution ><