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:
6d97bfd
)
be less stupid at selecting fields (this needs to be filesorted, folks..)
author
Domas Mituzas
<midom@users.mediawiki.org>
Sun, 18 Nov 2007 23:20:34 +0000
(23:20 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Sun, 18 Nov 2007 23:20:34 +0000
(23:20 +0000)
includes/SpecialWatchlist.php
patch
|
blob
|
history
diff --git
a/includes/SpecialWatchlist.php
b/includes/SpecialWatchlist.php
index
1518e44
..
eba242c
100644
(file)
--- a/
includes/SpecialWatchlist.php
+++ b/
includes/SpecialWatchlist.php
@@
-185,8
+185,10
@@
function wfSpecialWatchlist( $par ) {
'" /><input type="hidden" name="reset" value="all" /></form>' .
"\n\n" );
}
-
- $sql = "SELECT *
+ if ( $wgShowUpdatedMarker ) {
+ $wltsfield=", ${watchlist}.wl_notificationtimestamp ";
+ }
+ $sql = "SELECT ${recentchanges}.* ${wltsfield}
FROM $watchlist,$recentchanges,$page
WHERE wl_user=$uid
AND wl_namespace=rc_namespace
@@
-370,4
+372,4
@@
function wlCountItems( &$user, $talk = true ) {
$count = floor( $count / 2 );
return( $count );
-}
\ No newline at end of file
+}