dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid preemptive DB replication waits for farm cross-wiki redirects
[lhc/web/wiklou.git]
/
includes
/
MovePage.php
diff --git
a/includes/MovePage.php
b/includes/MovePage.php
index
ce6ecad
..
39dc642
100644
(file)
--- a/
includes/MovePage.php
+++ b/
includes/MovePage.php
@@
-440,8
+440,8
@@
class MovePage {
* @throws MWException
*/
private function moveToInternal( User $user, &$nt, $reason = '', $createRedirect = true,
* @throws MWException
*/
private function moveToInternal( User $user, &$nt, $reason = '', $createRedirect = true,
- array $changeTags = []
) {
-
+ array $changeTags = []
+ ) {
global $wgContLang;
if ( $nt->exists() ) {
$moveOverRedirect = true;
global $wgContLang;
if ( $nt->exists() ) {
$moveOverRedirect = true;
@@
-511,7
+511,7
@@
class MovePage {
$logEntry->setComment( $reason );
$logEntry->setParameters( [
'4::target' => $nt->getPrefixedText(),
$logEntry->setComment( $reason );
$logEntry->setParameters( [
'4::target' => $nt->getPrefixedText(),
- '5::noredir' => $redirectContent ? '0': '1',
+ '5::noredir' => $redirectContent ? '0'
: '1',
] );
$formatter = LogFormatter::newFromEntry( $logEntry );
] );
$formatter = LogFormatter::newFromEntry( $logEntry );