Adds an article creation log to Special:Log## Problem statement
There was discussion on a making a page deletion log,We currently have a "Page deletion log", but not a "Page creation log". This proposal is to add a `create/create` log type, and log an event with that type upon the creation of a new page (e.g. and it came down to a bunch of indexes and such being added and things being changed around and all around confusion.first revision).
## Original description
Thus, I decided to kill two birds with one stone and write this nifty little gadget. I figured if there was a "Deletion log" there should be a "Creation log" as well. This is a patch against MediaWiki 1.10.0, so that each time someone creates a page, it gets added to the log. This way, if the page gets deleted, it gets redlinked, and if it's alive, it's bluelinked. I figure it's a hack to the concept of a "deleted pages" log, but it's most definitely an enhancement to fishing through revisions to find the original page creator. Anyhooo...
There's a caveat. Since I don't know half of the languages that MW supports, there's going to be a problem. Adding a creation log requires a couple edits (check out the patch) to add full multi-language support, otherwise, it'll just turn up as "createpg" which is very user unfriendly. So, right now it only supports english out of the box. Sorry. :(
There's another caveat: it's semi-not backwards compatible to your current database. That is, the patch only works from installation onward in that entries in the creation log will only appear once someone creates a new page after you apply the patch. So, in order to get a full page creation log, either you (or someone else) will need to write a script to add the appropriate entries. Otherwise, it will work fine with your existing installation.
Instructions:
1. Grab the patch, save it into your brand spankin' new mediawiki root directory.>
2. Run `patch -p0 < createpg.patch`> Adds an article creation log to Special:Log
3. If your installation's language is not primarily english, translate to your native language the 'createpglogtext', 'createdarticle', and 'createpglogpage' lines of languages/messages/MessagesEn.php.
Tested on MediaWiki 1.10.0, php 5.2.3 (fcgi, debug).
If you have any questions, comments, concerns, or if I totally botched somethin>
> There was discussion on a making a page deletion log, please feel free to contact me.
Cheers,
Kurt Radwanskiand it came down to a bunch of indexes and such being added and things being changed around and all around confusion.
irc: slakr@freenode or galaxynet>
> Thus, I decided to kill two birds with one stone and write this nifty little gadget. I figured if there was a "Deletion log" there should be a "Creation log" as well. This is a patch against MediaWiki 1.10.0, so that each time someone creates a page, it gets added to the log. This way, if the page gets deleted, it gets redlinked, and if it's alive, it's bluelinked. I figure it's a hack to the concept of a "deleted pages" log, but it's most definitely an enhancement to fishing through revisions to find the original page creator. Anyhooo...
en.wp: Slakr
-------------------------->
> There's a caveat. Since I don't know half of the languages that MW supports, there's going to be a problem. Adding a creation log requires a couple edits (check out the patch) to add full multi-language support, otherwise, it'll just turn up as "createpg" which is very user unfriendly. So, right now it only supports english out of the box. Sorry. :(
**Version**: 1.10.x>
> There's another caveat: it's semi-not backwards compatible to your current database. That is, the patch only works from installation onward in that entries in the creation log will only appear once someone creates a new page after you apply the patch. So, in order to get a full page creation log, either you (or someone else) will need to write a script to add the appropriate entries. Otherwise, it will work fine with your existing installation.
**Severity**: enhancement
>
> Instructions:
>
> 1. Grab the patch, save it into your brand spankin' new mediawiki root directory.
> 2. Run `patch -p0 < createpg.patch`
> 3. If your installation's language is not primarily english, translate to your native language the 'createpglogtext', 'createdarticle', and 'createpglogpage' lines of languages/messages/MessagesEn.php.
>
> Tested on MediaWiki 1.10.0, php 5.2.3 (fcgi, debug).
>
> If you have any questions, comments, concerns, or if I totally botched something, please feel free to contact me.
>
> Cheers,
>
> Kurt Radwanski
> irc: slakr@freenode or galaxynet.
> en.wp: Slakr
>
> -------
>
> **Attached**: {F3998}
> **See also**: {T44135}