Index: trunk/extensions/LandingCheck/LandingCheck.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | $wgExtensionCredits['specialpage'][] = array( |
15 | 15 | 'path' => __FILE__, |
16 | 16 | 'name' => 'LandingCheck', |
17 | | - 'version' => '1.1.1', |
| 17 | + 'version' => '1.2', |
18 | 18 | 'url' => 'http://www.mediawiki.org/wiki/Extension:LandingCheck', |
19 | 19 | 'author' => 'Ryan Kaldari', |
20 | 20 | 'descriptionmsg' => 'landingcheck-desc', |
Index: trunk/extensions/LandingCheck/SpecialLandingCheck.php |
— | — | @@ -35,7 +35,8 @@ |
36 | 36 | // Build array of landing pages to check for |
37 | 37 | $targetTexts = array( |
38 | 38 | $landingPage . '/' . $language . '/' . $country, |
39 | | - $landingPage . '/' . $language |
| 39 | + $landingPage . '/' . $language, |
| 40 | + $landingPage . '/' . Language::getFallbackFor( $language ) |
40 | 41 | ); |
41 | 42 | if ( $language != 'en' ) { |
42 | 43 | $targetTexts[] = $landingPage . '/en'; // English fallback |