Seeking help with Special:Log and the LogPage class...
I recently created a custom log and am writing information to it as follows:
$log = new LogPage('mylog'); $log->addEntry('mylog', $wgTitle, wfMsg('my-message', $wgTitle->getFullText(), $otherstuff), array(), $wgUser);
However, each time this code runs, everybody watching the article $wgTitle gets a bogus "page created" watchlist notification email for the article, with the wfMsg(...) string as the (bogus) edit summary.
How do I prevent these notifications from happening when I write to the log? (MediaWiki 1.17.0)
Thanks, DanB