I use this to make a log:
Initialize log page:
$wgLogTypes[] = 'newlog';
$wgLogNames['newlog'] = 'newloglogpage';
$wgLogHeaders['newlog'] = 'newloglogpagetext';
$wgLogActions['newlog/newlog'] = 'newloglogentry';
Add new log entry:
//Log it
$log = new LogPage( "newlog" );
$log->addEntry(
"newlog",
$title,
wfMsg( 'newlog-log' ) //or similar function
);
Hope this helps,
X!
On May 16, 2009, at 12:37 PM [May 16, 2009 ], Jan Luca wrote:
Hello,
how can I create a log?
Gruß
Jan
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l