Index: branches/REL1_18/phase3/docs/hooks.txt |
— | — | @@ -1279,6 +1279,12 @@ |
1280 | 1280 | $links: array, intended to hold the result. Must be an associative array with |
1281 | 1281 | category types as keys and arrays of HTML links as values. |
1282 | 1282 | |
| 1283 | +'PageContentLanguage': allows changing the language in which the content of |
| 1284 | +a page is written. Defaults to the wiki content language ($wgContLang). |
| 1285 | +$title: Title object |
| 1286 | +&$pageLang: the page content language (either an object or a language code) |
| 1287 | +$wgLang: the user language |
| 1288 | + |
1283 | 1289 | 'PageHistoryBeforeList': When a history page list is about to be constructed. |
1284 | 1290 | $article: the article that the history is loading for |
1285 | 1291 | |
Index: branches/REL1_18/phase3/includes/Title.php |
— | — | @@ -4272,6 +4272,7 @@ |
4273 | 4273 | * Defaults to $wgContLang, but in certain cases it can be e.g. |
4274 | 4274 | * $wgLang (such as special pages, which are in the user language). |
4275 | 4275 | * |
| 4276 | + * @since 1.18 |
4276 | 4277 | * @return object Language |
4277 | 4278 | */ |
4278 | 4279 | public function getPageLanguage() { |
Index: branches/REL1_18/phase3/languages/Language.php |
— | — | @@ -218,6 +218,7 @@ |
219 | 219 | * |
220 | 220 | * @param $code string |
221 | 221 | * |
| 222 | + * @since 1.18 |
222 | 223 | * @return bool |
223 | 224 | */ |
224 | 225 | public static function isValidBuiltInCode( $code ) { |