Index: trunk/extensions/RandomInCategory/SpecialRandomincategory.alias.php |
— | — | @@ -1,142 +0,0 @@ |
2 | | -<?php |
3 | | -/** |
4 | | - * Aliases for special pages |
5 | | - * |
6 | | - */ |
7 | | - |
8 | | -$aliases = array(); |
9 | | - |
10 | | -$aliases['en'] = array( |
11 | | - 'RandomInCategory' => array( 'RandomInCategory' ), |
12 | | -); |
13 | | - |
14 | | -/** Arabic (العربية) */ |
15 | | -$aliases['ar'] = array( |
16 | | - 'RandomInCategory' => array( 'عشوائي_في_تصنيف' ), |
17 | | -); |
18 | | - |
19 | | -/** Egyptian Spoken Arabic (مصرى) */ |
20 | | -$aliases['arz'] = array( |
21 | | - 'RandomInCategory' => array( 'عشوائى_فى_تصنيف' ), |
22 | | -); |
23 | | - |
24 | | -/** Bulgarian (Български) */ |
25 | | -$aliases['bg'] = array( |
26 | | - 'RandomInCategory' => array( 'Случайна страница в категория' ), |
27 | | -); |
28 | | - |
29 | | -/** Bosnian (Bosanski) */ |
30 | | -$aliases['bs'] = array( |
31 | | - 'RandomInCategory' => array( 'SlucajnoUKategoriji' ), |
32 | | -); |
33 | | - |
34 | | -/** German (Deutsch) */ |
35 | | -$aliases['de'] = array( |
36 | | - 'RandomInCategory' => array( 'Zufällige Seite in Kategorie' ), |
37 | | -); |
38 | | - |
39 | | -/** Lower Sorbian (Dolnoserbski) */ |
40 | | -$aliases['dsb'] = array( |
41 | | - 'RandomInCategory' => array( 'Pśipadny bok w kategoriji' ), |
42 | | -); |
43 | | - |
44 | | -/** Finnish (Suomi) */ |
45 | | -$aliases['fi'] = array( |
46 | | - 'RandomInCategory' => array( 'Satunnainen sivu luokasta' ), |
47 | | -); |
48 | | - |
49 | | -/** French (Français) */ |
50 | | -$aliases['fr'] = array( |
51 | | - 'RandomInCategory' => array( 'Page au hasard dans une catégorie' ), |
52 | | -); |
53 | | - |
54 | | -/** Franco-Provençal (Arpetan) */ |
55 | | -$aliases['frp'] = array( |
56 | | - 'RandomInCategory' => array( "Pâge a l'hasârd dens una catègorie", 'PâgeALHasârdDensUnaCatègorie' ), |
57 | | -); |
58 | | - |
59 | | -/** Swiss German (Alemannisch) */ |
60 | | -$aliases['gsw'] = array( |
61 | | - 'RandomInCategory' => array( 'Zuefelligi Kategori' ), |
62 | | -); |
63 | | - |
64 | | -/** Upper Sorbian (Hornjoserbsce) */ |
65 | | -$aliases['hsb'] = array( |
66 | | - 'RandomInCategory' => array( 'Připadna strona w kategoriji' ), |
67 | | -); |
68 | | - |
69 | | -/** Interlingua (Interlingua) */ |
70 | | -$aliases['ia'] = array( |
71 | | - 'RandomInCategory' => array( 'Aleatori in categoria' ), |
72 | | -); |
73 | | - |
74 | | -/** Indonesian (Bahasa Indonesia) */ |
75 | | -$aliases['id'] = array( |
76 | | - 'RandomInCategory' => array( 'Sembarang di kategori', 'SembarangDiKategori' ), |
77 | | -); |
78 | | - |
79 | | -/** Italian (Italiano) */ |
80 | | -$aliases['it'] = array( |
81 | | - 'RandomInCategory' => array( 'CasualeInCategoria' ), |
82 | | -); |
83 | | - |
84 | | -/** Japanese (日本語) */ |
85 | | -$aliases['ja'] = array( |
86 | | - 'RandomInCategory' => array( 'カテゴリ内おまかせ表示', 'カテゴリ中のランダムなページ' ), |
87 | | -); |
88 | | - |
89 | | -/** Colognian (Ripoarisch) */ |
90 | | -$aliases['ksh'] = array( |
91 | | - 'RandomInCategory' => array( 'Zohfällije Sigg uß en Saachjropp' ), |
92 | | -); |
93 | | - |
94 | | -/** Luxembourgish (Lëtzebuergesch) */ |
95 | | -$aliases['lb'] = array( |
96 | | - 'RandomInCategory' => array( 'Zoufälleg Säit aus der Kategorie' ), |
97 | | -); |
98 | | - |
99 | | -/** Malayalam (മലയാളം) */ |
100 | | -$aliases['ml'] = array( |
101 | | - 'RandomInCategory' => array( 'വർഗ്ഗത്തിൽനിന്ന്ക്രമരഹിതം' ), |
102 | | -); |
103 | | - |
104 | | -/** Nedersaksisch (Nedersaksisch) */ |
105 | | -$aliases['nds-nl'] = array( |
106 | | - 'RandomInCategory' => array( 'Willekeurig_in_kattegerie' ), |
107 | | -); |
108 | | - |
109 | | -/** Dutch (Nederlands) */ |
110 | | -$aliases['nl'] = array( |
111 | | - 'RandomInCategory' => array( 'WillekeurigeUitCategorie' ), |
112 | | -); |
113 | | - |
114 | | -/** Norwegian (bokmål) (Norsk (bokmål)) */ |
115 | | -$aliases['no'] = array( |
116 | | - 'RandomInCategory' => array( 'Tilfeldig fra kategori' ), |
117 | | -); |
118 | | - |
119 | | -/** Occitan (Occitan) */ |
120 | | -$aliases['oc'] = array( |
121 | | - 'RandomInCategory' => array( "Pagina a l'azard dins una categoria" ), |
122 | | -); |
123 | | - |
124 | | -/** Sanskrit (संस्कृत) */ |
125 | | -$aliases['sa'] = array( |
126 | | - 'RandomInCategory' => array( 'अविशिष्टवर्ग' ), |
127 | | -); |
128 | | - |
129 | | -/** Slovak (Slovenčina) */ |
130 | | -$aliases['sk'] = array( |
131 | | - 'RandomInCategory' => array( 'NáhodnéVKategórii' ), |
132 | | -); |
133 | | - |
134 | | -/** Tagalog (Tagalog) */ |
135 | | -$aliases['tl'] = array( |
136 | | - 'RandomInCategory' => array( 'Alinmang kaurian' ), |
137 | | -); |
138 | | - |
139 | | -/** Turkish (Türkçe) */ |
140 | | -$aliases['tr'] = array( |
141 | | - 'RandomInCategory' => array( 'RastgeleKategori' ), |
142 | | -); |
143 | | - |
Index: trunk/extensions/RandomInCategory/SpecialRandomincategory.body.php |
— | — | @@ -1,129 +0,0 @@ |
2 | | -<?php |
3 | | - |
4 | | -/** |
5 | | - * Special page to direct the user to a random page in specified category |
6 | | - * |
7 | | - * @addtogroup SpecialPage |
8 | | - */ |
9 | | -class RandomPageInCategory extends SpecialPage { |
10 | | - private $category = null; |
11 | | - |
12 | | - function __construct() { |
13 | | - SpecialPage::SpecialPage( 'RandomInCategory' ); |
14 | | - } |
15 | | - |
16 | | - function getDescription() { |
17 | | - return wfMsg( 'randomincategory' ); |
18 | | - } |
19 | | - |
20 | | - function execute( $par ) { |
21 | | - global $wgOut, $wgRequest; |
22 | | - wfLoadExtensionMessages( 'RandomInCategory' ); |
23 | | - |
24 | | - $this->setHeaders(); |
25 | | - if( is_null( $par ) ) { |
26 | | - if ( $requestCategory = $wgRequest->getVal( 'category' ) ) { |
27 | | - $par = $requestCategory; |
28 | | - } |
29 | | - else { |
30 | | - $wgOut->addHTML( $this->getForm() ); |
31 | | - return; |
32 | | - } |
33 | | - } |
34 | | - |
35 | | - $rnd = $this; |
36 | | - if( !$rnd->setCategory( $par ) ) { |
37 | | - $wgOut->addHTML( $this->getForm( $par ) ); |
38 | | - return; |
39 | | - } |
40 | | - |
41 | | - $title = $rnd->getRandomTitle(); |
42 | | - |
43 | | - if( is_null( $title ) ) { |
44 | | - $wgOut->addWikiText( wfMsg( 'randomincategory-nocategory', $par ) ); |
45 | | - $wgOut->addHTML( $this->getForm( $par ) ); |
46 | | - return; |
47 | | - } |
48 | | - |
49 | | - $wgOut->reportTime(); |
50 | | - $wgOut->redirect( $title->getFullUrl() ); |
51 | | - } |
52 | | - |
53 | | - public function getCategory ( ) { |
54 | | - return $this->namespace; |
55 | | - } |
56 | | - public function setCategory ( $cat ) { |
57 | | - $category = Title::makeTitleSafe( NS_CATEGORY, $cat ); |
58 | | - //Invalid title |
59 | | - if( !$category ) { |
60 | | - return false; |
61 | | - } |
62 | | - $this->category = $category->getDBkey(); |
63 | | - return true; |
64 | | - } |
65 | | - |
66 | | - /** |
67 | | - * Choose a random title. Based on Special:Random |
68 | | - * @return Title object (or null if nothing to choose from) |
69 | | - */ |
70 | | - public function getRandomTitle ( ) { |
71 | | - $randstr = wfRandom(); |
72 | | - $row = $this->selectRandomPageFromDB( $randstr ); |
73 | | - |
74 | | - if( !$row ) |
75 | | - $row = $this->selectRandomPageFromDB( "0" ); |
76 | | - |
77 | | - if( $row ) |
78 | | - return Title::newFromText( $row->page_title, $row->page_namespace ); |
79 | | - else |
80 | | - return null; |
81 | | - } |
82 | | - |
83 | | - private function selectRandomPageFromDB ( $randstr ) { |
84 | | - global $wgExtraRandompageSQL, $wgOut; |
85 | | - $fname = 'RandomPageInCategory::selectRandomPageFromDB'; |
86 | | - |
87 | | - $dbr = wfGetDB( DB_SLAVE ); |
88 | | - |
89 | | - $use_index = $dbr->useIndexClause( 'page_random' ); |
90 | | - $page = $dbr->tableName( 'page' ); |
91 | | - $categorylinks = $dbr->tableName( 'categorylinks' ); |
92 | | - $category = $dbr->addQuotes( $this->category ); |
93 | | - |
94 | | - $extra = $wgExtraRandompageSQL ? "AND ($wgExtraRandompageSQL)" : ""; |
95 | | - $sql = "SELECT page_namespace, page_title |
96 | | - FROM $page $use_index JOIN $categorylinks ON page_id = cl_from |
97 | | - WHERE page_is_redirect = 0 |
98 | | - AND page_random >= $randstr |
99 | | - AND page_namespace != " . NS_CATEGORY . " |
100 | | - AND cl_to = $category |
101 | | - $extra |
102 | | - ORDER BY page_random"; |
103 | | - |
104 | | - $sql = $dbr->limitResult( $sql, 1, 0 ); |
105 | | - $res = $dbr->query( $sql, $fname ); |
106 | | - return $dbr->fetchObject( $res ); |
107 | | - } |
108 | | - |
109 | | - public function getForm( $par = null ) { |
110 | | - global $wgScript, $wgRequest; |
111 | | - |
112 | | - if( !( $category = $par ) ) { |
113 | | - $category = $wgRequest->getVal( 'category' ); |
114 | | - } |
115 | | - |
116 | | - $f = |
117 | | - Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) . |
118 | | - Xml::openElement( 'fieldset' ) . |
119 | | - Xml::element( 'legend', array(), wfMsg( 'randomincategory' ) ) . |
120 | | - Xml::hidden( 'title', $this->getTitle()->getPrefixedText() ) . |
121 | | - Xml::openElement( 'p' ) . |
122 | | - Xml::label( wfMsg( 'randomincategory-label' ), 'category' ) . ' ' . |
123 | | - Xml::input( 'category', null, $category, array( 'id' => 'category' ) ) . ' ' . |
124 | | - Xml::submitButton( wfMsg( 'randomincategory-submit' ) ) . |
125 | | - Xml::closeElement( 'p' ) . |
126 | | - Xml::closeElement( 'fieldset' ) . |
127 | | - Xml::closeElement( 'form' ); |
128 | | - return $f; |
129 | | - } |
130 | | -} |
Index: trunk/extensions/RandomInCategory/SpecialRandomincategory.i18n.php |
— | — | @@ -1,1053 +0,0 @@ |
2 | | -<?php |
3 | | -/** |
4 | | - * Internationalisation file for extension RandomInCategory. |
5 | | - * |
6 | | - * @addtogroup Extensions |
7 | | -*/ |
8 | | - |
9 | | -$messages = array(); |
10 | | - |
11 | | -$messages['en'] = array( |
12 | | - 'randomincategory' => 'Random page in category', |
13 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Special page]] to get a random page in category', |
14 | | - 'randomincategory-toolbox' => 'Random page', |
15 | | - 'randomincategory-nocategory' => 'Category $1 does not exist or is empty', |
16 | | - 'randomincategory-label' => 'Category:', |
17 | | - 'randomincategory-submit' => 'Go', |
18 | | -); |
19 | | - |
20 | | -/** Message documentation (Message documentation) |
21 | | - * @author Jon Harald Søby |
22 | | - * @author Purodha |
23 | | - * @author SPQRobin |
24 | | - */ |
25 | | -$messages['qqq'] = array( |
26 | | - 'randomincategory' => 'Part of the "RandomInCategory" extension. This message is the title of the special page [[Special:Randomincategory]].', |
27 | | - 'randomincategory-desc' => 'Shown in [[Special:Version]] as a short description of this extension. Do not translate links.', |
28 | | - 'randomincategory-toolbox' => 'Part of the "RandomInCategory" extension. This message is shown in the toolbox, but only on category pages. It goes directly to a random page in the category you are viewing. You can also go the the special page [[MediaWiki:Randomincategory/{{SUBPAGENAME}}|Special:Randomincategory]] to enter a category name manually. |
29 | | - |
30 | | -{{Identical|Random page}}', |
31 | | - 'randomincategory-nocategory' => 'Part of the "RandomInCategory" extension. This message is an error if you requested a random page in a category which does not exist.', |
32 | | - 'randomincategory-label' => 'Part of the "RandomInCategory" extension. This message is next to the inputbox to type the name of a category. |
33 | | - |
34 | | -{{Identical|Category}}', |
35 | | - 'randomincategory-submit' => 'Part of the "RandomInCategory" extension. This message is the text of the submit button on the special page [[MediaWiki:Randomincategory/{{SUBPAGENAME}}|Special:Randomincategory]]. |
36 | | - |
37 | | -{{Identical|Go}}', |
38 | | -); |
39 | | - |
40 | | -/** Niuean (ko e vagahau Niuē) |
41 | | - * @author Jose77 |
42 | | - */ |
43 | | -$messages['niu'] = array( |
44 | | - 'randomincategory-toolbox' => 'Lau fifili', |
45 | | - 'randomincategory-submit' => 'Fano', |
46 | | -); |
47 | | - |
48 | | -/** Afrikaans (Afrikaans) |
49 | | - * @author Arnobarnard |
50 | | - * @author Naudefj |
51 | | - */ |
52 | | -$messages['af'] = array( |
53 | | - 'randomincategory-toolbox' => 'Lukrake bladsy', |
54 | | - 'randomincategory-label' => 'Kategorie:', |
55 | | - 'randomincategory-submit' => 'Laat waai', |
56 | | -); |
57 | | - |
58 | | -/** Amharic (አማርኛ) |
59 | | - * @author Codex Sinaiticus |
60 | | - */ |
61 | | -$messages['am'] = array( |
62 | | - 'randomincategory-label' => 'መደብ:', |
63 | | -); |
64 | | - |
65 | | -/** Arabic (العربية) |
66 | | - * @author Meno25 |
67 | | - */ |
68 | | -$messages['ar'] = array( |
69 | | - 'randomincategory' => 'صفحة عشوائية في التصنيف', |
70 | | - 'randomincategory-desc' => '[[Special:Randomincategory|صفحة خاصة]] للحصول على صفحة عشوائية في تصنيف', |
71 | | - 'randomincategory-toolbox' => 'صفحة عشوائية', |
72 | | - 'randomincategory-nocategory' => 'التصنيف $1 غير موجود أو فارغ', |
73 | | - 'randomincategory-label' => 'التصنيف:', |
74 | | - 'randomincategory-submit' => 'اذهب', |
75 | | -); |
76 | | - |
77 | | -/** Aramaic (ܐܪܡܝܐ) |
78 | | - * @author Basharh |
79 | | - */ |
80 | | -$messages['arc'] = array( |
81 | | - 'randomincategory' => 'ܦܐܬܐ ܚܘܚܬܐ ܒܣܕܪܐ', |
82 | | - 'randomincategory-label' => 'ܣܕܪܐ:', |
83 | | - 'randomincategory-submit' => 'ܙܠ', |
84 | | -); |
85 | | - |
86 | | -/** Egyptian Spoken Arabic (مصرى) |
87 | | - * @author Meno25 |
88 | | - */ |
89 | | -$messages['arz'] = array( |
90 | | - 'randomincategory' => 'صفحة عشوائية فى التصنيف', |
91 | | - 'randomincategory-desc' => '[[Special:Randomincategory|صفحة خاصة]] للحصول على صفحة عشوائية فى تصنيف', |
92 | | - 'randomincategory-toolbox' => 'صفحة عشوائية', |
93 | | - 'randomincategory-nocategory' => 'التصنيف $1 غير موجود أو فارغ', |
94 | | - 'randomincategory-label' => 'التصنيف:', |
95 | | - 'randomincategory-submit' => 'اذهب', |
96 | | -); |
97 | | - |
98 | | -/** Belarusian (Taraškievica orthography) (Беларуская (тарашкевіца)) |
99 | | - * @author EugeneZelenko |
100 | | - * @author Jim-by |
101 | | - */ |
102 | | -$messages['be-tarask'] = array( |
103 | | - 'randomincategory' => 'Выпадковая старонка ў катэгорыі', |
104 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Спэцыяльная старонка]] для атрыманьня выпадковай старонкі ў катэгорыі', |
105 | | - 'randomincategory-toolbox' => 'Выпадковая старонка', |
106 | | - 'randomincategory-nocategory' => 'Катэгорыя $1 не існуе альбо пустая', |
107 | | - 'randomincategory-label' => 'Катэгорыя:', |
108 | | - 'randomincategory-submit' => 'Перайсьці', |
109 | | -); |
110 | | - |
111 | | -/** Bulgarian (Български) |
112 | | - * @author DCLXVI |
113 | | - */ |
114 | | -$messages['bg'] = array( |
115 | | - 'randomincategory' => 'Случайна страница в категорията', |
116 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Специална страница]] за извличане на случайна страница от категория', |
117 | | - 'randomincategory-toolbox' => 'Случайна страница', |
118 | | - 'randomincategory-nocategory' => 'Категорията $1 не съществува или е празна', |
119 | | - 'randomincategory-label' => 'Категория:', |
120 | | - 'randomincategory-submit' => 'Отваряне', |
121 | | -); |
122 | | - |
123 | | -/** Bengali (বাংলা) |
124 | | - * @author Bellayet |
125 | | - */ |
126 | | -$messages['bn'] = array( |
127 | | - 'randomincategory-toolbox' => 'অজানা পাতা', |
128 | | - 'randomincategory-label' => 'বিশয়শ্রেণী:', |
129 | | - 'randomincategory-submit' => 'যাও', |
130 | | -); |
131 | | - |
132 | | -/** Breton (Brezhoneg) |
133 | | - * @author Fulup |
134 | | - */ |
135 | | -$messages['br'] = array( |
136 | | - 'randomincategory' => 'Ur bajenn dre zegouezh er rummad', |
137 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Pajenn dibar]] da gaout ur bajenn dre zegouezh er rummad', |
138 | | - 'randomincategory-toolbox' => 'Pajenn dre zegouezh', |
139 | | - 'randomincategory-nocategory' => "Goullo eo ar rummad $1 pe n'eus ket anezhañ", |
140 | | - 'randomincategory-label' => 'Rummad :', |
141 | | - 'randomincategory-submit' => 'Mont', |
142 | | -); |
143 | | - |
144 | | -/** Bosnian (Bosanski) |
145 | | - * @author CERminator |
146 | | - */ |
147 | | -$messages['bs'] = array( |
148 | | - 'randomincategory' => 'Slučajna stranica u kategoriji', |
149 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Posebna stranica]] za prikaz slučajne stranice u kategoriji', |
150 | | - 'randomincategory-toolbox' => 'Slučajna stranica', |
151 | | - 'randomincategory-nocategory' => 'Kategorija $1 ne postoji ili je prazna', |
152 | | - 'randomincategory-label' => 'Kategorija:', |
153 | | - 'randomincategory-submit' => 'Idi', |
154 | | -); |
155 | | - |
156 | | -/** Catalan (Català) |
157 | | - * @author SMP |
158 | | - */ |
159 | | -$messages['ca'] = array( |
160 | | - 'randomincategory-label' => 'Categoria:', |
161 | | - 'randomincategory-submit' => 'Vés-hi', |
162 | | -); |
163 | | - |
164 | | -/** Chamorro (Chamoru) |
165 | | - * @author Jatrobat |
166 | | - */ |
167 | | -$messages['ch'] = array( |
168 | | - 'randomincategory-submit' => 'Hånao', |
169 | | -); |
170 | | - |
171 | | -/** Czech (Česky) |
172 | | - * @author Danny B. |
173 | | - */ |
174 | | -$messages['cs'] = array( |
175 | | - 'randomincategory' => 'Náhodná stránka v kategorii', |
176 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Speciální stránka]] na výběr náhodné stránky z kategorie', |
177 | | - 'randomincategory-toolbox' => 'Náhodná stránka', |
178 | | - 'randomincategory-nocategory' => 'Kategorie „$1“ neexistuje nebo je prázdná', |
179 | | - 'randomincategory-label' => 'Kategorie:', |
180 | | - 'randomincategory-submit' => 'Jít na', |
181 | | -); |
182 | | - |
183 | | -/** Danish (Dansk) |
184 | | - * @author Jon Harald Søby |
185 | | - */ |
186 | | -$messages['da'] = array( |
187 | | - 'randomincategory-toolbox' => 'Tilfældig side', |
188 | | - 'randomincategory-label' => 'Kategori:', |
189 | | -); |
190 | | - |
191 | | -/** German (Deutsch) |
192 | | - * @author Raimond Spekking |
193 | | - */ |
194 | | -$messages['de'] = array( |
195 | | - 'randomincategory' => 'Zufällige Seite in einer Kategorie', |
196 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Spezialseite]], um eine zufällige Seite auf einer Kategorie zu holen', |
197 | | - 'randomincategory-toolbox' => 'Zufällige Seite', |
198 | | - 'randomincategory-nocategory' => 'Kategorie $1 ist nicht vorhanden oder leer', |
199 | | - 'randomincategory-label' => 'Kategorie:', |
200 | | - 'randomincategory-submit' => 'OK', |
201 | | -); |
202 | | - |
203 | | -/** Lower Sorbian (Dolnoserbski) |
204 | | - * @author Michawiki |
205 | | - */ |
206 | | -$messages['dsb'] = array( |
207 | | - 'randomincategory' => 'Pśipadny bok w kategoriji', |
208 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Specialny bok]], aby se pśipórał pśipadny bok w kategoriji', |
209 | | - 'randomincategory-toolbox' => 'Pśipadny bok', |
210 | | - 'randomincategory-nocategory' => 'Kategorija $1 njeeksistěrujo abo jo prozna', |
211 | | - 'randomincategory-label' => 'Kategorija:', |
212 | | - 'randomincategory-submit' => 'W pórěźe', |
213 | | -); |
214 | | - |
215 | | -/** Greek (Ελληνικά) |
216 | | - * @author Consta |
217 | | - * @author Omnipaedista |
218 | | - * @author ZaDiak |
219 | | - */ |
220 | | -$messages['el'] = array( |
221 | | - 'randomincategory' => 'Τυχαία σελίδα στην κατηγορία', |
222 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Ειδική σελίδα]] για την λήψη τυχαίας σελίδας στην κατηγορία', |
223 | | - 'randomincategory-toolbox' => 'Τυχαία σελίδα', |
224 | | - 'randomincategory-nocategory' => 'Η κατηγορία $1 δεν υπάρχει ή είναι άδεια', |
225 | | - 'randomincategory-label' => 'Κατηγορία:', |
226 | | - 'randomincategory-submit' => 'Πήγαινε', |
227 | | -); |
228 | | - |
229 | | -/** Esperanto (Esperanto) |
230 | | - * @author Yekrats |
231 | | - */ |
232 | | -$messages['eo'] = array( |
233 | | - 'randomincategory' => 'Hazarda paĝo en kategorio', |
234 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Speciala paĝo]] por iri al hazarda paĝo en kategorio', |
235 | | - 'randomincategory-toolbox' => 'Hazarda paĝo', |
236 | | - 'randomincategory-nocategory' => 'Kategorio $1 ne ekzistas aŭ estas malplena', |
237 | | - 'randomincategory-label' => 'Kategorio:', |
238 | | - 'randomincategory-submit' => 'Ek!', |
239 | | -); |
240 | | - |
241 | | -/** Spanish (Español) |
242 | | - * @author Crazymadlover |
243 | | - * @author Imre |
244 | | - * @author Jatrobat |
245 | | - * @author Sanbec |
246 | | - */ |
247 | | -$messages['es'] = array( |
248 | | - 'randomincategory' => 'Página aleatoria en categoría', |
249 | | - 'randomincategory-desc' => '[[Special:Randomincategory|página especial]] para obtener una página aleatoria en categoría', |
250 | | - 'randomincategory-toolbox' => 'Página aleatoria', |
251 | | - 'randomincategory-nocategory' => 'Categoría $1 no existe o está vacía', |
252 | | - 'randomincategory-label' => 'Categoría:', |
253 | | - 'randomincategory-submit' => 'Ir', |
254 | | -); |
255 | | - |
256 | | -/** Basque (Euskara) |
257 | | - * @author An13sa |
258 | | - */ |
259 | | -$messages['eu'] = array( |
260 | | - 'randomincategory-toolbox' => 'Ausazko orria', |
261 | | - 'randomincategory-label' => 'Kategoria:', |
262 | | - 'randomincategory-submit' => 'Joan', |
263 | | -); |
264 | | - |
265 | | -/** Finnish (Suomi) |
266 | | - * @author Cimon Avaro |
267 | | - * @author Crt |
268 | | - * @author Mobe |
269 | | - * @author Str4nd |
270 | | - */ |
271 | | -$messages['fi'] = array( |
272 | | - 'randomincategory' => 'Satunnainen sivu luokassa', |
273 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Toimintosivu]], josta saa luokkakohtaisen satunnaisen sivun.', |
274 | | - 'randomincategory-toolbox' => 'Satunnainen sivu', |
275 | | - 'randomincategory-nocategory' => 'Luokkaa $1 ei ole tai se on tyhjä.', |
276 | | - 'randomincategory-label' => 'Luokka', |
277 | | - 'randomincategory-submit' => 'Siirry', |
278 | | -); |
279 | | - |
280 | | -/** French (Français) |
281 | | - * @author Cedric31 |
282 | | - * @author Grondin |
283 | | - * @author Louperivois |
284 | | - */ |
285 | | -$messages['fr'] = array( |
286 | | - 'randomincategory' => 'Page au hasard dans la catégorie', |
287 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Page spéciale]] pour obtenir une page au hasard dans une catégorie', |
288 | | - 'randomincategory-toolbox' => 'Page au hasard', |
289 | | - 'randomincategory-nocategory' => 'La catégorie « $1 » n’existe pas ou est vide', |
290 | | - 'randomincategory-label' => 'Catégorie :', |
291 | | - 'randomincategory-submit' => 'Lancer', |
292 | | -); |
293 | | - |
294 | | -/** Franco-Provençal (Arpetan) |
295 | | - * @author Cedric31 |
296 | | - */ |
297 | | -$messages['frp'] = array( |
298 | | - 'randomincategory-label' => 'Catègorie :', |
299 | | - 'randomincategory-submit' => 'Lanciér', |
300 | | -); |
301 | | - |
302 | | -/** Western Frisian (Frysk) |
303 | | - * @author Snakesteuben |
304 | | - */ |
305 | | -$messages['fy'] = array( |
306 | | - 'randomincategory-label' => 'Kategory:', |
307 | | -); |
308 | | - |
309 | | -/** Irish (Gaeilge) |
310 | | - * @author Moilleadóir |
311 | | - */ |
312 | | -$messages['ga'] = array( |
313 | | - 'randomincategory-label' => 'Catagóir:', |
314 | | -); |
315 | | - |
316 | | -/** Galician (Galego) |
317 | | - * @author Alma |
318 | | - * @author Toliño |
319 | | - */ |
320 | | -$messages['gl'] = array( |
321 | | - 'randomincategory' => 'Páxina aleatoria na categoría', |
322 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Páxina especial]] para obter unha páxina aleatoria dentro dunha categoría', |
323 | | - 'randomincategory-toolbox' => 'Páxina aleatoria', |
324 | | - 'randomincategory-nocategory' => 'A categoría $1 non existe ou está baleira', |
325 | | - 'randomincategory-label' => 'Categoría:', |
326 | | - 'randomincategory-submit' => 'Adiante', |
327 | | -); |
328 | | - |
329 | | -/** Ancient Greek (Ἀρχαία ἑλληνικὴ) |
330 | | - * @author Crazymadlover |
331 | | - */ |
332 | | -$messages['grc'] = array( |
333 | | - 'randomincategory-label' => 'Κατηγορία:', |
334 | | - 'randomincategory-submit' => 'Ἱέναι', |
335 | | -); |
336 | | - |
337 | | -/** Swiss German (Alemannisch) |
338 | | - * @author Als-Holder |
339 | | - */ |
340 | | -$messages['gsw'] = array( |
341 | | - 'randomincategory' => 'Zuefelligi Syte in ere Kategorii', |
342 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Spezialsyte]] zum e zuefelligi Syte in ere Kategorii z hole', |
343 | | - 'randomincategory-toolbox' => 'Zuefelligi Syte', |
344 | | - 'randomincategory-nocategory' => 'Kategorii $1 git s nit oder isch läär', |
345 | | - 'randomincategory-label' => 'Kategorii:', |
346 | | - 'randomincategory-submit' => 'Gang', |
347 | | -); |
348 | | - |
349 | | -/** Manx (Gaelg) |
350 | | - * @author MacTire02 |
351 | | - */ |
352 | | -$messages['gv'] = array( |
353 | | - 'randomincategory-toolbox' => 'Duillag gyn tort', |
354 | | - 'randomincategory-label' => 'Ronney:', |
355 | | - 'randomincategory-submit' => 'Gow', |
356 | | -); |
357 | | - |
358 | | -/** Hawaiian (Hawai`i) |
359 | | - * @author Singularity |
360 | | - */ |
361 | | -$messages['haw'] = array( |
362 | | - 'randomincategory-toolbox' => 'Akikala kaulele', |
363 | | - 'randomincategory-label' => 'Mahele:', |
364 | | -); |
365 | | - |
366 | | -/** Hebrew (עברית) |
367 | | - * @author Agbad |
368 | | - * @author Rotemliss |
369 | | - */ |
370 | | -$messages['he'] = array( |
371 | | - 'randomincategory' => 'דף אקראי בקטגוריה', |
372 | | - 'randomincategory-desc' => '[[Special:Randomincategory|דף מיוחד]] לקבלת דף אקראי בקטגוריה', |
373 | | - 'randomincategory-toolbox' => 'דף אקראי', |
374 | | - 'randomincategory-nocategory' => 'הקטגוריה $1 אינה קיימת או שהיא ריקה', |
375 | | - 'randomincategory-label' => 'קטגוריה:', |
376 | | - 'randomincategory-submit' => 'הצגה', |
377 | | -); |
378 | | - |
379 | | -/** Hindi (हिन्दी) |
380 | | - * @author Kaustubh |
381 | | - */ |
382 | | -$messages['hi'] = array( |
383 | | - 'randomincategory' => 'श्रेणीमें से कोईभी पन्ना', |
384 | | - 'randomincategory-toolbox' => 'अविशिष्ट पृष्ठ', |
385 | | - 'randomincategory-label' => 'श्रेणी:', |
386 | | - 'randomincategory-submit' => 'जायें', |
387 | | -); |
388 | | - |
389 | | -/** Hiligaynon (Ilonggo) |
390 | | - * @author Jose77 |
391 | | - * @author Tagimata |
392 | | - */ |
393 | | -$messages['hil'] = array( |
394 | | - 'randomincategory' => 'Lagpatan nga pahina sa kategorya', |
395 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Special page]] para makuha ang palagpat nga pahina sa kategorya', |
396 | | - 'randomincategory-toolbox' => 'Lagpat nga Panid', |
397 | | - 'randomincategory-nocategory' => 'Kategorya $1 wala pa nahimuan o blangko ini', |
398 | | - 'randomincategory-label' => 'Kategorya:', |
399 | | - 'randomincategory-submit' => 'Lakat', |
400 | | -); |
401 | | - |
402 | | -/** Croatian (Hrvatski) |
403 | | - * @author Dalibor Bosits |
404 | | - */ |
405 | | -$messages['hr'] = array( |
406 | | - 'randomincategory-submit' => 'Kreni', |
407 | | -); |
408 | | - |
409 | | -/** Upper Sorbian (Hornjoserbsce) |
410 | | - * @author Michawiki |
411 | | - */ |
412 | | -$messages['hsb'] = array( |
413 | | - 'randomincategory' => 'Připadna strona w kategoriji', |
414 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Specialna strona]], zo by připadnu stronu do kategorije přewzała', |
415 | | - 'randomincategory-toolbox' => 'Připadna strona', |
416 | | - 'randomincategory-nocategory' => 'Kategorija $1 njeeksistuje abo je prózdna', |
417 | | - 'randomincategory-label' => 'Kategorija:', |
418 | | - 'randomincategory-submit' => 'W porjadku', |
419 | | -); |
420 | | - |
421 | | -/** Hungarian (Magyar) |
422 | | - * @author Dani |
423 | | - * @author Glanthor Reviol |
424 | | - */ |
425 | | -$messages['hu'] = array( |
426 | | - 'randomincategory' => 'Véletlen lap egy kategóriából', |
427 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Speciális lap]] véletlen lap eléréséhez adott kategóriában', |
428 | | - 'randomincategory-toolbox' => 'Véletlen lap', |
429 | | - 'randomincategory-nocategory' => '$1 névvel nem létezik kategória vagy üres.', |
430 | | - 'randomincategory-label' => 'Kategória:', |
431 | | - 'randomincategory-submit' => 'Menj', |
432 | | -); |
433 | | - |
434 | | -/** Interlingua (Interlingua) |
435 | | - * @author McDutchie |
436 | | - */ |
437 | | -$messages['ia'] = array( |
438 | | - 'randomincategory' => 'Pagina aleatori in categoria', |
439 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Pagina special]] pro obtener un pagina aleatori in un categoria', |
440 | | - 'randomincategory-toolbox' => 'Pagina aleatori', |
441 | | - 'randomincategory-nocategory' => 'Le categoria $1 non existe o es vacue', |
442 | | - 'randomincategory-label' => 'Categoria:', |
443 | | - 'randomincategory-submit' => 'Ir', |
444 | | -); |
445 | | - |
446 | | -/** Indonesian (Bahasa Indonesia) |
447 | | - * @author Bennylin |
448 | | - * @author Rex |
449 | | - */ |
450 | | -$messages['id'] = array( |
451 | | - 'randomincategory' => 'Halaman sembarang di kategori', |
452 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Halaman istimewa]] untuk melihat halaman sembarang di kategori', |
453 | | - 'randomincategory-toolbox' => 'Halaman sembarang', |
454 | | - 'randomincategory-nocategory' => 'Kategori $1 tidak ada atau kosong', |
455 | | - 'randomincategory-label' => 'Kategori:', |
456 | | - 'randomincategory-submit' => 'Tuju ke', |
457 | | -); |
458 | | - |
459 | | -/** Ido (Ido) |
460 | | - * @author Wyvernoid |
461 | | - */ |
462 | | -$messages['io'] = array( |
463 | | - 'randomincategory-toolbox' => 'Hazarda pagino', |
464 | | -); |
465 | | - |
466 | | -/** Icelandic (Íslenska) |
467 | | - * @author S.Örvarr.S |
468 | | - */ |
469 | | -$messages['is'] = array( |
470 | | - 'randomincategory-label' => 'Flokkur:', |
471 | | -); |
472 | | - |
473 | | -/** Italian (Italiano) |
474 | | - * @author Darth Kule |
475 | | - */ |
476 | | -$messages['it'] = array( |
477 | | - 'randomincategory' => 'Pagina casuale in una categoria', |
478 | | - 'randomincategory-desc' => "[[Special:Randomincategory|Pagina speciale]] che dà una pagina casuale all'interno di una categoria", |
479 | | - 'randomincategory-toolbox' => 'Una pagina a caso', |
480 | | - 'randomincategory-nocategory' => 'La categoria $1 non esiste o è vuota', |
481 | | - 'randomincategory-label' => 'Categoria:', |
482 | | - 'randomincategory-submit' => 'Vai', |
483 | | -); |
484 | | - |
485 | | -/** Japanese (日本語) |
486 | | - * @author Fryed-peach |
487 | | - * @author Hosiryuhosi |
488 | | - */ |
489 | | -$messages['ja'] = array( |
490 | | - 'randomincategory' => 'カテゴリ中のランダムなページ', |
491 | | - 'randomincategory-desc' => 'カテゴリ中からページを無作為抽出するための[[Special:Randomincategory|特別ページ]]', |
492 | | - 'randomincategory-toolbox' => 'おまかせ表示', |
493 | | - 'randomincategory-nocategory' => 'カテゴリ $1 は存在しないか、空です', |
494 | | - 'randomincategory-label' => 'カテゴリ:', |
495 | | - 'randomincategory-submit' => '表示', |
496 | | -); |
497 | | - |
498 | | -/** Javanese (Basa Jawa) |
499 | | - * @author Meursault2004 |
500 | | - */ |
501 | | -$messages['jv'] = array( |
502 | | - 'randomincategory' => 'Sembarang kaca ing kategori', |
503 | | - 'randomincategory-toolbox' => 'Kaca sembarang', |
504 | | - 'randomincategory-nocategory' => 'Kategori $1 ora ana utawa kosong', |
505 | | - 'randomincategory-label' => 'Kategori:', |
506 | | - 'randomincategory-submit' => 'Tumuju', |
507 | | -); |
508 | | - |
509 | | -/** Khmer (ភាសាខ្មែរ) |
510 | | - * @author Chhorran |
511 | | - * @author Lovekhmer |
512 | | - */ |
513 | | -$messages['km'] = array( |
514 | | - 'randomincategory' => 'ទំព័រព្រាវ ក្នុងចំណាត់ក្រុម', |
515 | | - 'randomincategory-desc' => '[[Special:Randomincategory|ទំព័រពិសេស]] ដើម្បីទទួលបាន ទំព័រព្រាវ ក្នុងចំណាត់ក្រុម', |
516 | | - 'randomincategory-toolbox' => 'ទំព័រចៃដន្យ', |
517 | | - 'randomincategory-nocategory' => 'ចំណាត់ក្រុម $1 មិនមាន ឬ ទទេ', |
518 | | - 'randomincategory-label' => 'ចំណាត់ថ្នាក់ក្រុម៖', |
519 | | - 'randomincategory-submit' => 'ទៅ', |
520 | | -); |
521 | | - |
522 | | -/** Kannada (ಕನ್ನಡ) |
523 | | - * @author Nayvik |
524 | | - */ |
525 | | -$messages['kn'] = array( |
526 | | - 'randomincategory-label' => 'ವರ್ಗ:', |
527 | | - 'randomincategory-submit' => 'ಹೋಗು', |
528 | | -); |
529 | | - |
530 | | -/** Krio (Krio) |
531 | | - * @author Jose77 |
532 | | - */ |
533 | | -$messages['kri'] = array( |
534 | | - 'randomincategory-submit' => 'Go to am', |
535 | | -); |
536 | | - |
537 | | -/** Kinaray-a (Kinaray-a) |
538 | | - * @author Jose77 |
539 | | - */ |
540 | | -$messages['krj'] = array( |
541 | | - 'randomincategory-label' => 'Kategorya:', |
542 | | - 'randomincategory-submit' => 'Agto', |
543 | | -); |
544 | | - |
545 | | -/** Ripoarisch (Ripoarisch) |
546 | | - * @author Purodha |
547 | | - */ |
548 | | -$messages['ksh'] = array( |
549 | | - 'randomincategory' => '{{int:randompage}} en ene Saachjrupp', |
550 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Söndersigg]], öm en zofälleje Sigg uß ene Saachjrupp ze krijje.', |
551 | | - 'randomincategory-toolbox' => '{{int:randompage}} en de Saachjrupp', |
552 | | - 'randomincategory-nocategory' => 'De Saachjrupp „$1“ jidd_et nit, udder_et sin_er kei Sigge dren', |
553 | | - 'randomincategory-label' => 'Saachjrupp:', |
554 | | - 'randomincategory-submit' => 'Loß Jonn!', |
555 | | -); |
556 | | - |
557 | | -/** Cornish (Kernowek) |
558 | | - * @author Kw-Moon |
559 | | - */ |
560 | | -$messages['kw'] = array( |
561 | | - 'randomincategory-toolbox' => 'Folen dre jons', |
562 | | -); |
563 | | - |
564 | | -/** Latin (Latina) |
565 | | - * @author UV |
566 | | - */ |
567 | | -$messages['la'] = array( |
568 | | - 'randomincategory' => 'Pagina fortuita in categoria', |
569 | | - 'randomincategory-toolbox' => 'Pagina fortuita', |
570 | | - 'randomincategory-nocategory' => 'Categoria $1 aut non est aut est vacua', |
571 | | - 'randomincategory-label' => 'Categoria:', |
572 | | - 'randomincategory-submit' => 'Ire', |
573 | | -); |
574 | | - |
575 | | -/** Luxembourgish (Lëtzebuergesch) |
576 | | - * @author Robby |
577 | | - */ |
578 | | -$messages['lb'] = array( |
579 | | - 'randomincategory' => 'Zoufälleg Säit an däer Kategorie', |
580 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Spezialsäit]], fir eng zoufälleg Säite vun enger Kategorie ze weisen', |
581 | | - 'randomincategory-toolbox' => 'Zoufälleg Säit', |
582 | | - 'randomincategory-nocategory' => "D'Kategorie $1 gëtt et net oder si ass eidel", |
583 | | - 'randomincategory-label' => 'Kategorie:', |
584 | | - 'randomincategory-submit' => 'Lass', |
585 | | -); |
586 | | - |
587 | | -/** Lumbaart (Lumbaart) |
588 | | - * @author Dakrismeno |
589 | | - */ |
590 | | -$messages['lmo'] = array( |
591 | | - 'randomincategory-toolbox' => 'Una pagina a cas', |
592 | | - 'randomincategory-nocategory' => "La categuria $1 o l'esista mia o l'è vöda", |
593 | | -); |
594 | | - |
595 | | -/** Lithuanian (Lietuvių) |
596 | | - * @author Homo |
597 | | - */ |
598 | | -$messages['lt'] = array( |
599 | | - 'randomincategory' => 'Atsitiktinis kategorijos puslapis', |
600 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Specialusis puslapis]], skirtas gauti atsitiktinį kategorijos puslapį', |
601 | | - 'randomincategory-toolbox' => 'Atsitiktinis puslapis', |
602 | | - 'randomincategory-nocategory' => 'Kategorija $1 neegzistuoja ar yra tuščia', |
603 | | - 'randomincategory-label' => 'Kategorija:', |
604 | | - 'randomincategory-submit' => 'Eiti', |
605 | | -); |
606 | | - |
607 | | -/** Eastern Mari (Олык Марий) |
608 | | - * @author Сай |
609 | | - */ |
610 | | -$messages['mhr'] = array( |
611 | | - 'randomincategory-toolbox' => 'Вучыдымо (случайный) статья', |
612 | | -); |
613 | | - |
614 | | -/** Macedonian (Македонски) |
615 | | - * @author Bjankuloski06 |
616 | | - */ |
617 | | -$messages['mk'] = array( |
618 | | - 'randomincategory' => 'Случајна страница во категорија', |
619 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Специјална страница]] за добивање на случајна страница во категорија', |
620 | | - 'randomincategory-toolbox' => 'Случајна страница', |
621 | | - 'randomincategory-nocategory' => 'Категоријата $1 не постои или е празна', |
622 | | - 'randomincategory-label' => 'Категорија:', |
623 | | - 'randomincategory-submit' => 'Оди', |
624 | | -); |
625 | | - |
626 | | -/** Malayalam (മലയാളം) |
627 | | - * @author Shijualex |
628 | | - */ |
629 | | -$messages['ml'] = array( |
630 | | - 'randomincategory-nocategory' => '$1 എന്ന വർഗ്ഗം നിലവിലില്ല അല്ലെങ്കിൽ ശൂന്യമാണ്', |
631 | | - 'randomincategory-label' => 'വർഗ്ഗം:', |
632 | | - 'randomincategory-submit' => 'പോകൂ', |
633 | | -); |
634 | | - |
635 | | -/** Marathi (मराठी) |
636 | | - * @author Kaustubh |
637 | | - */ |
638 | | -$messages['mr'] = array( |
639 | | - 'randomincategory' => 'वर्गातील अविशिष्ट पान', |
640 | | - 'randomincategory-desc' => 'वर्गातील अविशिष्ट पान मिळविण्यासाठीचे [[Special:Randomincategory|विशेष पान]]', |
641 | | - 'randomincategory-toolbox' => 'अविशिष्ट पान', |
642 | | - 'randomincategory-nocategory' => '$1 वर्ग अस्तित्वात नाही किंवा रिकामा आहे', |
643 | | - 'randomincategory-label' => 'वर्ग:', |
644 | | - 'randomincategory-submit' => 'चला', |
645 | | -); |
646 | | - |
647 | | -/** Malay (Bahasa Melayu) |
648 | | - * @author Aurora |
649 | | - */ |
650 | | -$messages['ms'] = array( |
651 | | - 'randomincategory-label' => 'Kategori:', |
652 | | -); |
653 | | - |
654 | | -/** Erzya (Эрзянь) |
655 | | - * @author Botuzhaleny-sodamo |
656 | | - */ |
657 | | -$messages['myv'] = array( |
658 | | - 'randomincategory-submit' => 'Адя', |
659 | | -); |
660 | | - |
661 | | -/** Nahuatl (Nāhuatl) |
662 | | - * @author Fluence |
663 | | - */ |
664 | | -$messages['nah'] = array( |
665 | | - 'randomincategory-toolbox' => 'Zāzozāzanilli', |
666 | | - 'randomincategory-label' => 'Neneuhcāyōtl:', |
667 | | - 'randomincategory-submit' => 'Yāuh', |
668 | | -); |
669 | | - |
670 | | -/** Dutch (Nederlands) |
671 | | - * @author SPQRobin |
672 | | - * @author Siebrand |
673 | | - */ |
674 | | -$messages['nl'] = array( |
675 | | - 'randomincategory' => 'Willekeurige pagina in een categorie', |
676 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Speciale pagina]] om een willekeurige pagina in een categorie weer te geven', |
677 | | - 'randomincategory-toolbox' => 'Willekeurige pagina', |
678 | | - 'randomincategory-nocategory' => 'Categorie $1 bestaat niet of is leeg', |
679 | | - 'randomincategory-label' => 'Categorie:', |
680 | | - 'randomincategory-submit' => 'OK', |
681 | | -); |
682 | | - |
683 | | -/** Norwegian Nynorsk (Norsk (nynorsk)) |
684 | | - * @author Harald Khan |
685 | | - * @author Jon Harald Søby |
686 | | - */ |
687 | | -$messages['nn'] = array( |
688 | | - 'randomincategory' => 'Tilfeldig sida frå ein kategori', |
689 | | - 'randomincategory-desc' => 'Ei [[Special:Randomincategory|spesialsida]] for å få ei tilfeldig sida frå ein kategori', |
690 | | - 'randomincategory-toolbox' => 'Tilfeldig side', |
691 | | - 'randomincategory-nocategory' => 'Kategorien $1 finst ikkje, eller er tom', |
692 | | - 'randomincategory-label' => 'Kategori:', |
693 | | - 'randomincategory-submit' => 'Gå', |
694 | | -); |
695 | | - |
696 | | -/** Norwegian (bokmål) (Norsk (bokmål)) |
697 | | - * @author Harald Khan |
698 | | - * @author Jon Harald Søby |
699 | | - */ |
700 | | -$messages['no'] = array( |
701 | | - 'randomincategory' => 'Tilfeldig side fra en kategori', |
702 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Spesialside]] for å få en tilfeldig side fra en kategori', |
703 | | - 'randomincategory-toolbox' => 'Tilfeldig side', |
704 | | - 'randomincategory-nocategory' => 'Kategorien $1 finnes ikke, eller er tom', |
705 | | - 'randomincategory-label' => 'Kategori:', |
706 | | - 'randomincategory-submit' => '{{int:Go}}', |
707 | | -); |
708 | | - |
709 | | -/** Northern Sotho (Sesotho sa Leboa) |
710 | | - * @author Mohau |
711 | | - */ |
712 | | -$messages['nso'] = array( |
713 | | - 'randomincategory-submit' => 'Sepela', |
714 | | -); |
715 | | - |
716 | | -/** Occitan (Occitan) |
717 | | - * @author Cedric31 |
718 | | - */ |
719 | | -$messages['oc'] = array( |
720 | | - 'randomincategory' => "Pagina a l'azard dins la categoria", |
721 | | - 'randomincategory-desc' => "[[Special:Randomincategory|Pagina especiala]] per obténer una pagina a l'azard dins una categoria.", |
722 | | - 'randomincategory-toolbox' => "Pagina a l'azard", |
723 | | - 'randomincategory-nocategory' => 'La categoria « $1 » existís pas o es voida', |
724 | | - 'randomincategory-label' => 'Categoria :', |
725 | | - 'randomincategory-submit' => 'Amodar', |
726 | | -); |
727 | | - |
728 | | -/** Ossetic (Иронау) |
729 | | - * @author Amikeco |
730 | | - */ |
731 | | -$messages['os'] = array( |
732 | | - 'randomincategory-label' => 'Категори', |
733 | | -); |
734 | | - |
735 | | -/** Deitsch (Deitsch) |
736 | | - * @author Xqt |
737 | | - */ |
738 | | -$messages['pdc'] = array( |
739 | | - 'randomincategory-label' => 'Abdeeling:', |
740 | | -); |
741 | | - |
742 | | -/** Polish (Polski) |
743 | | - * @author Maikking |
744 | | - * @author Sp5uhe |
745 | | - */ |
746 | | -$messages['pl'] = array( |
747 | | - 'randomincategory' => 'Losowa strona w kategorii', |
748 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Strona specjalna]] zwracająca losową stronę z kategorii', |
749 | | - 'randomincategory-toolbox' => 'Losowa strona', |
750 | | - 'randomincategory-nocategory' => 'Kategoria $1 nie istnieje lub jest pusta', |
751 | | - 'randomincategory-label' => 'Kategoria', |
752 | | - 'randomincategory-submit' => 'Dalej', |
753 | | -); |
754 | | - |
755 | | -/** Piedmontese (Piemontèis) |
756 | | - * @author Dragonòt |
757 | | - */ |
758 | | -$messages['pms'] = array( |
759 | | - 'randomincategory' => 'Pàgina a cas ant na categorìa', |
760 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Pàgina special]] për pijé na pàgina a cas ant na categorìa', |
761 | | - 'randomincategory-toolbox' => 'Na pàgina qualsëssìa', |
762 | | - 'randomincategory-nocategory' => "La categorìa $1 a esist pa o a l'é veuida", |
763 | | - 'randomincategory-label' => 'Categorìa:', |
764 | | - 'randomincategory-submit' => 'Va', |
765 | | -); |
766 | | - |
767 | | -/** Pashto (پښتو) |
768 | | - * @author Ahmed-Najib-Biabani-Ibrahimkhel |
769 | | - */ |
770 | | -$messages['ps'] = array( |
771 | | - 'randomincategory' => 'په وېشنيزه کې ناټاکلی مخ', |
772 | | - 'randomincategory-toolbox' => 'ناټاکلی مخ', |
773 | | - 'randomincategory-label' => 'وېشنيزه:', |
774 | | - 'randomincategory-submit' => 'ورځه', |
775 | | -); |
776 | | - |
777 | | -/** Portuguese (Português) |
778 | | - * @author Lijealso |
779 | | - * @author Malafaya |
780 | | - */ |
781 | | -$messages['pt'] = array( |
782 | | - 'randomincategory' => 'Página aleatória na categoria', |
783 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Página especial]] para obter uma página aleatória na categoria', |
784 | | - 'randomincategory-toolbox' => 'Página aleatória', |
785 | | - 'randomincategory-nocategory' => 'A categoria $1 não existe ou está vazia', |
786 | | - 'randomincategory-label' => 'Categoria:', |
787 | | - 'randomincategory-submit' => 'Ir', |
788 | | -); |
789 | | - |
790 | | -/** Brazilian Portuguese (Português do Brasil) |
791 | | - * @author Eduardo.mps |
792 | | - */ |
793 | | -$messages['pt-br'] = array( |
794 | | - 'randomincategory' => 'Página aleatória na categoria', |
795 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Página especial]] para obter uma página aleatória na categoria', |
796 | | - 'randomincategory-toolbox' => 'Página aleatória', |
797 | | - 'randomincategory-nocategory' => 'A categoria $1 não existe ou está vazia', |
798 | | - 'randomincategory-label' => 'Categoria:', |
799 | | - 'randomincategory-submit' => 'Ir', |
800 | | -); |
801 | | - |
802 | | -/** Tarifit (Tarifit) |
803 | | - * @author Jose77 |
804 | | - */ |
805 | | -$messages['rif'] = array( |
806 | | - 'randomincategory-submit' => 'Raḥ ɣa', |
807 | | -); |
808 | | - |
809 | | -/** Romanian (Română) |
810 | | - * @author KlaudiuMihaila |
811 | | - */ |
812 | | -$messages['ro'] = array( |
813 | | - 'randomincategory' => 'Pagină aleatorie în categorie', |
814 | | - 'randomincategory-toolbox' => 'Pagină aleatorie', |
815 | | - 'randomincategory-nocategory' => 'Categoria $1 nu există sau este goală', |
816 | | - 'randomincategory-label' => 'Categorie:', |
817 | | -); |
818 | | - |
819 | | -/** Tarandíne (Tarandíne) |
820 | | - * @author Joetaras |
821 | | - */ |
822 | | -$messages['roa-tara'] = array( |
823 | | - 'randomincategory' => "Pàggene a uecchije jndr'à categorije", |
824 | | - 'randomincategory-desc' => "[[Special:Randomincategory|Pàgena speciale]] pe pigghià 'na pàgene a uecchije jndr'à categorije", |
825 | | - 'randomincategory-toolbox' => 'Pàgene a uecchije', |
826 | | - 'randomincategory-nocategory' => "'A categorije $1 non g'esiste o jè vacande", |
827 | | - 'randomincategory-label' => 'Categorije:', |
828 | | - 'randomincategory-submit' => 'Veje', |
829 | | -); |
830 | | - |
831 | | -/** Russian (Русский) |
832 | | - * @author Александр Сигачёв |
833 | | - */ |
834 | | -$messages['ru'] = array( |
835 | | - 'randomincategory' => 'Случайная страница категории', |
836 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Служебная страница]] для получения случайной страницы категории', |
837 | | - 'randomincategory-toolbox' => 'Случайная страница', |
838 | | - 'randomincategory-nocategory' => 'Категория $1 не существует или пуста', |
839 | | - 'randomincategory-label' => 'Категория:', |
840 | | - 'randomincategory-submit' => 'Перейти', |
841 | | -); |
842 | | - |
843 | | -/** Slovak (Slovenčina) |
844 | | - * @author Helix84 |
845 | | - * @author Michawiki |
846 | | - */ |
847 | | -$messages['sk'] = array( |
848 | | - 'randomincategory' => 'Náhodná stránka v kategórii', |
849 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Špeciálna stránka]] na výber náhodnej stránky z kategórie', |
850 | | - 'randomincategory-toolbox' => 'Náhodná stránka', |
851 | | - 'randomincategory-nocategory' => 'Kategória $1 neexistuje alebo je prázdna', |
852 | | - 'randomincategory-label' => 'Kategória:', |
853 | | - 'randomincategory-submit' => 'Vykonať', |
854 | | -); |
855 | | - |
856 | | -/** Serbian Cyrillic ekavian (Српски (ћирилица)) |
857 | | - * @author Михајло Анђелковић |
858 | | - */ |
859 | | -$messages['sr-ec'] = array( |
860 | | - 'randomincategory' => 'Случајна страна из категорије', |
861 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Специјална страна]] за преузимање случајне стране из категорије', |
862 | | - 'randomincategory-toolbox' => 'Случајна страна', |
863 | | - 'randomincategory-nocategory' => 'Категорија $1 не постоји или је празна', |
864 | | - 'randomincategory-label' => 'Категорија:', |
865 | | - 'randomincategory-submit' => 'Иди', |
866 | | -); |
867 | | - |
868 | | -/** Serbian Latin ekavian (Srpski (latinica)) |
869 | | - * @author Michaello |
870 | | - */ |
871 | | -$messages['sr-el'] = array( |
872 | | - 'randomincategory' => 'Slučajna strana iz kategorije', |
873 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Specijalna strana]] za preuzimanje slučajne strane iz kategorije', |
874 | | - 'randomincategory-toolbox' => 'Slučajna strana', |
875 | | - 'randomincategory-nocategory' => 'Kategorija $1 ne postoji ili je prazna', |
876 | | - 'randomincategory-label' => 'Kategorija:', |
877 | | - 'randomincategory-submit' => 'Idi', |
878 | | -); |
879 | | - |
880 | | -/** Seeltersk (Seeltersk) |
881 | | - * @author Pyt |
882 | | - */ |
883 | | -$messages['stq'] = array( |
884 | | - 'randomincategory' => 'Toufällige Siede in ne Kategorie', |
885 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Spezioalsiede]], uum ne toufällige Siede ap ne Kategorie tou hoaljen', |
886 | | - 'randomincategory-toolbox' => 'Toufällige Siede', |
887 | | - 'randomincategory-nocategory' => 'Kategorie $1 bestoant nit of ju is loos', |
888 | | - 'randomincategory-label' => 'Kategorie:', |
889 | | - 'randomincategory-submit' => 'OK', |
890 | | -); |
891 | | - |
892 | | -/** Sundanese (Basa Sunda) |
893 | | - * @author Irwangatot |
894 | | - */ |
895 | | -$messages['su'] = array( |
896 | | - 'randomincategory-label' => 'Kategori:', |
897 | | -); |
898 | | - |
899 | | -/** Swedish (Svenska) |
900 | | - * @author Jon Harald Søby |
901 | | - * @author M.M.S. |
902 | | - */ |
903 | | -$messages['sv'] = array( |
904 | | - 'randomincategory' => 'Slump sida i kategori', |
905 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Specialsida]] för att få en slumpsida från en kategori', |
906 | | - 'randomincategory-toolbox' => 'Slumpsida', |
907 | | - 'randomincategory-nocategory' => 'Kategorin $1 hittades inte, eller är tom', |
908 | | - 'randomincategory-label' => 'Kategori:', |
909 | | - 'randomincategory-submit' => 'Gå', |
910 | | -); |
911 | | - |
912 | | -/** Telugu (తెలుగు) |
913 | | - * @author Veeven |
914 | | - */ |
915 | | -$messages['te'] = array( |
916 | | - 'randomincategory' => 'వర్గంలోని యాదృచ్చిక పేజీ', |
917 | | - 'randomincategory-desc' => 'ఓ వర్గంలోని యాదృచ్ఛిక పేజీని పొందడానికై [[Special:Randomincategory|ప్రత్యేక పేజీ]]', |
918 | | - 'randomincategory-toolbox' => 'యాదృచ్ఛిక పేజీ', |
919 | | - 'randomincategory-nocategory' => '$1 అనే వర్గం లేదు లేదా ఖాళీగా ఉంది', |
920 | | - 'randomincategory-label' => 'వర్గం:', |
921 | | - 'randomincategory-submit' => 'వెళ్ళు', |
922 | | -); |
923 | | - |
924 | | -/** Tetum (Tetun) |
925 | | - * @author MF-Warburg |
926 | | - */ |
927 | | -$messages['tet'] = array( |
928 | | - 'randomincategory-label' => 'Kategoria:', |
929 | | - 'randomincategory-submit' => 'Bá', |
930 | | -); |
931 | | - |
932 | | -/** Tajik (Cyrillic) (Тоҷикӣ (Cyrillic)) |
933 | | - * @author Ibrahim |
934 | | - */ |
935 | | -$messages['tg-cyrl'] = array( |
936 | | - 'randomincategory' => 'Саҳифаи тасодуфӣ дар гурӯҳ', |
937 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Саҳифаи вижа]] барои гирифтани саҳифаи тасодуфӣ дар гурӯҳ', |
938 | | - 'randomincategory-toolbox' => 'Саҳифаи тасодуфӣ', |
939 | | - 'randomincategory-nocategory' => 'Гурӯҳи $1 вуҷуд надорад ё холӣ аст', |
940 | | - 'randomincategory-label' => 'Гурӯҳ:', |
941 | | - 'randomincategory-submit' => 'Бирав', |
942 | | -); |
943 | | - |
944 | | -/** Tajik (Latin) (Тоҷикӣ (Latin)) |
945 | | - * @author Liangent |
946 | | - */ |
947 | | -$messages['tg-latn'] = array( |
948 | | - 'randomincategory' => 'Sahifai tasodufī dar gurūh', |
949 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Sahifai viƶa]] baroi giriftani sahifai tasodufī dar gurūh', |
950 | | - 'randomincategory-toolbox' => 'Sahifai tasodufī', |
951 | | - 'randomincategory-nocategory' => 'Gurūhi $1 vuçud nadorad jo xolī ast', |
952 | | - 'randomincategory-label' => 'Gurūh:', |
953 | | - 'randomincategory-submit' => 'Birav', |
954 | | -); |
955 | | - |
956 | | -/** Turkmen (Türkmençe) |
957 | | - * @author Hanberke |
958 | | - */ |
959 | | -$messages['tk'] = array( |
960 | | - 'randomincategory-label' => 'Kategoriýa:', |
961 | | - 'randomincategory-submit' => 'Git', |
962 | | -); |
963 | | - |
964 | | -/** Tagalog (Tagalog) |
965 | | - * @author AnakngAraw |
966 | | - */ |
967 | | -$messages['tl'] = array( |
968 | | - 'randomincategory' => 'Alin mang pahina sa loob ng kaurian', |
969 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Natatanging pahina]] upang makakuha ng alin mang pahinang nasa loob ng kaurian', |
970 | | - 'randomincategory-toolbox' => 'Alin mang pahina', |
971 | | - 'randomincategory-nocategory' => 'Hindi umiiral o walang laman ang kauriang $1', |
972 | | - 'randomincategory-label' => 'Kaurian:', |
973 | | - 'randomincategory-submit' => 'Gawin na', |
974 | | -); |
975 | | - |
976 | | -/** Turkish (Türkçe) |
977 | | - * @author Joseph |
978 | | - * @author Karduelis |
979 | | - * @author Vito Genovese |
980 | | - */ |
981 | | -$messages['tr'] = array( |
982 | | - 'randomincategory' => 'Kategoriye göre rastgele sayfa', |
983 | | - 'randomincategory-desc' => 'Kategoride rasgele bir sayfa için [[Special:Randomincategory|özel sayfa]]', |
984 | | - 'randomincategory-toolbox' => 'Rastgele sayfa', |
985 | | - 'randomincategory-nocategory' => '$1 kategorisi mevcut değil ya da boş', |
986 | | - 'randomincategory-label' => 'Kategori:', |
987 | | - 'randomincategory-submit' => 'Git', |
988 | | -); |
989 | | - |
990 | | -/** ئۇيغۇرچە (ئۇيغۇرچە) |
991 | | - * @author Alfredie |
992 | | - */ |
993 | | -$messages['ug-arab'] = array( |
994 | | - 'randomincategory-submit' => 'كۆچۈش', |
995 | | -); |
996 | | - |
997 | | -/** Uighur (Latin) (Uyghurche / ئۇيغۇرچە (Latin)) |
998 | | - * @author Jose77 |
999 | | - */ |
1000 | | -$messages['ug-latn'] = array( |
1001 | | - 'randomincategory-submit' => 'Köchüsh', |
1002 | | -); |
1003 | | - |
1004 | | -/** Ukrainian (Українська) |
1005 | | - * @author Prima klasy4na |
1006 | | - */ |
1007 | | -$messages['uk'] = array( |
1008 | | - 'randomincategory-label' => 'Категорія:', |
1009 | | -); |
1010 | | - |
1011 | | -/** Veps (Vepsan kel') |
1012 | | - * @author Игорь Бродский |
1013 | | - */ |
1014 | | -$messages['vep'] = array( |
1015 | | - 'randomincategory-label' => 'Kategorii:', |
1016 | | -); |
1017 | | - |
1018 | | -/** Vietnamese (Tiếng Việt) |
1019 | | - * @author Minh Nguyen |
1020 | | - * @author Vinhtantran |
1021 | | - */ |
1022 | | -$messages['vi'] = array( |
1023 | | - 'randomincategory' => 'Trang ngẫu nhiên trong thể loại', |
1024 | | - 'randomincategory-desc' => '[[Special:Randomincategory|Trang đặc biệt]] để xem một trang ngẫu nhiên trong thể loại', |
1025 | | - 'randomincategory-toolbox' => 'Trang ngẫu nhiên', |
1026 | | - 'randomincategory-nocategory' => 'Thể loại $1 không tồn tại hoặc đang trống', |
1027 | | - 'randomincategory-label' => 'Thể loại:', |
1028 | | - 'randomincategory-submit' => 'Xem', |
1029 | | -); |
1030 | | - |
1031 | | -/** Volapük (Volapük) |
1032 | | - * @author Malafaya |
1033 | | - */ |
1034 | | -$messages['vo'] = array( |
1035 | | - 'randomincategory-label' => 'Klad:', |
1036 | | -); |
1037 | | - |
1038 | | -/** Simplified Chinese (中文(简体)) |
1039 | | - * @author Gzdavidwong |
1040 | | - */ |
1041 | | -$messages['zh-hans'] = array( |
1042 | | - 'randomincategory-toolbox' => '随机页面', |
1043 | | - 'randomincategory-label' => '页面分类:', |
1044 | | -); |
1045 | | - |
1046 | | -/** Traditional Chinese (中文(繁體)) |
1047 | | - * @author Gzdavidwong |
1048 | | - * @author Wrightbus |
1049 | | - */ |
1050 | | -$messages['zh-hant'] = array( |
1051 | | - 'randomincategory-toolbox' => '隨機頁面', |
1052 | | - 'randomincategory-label' => '頁面分類:', |
1053 | | -); |
1054 | | - |
Index: trunk/extensions/RandomInCategory/SpecialRandomincategory.php |
— | — | @@ -1,28 +0,0 @@ |
2 | | -<?php |
3 | | - |
4 | | -/** |
5 | | - * Special page to direct the user to a random page in specified category |
6 | | - * |
7 | | - * @addtogroup SpecialPage |
8 | | - * @author VasilievVV <vasilvv@gmail.com>, based on SpecialRandompage.php code |
9 | | - * @license GNU General Public Licence 2.0 or later |
10 | | - */ |
11 | | - |
12 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
13 | | - exit(1); |
14 | | -} |
15 | | - |
16 | | -$wgExtensionCredits['specialpage'][] = array( |
17 | | - 'path' => __FILE__, |
18 | | - 'name' => 'Random in category', |
19 | | - 'author' => 'VasilievVV', |
20 | | - 'url' => 'http://www.mediawiki.org/wiki/Extension:RandomInCategory', |
21 | | - 'descriptionmsg' => 'randomincategory-desc', |
22 | | -); |
23 | | - |
24 | | -$dir = dirname(__FILE__) . '/'; |
25 | | -$wgExtensionMessagesFiles['RandomInCategory'] = $dir . 'SpecialRandomincategory.i18n.php'; |
26 | | -$wgExtensionAliasesFiles['RandomInCategory'] = $dir . 'SpecialRandomincategory.alias.php'; |
27 | | - |
28 | | -$wgSpecialPages['RandomInCategory'] = 'RandomPageInCategory'; |
29 | | -$wgAutoloadClasses['RandomPageInCategory'] = $dir . 'SpecialRandomincategory.body.php'; |
Index: trunk/extensions/RandomInCategory/RandomInCategory.alias.php |
— | — | @@ -0,0 +1,142 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Aliases for special pages |
| 5 | + * |
| 6 | + */ |
| 7 | + |
| 8 | +$aliases = array(); |
| 9 | + |
| 10 | +$aliases['en'] = array( |
| 11 | + 'RandomInCategory' => array( 'RandomInCategory' ), |
| 12 | +); |
| 13 | + |
| 14 | +/** Arabic (العربية) */ |
| 15 | +$aliases['ar'] = array( |
| 16 | + 'RandomInCategory' => array( 'عشوائي_في_تصنيف' ), |
| 17 | +); |
| 18 | + |
| 19 | +/** Egyptian Spoken Arabic (مصرى) */ |
| 20 | +$aliases['arz'] = array( |
| 21 | + 'RandomInCategory' => array( 'عشوائى_فى_تصنيف' ), |
| 22 | +); |
| 23 | + |
| 24 | +/** Bulgarian (Български) */ |
| 25 | +$aliases['bg'] = array( |
| 26 | + 'RandomInCategory' => array( 'Случайна страница в категория' ), |
| 27 | +); |
| 28 | + |
| 29 | +/** Bosnian (Bosanski) */ |
| 30 | +$aliases['bs'] = array( |
| 31 | + 'RandomInCategory' => array( 'SlucajnoUKategoriji' ), |
| 32 | +); |
| 33 | + |
| 34 | +/** German (Deutsch) */ |
| 35 | +$aliases['de'] = array( |
| 36 | + 'RandomInCategory' => array( 'Zufällige Seite in Kategorie' ), |
| 37 | +); |
| 38 | + |
| 39 | +/** Lower Sorbian (Dolnoserbski) */ |
| 40 | +$aliases['dsb'] = array( |
| 41 | + 'RandomInCategory' => array( 'Pśipadny bok w kategoriji' ), |
| 42 | +); |
| 43 | + |
| 44 | +/** Finnish (Suomi) */ |
| 45 | +$aliases['fi'] = array( |
| 46 | + 'RandomInCategory' => array( 'Satunnainen sivu luokasta' ), |
| 47 | +); |
| 48 | + |
| 49 | +/** French (Français) */ |
| 50 | +$aliases['fr'] = array( |
| 51 | + 'RandomInCategory' => array( 'Page au hasard dans une catégorie' ), |
| 52 | +); |
| 53 | + |
| 54 | +/** Franco-Provençal (Arpetan) */ |
| 55 | +$aliases['frp'] = array( |
| 56 | + 'RandomInCategory' => array( "Pâge a l'hasârd dens una catègorie", 'PâgeALHasârdDensUnaCatègorie' ), |
| 57 | +); |
| 58 | + |
| 59 | +/** Swiss German (Alemannisch) */ |
| 60 | +$aliases['gsw'] = array( |
| 61 | + 'RandomInCategory' => array( 'Zuefelligi Kategori' ), |
| 62 | +); |
| 63 | + |
| 64 | +/** Upper Sorbian (Hornjoserbsce) */ |
| 65 | +$aliases['hsb'] = array( |
| 66 | + 'RandomInCategory' => array( 'Připadna strona w kategoriji' ), |
| 67 | +); |
| 68 | + |
| 69 | +/** Interlingua (Interlingua) */ |
| 70 | +$aliases['ia'] = array( |
| 71 | + 'RandomInCategory' => array( 'Aleatori in categoria' ), |
| 72 | +); |
| 73 | + |
| 74 | +/** Indonesian (Bahasa Indonesia) */ |
| 75 | +$aliases['id'] = array( |
| 76 | + 'RandomInCategory' => array( 'Sembarang di kategori', 'SembarangDiKategori' ), |
| 77 | +); |
| 78 | + |
| 79 | +/** Italian (Italiano) */ |
| 80 | +$aliases['it'] = array( |
| 81 | + 'RandomInCategory' => array( 'CasualeInCategoria' ), |
| 82 | +); |
| 83 | + |
| 84 | +/** Japanese (日本語) */ |
| 85 | +$aliases['ja'] = array( |
| 86 | + 'RandomInCategory' => array( 'カテゴリ内おまかせ表示', 'カテゴリ中のランダムなページ' ), |
| 87 | +); |
| 88 | + |
| 89 | +/** Colognian (Ripoarisch) */ |
| 90 | +$aliases['ksh'] = array( |
| 91 | + 'RandomInCategory' => array( 'Zohfällije Sigg uß en Saachjropp' ), |
| 92 | +); |
| 93 | + |
| 94 | +/** Luxembourgish (Lëtzebuergesch) */ |
| 95 | +$aliases['lb'] = array( |
| 96 | + 'RandomInCategory' => array( 'Zoufälleg Säit aus der Kategorie' ), |
| 97 | +); |
| 98 | + |
| 99 | +/** Malayalam (മലയാളം) */ |
| 100 | +$aliases['ml'] = array( |
| 101 | + 'RandomInCategory' => array( 'വർഗ്ഗത്തിൽനിന്ന്ക്രമരഹിതം' ), |
| 102 | +); |
| 103 | + |
| 104 | +/** Nedersaksisch (Nedersaksisch) */ |
| 105 | +$aliases['nds-nl'] = array( |
| 106 | + 'RandomInCategory' => array( 'Willekeurig_in_kattegerie' ), |
| 107 | +); |
| 108 | + |
| 109 | +/** Dutch (Nederlands) */ |
| 110 | +$aliases['nl'] = array( |
| 111 | + 'RandomInCategory' => array( 'WillekeurigeUitCategorie' ), |
| 112 | +); |
| 113 | + |
| 114 | +/** Norwegian (bokmål) (Norsk (bokmål)) */ |
| 115 | +$aliases['no'] = array( |
| 116 | + 'RandomInCategory' => array( 'Tilfeldig fra kategori' ), |
| 117 | +); |
| 118 | + |
| 119 | +/** Occitan (Occitan) */ |
| 120 | +$aliases['oc'] = array( |
| 121 | + 'RandomInCategory' => array( "Pagina a l'azard dins una categoria" ), |
| 122 | +); |
| 123 | + |
| 124 | +/** Sanskrit (संस्कृत) */ |
| 125 | +$aliases['sa'] = array( |
| 126 | + 'RandomInCategory' => array( 'अविशिष्टवर्ग' ), |
| 127 | +); |
| 128 | + |
| 129 | +/** Slovak (Slovenčina) */ |
| 130 | +$aliases['sk'] = array( |
| 131 | + 'RandomInCategory' => array( 'NáhodnéVKategórii' ), |
| 132 | +); |
| 133 | + |
| 134 | +/** Tagalog (Tagalog) */ |
| 135 | +$aliases['tl'] = array( |
| 136 | + 'RandomInCategory' => array( 'Alinmang kaurian' ), |
| 137 | +); |
| 138 | + |
| 139 | +/** Turkish (Türkçe) */ |
| 140 | +$aliases['tr'] = array( |
| 141 | + 'RandomInCategory' => array( 'RastgeleKategori' ), |
| 142 | +); |
| 143 | + |
Property changes on: trunk/extensions/RandomInCategory/RandomInCategory.alias.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 144 | + native |
Name: svn:keywords |
2 | 145 | + Id |
Index: trunk/extensions/RandomInCategory/RandomInCategory.body.php |
— | — | @@ -0,0 +1,129 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +/** |
| 5 | + * Special page to direct the user to a random page in specified category |
| 6 | + * |
| 7 | + * @addtogroup SpecialPage |
| 8 | + */ |
| 9 | +class RandomPageInCategory extends SpecialPage { |
| 10 | + private $category = null; |
| 11 | + |
| 12 | + function __construct() { |
| 13 | + SpecialPage::SpecialPage( 'RandomInCategory' ); |
| 14 | + } |
| 15 | + |
| 16 | + function getDescription() { |
| 17 | + return wfMsg( 'randomincategory' ); |
| 18 | + } |
| 19 | + |
| 20 | + function execute( $par ) { |
| 21 | + global $wgOut, $wgRequest; |
| 22 | + wfLoadExtensionMessages( 'RandomInCategory' ); |
| 23 | + |
| 24 | + $this->setHeaders(); |
| 25 | + if( is_null( $par ) ) { |
| 26 | + if ( $requestCategory = $wgRequest->getVal( 'category' ) ) { |
| 27 | + $par = $requestCategory; |
| 28 | + } |
| 29 | + else { |
| 30 | + $wgOut->addHTML( $this->getForm() ); |
| 31 | + return; |
| 32 | + } |
| 33 | + } |
| 34 | + |
| 35 | + $rnd = $this; |
| 36 | + if( !$rnd->setCategory( $par ) ) { |
| 37 | + $wgOut->addHTML( $this->getForm( $par ) ); |
| 38 | + return; |
| 39 | + } |
| 40 | + |
| 41 | + $title = $rnd->getRandomTitle(); |
| 42 | + |
| 43 | + if( is_null( $title ) ) { |
| 44 | + $wgOut->addWikiText( wfMsg( 'randomincategory-nocategory', $par ) ); |
| 45 | + $wgOut->addHTML( $this->getForm( $par ) ); |
| 46 | + return; |
| 47 | + } |
| 48 | + |
| 49 | + $wgOut->reportTime(); |
| 50 | + $wgOut->redirect( $title->getFullUrl() ); |
| 51 | + } |
| 52 | + |
| 53 | + public function getCategory ( ) { |
| 54 | + return $this->namespace; |
| 55 | + } |
| 56 | + public function setCategory ( $cat ) { |
| 57 | + $category = Title::makeTitleSafe( NS_CATEGORY, $cat ); |
| 58 | + //Invalid title |
| 59 | + if( !$category ) { |
| 60 | + return false; |
| 61 | + } |
| 62 | + $this->category = $category->getDBkey(); |
| 63 | + return true; |
| 64 | + } |
| 65 | + |
| 66 | + /** |
| 67 | + * Choose a random title. Based on Special:Random |
| 68 | + * @return Title object (or null if nothing to choose from) |
| 69 | + */ |
| 70 | + public function getRandomTitle ( ) { |
| 71 | + $randstr = wfRandom(); |
| 72 | + $row = $this->selectRandomPageFromDB( $randstr ); |
| 73 | + |
| 74 | + if( !$row ) |
| 75 | + $row = $this->selectRandomPageFromDB( "0" ); |
| 76 | + |
| 77 | + if( $row ) |
| 78 | + return Title::newFromText( $row->page_title, $row->page_namespace ); |
| 79 | + else |
| 80 | + return null; |
| 81 | + } |
| 82 | + |
| 83 | + private function selectRandomPageFromDB ( $randstr ) { |
| 84 | + global $wgExtraRandompageSQL, $wgOut; |
| 85 | + $fname = 'RandomPageInCategory::selectRandomPageFromDB'; |
| 86 | + |
| 87 | + $dbr = wfGetDB( DB_SLAVE ); |
| 88 | + |
| 89 | + $use_index = $dbr->useIndexClause( 'page_random' ); |
| 90 | + $page = $dbr->tableName( 'page' ); |
| 91 | + $categorylinks = $dbr->tableName( 'categorylinks' ); |
| 92 | + $category = $dbr->addQuotes( $this->category ); |
| 93 | + |
| 94 | + $extra = $wgExtraRandompageSQL ? "AND ($wgExtraRandompageSQL)" : ""; |
| 95 | + $sql = "SELECT page_namespace, page_title |
| 96 | + FROM $page $use_index JOIN $categorylinks ON page_id = cl_from |
| 97 | + WHERE page_is_redirect = 0 |
| 98 | + AND page_random >= $randstr |
| 99 | + AND page_namespace != " . NS_CATEGORY . " |
| 100 | + AND cl_to = $category |
| 101 | + $extra |
| 102 | + ORDER BY page_random"; |
| 103 | + |
| 104 | + $sql = $dbr->limitResult( $sql, 1, 0 ); |
| 105 | + $res = $dbr->query( $sql, $fname ); |
| 106 | + return $dbr->fetchObject( $res ); |
| 107 | + } |
| 108 | + |
| 109 | + public function getForm( $par = null ) { |
| 110 | + global $wgScript, $wgRequest; |
| 111 | + |
| 112 | + if( !( $category = $par ) ) { |
| 113 | + $category = $wgRequest->getVal( 'category' ); |
| 114 | + } |
| 115 | + |
| 116 | + $f = |
| 117 | + Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) . |
| 118 | + Xml::openElement( 'fieldset' ) . |
| 119 | + Xml::element( 'legend', array(), wfMsg( 'randomincategory' ) ) . |
| 120 | + Xml::hidden( 'title', $this->getTitle()->getPrefixedText() ) . |
| 121 | + Xml::openElement( 'p' ) . |
| 122 | + Xml::label( wfMsg( 'randomincategory-label' ), 'category' ) . ' ' . |
| 123 | + Xml::input( 'category', null, $category, array( 'id' => 'category' ) ) . ' ' . |
| 124 | + Xml::submitButton( wfMsg( 'randomincategory-submit' ) ) . |
| 125 | + Xml::closeElement( 'p' ) . |
| 126 | + Xml::closeElement( 'fieldset' ) . |
| 127 | + Xml::closeElement( 'form' ); |
| 128 | + return $f; |
| 129 | + } |
| 130 | +} |
Property changes on: trunk/extensions/RandomInCategory/RandomInCategory.body.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 131 | + native |
Index: trunk/extensions/RandomInCategory/RandomInCategory.i18n.php |
— | — | @@ -0,0 +1,1053 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalisation file for extension RandomInCategory. |
| 5 | + * |
| 6 | + * @addtogroup Extensions |
| 7 | +*/ |
| 8 | + |
| 9 | +$messages = array(); |
| 10 | + |
| 11 | +$messages['en'] = array( |
| 12 | + 'randomincategory' => 'Random page in category', |
| 13 | + 'randomincategory-desc' => '[[Special:Randomincategory|Special page]] to get a random page in category', |
| 14 | + 'randomincategory-toolbox' => 'Random page', |
| 15 | + 'randomincategory-nocategory' => 'Category $1 does not exist or is empty', |
| 16 | + 'randomincategory-label' => 'Category:', |
| 17 | + 'randomincategory-submit' => 'Go', |
| 18 | +); |
| 19 | + |
| 20 | +/** Message documentation (Message documentation) |
| 21 | + * @author Jon Harald Søby |
| 22 | + * @author Purodha |
| 23 | + * @author SPQRobin |
| 24 | + */ |
| 25 | +$messages['qqq'] = array( |
| 26 | + 'randomincategory' => 'Part of the "RandomInCategory" extension. This message is the title of the special page [[Special:Randomincategory]].', |
| 27 | + 'randomincategory-desc' => 'Shown in [[Special:Version]] as a short description of this extension. Do not translate links.', |
| 28 | + 'randomincategory-toolbox' => 'Part of the "RandomInCategory" extension. This message is shown in the toolbox, but only on category pages. It goes directly to a random page in the category you are viewing. You can also go the the special page [[MediaWiki:Randomincategory/{{SUBPAGENAME}}|Special:Randomincategory]] to enter a category name manually. |
| 29 | + |
| 30 | +{{Identical|Random page}}', |
| 31 | + 'randomincategory-nocategory' => 'Part of the "RandomInCategory" extension. This message is an error if you requested a random page in a category which does not exist.', |
| 32 | + 'randomincategory-label' => 'Part of the "RandomInCategory" extension. This message is next to the inputbox to type the name of a category. |
| 33 | + |
| 34 | +{{Identical|Category}}', |
| 35 | + 'randomincategory-submit' => 'Part of the "RandomInCategory" extension. This message is the text of the submit button on the special page [[MediaWiki:Randomincategory/{{SUBPAGENAME}}|Special:Randomincategory]]. |
| 36 | + |
| 37 | +{{Identical|Go}}', |
| 38 | +); |
| 39 | + |
| 40 | +/** Niuean (ko e vagahau Niuē) |
| 41 | + * @author Jose77 |
| 42 | + */ |
| 43 | +$messages['niu'] = array( |
| 44 | + 'randomincategory-toolbox' => 'Lau fifili', |
| 45 | + 'randomincategory-submit' => 'Fano', |
| 46 | +); |
| 47 | + |
| 48 | +/** Afrikaans (Afrikaans) |
| 49 | + * @author Arnobarnard |
| 50 | + * @author Naudefj |
| 51 | + */ |
| 52 | +$messages['af'] = array( |
| 53 | + 'randomincategory-toolbox' => 'Lukrake bladsy', |
| 54 | + 'randomincategory-label' => 'Kategorie:', |
| 55 | + 'randomincategory-submit' => 'Laat waai', |
| 56 | +); |
| 57 | + |
| 58 | +/** Amharic (አማርኛ) |
| 59 | + * @author Codex Sinaiticus |
| 60 | + */ |
| 61 | +$messages['am'] = array( |
| 62 | + 'randomincategory-label' => 'መደብ:', |
| 63 | +); |
| 64 | + |
| 65 | +/** Arabic (العربية) |
| 66 | + * @author Meno25 |
| 67 | + */ |
| 68 | +$messages['ar'] = array( |
| 69 | + 'randomincategory' => 'صفحة عشوائية في التصنيف', |
| 70 | + 'randomincategory-desc' => '[[Special:Randomincategory|صفحة خاصة]] للحصول على صفحة عشوائية في تصنيف', |
| 71 | + 'randomincategory-toolbox' => 'صفحة عشوائية', |
| 72 | + 'randomincategory-nocategory' => 'التصنيف $1 غير موجود أو فارغ', |
| 73 | + 'randomincategory-label' => 'التصنيف:', |
| 74 | + 'randomincategory-submit' => 'اذهب', |
| 75 | +); |
| 76 | + |
| 77 | +/** Aramaic (ܐܪܡܝܐ) |
| 78 | + * @author Basharh |
| 79 | + */ |
| 80 | +$messages['arc'] = array( |
| 81 | + 'randomincategory' => 'ܦܐܬܐ ܚܘܚܬܐ ܒܣܕܪܐ', |
| 82 | + 'randomincategory-label' => 'ܣܕܪܐ:', |
| 83 | + 'randomincategory-submit' => 'ܙܠ', |
| 84 | +); |
| 85 | + |
| 86 | +/** Egyptian Spoken Arabic (مصرى) |
| 87 | + * @author Meno25 |
| 88 | + */ |
| 89 | +$messages['arz'] = array( |
| 90 | + 'randomincategory' => 'صفحة عشوائية فى التصنيف', |
| 91 | + 'randomincategory-desc' => '[[Special:Randomincategory|صفحة خاصة]] للحصول على صفحة عشوائية فى تصنيف', |
| 92 | + 'randomincategory-toolbox' => 'صفحة عشوائية', |
| 93 | + 'randomincategory-nocategory' => 'التصنيف $1 غير موجود أو فارغ', |
| 94 | + 'randomincategory-label' => 'التصنيف:', |
| 95 | + 'randomincategory-submit' => 'اذهب', |
| 96 | +); |
| 97 | + |
| 98 | +/** Belarusian (Taraškievica orthography) (Беларуская (тарашкевіца)) |
| 99 | + * @author EugeneZelenko |
| 100 | + * @author Jim-by |
| 101 | + */ |
| 102 | +$messages['be-tarask'] = array( |
| 103 | + 'randomincategory' => 'Выпадковая старонка ў катэгорыі', |
| 104 | + 'randomincategory-desc' => '[[Special:Randomincategory|Спэцыяльная старонка]] для атрыманьня выпадковай старонкі ў катэгорыі', |
| 105 | + 'randomincategory-toolbox' => 'Выпадковая старонка', |
| 106 | + 'randomincategory-nocategory' => 'Катэгорыя $1 не існуе альбо пустая', |
| 107 | + 'randomincategory-label' => 'Катэгорыя:', |
| 108 | + 'randomincategory-submit' => 'Перайсьці', |
| 109 | +); |
| 110 | + |
| 111 | +/** Bulgarian (Български) |
| 112 | + * @author DCLXVI |
| 113 | + */ |
| 114 | +$messages['bg'] = array( |
| 115 | + 'randomincategory' => 'Случайна страница в категорията', |
| 116 | + 'randomincategory-desc' => '[[Special:Randomincategory|Специална страница]] за извличане на случайна страница от категория', |
| 117 | + 'randomincategory-toolbox' => 'Случайна страница', |
| 118 | + 'randomincategory-nocategory' => 'Категорията $1 не съществува или е празна', |
| 119 | + 'randomincategory-label' => 'Категория:', |
| 120 | + 'randomincategory-submit' => 'Отваряне', |
| 121 | +); |
| 122 | + |
| 123 | +/** Bengali (বাংলা) |
| 124 | + * @author Bellayet |
| 125 | + */ |
| 126 | +$messages['bn'] = array( |
| 127 | + 'randomincategory-toolbox' => 'অজানা পাতা', |
| 128 | + 'randomincategory-label' => 'বিশয়শ্রেণী:', |
| 129 | + 'randomincategory-submit' => 'যাও', |
| 130 | +); |
| 131 | + |
| 132 | +/** Breton (Brezhoneg) |
| 133 | + * @author Fulup |
| 134 | + */ |
| 135 | +$messages['br'] = array( |
| 136 | + 'randomincategory' => 'Ur bajenn dre zegouezh er rummad', |
| 137 | + 'randomincategory-desc' => '[[Special:Randomincategory|Pajenn dibar]] da gaout ur bajenn dre zegouezh er rummad', |
| 138 | + 'randomincategory-toolbox' => 'Pajenn dre zegouezh', |
| 139 | + 'randomincategory-nocategory' => "Goullo eo ar rummad $1 pe n'eus ket anezhañ", |
| 140 | + 'randomincategory-label' => 'Rummad :', |
| 141 | + 'randomincategory-submit' => 'Mont', |
| 142 | +); |
| 143 | + |
| 144 | +/** Bosnian (Bosanski) |
| 145 | + * @author CERminator |
| 146 | + */ |
| 147 | +$messages['bs'] = array( |
| 148 | + 'randomincategory' => 'Slučajna stranica u kategoriji', |
| 149 | + 'randomincategory-desc' => '[[Special:Randomincategory|Posebna stranica]] za prikaz slučajne stranice u kategoriji', |
| 150 | + 'randomincategory-toolbox' => 'Slučajna stranica', |
| 151 | + 'randomincategory-nocategory' => 'Kategorija $1 ne postoji ili je prazna', |
| 152 | + 'randomincategory-label' => 'Kategorija:', |
| 153 | + 'randomincategory-submit' => 'Idi', |
| 154 | +); |
| 155 | + |
| 156 | +/** Catalan (Català) |
| 157 | + * @author SMP |
| 158 | + */ |
| 159 | +$messages['ca'] = array( |
| 160 | + 'randomincategory-label' => 'Categoria:', |
| 161 | + 'randomincategory-submit' => 'Vés-hi', |
| 162 | +); |
| 163 | + |
| 164 | +/** Chamorro (Chamoru) |
| 165 | + * @author Jatrobat |
| 166 | + */ |
| 167 | +$messages['ch'] = array( |
| 168 | + 'randomincategory-submit' => 'Hånao', |
| 169 | +); |
| 170 | + |
| 171 | +/** Czech (Česky) |
| 172 | + * @author Danny B. |
| 173 | + */ |
| 174 | +$messages['cs'] = array( |
| 175 | + 'randomincategory' => 'Náhodná stránka v kategorii', |
| 176 | + 'randomincategory-desc' => '[[Special:Randomincategory|Speciální stránka]] na výběr náhodné stránky z kategorie', |
| 177 | + 'randomincategory-toolbox' => 'Náhodná stránka', |
| 178 | + 'randomincategory-nocategory' => 'Kategorie „$1“ neexistuje nebo je prázdná', |
| 179 | + 'randomincategory-label' => 'Kategorie:', |
| 180 | + 'randomincategory-submit' => 'Jít na', |
| 181 | +); |
| 182 | + |
| 183 | +/** Danish (Dansk) |
| 184 | + * @author Jon Harald Søby |
| 185 | + */ |
| 186 | +$messages['da'] = array( |
| 187 | + 'randomincategory-toolbox' => 'Tilfældig side', |
| 188 | + 'randomincategory-label' => 'Kategori:', |
| 189 | +); |
| 190 | + |
| 191 | +/** German (Deutsch) |
| 192 | + * @author Raimond Spekking |
| 193 | + */ |
| 194 | +$messages['de'] = array( |
| 195 | + 'randomincategory' => 'Zufällige Seite in einer Kategorie', |
| 196 | + 'randomincategory-desc' => '[[Special:Randomincategory|Spezialseite]], um eine zufällige Seite auf einer Kategorie zu holen', |
| 197 | + 'randomincategory-toolbox' => 'Zufällige Seite', |
| 198 | + 'randomincategory-nocategory' => 'Kategorie $1 ist nicht vorhanden oder leer', |
| 199 | + 'randomincategory-label' => 'Kategorie:', |
| 200 | + 'randomincategory-submit' => 'OK', |
| 201 | +); |
| 202 | + |
| 203 | +/** Lower Sorbian (Dolnoserbski) |
| 204 | + * @author Michawiki |
| 205 | + */ |
| 206 | +$messages['dsb'] = array( |
| 207 | + 'randomincategory' => 'Pśipadny bok w kategoriji', |
| 208 | + 'randomincategory-desc' => '[[Special:Randomincategory|Specialny bok]], aby se pśipórał pśipadny bok w kategoriji', |
| 209 | + 'randomincategory-toolbox' => 'Pśipadny bok', |
| 210 | + 'randomincategory-nocategory' => 'Kategorija $1 njeeksistěrujo abo jo prozna', |
| 211 | + 'randomincategory-label' => 'Kategorija:', |
| 212 | + 'randomincategory-submit' => 'W pórěźe', |
| 213 | +); |
| 214 | + |
| 215 | +/** Greek (Ελληνικά) |
| 216 | + * @author Consta |
| 217 | + * @author Omnipaedista |
| 218 | + * @author ZaDiak |
| 219 | + */ |
| 220 | +$messages['el'] = array( |
| 221 | + 'randomincategory' => 'Τυχαία σελίδα στην κατηγορία', |
| 222 | + 'randomincategory-desc' => '[[Special:Randomincategory|Ειδική σελίδα]] για την λήψη τυχαίας σελίδας στην κατηγορία', |
| 223 | + 'randomincategory-toolbox' => 'Τυχαία σελίδα', |
| 224 | + 'randomincategory-nocategory' => 'Η κατηγορία $1 δεν υπάρχει ή είναι άδεια', |
| 225 | + 'randomincategory-label' => 'Κατηγορία:', |
| 226 | + 'randomincategory-submit' => 'Πήγαινε', |
| 227 | +); |
| 228 | + |
| 229 | +/** Esperanto (Esperanto) |
| 230 | + * @author Yekrats |
| 231 | + */ |
| 232 | +$messages['eo'] = array( |
| 233 | + 'randomincategory' => 'Hazarda paĝo en kategorio', |
| 234 | + 'randomincategory-desc' => '[[Special:Randomincategory|Speciala paĝo]] por iri al hazarda paĝo en kategorio', |
| 235 | + 'randomincategory-toolbox' => 'Hazarda paĝo', |
| 236 | + 'randomincategory-nocategory' => 'Kategorio $1 ne ekzistas aŭ estas malplena', |
| 237 | + 'randomincategory-label' => 'Kategorio:', |
| 238 | + 'randomincategory-submit' => 'Ek!', |
| 239 | +); |
| 240 | + |
| 241 | +/** Spanish (Español) |
| 242 | + * @author Crazymadlover |
| 243 | + * @author Imre |
| 244 | + * @author Jatrobat |
| 245 | + * @author Sanbec |
| 246 | + */ |
| 247 | +$messages['es'] = array( |
| 248 | + 'randomincategory' => 'Página aleatoria en categoría', |
| 249 | + 'randomincategory-desc' => '[[Special:Randomincategory|página especial]] para obtener una página aleatoria en categoría', |
| 250 | + 'randomincategory-toolbox' => 'Página aleatoria', |
| 251 | + 'randomincategory-nocategory' => 'Categoría $1 no existe o está vacía', |
| 252 | + 'randomincategory-label' => 'Categoría:', |
| 253 | + 'randomincategory-submit' => 'Ir', |
| 254 | +); |
| 255 | + |
| 256 | +/** Basque (Euskara) |
| 257 | + * @author An13sa |
| 258 | + */ |
| 259 | +$messages['eu'] = array( |
| 260 | + 'randomincategory-toolbox' => 'Ausazko orria', |
| 261 | + 'randomincategory-label' => 'Kategoria:', |
| 262 | + 'randomincategory-submit' => 'Joan', |
| 263 | +); |
| 264 | + |
| 265 | +/** Finnish (Suomi) |
| 266 | + * @author Cimon Avaro |
| 267 | + * @author Crt |
| 268 | + * @author Mobe |
| 269 | + * @author Str4nd |
| 270 | + */ |
| 271 | +$messages['fi'] = array( |
| 272 | + 'randomincategory' => 'Satunnainen sivu luokassa', |
| 273 | + 'randomincategory-desc' => '[[Special:Randomincategory|Toimintosivu]], josta saa luokkakohtaisen satunnaisen sivun.', |
| 274 | + 'randomincategory-toolbox' => 'Satunnainen sivu', |
| 275 | + 'randomincategory-nocategory' => 'Luokkaa $1 ei ole tai se on tyhjä.', |
| 276 | + 'randomincategory-label' => 'Luokka', |
| 277 | + 'randomincategory-submit' => 'Siirry', |
| 278 | +); |
| 279 | + |
| 280 | +/** French (Français) |
| 281 | + * @author Cedric31 |
| 282 | + * @author Grondin |
| 283 | + * @author Louperivois |
| 284 | + */ |
| 285 | +$messages['fr'] = array( |
| 286 | + 'randomincategory' => 'Page au hasard dans la catégorie', |
| 287 | + 'randomincategory-desc' => '[[Special:Randomincategory|Page spéciale]] pour obtenir une page au hasard dans une catégorie', |
| 288 | + 'randomincategory-toolbox' => 'Page au hasard', |
| 289 | + 'randomincategory-nocategory' => 'La catégorie « $1 » n’existe pas ou est vide', |
| 290 | + 'randomincategory-label' => 'Catégorie :', |
| 291 | + 'randomincategory-submit' => 'Lancer', |
| 292 | +); |
| 293 | + |
| 294 | +/** Franco-Provençal (Arpetan) |
| 295 | + * @author Cedric31 |
| 296 | + */ |
| 297 | +$messages['frp'] = array( |
| 298 | + 'randomincategory-label' => 'Catègorie :', |
| 299 | + 'randomincategory-submit' => 'Lanciér', |
| 300 | +); |
| 301 | + |
| 302 | +/** Western Frisian (Frysk) |
| 303 | + * @author Snakesteuben |
| 304 | + */ |
| 305 | +$messages['fy'] = array( |
| 306 | + 'randomincategory-label' => 'Kategory:', |
| 307 | +); |
| 308 | + |
| 309 | +/** Irish (Gaeilge) |
| 310 | + * @author Moilleadóir |
| 311 | + */ |
| 312 | +$messages['ga'] = array( |
| 313 | + 'randomincategory-label' => 'Catagóir:', |
| 314 | +); |
| 315 | + |
| 316 | +/** Galician (Galego) |
| 317 | + * @author Alma |
| 318 | + * @author Toliño |
| 319 | + */ |
| 320 | +$messages['gl'] = array( |
| 321 | + 'randomincategory' => 'Páxina aleatoria na categoría', |
| 322 | + 'randomincategory-desc' => '[[Special:Randomincategory|Páxina especial]] para obter unha páxina aleatoria dentro dunha categoría', |
| 323 | + 'randomincategory-toolbox' => 'Páxina aleatoria', |
| 324 | + 'randomincategory-nocategory' => 'A categoría $1 non existe ou está baleira', |
| 325 | + 'randomincategory-label' => 'Categoría:', |
| 326 | + 'randomincategory-submit' => 'Adiante', |
| 327 | +); |
| 328 | + |
| 329 | +/** Ancient Greek (Ἀρχαία ἑλληνικὴ) |
| 330 | + * @author Crazymadlover |
| 331 | + */ |
| 332 | +$messages['grc'] = array( |
| 333 | + 'randomincategory-label' => 'Κατηγορία:', |
| 334 | + 'randomincategory-submit' => 'Ἱέναι', |
| 335 | +); |
| 336 | + |
| 337 | +/** Swiss German (Alemannisch) |
| 338 | + * @author Als-Holder |
| 339 | + */ |
| 340 | +$messages['gsw'] = array( |
| 341 | + 'randomincategory' => 'Zuefelligi Syte in ere Kategorii', |
| 342 | + 'randomincategory-desc' => '[[Special:Randomincategory|Spezialsyte]] zum e zuefelligi Syte in ere Kategorii z hole', |
| 343 | + 'randomincategory-toolbox' => 'Zuefelligi Syte', |
| 344 | + 'randomincategory-nocategory' => 'Kategorii $1 git s nit oder isch läär', |
| 345 | + 'randomincategory-label' => 'Kategorii:', |
| 346 | + 'randomincategory-submit' => 'Gang', |
| 347 | +); |
| 348 | + |
| 349 | +/** Manx (Gaelg) |
| 350 | + * @author MacTire02 |
| 351 | + */ |
| 352 | +$messages['gv'] = array( |
| 353 | + 'randomincategory-toolbox' => 'Duillag gyn tort', |
| 354 | + 'randomincategory-label' => 'Ronney:', |
| 355 | + 'randomincategory-submit' => 'Gow', |
| 356 | +); |
| 357 | + |
| 358 | +/** Hawaiian (Hawai`i) |
| 359 | + * @author Singularity |
| 360 | + */ |
| 361 | +$messages['haw'] = array( |
| 362 | + 'randomincategory-toolbox' => 'Akikala kaulele', |
| 363 | + 'randomincategory-label' => 'Mahele:', |
| 364 | +); |
| 365 | + |
| 366 | +/** Hebrew (עברית) |
| 367 | + * @author Agbad |
| 368 | + * @author Rotemliss |
| 369 | + */ |
| 370 | +$messages['he'] = array( |
| 371 | + 'randomincategory' => 'דף אקראי בקטגוריה', |
| 372 | + 'randomincategory-desc' => '[[Special:Randomincategory|דף מיוחד]] לקבלת דף אקראי בקטגוריה', |
| 373 | + 'randomincategory-toolbox' => 'דף אקראי', |
| 374 | + 'randomincategory-nocategory' => 'הקטגוריה $1 אינה קיימת או שהיא ריקה', |
| 375 | + 'randomincategory-label' => 'קטגוריה:', |
| 376 | + 'randomincategory-submit' => 'הצגה', |
| 377 | +); |
| 378 | + |
| 379 | +/** Hindi (हिन्दी) |
| 380 | + * @author Kaustubh |
| 381 | + */ |
| 382 | +$messages['hi'] = array( |
| 383 | + 'randomincategory' => 'श्रेणीमें से कोईभी पन्ना', |
| 384 | + 'randomincategory-toolbox' => 'अविशिष्ट पृष्ठ', |
| 385 | + 'randomincategory-label' => 'श्रेणी:', |
| 386 | + 'randomincategory-submit' => 'जायें', |
| 387 | +); |
| 388 | + |
| 389 | +/** Hiligaynon (Ilonggo) |
| 390 | + * @author Jose77 |
| 391 | + * @author Tagimata |
| 392 | + */ |
| 393 | +$messages['hil'] = array( |
| 394 | + 'randomincategory' => 'Lagpatan nga pahina sa kategorya', |
| 395 | + 'randomincategory-desc' => '[[Special:Randomincategory|Special page]] para makuha ang palagpat nga pahina sa kategorya', |
| 396 | + 'randomincategory-toolbox' => 'Lagpat nga Panid', |
| 397 | + 'randomincategory-nocategory' => 'Kategorya $1 wala pa nahimuan o blangko ini', |
| 398 | + 'randomincategory-label' => 'Kategorya:', |
| 399 | + 'randomincategory-submit' => 'Lakat', |
| 400 | +); |
| 401 | + |
| 402 | +/** Croatian (Hrvatski) |
| 403 | + * @author Dalibor Bosits |
| 404 | + */ |
| 405 | +$messages['hr'] = array( |
| 406 | + 'randomincategory-submit' => 'Kreni', |
| 407 | +); |
| 408 | + |
| 409 | +/** Upper Sorbian (Hornjoserbsce) |
| 410 | + * @author Michawiki |
| 411 | + */ |
| 412 | +$messages['hsb'] = array( |
| 413 | + 'randomincategory' => 'Připadna strona w kategoriji', |
| 414 | + 'randomincategory-desc' => '[[Special:Randomincategory|Specialna strona]], zo by připadnu stronu do kategorije přewzała', |
| 415 | + 'randomincategory-toolbox' => 'Připadna strona', |
| 416 | + 'randomincategory-nocategory' => 'Kategorija $1 njeeksistuje abo je prózdna', |
| 417 | + 'randomincategory-label' => 'Kategorija:', |
| 418 | + 'randomincategory-submit' => 'W porjadku', |
| 419 | +); |
| 420 | + |
| 421 | +/** Hungarian (Magyar) |
| 422 | + * @author Dani |
| 423 | + * @author Glanthor Reviol |
| 424 | + */ |
| 425 | +$messages['hu'] = array( |
| 426 | + 'randomincategory' => 'Véletlen lap egy kategóriából', |
| 427 | + 'randomincategory-desc' => '[[Special:Randomincategory|Speciális lap]] véletlen lap eléréséhez adott kategóriában', |
| 428 | + 'randomincategory-toolbox' => 'Véletlen lap', |
| 429 | + 'randomincategory-nocategory' => '$1 névvel nem létezik kategória vagy üres.', |
| 430 | + 'randomincategory-label' => 'Kategória:', |
| 431 | + 'randomincategory-submit' => 'Menj', |
| 432 | +); |
| 433 | + |
| 434 | +/** Interlingua (Interlingua) |
| 435 | + * @author McDutchie |
| 436 | + */ |
| 437 | +$messages['ia'] = array( |
| 438 | + 'randomincategory' => 'Pagina aleatori in categoria', |
| 439 | + 'randomincategory-desc' => '[[Special:Randomincategory|Pagina special]] pro obtener un pagina aleatori in un categoria', |
| 440 | + 'randomincategory-toolbox' => 'Pagina aleatori', |
| 441 | + 'randomincategory-nocategory' => 'Le categoria $1 non existe o es vacue', |
| 442 | + 'randomincategory-label' => 'Categoria:', |
| 443 | + 'randomincategory-submit' => 'Ir', |
| 444 | +); |
| 445 | + |
| 446 | +/** Indonesian (Bahasa Indonesia) |
| 447 | + * @author Bennylin |
| 448 | + * @author Rex |
| 449 | + */ |
| 450 | +$messages['id'] = array( |
| 451 | + 'randomincategory' => 'Halaman sembarang di kategori', |
| 452 | + 'randomincategory-desc' => '[[Special:Randomincategory|Halaman istimewa]] untuk melihat halaman sembarang di kategori', |
| 453 | + 'randomincategory-toolbox' => 'Halaman sembarang', |
| 454 | + 'randomincategory-nocategory' => 'Kategori $1 tidak ada atau kosong', |
| 455 | + 'randomincategory-label' => 'Kategori:', |
| 456 | + 'randomincategory-submit' => 'Tuju ke', |
| 457 | +); |
| 458 | + |
| 459 | +/** Ido (Ido) |
| 460 | + * @author Wyvernoid |
| 461 | + */ |
| 462 | +$messages['io'] = array( |
| 463 | + 'randomincategory-toolbox' => 'Hazarda pagino', |
| 464 | +); |
| 465 | + |
| 466 | +/** Icelandic (Íslenska) |
| 467 | + * @author S.Örvarr.S |
| 468 | + */ |
| 469 | +$messages['is'] = array( |
| 470 | + 'randomincategory-label' => 'Flokkur:', |
| 471 | +); |
| 472 | + |
| 473 | +/** Italian (Italiano) |
| 474 | + * @author Darth Kule |
| 475 | + */ |
| 476 | +$messages['it'] = array( |
| 477 | + 'randomincategory' => 'Pagina casuale in una categoria', |
| 478 | + 'randomincategory-desc' => "[[Special:Randomincategory|Pagina speciale]] che dà una pagina casuale all'interno di una categoria", |
| 479 | + 'randomincategory-toolbox' => 'Una pagina a caso', |
| 480 | + 'randomincategory-nocategory' => 'La categoria $1 non esiste o è vuota', |
| 481 | + 'randomincategory-label' => 'Categoria:', |
| 482 | + 'randomincategory-submit' => 'Vai', |
| 483 | +); |
| 484 | + |
| 485 | +/** Japanese (日本語) |
| 486 | + * @author Fryed-peach |
| 487 | + * @author Hosiryuhosi |
| 488 | + */ |
| 489 | +$messages['ja'] = array( |
| 490 | + 'randomincategory' => 'カテゴリ中のランダムなページ', |
| 491 | + 'randomincategory-desc' => 'カテゴリ中からページを無作為抽出するための[[Special:Randomincategory|特別ページ]]', |
| 492 | + 'randomincategory-toolbox' => 'おまかせ表示', |
| 493 | + 'randomincategory-nocategory' => 'カテゴリ $1 は存在しないか、空です', |
| 494 | + 'randomincategory-label' => 'カテゴリ:', |
| 495 | + 'randomincategory-submit' => '表示', |
| 496 | +); |
| 497 | + |
| 498 | +/** Javanese (Basa Jawa) |
| 499 | + * @author Meursault2004 |
| 500 | + */ |
| 501 | +$messages['jv'] = array( |
| 502 | + 'randomincategory' => 'Sembarang kaca ing kategori', |
| 503 | + 'randomincategory-toolbox' => 'Kaca sembarang', |
| 504 | + 'randomincategory-nocategory' => 'Kategori $1 ora ana utawa kosong', |
| 505 | + 'randomincategory-label' => 'Kategori:', |
| 506 | + 'randomincategory-submit' => 'Tumuju', |
| 507 | +); |
| 508 | + |
| 509 | +/** Khmer (ភាសាខ្មែរ) |
| 510 | + * @author Chhorran |
| 511 | + * @author Lovekhmer |
| 512 | + */ |
| 513 | +$messages['km'] = array( |
| 514 | + 'randomincategory' => 'ទំព័រព្រាវ ក្នុងចំណាត់ក្រុម', |
| 515 | + 'randomincategory-desc' => '[[Special:Randomincategory|ទំព័រពិសេស]] ដើម្បីទទួលបាន ទំព័រព្រាវ ក្នុងចំណាត់ក្រុម', |
| 516 | + 'randomincategory-toolbox' => 'ទំព័រចៃដន្យ', |
| 517 | + 'randomincategory-nocategory' => 'ចំណាត់ក្រុម $1 មិនមាន ឬ ទទេ', |
| 518 | + 'randomincategory-label' => 'ចំណាត់ថ្នាក់ក្រុម៖', |
| 519 | + 'randomincategory-submit' => 'ទៅ', |
| 520 | +); |
| 521 | + |
| 522 | +/** Kannada (ಕನ್ನಡ) |
| 523 | + * @author Nayvik |
| 524 | + */ |
| 525 | +$messages['kn'] = array( |
| 526 | + 'randomincategory-label' => 'ವರ್ಗ:', |
| 527 | + 'randomincategory-submit' => 'ಹೋಗು', |
| 528 | +); |
| 529 | + |
| 530 | +/** Krio (Krio) |
| 531 | + * @author Jose77 |
| 532 | + */ |
| 533 | +$messages['kri'] = array( |
| 534 | + 'randomincategory-submit' => 'Go to am', |
| 535 | +); |
| 536 | + |
| 537 | +/** Kinaray-a (Kinaray-a) |
| 538 | + * @author Jose77 |
| 539 | + */ |
| 540 | +$messages['krj'] = array( |
| 541 | + 'randomincategory-label' => 'Kategorya:', |
| 542 | + 'randomincategory-submit' => 'Agto', |
| 543 | +); |
| 544 | + |
| 545 | +/** Ripoarisch (Ripoarisch) |
| 546 | + * @author Purodha |
| 547 | + */ |
| 548 | +$messages['ksh'] = array( |
| 549 | + 'randomincategory' => '{{int:randompage}} en ene Saachjrupp', |
| 550 | + 'randomincategory-desc' => '[[Special:Randomincategory|Söndersigg]], öm en zofälleje Sigg uß ene Saachjrupp ze krijje.', |
| 551 | + 'randomincategory-toolbox' => '{{int:randompage}} en de Saachjrupp', |
| 552 | + 'randomincategory-nocategory' => 'De Saachjrupp „$1“ jidd_et nit, udder_et sin_er kei Sigge dren', |
| 553 | + 'randomincategory-label' => 'Saachjrupp:', |
| 554 | + 'randomincategory-submit' => 'Loß Jonn!', |
| 555 | +); |
| 556 | + |
| 557 | +/** Cornish (Kernowek) |
| 558 | + * @author Kw-Moon |
| 559 | + */ |
| 560 | +$messages['kw'] = array( |
| 561 | + 'randomincategory-toolbox' => 'Folen dre jons', |
| 562 | +); |
| 563 | + |
| 564 | +/** Latin (Latina) |
| 565 | + * @author UV |
| 566 | + */ |
| 567 | +$messages['la'] = array( |
| 568 | + 'randomincategory' => 'Pagina fortuita in categoria', |
| 569 | + 'randomincategory-toolbox' => 'Pagina fortuita', |
| 570 | + 'randomincategory-nocategory' => 'Categoria $1 aut non est aut est vacua', |
| 571 | + 'randomincategory-label' => 'Categoria:', |
| 572 | + 'randomincategory-submit' => 'Ire', |
| 573 | +); |
| 574 | + |
| 575 | +/** Luxembourgish (Lëtzebuergesch) |
| 576 | + * @author Robby |
| 577 | + */ |
| 578 | +$messages['lb'] = array( |
| 579 | + 'randomincategory' => 'Zoufälleg Säit an däer Kategorie', |
| 580 | + 'randomincategory-desc' => '[[Special:Randomincategory|Spezialsäit]], fir eng zoufälleg Säite vun enger Kategorie ze weisen', |
| 581 | + 'randomincategory-toolbox' => 'Zoufälleg Säit', |
| 582 | + 'randomincategory-nocategory' => "D'Kategorie $1 gëtt et net oder si ass eidel", |
| 583 | + 'randomincategory-label' => 'Kategorie:', |
| 584 | + 'randomincategory-submit' => 'Lass', |
| 585 | +); |
| 586 | + |
| 587 | +/** Lumbaart (Lumbaart) |
| 588 | + * @author Dakrismeno |
| 589 | + */ |
| 590 | +$messages['lmo'] = array( |
| 591 | + 'randomincategory-toolbox' => 'Una pagina a cas', |
| 592 | + 'randomincategory-nocategory' => "La categuria $1 o l'esista mia o l'è vöda", |
| 593 | +); |
| 594 | + |
| 595 | +/** Lithuanian (Lietuvių) |
| 596 | + * @author Homo |
| 597 | + */ |
| 598 | +$messages['lt'] = array( |
| 599 | + 'randomincategory' => 'Atsitiktinis kategorijos puslapis', |
| 600 | + 'randomincategory-desc' => '[[Special:Randomincategory|Specialusis puslapis]], skirtas gauti atsitiktinį kategorijos puslapį', |
| 601 | + 'randomincategory-toolbox' => 'Atsitiktinis puslapis', |
| 602 | + 'randomincategory-nocategory' => 'Kategorija $1 neegzistuoja ar yra tuščia', |
| 603 | + 'randomincategory-label' => 'Kategorija:', |
| 604 | + 'randomincategory-submit' => 'Eiti', |
| 605 | +); |
| 606 | + |
| 607 | +/** Eastern Mari (Олык Марий) |
| 608 | + * @author Сай |
| 609 | + */ |
| 610 | +$messages['mhr'] = array( |
| 611 | + 'randomincategory-toolbox' => 'Вучыдымо (случайный) статья', |
| 612 | +); |
| 613 | + |
| 614 | +/** Macedonian (Македонски) |
| 615 | + * @author Bjankuloski06 |
| 616 | + */ |
| 617 | +$messages['mk'] = array( |
| 618 | + 'randomincategory' => 'Случајна страница во категорија', |
| 619 | + 'randomincategory-desc' => '[[Special:Randomincategory|Специјална страница]] за добивање на случајна страница во категорија', |
| 620 | + 'randomincategory-toolbox' => 'Случајна страница', |
| 621 | + 'randomincategory-nocategory' => 'Категоријата $1 не постои или е празна', |
| 622 | + 'randomincategory-label' => 'Категорија:', |
| 623 | + 'randomincategory-submit' => 'Оди', |
| 624 | +); |
| 625 | + |
| 626 | +/** Malayalam (മലയാളം) |
| 627 | + * @author Shijualex |
| 628 | + */ |
| 629 | +$messages['ml'] = array( |
| 630 | + 'randomincategory-nocategory' => '$1 എന്ന വർഗ്ഗം നിലവിലില്ല അല്ലെങ്കിൽ ശൂന്യമാണ്', |
| 631 | + 'randomincategory-label' => 'വർഗ്ഗം:', |
| 632 | + 'randomincategory-submit' => 'പോകൂ', |
| 633 | +); |
| 634 | + |
| 635 | +/** Marathi (मराठी) |
| 636 | + * @author Kaustubh |
| 637 | + */ |
| 638 | +$messages['mr'] = array( |
| 639 | + 'randomincategory' => 'वर्गातील अविशिष्ट पान', |
| 640 | + 'randomincategory-desc' => 'वर्गातील अविशिष्ट पान मिळविण्यासाठीचे [[Special:Randomincategory|विशेष पान]]', |
| 641 | + 'randomincategory-toolbox' => 'अविशिष्ट पान', |
| 642 | + 'randomincategory-nocategory' => '$1 वर्ग अस्तित्वात नाही किंवा रिकामा आहे', |
| 643 | + 'randomincategory-label' => 'वर्ग:', |
| 644 | + 'randomincategory-submit' => 'चला', |
| 645 | +); |
| 646 | + |
| 647 | +/** Malay (Bahasa Melayu) |
| 648 | + * @author Aurora |
| 649 | + */ |
| 650 | +$messages['ms'] = array( |
| 651 | + 'randomincategory-label' => 'Kategori:', |
| 652 | +); |
| 653 | + |
| 654 | +/** Erzya (Эрзянь) |
| 655 | + * @author Botuzhaleny-sodamo |
| 656 | + */ |
| 657 | +$messages['myv'] = array( |
| 658 | + 'randomincategory-submit' => 'Адя', |
| 659 | +); |
| 660 | + |
| 661 | +/** Nahuatl (Nāhuatl) |
| 662 | + * @author Fluence |
| 663 | + */ |
| 664 | +$messages['nah'] = array( |
| 665 | + 'randomincategory-toolbox' => 'Zāzozāzanilli', |
| 666 | + 'randomincategory-label' => 'Neneuhcāyōtl:', |
| 667 | + 'randomincategory-submit' => 'Yāuh', |
| 668 | +); |
| 669 | + |
| 670 | +/** Dutch (Nederlands) |
| 671 | + * @author SPQRobin |
| 672 | + * @author Siebrand |
| 673 | + */ |
| 674 | +$messages['nl'] = array( |
| 675 | + 'randomincategory' => 'Willekeurige pagina in een categorie', |
| 676 | + 'randomincategory-desc' => '[[Special:Randomincategory|Speciale pagina]] om een willekeurige pagina in een categorie weer te geven', |
| 677 | + 'randomincategory-toolbox' => 'Willekeurige pagina', |
| 678 | + 'randomincategory-nocategory' => 'Categorie $1 bestaat niet of is leeg', |
| 679 | + 'randomincategory-label' => 'Categorie:', |
| 680 | + 'randomincategory-submit' => 'OK', |
| 681 | +); |
| 682 | + |
| 683 | +/** Norwegian Nynorsk (Norsk (nynorsk)) |
| 684 | + * @author Harald Khan |
| 685 | + * @author Jon Harald Søby |
| 686 | + */ |
| 687 | +$messages['nn'] = array( |
| 688 | + 'randomincategory' => 'Tilfeldig sida frå ein kategori', |
| 689 | + 'randomincategory-desc' => 'Ei [[Special:Randomincategory|spesialsida]] for å få ei tilfeldig sida frå ein kategori', |
| 690 | + 'randomincategory-toolbox' => 'Tilfeldig side', |
| 691 | + 'randomincategory-nocategory' => 'Kategorien $1 finst ikkje, eller er tom', |
| 692 | + 'randomincategory-label' => 'Kategori:', |
| 693 | + 'randomincategory-submit' => 'Gå', |
| 694 | +); |
| 695 | + |
| 696 | +/** Norwegian (bokmål) (Norsk (bokmål)) |
| 697 | + * @author Harald Khan |
| 698 | + * @author Jon Harald Søby |
| 699 | + */ |
| 700 | +$messages['no'] = array( |
| 701 | + 'randomincategory' => 'Tilfeldig side fra en kategori', |
| 702 | + 'randomincategory-desc' => '[[Special:Randomincategory|Spesialside]] for å få en tilfeldig side fra en kategori', |
| 703 | + 'randomincategory-toolbox' => 'Tilfeldig side', |
| 704 | + 'randomincategory-nocategory' => 'Kategorien $1 finnes ikke, eller er tom', |
| 705 | + 'randomincategory-label' => 'Kategori:', |
| 706 | + 'randomincategory-submit' => '{{int:Go}}', |
| 707 | +); |
| 708 | + |
| 709 | +/** Northern Sotho (Sesotho sa Leboa) |
| 710 | + * @author Mohau |
| 711 | + */ |
| 712 | +$messages['nso'] = array( |
| 713 | + 'randomincategory-submit' => 'Sepela', |
| 714 | +); |
| 715 | + |
| 716 | +/** Occitan (Occitan) |
| 717 | + * @author Cedric31 |
| 718 | + */ |
| 719 | +$messages['oc'] = array( |
| 720 | + 'randomincategory' => "Pagina a l'azard dins la categoria", |
| 721 | + 'randomincategory-desc' => "[[Special:Randomincategory|Pagina especiala]] per obténer una pagina a l'azard dins una categoria.", |
| 722 | + 'randomincategory-toolbox' => "Pagina a l'azard", |
| 723 | + 'randomincategory-nocategory' => 'La categoria « $1 » existís pas o es voida', |
| 724 | + 'randomincategory-label' => 'Categoria :', |
| 725 | + 'randomincategory-submit' => 'Amodar', |
| 726 | +); |
| 727 | + |
| 728 | +/** Ossetic (Иронау) |
| 729 | + * @author Amikeco |
| 730 | + */ |
| 731 | +$messages['os'] = array( |
| 732 | + 'randomincategory-label' => 'Категори', |
| 733 | +); |
| 734 | + |
| 735 | +/** Deitsch (Deitsch) |
| 736 | + * @author Xqt |
| 737 | + */ |
| 738 | +$messages['pdc'] = array( |
| 739 | + 'randomincategory-label' => 'Abdeeling:', |
| 740 | +); |
| 741 | + |
| 742 | +/** Polish (Polski) |
| 743 | + * @author Maikking |
| 744 | + * @author Sp5uhe |
| 745 | + */ |
| 746 | +$messages['pl'] = array( |
| 747 | + 'randomincategory' => 'Losowa strona w kategorii', |
| 748 | + 'randomincategory-desc' => '[[Special:Randomincategory|Strona specjalna]] zwracająca losową stronę z kategorii', |
| 749 | + 'randomincategory-toolbox' => 'Losowa strona', |
| 750 | + 'randomincategory-nocategory' => 'Kategoria $1 nie istnieje lub jest pusta', |
| 751 | + 'randomincategory-label' => 'Kategoria', |
| 752 | + 'randomincategory-submit' => 'Dalej', |
| 753 | +); |
| 754 | + |
| 755 | +/** Piedmontese (Piemontèis) |
| 756 | + * @author Dragonòt |
| 757 | + */ |
| 758 | +$messages['pms'] = array( |
| 759 | + 'randomincategory' => 'Pàgina a cas ant na categorìa', |
| 760 | + 'randomincategory-desc' => '[[Special:Randomincategory|Pàgina special]] për pijé na pàgina a cas ant na categorìa', |
| 761 | + 'randomincategory-toolbox' => 'Na pàgina qualsëssìa', |
| 762 | + 'randomincategory-nocategory' => "La categorìa $1 a esist pa o a l'é veuida", |
| 763 | + 'randomincategory-label' => 'Categorìa:', |
| 764 | + 'randomincategory-submit' => 'Va', |
| 765 | +); |
| 766 | + |
| 767 | +/** Pashto (پښتو) |
| 768 | + * @author Ahmed-Najib-Biabani-Ibrahimkhel |
| 769 | + */ |
| 770 | +$messages['ps'] = array( |
| 771 | + 'randomincategory' => 'په وېشنيزه کې ناټاکلی مخ', |
| 772 | + 'randomincategory-toolbox' => 'ناټاکلی مخ', |
| 773 | + 'randomincategory-label' => 'وېشنيزه:', |
| 774 | + 'randomincategory-submit' => 'ورځه', |
| 775 | +); |
| 776 | + |
| 777 | +/** Portuguese (Português) |
| 778 | + * @author Lijealso |
| 779 | + * @author Malafaya |
| 780 | + */ |
| 781 | +$messages['pt'] = array( |
| 782 | + 'randomincategory' => 'Página aleatória na categoria', |
| 783 | + 'randomincategory-desc' => '[[Special:Randomincategory|Página especial]] para obter uma página aleatória na categoria', |
| 784 | + 'randomincategory-toolbox' => 'Página aleatória', |
| 785 | + 'randomincategory-nocategory' => 'A categoria $1 não existe ou está vazia', |
| 786 | + 'randomincategory-label' => 'Categoria:', |
| 787 | + 'randomincategory-submit' => 'Ir', |
| 788 | +); |
| 789 | + |
| 790 | +/** Brazilian Portuguese (Português do Brasil) |
| 791 | + * @author Eduardo.mps |
| 792 | + */ |
| 793 | +$messages['pt-br'] = array( |
| 794 | + 'randomincategory' => 'Página aleatória na categoria', |
| 795 | + 'randomincategory-desc' => '[[Special:Randomincategory|Página especial]] para obter uma página aleatória na categoria', |
| 796 | + 'randomincategory-toolbox' => 'Página aleatória', |
| 797 | + 'randomincategory-nocategory' => 'A categoria $1 não existe ou está vazia', |
| 798 | + 'randomincategory-label' => 'Categoria:', |
| 799 | + 'randomincategory-submit' => 'Ir', |
| 800 | +); |
| 801 | + |
| 802 | +/** Tarifit (Tarifit) |
| 803 | + * @author Jose77 |
| 804 | + */ |
| 805 | +$messages['rif'] = array( |
| 806 | + 'randomincategory-submit' => 'Raḥ ɣa', |
| 807 | +); |
| 808 | + |
| 809 | +/** Romanian (Română) |
| 810 | + * @author KlaudiuMihaila |
| 811 | + */ |
| 812 | +$messages['ro'] = array( |
| 813 | + 'randomincategory' => 'Pagină aleatorie în categorie', |
| 814 | + 'randomincategory-toolbox' => 'Pagină aleatorie', |
| 815 | + 'randomincategory-nocategory' => 'Categoria $1 nu există sau este goală', |
| 816 | + 'randomincategory-label' => 'Categorie:', |
| 817 | +); |
| 818 | + |
| 819 | +/** Tarandíne (Tarandíne) |
| 820 | + * @author Joetaras |
| 821 | + */ |
| 822 | +$messages['roa-tara'] = array( |
| 823 | + 'randomincategory' => "Pàggene a uecchije jndr'à categorije", |
| 824 | + 'randomincategory-desc' => "[[Special:Randomincategory|Pàgena speciale]] pe pigghià 'na pàgene a uecchije jndr'à categorije", |
| 825 | + 'randomincategory-toolbox' => 'Pàgene a uecchije', |
| 826 | + 'randomincategory-nocategory' => "'A categorije $1 non g'esiste o jè vacande", |
| 827 | + 'randomincategory-label' => 'Categorije:', |
| 828 | + 'randomincategory-submit' => 'Veje', |
| 829 | +); |
| 830 | + |
| 831 | +/** Russian (Русский) |
| 832 | + * @author Александр Сигачёв |
| 833 | + */ |
| 834 | +$messages['ru'] = array( |
| 835 | + 'randomincategory' => 'Случайная страница категории', |
| 836 | + 'randomincategory-desc' => '[[Special:Randomincategory|Служебная страница]] для получения случайной страницы категории', |
| 837 | + 'randomincategory-toolbox' => 'Случайная страница', |
| 838 | + 'randomincategory-nocategory' => 'Категория $1 не существует или пуста', |
| 839 | + 'randomincategory-label' => 'Категория:', |
| 840 | + 'randomincategory-submit' => 'Перейти', |
| 841 | +); |
| 842 | + |
| 843 | +/** Slovak (Slovenčina) |
| 844 | + * @author Helix84 |
| 845 | + * @author Michawiki |
| 846 | + */ |
| 847 | +$messages['sk'] = array( |
| 848 | + 'randomincategory' => 'Náhodná stránka v kategórii', |
| 849 | + 'randomincategory-desc' => '[[Special:Randomincategory|Špeciálna stránka]] na výber náhodnej stránky z kategórie', |
| 850 | + 'randomincategory-toolbox' => 'Náhodná stránka', |
| 851 | + 'randomincategory-nocategory' => 'Kategória $1 neexistuje alebo je prázdna', |
| 852 | + 'randomincategory-label' => 'Kategória:', |
| 853 | + 'randomincategory-submit' => 'Vykonať', |
| 854 | +); |
| 855 | + |
| 856 | +/** Serbian Cyrillic ekavian (Српски (ћирилица)) |
| 857 | + * @author Михајло Анђелковић |
| 858 | + */ |
| 859 | +$messages['sr-ec'] = array( |
| 860 | + 'randomincategory' => 'Случајна страна из категорије', |
| 861 | + 'randomincategory-desc' => '[[Special:Randomincategory|Специјална страна]] за преузимање случајне стране из категорије', |
| 862 | + 'randomincategory-toolbox' => 'Случајна страна', |
| 863 | + 'randomincategory-nocategory' => 'Категорија $1 не постоји или је празна', |
| 864 | + 'randomincategory-label' => 'Категорија:', |
| 865 | + 'randomincategory-submit' => 'Иди', |
| 866 | +); |
| 867 | + |
| 868 | +/** Serbian Latin ekavian (Srpski (latinica)) |
| 869 | + * @author Michaello |
| 870 | + */ |
| 871 | +$messages['sr-el'] = array( |
| 872 | + 'randomincategory' => 'Slučajna strana iz kategorije', |
| 873 | + 'randomincategory-desc' => '[[Special:Randomincategory|Specijalna strana]] za preuzimanje slučajne strane iz kategorije', |
| 874 | + 'randomincategory-toolbox' => 'Slučajna strana', |
| 875 | + 'randomincategory-nocategory' => 'Kategorija $1 ne postoji ili je prazna', |
| 876 | + 'randomincategory-label' => 'Kategorija:', |
| 877 | + 'randomincategory-submit' => 'Idi', |
| 878 | +); |
| 879 | + |
| 880 | +/** Seeltersk (Seeltersk) |
| 881 | + * @author Pyt |
| 882 | + */ |
| 883 | +$messages['stq'] = array( |
| 884 | + 'randomincategory' => 'Toufällige Siede in ne Kategorie', |
| 885 | + 'randomincategory-desc' => '[[Special:Randomincategory|Spezioalsiede]], uum ne toufällige Siede ap ne Kategorie tou hoaljen', |
| 886 | + 'randomincategory-toolbox' => 'Toufällige Siede', |
| 887 | + 'randomincategory-nocategory' => 'Kategorie $1 bestoant nit of ju is loos', |
| 888 | + 'randomincategory-label' => 'Kategorie:', |
| 889 | + 'randomincategory-submit' => 'OK', |
| 890 | +); |
| 891 | + |
| 892 | +/** Sundanese (Basa Sunda) |
| 893 | + * @author Irwangatot |
| 894 | + */ |
| 895 | +$messages['su'] = array( |
| 896 | + 'randomincategory-label' => 'Kategori:', |
| 897 | +); |
| 898 | + |
| 899 | +/** Swedish (Svenska) |
| 900 | + * @author Jon Harald Søby |
| 901 | + * @author M.M.S. |
| 902 | + */ |
| 903 | +$messages['sv'] = array( |
| 904 | + 'randomincategory' => 'Slump sida i kategori', |
| 905 | + 'randomincategory-desc' => '[[Special:Randomincategory|Specialsida]] för att få en slumpsida från en kategori', |
| 906 | + 'randomincategory-toolbox' => 'Slumpsida', |
| 907 | + 'randomincategory-nocategory' => 'Kategorin $1 hittades inte, eller är tom', |
| 908 | + 'randomincategory-label' => 'Kategori:', |
| 909 | + 'randomincategory-submit' => 'Gå', |
| 910 | +); |
| 911 | + |
| 912 | +/** Telugu (తెలుగు) |
| 913 | + * @author Veeven |
| 914 | + */ |
| 915 | +$messages['te'] = array( |
| 916 | + 'randomincategory' => 'వర్గంలోని యాదృచ్చిక పేజీ', |
| 917 | + 'randomincategory-desc' => 'ఓ వర్గంలోని యాదృచ్ఛిక పేజీని పొందడానికై [[Special:Randomincategory|ప్రత్యేక పేజీ]]', |
| 918 | + 'randomincategory-toolbox' => 'యాదృచ్ఛిక పేజీ', |
| 919 | + 'randomincategory-nocategory' => '$1 అనే వర్గం లేదు లేదా ఖాళీగా ఉంది', |
| 920 | + 'randomincategory-label' => 'వర్గం:', |
| 921 | + 'randomincategory-submit' => 'వెళ్ళు', |
| 922 | +); |
| 923 | + |
| 924 | +/** Tetum (Tetun) |
| 925 | + * @author MF-Warburg |
| 926 | + */ |
| 927 | +$messages['tet'] = array( |
| 928 | + 'randomincategory-label' => 'Kategoria:', |
| 929 | + 'randomincategory-submit' => 'Bá', |
| 930 | +); |
| 931 | + |
| 932 | +/** Tajik (Cyrillic) (Тоҷикӣ (Cyrillic)) |
| 933 | + * @author Ibrahim |
| 934 | + */ |
| 935 | +$messages['tg-cyrl'] = array( |
| 936 | + 'randomincategory' => 'Саҳифаи тасодуфӣ дар гурӯҳ', |
| 937 | + 'randomincategory-desc' => '[[Special:Randomincategory|Саҳифаи вижа]] барои гирифтани саҳифаи тасодуфӣ дар гурӯҳ', |
| 938 | + 'randomincategory-toolbox' => 'Саҳифаи тасодуфӣ', |
| 939 | + 'randomincategory-nocategory' => 'Гурӯҳи $1 вуҷуд надорад ё холӣ аст', |
| 940 | + 'randomincategory-label' => 'Гурӯҳ:', |
| 941 | + 'randomincategory-submit' => 'Бирав', |
| 942 | +); |
| 943 | + |
| 944 | +/** Tajik (Latin) (Тоҷикӣ (Latin)) |
| 945 | + * @author Liangent |
| 946 | + */ |
| 947 | +$messages['tg-latn'] = array( |
| 948 | + 'randomincategory' => 'Sahifai tasodufī dar gurūh', |
| 949 | + 'randomincategory-desc' => '[[Special:Randomincategory|Sahifai viƶa]] baroi giriftani sahifai tasodufī dar gurūh', |
| 950 | + 'randomincategory-toolbox' => 'Sahifai tasodufī', |
| 951 | + 'randomincategory-nocategory' => 'Gurūhi $1 vuçud nadorad jo xolī ast', |
| 952 | + 'randomincategory-label' => 'Gurūh:', |
| 953 | + 'randomincategory-submit' => 'Birav', |
| 954 | +); |
| 955 | + |
| 956 | +/** Turkmen (Türkmençe) |
| 957 | + * @author Hanberke |
| 958 | + */ |
| 959 | +$messages['tk'] = array( |
| 960 | + 'randomincategory-label' => 'Kategoriýa:', |
| 961 | + 'randomincategory-submit' => 'Git', |
| 962 | +); |
| 963 | + |
| 964 | +/** Tagalog (Tagalog) |
| 965 | + * @author AnakngAraw |
| 966 | + */ |
| 967 | +$messages['tl'] = array( |
| 968 | + 'randomincategory' => 'Alin mang pahina sa loob ng kaurian', |
| 969 | + 'randomincategory-desc' => '[[Special:Randomincategory|Natatanging pahina]] upang makakuha ng alin mang pahinang nasa loob ng kaurian', |
| 970 | + 'randomincategory-toolbox' => 'Alin mang pahina', |
| 971 | + 'randomincategory-nocategory' => 'Hindi umiiral o walang laman ang kauriang $1', |
| 972 | + 'randomincategory-label' => 'Kaurian:', |
| 973 | + 'randomincategory-submit' => 'Gawin na', |
| 974 | +); |
| 975 | + |
| 976 | +/** Turkish (Türkçe) |
| 977 | + * @author Joseph |
| 978 | + * @author Karduelis |
| 979 | + * @author Vito Genovese |
| 980 | + */ |
| 981 | +$messages['tr'] = array( |
| 982 | + 'randomincategory' => 'Kategoriye göre rastgele sayfa', |
| 983 | + 'randomincategory-desc' => 'Kategoride rasgele bir sayfa için [[Special:Randomincategory|özel sayfa]]', |
| 984 | + 'randomincategory-toolbox' => 'Rastgele sayfa', |
| 985 | + 'randomincategory-nocategory' => '$1 kategorisi mevcut değil ya da boş', |
| 986 | + 'randomincategory-label' => 'Kategori:', |
| 987 | + 'randomincategory-submit' => 'Git', |
| 988 | +); |
| 989 | + |
| 990 | +/** ئۇيغۇرچە (ئۇيغۇرچە) |
| 991 | + * @author Alfredie |
| 992 | + */ |
| 993 | +$messages['ug-arab'] = array( |
| 994 | + 'randomincategory-submit' => 'كۆچۈش', |
| 995 | +); |
| 996 | + |
| 997 | +/** Uighur (Latin) (Uyghurche / ئۇيغۇرچە (Latin)) |
| 998 | + * @author Jose77 |
| 999 | + */ |
| 1000 | +$messages['ug-latn'] = array( |
| 1001 | + 'randomincategory-submit' => 'Köchüsh', |
| 1002 | +); |
| 1003 | + |
| 1004 | +/** Ukrainian (Українська) |
| 1005 | + * @author Prima klasy4na |
| 1006 | + */ |
| 1007 | +$messages['uk'] = array( |
| 1008 | + 'randomincategory-label' => 'Категорія:', |
| 1009 | +); |
| 1010 | + |
| 1011 | +/** Veps (Vepsan kel') |
| 1012 | + * @author Игорь Бродский |
| 1013 | + */ |
| 1014 | +$messages['vep'] = array( |
| 1015 | + 'randomincategory-label' => 'Kategorii:', |
| 1016 | +); |
| 1017 | + |
| 1018 | +/** Vietnamese (Tiếng Việt) |
| 1019 | + * @author Minh Nguyen |
| 1020 | + * @author Vinhtantran |
| 1021 | + */ |
| 1022 | +$messages['vi'] = array( |
| 1023 | + 'randomincategory' => 'Trang ngẫu nhiên trong thể loại', |
| 1024 | + 'randomincategory-desc' => '[[Special:Randomincategory|Trang đặc biệt]] để xem một trang ngẫu nhiên trong thể loại', |
| 1025 | + 'randomincategory-toolbox' => 'Trang ngẫu nhiên', |
| 1026 | + 'randomincategory-nocategory' => 'Thể loại $1 không tồn tại hoặc đang trống', |
| 1027 | + 'randomincategory-label' => 'Thể loại:', |
| 1028 | + 'randomincategory-submit' => 'Xem', |
| 1029 | +); |
| 1030 | + |
| 1031 | +/** Volapük (Volapük) |
| 1032 | + * @author Malafaya |
| 1033 | + */ |
| 1034 | +$messages['vo'] = array( |
| 1035 | + 'randomincategory-label' => 'Klad:', |
| 1036 | +); |
| 1037 | + |
| 1038 | +/** Simplified Chinese (中文(简体)) |
| 1039 | + * @author Gzdavidwong |
| 1040 | + */ |
| 1041 | +$messages['zh-hans'] = array( |
| 1042 | + 'randomincategory-toolbox' => '随机页面', |
| 1043 | + 'randomincategory-label' => '页面分类:', |
| 1044 | +); |
| 1045 | + |
| 1046 | +/** Traditional Chinese (中文(繁體)) |
| 1047 | + * @author Gzdavidwong |
| 1048 | + * @author Wrightbus |
| 1049 | + */ |
| 1050 | +$messages['zh-hant'] = array( |
| 1051 | + 'randomincategory-toolbox' => '隨機頁面', |
| 1052 | + 'randomincategory-label' => '頁面分類:', |
| 1053 | +); |
| 1054 | + |
Property changes on: trunk/extensions/RandomInCategory/RandomInCategory.i18n.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 1055 | + native |
Index: trunk/extensions/RandomInCategory/RandomInCategory.php |
— | — | @@ -0,0 +1,28 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +/** |
| 5 | + * Special page to direct the user to a random page in specified category |
| 6 | + * |
| 7 | + * @addtogroup SpecialPage |
| 8 | + * @author VasilievVV <vasilvv@gmail.com>, based on SpecialRandompage.php code |
| 9 | + * @license GNU General Public Licence 2.0 or later |
| 10 | + */ |
| 11 | + |
| 12 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 13 | + exit(1); |
| 14 | +} |
| 15 | + |
| 16 | +$wgExtensionCredits['specialpage'][] = array( |
| 17 | + 'path' => __FILE__, |
| 18 | + 'name' => 'Random in category', |
| 19 | + 'author' => 'VasilievVV', |
| 20 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:RandomInCategory', |
| 21 | + 'descriptionmsg' => 'randomincategory-desc', |
| 22 | +); |
| 23 | + |
| 24 | +$dir = dirname(__FILE__) . '/'; |
| 25 | +$wgExtensionMessagesFiles['RandomInCategory'] = $dir . 'RandomInCategory.i18n.php'; |
| 26 | +$wgExtensionAliasesFiles['RandomInCategory'] = $dir . 'RandomInCategory.alias.php'; |
| 27 | + |
| 28 | +$wgSpecialPages['RandomInCategory'] = 'RandomPageInCategory'; |
| 29 | +$wgAutoloadClasses['RandomPageInCategory'] = $dir . 'RandomInCategory.body.php'; |
Property changes on: trunk/extensions/RandomInCategory/RandomInCategory.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 30 | + native |
Name: svn:keywords |
2 | 31 | + LastChangedDate LastChangedRevision |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -842,9 +842,8 @@ |
843 | 843 | |
844 | 844 | Random Image |
845 | 845 | |
846 | | -Random in Category |
847 | | -file = RandomInCategory/SpecialRandomincategory.i18n.php |
848 | | -aliasfile = RandomInCategory/SpecialRandomincategory.alias.php |
| 846 | +Random In Category |
| 847 | +aliasfile = RandomInCategory/RandomInCategory.alias.php |
849 | 848 | |
850 | 849 | Random Root Page |
851 | 850 | file = Randomrootpage/Randomrootpage.i18n.php |