Last modified: 2010-06-23 12:36:11 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 T26089, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24089 - Logevents causes PHP Notice if leprop=title isn't supplied
Logevents causes PHP Notice if leprop=title isn't supplied
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.17.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-23 12:20 UTC by John Du Hart
Modified: 2010-06-23 12:36 UTC (History)
4 users (show)

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


Attachments
Path for ApiQueryLogEvents.php (644 bytes, patch)
2010-06-23 12:20 UTC, John Du Hart
Details
Patch for ApiQueryLogEvents.php (1.19 KB, patch)
2010-06-23 12:26 UTC, John Du Hart
Details

Description John Du Hart 2010-06-23 12:20:06 UTC
Created attachment 7498 [details]
Path for ApiQueryLogEvents.php

If title is not added as a property PHP will complain about $row->log_title and $row->log_namespace not being defined.

Try to do api.php?action=query&list=logevents&leprop=timestamp on a system with notices on.
Comment 1 John Du Hart 2010-06-23 12:26:42 UTC
Created attachment 7499 [details]
Patch  for ApiQueryLogEvents.php
Comment 2 Sam Reed (reedy) 2010-06-23 12:36:11 UTC
r68451

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


Navigation
Links