* OutputPage::getRedirect public method added.
* (bug 11848) Allow URL parameters 'editintro' and 'preload' in Special:Mypage
and Special:Mytalk
+* Add special page for getting random page from category
=== Bug fixes in 1.12 ===
'PopularPagesPage' => 'includes/SpecialPopularpages.php',
'PreferencesForm' => 'includes/SpecialPreferences.php',
'SpecialPrefixindex' => 'includes/SpecialPrefixindex.php',
+ 'RandomPage' => 'includes/SpecialRandompage.php',
+ 'RandomPageInCategory' => 'includes/SpecialRandomincategory.php',
'PasswordResetForm' => 'includes/SpecialResetpass.php',
'RevisionDeleteForm' => 'includes/SpecialRevisiondelete.php',
'RevisionDeleter' => 'includes/SpecialRevisiondelete.php',
# Languages
'Language' => 'languages/Language.php',
- 'RandomPage' => 'includes/SpecialRandompage.php',
# API
'ApiBase' => 'includes/api/ApiBase.php',
'Listusers' => array( 'SpecialPage', 'Listusers' ),
'Statistics' => array( 'SpecialPage', 'Statistics' ),
'Randompage' => array( 'SpecialPage', 'Randompage' ),
+ 'Randomincategory' => array( 'SpecialPage', 'Randomincategory' ),
'Lonelypages' => array( 'SpecialPage', 'Lonelypages' ),
'Uncategorizedpages' => array( 'SpecialPage', 'Uncategorizedpages' ),
'Uncategorizedcategories' => array( 'SpecialPage', 'Uncategorizedcategories' ),
'unusedtemplatestext' => 'This page lists all pages in the template namespace which are not included in another page. Remember to check for other links to the templates before deleting them.',
'unusedtemplateswlh' => 'other links',
-# Random redirect
-'randomredirect' => 'Random redirect',
-'randomredirect-nopages' => 'There are no redirects in this namespace.',
+# Random pages
+'randompage' => 'Random page',
+'randompage-nopages' => 'There are no pages in this namespace.',
+'randompage-url' => 'Special:Random', # don't translate or duplicate this message to other languages
+'randomincategory' => 'Random page in category',
+'randomincategory-nocategory' => 'Category $1 doesn\'t exist or is empty',
+'randomincategory-label' => 'Category:',
+'randomincategory-submit' => 'Go',
+'randomredirect' => 'Random redirect',
+'randomredirect-nopages' => 'There are no redirects in this namespace.',
# Statistics
'statistics' => 'Statistics',
'allpages-summary' => '', # only translate this message to other languages if you have to change it
'prefixindex' => 'Prefix index',
'prefixindex-summary' => '', # only translate this message to other languages if you have to change it
-'randompage' => 'Random page',
-'randompage-nopages' => 'There are no pages in this namespace.',
-'randompage-url' => 'Special:Random', # don't translate or duplicate this message to other languages
'shortpages' => 'Short pages',
'shortpages-summary' => '', # only translate this message to other languages if you have to change it
'longpages' => 'Long pages',
*
* Maintainer: Alexander Sigachov (alexander.sigachov@gmail.com)
*
- * Изменения сделанные в этом файле будут потеряны при обновлении движка.
+ * Изменения сделанные в этом файле будут потеряны при обновлении MediaWiki.
*
* Если необходимо внести изменения в перевод отдельных строк интерфейса,
* сделайте это посредством редактирования страниц вида «MediaWiki:*».
'unusedtemplatestext' => 'На этой странице перечислены все страницы пространства имён «Шаблоны», которые не включены в другие страницы. Не забывайте проверить отсутствие других ссылок на шаблон, перед его удалением.',
'unusedtemplateswlh' => 'другие ссылки',
-# Random redirect
-'randomredirect' => 'Случайное перенаправление',
-'randomredirect-nopages' => 'В данном пространстве имён нет пренаправлений.',
+# Random pages
+'randompage' => 'Случайная страница',
+'randompage-nopages' => 'В данном пространстве имён отсутствуют страницы.',
+'randomincategory' => 'Случайная страница в категории',
+'randomincategory-nocategory' => 'Категория "$1" пуста или не существует',
+'randomincategory-label' => 'Категория:',
+'randomincategory-submit' => 'Перейти',
+'randomredirect-nopages' => 'В данном пространстве имён нет перенаправлений.',
+'randomredirect' => 'Случайное перенаправление',
# Statistics
'statistics' => 'Статистика',
'mostrevisions' => 'Наиболее часто редактировавшиеся страницы',
'allpages' => 'Все страницы',
'prefixindex' => 'Указатель по началу слов',
-'randompage' => 'Случайная статья',
-'randompage-nopages' => 'В данном пространстве имён отсутствуют страницы.',
'shortpages' => 'Короткие статьи',
'longpages' => 'Длинные страницы',
'deadendpages' => 'Тупиковые страницы',
'unusedtemplatestext',
'unusedtemplateswlh',
),
+ 'randomincategory' => array(
+ 'randomincategory',
+ 'randomincategory-nocategory',
+ 'randomincategory-label',
+ 'randomincategory-submit',
+ ),
'randomredirect' => array(
'randomredirect',
'randomredirect-nopages',