fix lineid example to account for extra link args
m (→Notes) |
(fix lineid example to account for extra link args) |
||
| Line 14: | Line 14: | ||
* Abusing the spam-reporting API will get it protected. [http://forums.worldofwarcraft.com/thread.html?topicId=63167579&sid=1&pageNo=25] | * Abusing the spam-reporting API will get it protected. [http://forums.worldofwarcraft.com/thread.html?topicId=63167579&sid=1&pageNo=25] | ||
* Complaining about a [[player]] squelches further communication from the target's [[account]] for the rest of the session. [http://forums.worldofwarcraft.com/thread.html?topicId=102905050] | * Complaining about a [[player]] squelches further communication from the target's [[account]] for the rest of the session. [http://forums.worldofwarcraft.com/thread.html?topicId=102905050] | ||
* ''lineID'' can also be obtained from the player link. E.g. <code>local lineID = strmatch(link, "|Hplayer: | * ''lineID'' can also be obtained from the player link. E.g. <code>local lineID = strmatch(link, ("|Hplayer:[^:]*:(%d+):.*|h")</code> - useful if using [[UIHANDLER_OnHyperlinkClick|OnHyperlinkClick]], [[UIHANDLER_OnHyperlinkEnter|OnHyperlinkEnter]], or [[UIHANDLER_OnHyperlinkLeave|OnHyperlinkLeave]]. | ||
== See Also == | == See Also == | ||
: API [[API CanComplainChat|CanComplainChat]] | : API [[API CanComplainChat|CanComplainChat]] | ||