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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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