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:
b8d748e
)
remove unix_timestamp() from query, and wfUnix2Timestamp(). I could not find any...
author
Domas Mituzas
<midom@users.mediawiki.org>
Thu, 9 Sep 2004 11:53:14 +0000
(11:53 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Thu, 9 Sep 2004 11:53:14 +0000
(11:53 +0000)
includes/SpecialAncientpages.php
patch
|
blob
|
history
diff --git
a/includes/SpecialAncientpages.php
b/includes/SpecialAncientpages.php
index
ac7c798
..
91bd543
100644
(file)
--- a/
includes/SpecialAncientpages.php
+++ b/
includes/SpecialAncientpages.php
@@
-33,7
+33,7
@@
class AncientPagesPage extends QueryPage {
"SELECT 'Ancientpages' as type,
cur_namespace as namespace,
cur_title as title,
-
UNIX_TIMESTAMP(cur_timestamp)
as value
+
cur_timestamp
as value
FROM $cur $use_index
WHERE cur_namespace=0 AND cur_is_redirect=0";
}
@@
-45,7
+45,7
@@
class AncientPagesPage extends QueryPage {
function formatResult( $skin, $result ) {
global $wgLang;
- $d = $wgLang->timeanddate( wf
Unix2
Timestamp( $result->value ), true );
+ $d = $wgLang->timeanddate( wfTimestamp( $result->value ), true );
$link = $skin->makeKnownLink( $result->title, "" );
return "{$link} ({$d})";
}