X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FRevision.php;h=6ab3df4e740a7004a73ff65326990e527bcb84bd;hb=0e24ba0d9b1ba699f722b23bc3ef941b85df66cd;hp=a01f515160d082a058a2669ef5ea4fd2883a5b0c;hpb=01596b2bbf937bcdbd25f8216ee5bfecea86ef8a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Revision.php b/includes/Revision.php index a01f515160..6ab3df4e74 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -1311,8 +1311,8 @@ class Revision implements IDBAccessObject { global $wgLegacyEncoding; if ( $text !== false && $wgLegacyEncoding - && !in_array( 'utf-8', $flags ) && !in_array( 'utf8', $flags ) ) - { + && !in_array( 'utf-8', $flags ) && !in_array( 'utf8', $flags ) + ) { # Old revisions kept around in a legacy encoding? # Upconvert on demand. # ("utf8" checked for compatibility with some broken @@ -1453,7 +1453,7 @@ class Revision implements IDBAccessObject { $t = $title->getPrefixedDBkey(); throw new MWException( "Can't save non-default content model with \$wgContentHandlerUseDB disabled: " - . "model is $model , default for $t is $defaultModel" ); + . "model is $model, default for $t is $defaultModel" ); } if ( $this->getContentFormat() != $defaultFormat ) {