Added trim() call to work around mystery bug where whitespace gets appended to single...
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 14 Aug 2009 01:30:56 +0000 (01:30 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 14 Aug 2009 01:30:56 +0000 (01:30 +0000)
commitbfc10fd7a6d9d91a2f234e42d4f3582e549bcdb5
tree16c4cedc92b04982c3dcd1af392169ccd7d99a7d
parent52eee0cfa9e86fedf7d414ae2a538e5d0c889dce
Added trim() call to work around mystery bug where whitespace gets appended to single or double-quoted string tokens; without it we ended up reading in the extra quote on the end as if it were part of the string.

Examples from reading in extension .i18n files:
-    'quiz_reset' => 'Reset',
+    'quiz_reset' => 'Reset"',

-    'very-special-message' => 'Aren\'t I special?',
+    'very-special-message' => 'Aren\'t I special?"
+ ',

-    'nss-db-error' => 'Error reading from authentication database',
+    'nss-db-error' => 'Error reading from authentication database\'',
includes/ConfEditor.php