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:
631208a
)
(bug 24665) When starttimestamp is not specified, fake it by setting it to NOW, not...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Fri, 6 Aug 2010 12:15:23 +0000
(12:15 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Fri, 6 Aug 2010 12:15:23 +0000
(12:15 +0000)
includes/api/ApiEditPage.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiEditPage.php
b/includes/api/ApiEditPage.php
index
819558d
..
984b8aa
100644
(file)
--- a/
includes/api/ApiEditPage.php
+++ b/
includes/api/ApiEditPage.php
@@
-172,7
+172,7
@@
class ApiEditPage extends ApiBase {
if ( !is_null( $params['starttimestamp'] ) && $params['starttimestamp'] != '' ) {
$reqArr['wpStarttime'] = wfTimestamp( TS_MW, $params['starttimestamp'] );
} else {
- $reqArr['wpStarttime'] =
$reqArr['wpEdittime'];
// Fake wpStartime
+ $reqArr['wpStarttime'] =
wfTimestampNow();
// Fake wpStartime
}
if ( $params['minor'] ) {