Make the dataminer provide a wowhead link directly to the recipe spell id, to make my life a tad bit easier with working on the databases.
pompachomp [03-28-10 - 04:21]
Make the dataminer provide a wowhead link directly to the recipe spell id, to make my life a tad bit easier with working on the databases.
diff --git a/Datamine.lua b/Datamine.lua
index c0bcdb8..45a8cd2 100644
--- a/Datamine.lua
+++ b/Datamine.lua
@@ -2510,7 +2510,7 @@ do
tinsert(output, string.format(" Wrong quality: Q.%s - should be Q.%s.", QS[recipe.quality], QS[scan_data.quality]))
end
if found_problem then
- tinsert(output, 1, string.format("%s: %d", recipe_name, spell_id))
+ tinsert(output, 1, string.format("%s: [url=http://www.wowhead.com/?spell=%d]%d[/url]", recipe_name, spell_id, spell_id))
return tconcat(output, "\n")
else
return