Index: trunk/phase3/includes/Title.php |
— | — | @@ -2569,8 +2569,6 @@ |
2570 | 2570 | global $wgContLang, $wgLocalInterwiki; |
2571 | 2571 | |
2572 | 2572 | # Initialisation |
2573 | | - $rxTc = self::getTitleInvalidRegex(); |
2574 | | - |
2575 | 2573 | $this->mInterwiki = $this->mFragment = ''; |
2576 | 2574 | $this->mNamespace = $this->mDefaultNamespace; # Usually NS_MAIN |
2577 | 2575 | |
— | — | @@ -2680,6 +2678,7 @@ |
2681 | 2679 | } |
2682 | 2680 | |
2683 | 2681 | # Reject illegal characters. |
| 2682 | + $rxTc = self::getTitleInvalidRegex(); |
2684 | 2683 | if ( preg_match( $rxTc, $dbkey ) ) { |
2685 | 2684 | return false; |
2686 | 2685 | } |