dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5349ea2
)
log dump tweak: only select user_name from user table
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 28 Feb 2009 19:10:37 +0000
(19:10 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 28 Feb 2009 19:10:37 +0000
(19:10 +0000)
includes/Export.php
patch
|
blob
|
history
diff --git
a/includes/Export.php
b/includes/Export.php
index
31b2b9c
..
faa11f0
100644
(file)
--- a/
includes/Export.php
+++ b/
includes/Export.php
@@
-184,8
+184,10
@@
class WikiExporter {
# Hide private logs
$where[] = LogEventsList::getExcludeClause( $this->db );
if( $cond ) $where[] = $cond;
+ # Get logging table name for logging.* clause
+ $logging = $this->db->tableName('logging');
$result = $this->db->select( array('logging','user'),
- '*',
+ array( "{$logging}.*", 'user_name' ), // grab the user name
$where,
$fname,
array( 'ORDER BY' => 'log_id', 'USE INDEX' => array('logging' => 'PRIMARY') )