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
Merge "New parameters 'reverse' and 'sortbyvalue' for Special:PagesWithProp"
[lhc/web/wiklou.git]
/
languages
/
LanguageConverter.php
diff --git
a/languages/LanguageConverter.php
b/languages/LanguageConverter.php
index
19d644c
..
6d0368c
100644
(file)
--- a/
languages/LanguageConverter.php
+++ b/
languages/LanguageConverter.php
@@
-339,7
+339,6
@@
class LanguageConverter {
* @return string The converted text
*/
public function autoConvert( $text, $toVariant = false ) {
* @return string The converted text
*/
public function autoConvert( $text, $toVariant = false ) {
-
$this->loadTables();
if ( !$toVariant ) {
$this->loadTables();
if ( !$toVariant ) {
@@
-891,9
+890,11
@@
class LanguageConverter {
/**
* Reload the conversion tables.
*
/**
* Reload the conversion tables.
*
+ * Also used by test suites which need to reset the converter state.
+ *
* @private
*/
* @private
*/
- function reloadTables() {
+
private
function reloadTables() {
if ( $this->mTables ) {
unset( $this->mTables );
}
if ( $this->mTables ) {
unset( $this->mTables );
}