Hey,
Is there some comprehensive documentation on how to log events (such as edits, uploads, ect)? I found some logging related classes such as LogPage, but no documentation that tells me what kind of things are supposed to be possible with all this code. I'm looking into how to create some logging thing for setting changes, and do not want to end up duplicating already existing things that I could perfectly well use (even though I suspect I might not be able to re-use it at all since this new stuff needs to keep into account permissions and is not article-centric).
Cheers
-- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. --
I also noticed the lack of documentation on LogPage so I just wrote this on mediawiki.org:
http://www.mediawiki.org/wiki/Logging_to_Special:Log
Other developers -- please fill in more detail if you like!
DanB
On 14 December 2011 19:08, Daniel Barrett danb@vistaprint.com wrote:
I also noticed the lack of documentation on LogPage so I just wrote this on mediawiki.org:
http://www.mediawiki.org/wiki/Logging_to_Special:Log
Other developers -- please fill in more detail if you like!
That is the old way of doing logging. I'll try to find some time to document the new way too.
-Niklas
Niklas Laxström
On 15 December 2011 00:46, Niklas Laxström niklas.laxstrom@gmail.com wrote:
On 14 December 2011 19:08, Daniel Barrett danb@vistaprint.com wrote:
I also noticed the lack of documentation on LogPage so I just wrote this on mediawiki.org:
http://www.mediawiki.org/wiki/Logging_to_Special:Log
Other developers -- please fill in more detail if you like!
That is the old way of doing logging. I'll try to find some time to document the new way too.
Only took about a week! There is now something there that should be enough to get started. -Niklas
wikitech-l@lists.wikimedia.org