Index: trunk/phase3/includes/StubObject.php |
— | — | @@ -154,7 +154,7 @@ |
155 | 155 | } |
156 | 156 | |
157 | 157 | # Validate $code |
158 | | - if( empty( $code ) || !preg_match( '/^[a-z-]+$/', $code ) ) { |
| 158 | + if( empty( $code ) || !preg_match( '/^[a-z-]+$/', $code ) || ( $code === 'qqq' ) ) { |
159 | 159 | wfDebug( "Invalid user language code\n" ); |
160 | 160 | $code = $wgContLanguageCode; |
161 | 161 | } |