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
Quote $default in PostgresUpdater::setDefault
[lhc/web/wiklou.git]
/
includes
/
MovePage.php
diff --git
a/includes/MovePage.php
b/includes/MovePage.php
index
39dc642
..
2f8255b
100644
(file)
--- a/
includes/MovePage.php
+++ b/
includes/MovePage.php
@@
-442,7
+442,6
@@
class MovePage {
private function moveToInternal( User $user, &$nt, $reason = '', $createRedirect = true,
array $changeTags = []
) {
private function moveToInternal( User $user, &$nt, $reason = '', $createRedirect = true,
array $changeTags = []
) {
- global $wgContLang;
if ( $nt->exists() ) {
$moveOverRedirect = true;
$logType = 'move_redir';
if ( $nt->exists() ) {
$moveOverRedirect = true;
$logType = 'move_redir';
@@
-520,8
+519,6
@@
class MovePage {
if ( $reason ) {
$comment .= wfMessage( 'colon-separator' )->inContentLanguage()->text() . $reason;
}
if ( $reason ) {
$comment .= wfMessage( 'colon-separator' )->inContentLanguage()->text() . $reason;
}
- # Truncate for whole multibyte characters.
- $comment = $wgContLang->truncate( $comment, 255 );
$dbw = wfGetDB( DB_MASTER );
$dbw = wfGetDB( DB_MASTER );