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:
68252e7
)
Fix minor bug that didn't properly touch the new page title when renaming, which...
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 5 Jul 2003 07:35:28 +0000
(07:35 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 5 Jul 2003 07:35:28 +0000
(07:35 +0000)
includes/SpecialMovepage.php
patch
|
blob
|
history
diff --git
a/includes/SpecialMovepage.php
b/includes/SpecialMovepage.php
index
8d3d79d
..
245d537
100644
(file)
--- a/
includes/SpecialMovepage.php
+++ b/
includes/SpecialMovepage.php
@@
-335,13
+335,13
@@
class MovePageForm {
$fname = "MovePageForm::moveToNewTitle";
$mt = wfMsg( "movedto" );
$fname = "MovePageForm::moveToNewTitle";
$mt = wfMsg( "movedto" );
+ $now = wfTimestampNow();
+ $won = wfInvertTimestamp( $now );
$sql = "UPDATE cur SET cur_touched='{$now}'," .
"cur_namespace={$this->nns},cur_title='{$this->ndt}' " .
"WHERE cur_id={$this->oldid}";
wfQuery( $sql, $fname );
$sql = "UPDATE cur SET cur_touched='{$now}'," .
"cur_namespace={$this->nns},cur_title='{$this->ndt}' " .
"WHERE cur_id={$this->oldid}";
wfQuery( $sql, $fname );
- $now = wfTimestampNow();
- $won = wfInvertTimestamp( $now );
$common = "{$this->ons},'{$this->odt}'," .
"'{$mt} \\\"{$this->nft}\\\"','" .
$wgUser->getID() . "','" . wfStrencode( $wgUser->getName() ) .
$common = "{$this->ons},'{$this->odt}'," .
"'{$mt} \\\"{$this->nft}\\\"','" .
$wgUser->getID() . "','" . wfStrencode( $wgUser->getName() ) .