Last modified: 2012-08-14 12:02:15 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 T21797, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19797 - Improve LogEventsList::showLogExtract (patch)
Improve LogEventsList::showLogExtract (patch)
Status: RESOLVED DUPLICATE of bug 18880
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.16.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-17 21:33 UTC by Happy-melon
Modified: 2012-08-14 12:02 UTC (History)
1 user (show)

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


Attachments
Adds functionality to LogEventsList::showLogExtract(). Against r53416. (1.56 KB, patch)
2009-07-17 21:33 UTC, Happy-melon
Details

Description Happy-melon 2009-07-17 21:33:31 UTC
Created attachment 6353 [details]
Adds functionality to LogEventsList::showLogExtract().  Against r53416.

This is a very useful function, however it currently takes a rather bizzarre input format.  It requires as a first parameter an output source, but this currently *has* to be the global $wgOut.  As such I don't really understand why the variable needs to be passed, when the global could just be redeclared.  This patch allows the $out parameter to be *either* $wgOut *or* a string-by-reference, which a) makes the function much more versatile, and b) provides more of a reason to have the parameter in the first place. Tested against r53416.
Comment 1 Chad H. 2009-07-18 14:43:44 UTC

*** This bug has been marked as a duplicate of bug 18880 ***

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


Navigation
Links