Last modified: 2010-05-15 14:36:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T4774, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2774 - Allow extensions to add log types (new hooks in includes/LogPage.php)
Allow extensions to add log types (new hooks in includes/LogPage.php)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 2772
  Show dependency treegraph
 
Reported: 2005-07-09 16:00 UTC by Ævar Arnfjörð Bjarmason
Modified: 2010-05-15 14:36 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ævar Arnfjörð Bjarmason 2005-07-09 16:00:23 UTC
It's currently not possible to add new log types to includes/LogPage.php without
hardcoding them, this means that extensions such as Renameuser (see bug 2772)
can't add a new logtype and have to log to the main log.

The code should be refactored in a way to allow external code to add log types.
Comment 1 Ævar Arnfjörð Bjarmason 2005-07-22 19:13:19 UTC
I added three new $wgHooks to LogPage which enable extensions to add their own
logtypes, see extensions/Renameuser/SpecialRenameuser.php for an example of this.

Marking this as FIXED.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links