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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
2009/5/16 Jan Luca jan@jans-seite.de:
Hello,
how can I create a log?
Do you just want to add a log entry, or do you want to add an entirely new log type? In the latter case, look at $wgLogTypes [1], for the former look at the LogPage class [2]. For example usage, look at extensions which add logs, such as AbuseFilter [3].
Roan Kattouw (Catrope)
[1] http://www.mediawiki.org/wiki/Manual:$wgLogTypes [2] http://svn.wikimedia.org/doc/classLogPage.html [3] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/AbuseFilter/
"Jan Luca" jan@jans-seite.de wrote in message news:000001c9d644$8afc98e0$a0f5caa0$@de...
Hello,
how can I create a log? Gruß
Jan
Sit down and squeeze... ?
Chop down a tree? skype: node.ue
2009/5/19 Mark Clements (HappyDog) gmane@kennel17.co.uk:
"Jan Luca" jan@jans-seite.de wrote in message news:000001c9d644$8afc98e0$a0f5caa0$@de...
Hello,
how can I create a log? Gruß
Jan
Sit down and squeeze... ?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
How does one access the toolserver to use commands like that?
2009/5/19 Mark Williamson node.ue@gmail.com
Chop down a tree? skype: node.ue
2009/5/19 Mark Clements (HappyDog) gmane@kennel17.co.uk:
"Jan Luca" jan@jans-seite.de wrote in message news:000001c9d644$8afc98e0$a0f5caa0$@de...
Hello,
how can I create a log? Gruß
Jan
Sit down and squeeze... ?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Just like a dwarven cleric can turn any undead monster... with his axe? ;)
2009/5/20 Domas Mituzas midom.lists@gmail.com
On May 20, 2009, at 8:07 PM, Bart wrote:
How does one access the toolserver to use commands like that?
with an axe.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org