r60800 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60799‎ | r60800 | r60801 >
Date:19:25, 7 January 2010
Author:pdhanda
Status:ok
Tags:
Comment:
Patch provided by Bawolff. Fixes listed in Bug#21963
Modified paths:
  • /trunk/extensions/intersection/DynamicPageList.i18n.php (modified) (history)
  • /trunk/extensions/intersection/DynamicPageList.php (modified) (history)

Diff [purge]

Index: trunk/extensions/intersection/DynamicPageList.i18n.php
@@ -11,7 +11,6 @@
1212 $messages['en'] = array(
1313 'intersection-desc' => 'Outputs a bulleted list of the most recent items residing in a category, or an intersection of several categories',
1414 'intersection_toomanycats' => 'Error: Too many categories!',
15 - 'intersection_toofewcats' => 'Error: Too few categories!',
1615 'intersection_noresults' => 'Error: No results!',
1716 'intersection_noincludecats' => 'Error: You need to include at least one category, or specify a namespace!',
1817 );
@@ -28,7 +27,6 @@
2928 */
3029 $messages['af'] = array(
3130 'intersection_toomanycats' => 'Fout: Te veel kategorieë!',
32 - 'intersection_toofewcats' => 'Fout: Te min kategorieë!',
3331 'intersection_noresults' => 'Fout: Geen resultate!',
3432 );
3533
@@ -38,7 +36,6 @@
3937 $messages['an'] = array(
4038 'intersection-desc' => "Preduz una lista d'os elementos más rezients que bi ha en una categoría u a unión de barios categorías",
4139 'intersection_toomanycats' => 'Error: Masiadas categorías!',
42 - 'intersection_toofewcats' => 'Error: numero insufizient de categorías!',
4340 'intersection_noresults' => 'Error: No bi ha garra resultau!',
4441 'intersection_noincludecats' => "Error: Ha d'encluyir á lo menos una categoría u endicar un espazio de nombres!",
4542 );
@@ -49,7 +46,6 @@
5047 $messages['ar'] = array(
5148 'intersection-desc' => 'يخرج قائمة معلمة بأحدث المدخلات الساكنة في تصنيف، أو اتحاد عدة تصنيفات',
5249 'intersection_toomanycats' => 'خطأ: تصنيفات كثيرة جدا!',
53 - 'intersection_toofewcats' => 'خطأ: تصنيفات قليلة جدا!',
5450 'intersection_noresults' => 'خطأ: لا نتائج!',
5551 'intersection_noincludecats' => 'خطأ: ينبغي أن تضمن تصنيفا واحدا على الأقل، أو تحدد نطاقا!',
5652 );
@@ -61,7 +57,6 @@
6258 $messages['arz'] = array(
6359 'intersection-desc' => 'بيطلع لستة مترقمة لاحدث الحاجات الموجودة فى تصنيف,او اتحاد اكتر من تصنيف',
6460 'intersection_toomanycats' => 'غلط:تصانيف كتيرة خالص!',
65 - 'intersection_toofewcats' => 'غلط:تصانيف قليلة خالص!',
6661 'intersection_noresults' => 'غلط:مافيش نتايج!',
6762 'intersection_noincludecats' => 'غلط: لازم تحط تصنيف واحد على الأقل، أو تحدد نطاق!',
6863 );
@@ -72,7 +67,6 @@
7368 $messages['ast'] = array(
7469 'intersection-desc' => 'Amuesa una llista de los elementos más recién que tenga una categoría o una xuntanza de varies categoríes',
7570 'intersection_toomanycats' => 'Error: ¡Demasiaes categoríes!',
76 - 'intersection_toofewcats' => 'Error: ¡Demasiaes poques categoríes!',
7771 'intersection_noresults' => 'Error: ¡Nun hai resultaos!',
7872 'intersection_noincludecats' => 'Error: ¡Necesites amiestar a lo menos una categoría, o especificar un espaciu de nomes!',
7973 );
@@ -82,7 +76,6 @@
8377 */
8478 $messages['bcc'] = array(
8579 'intersection_toomanycats' => 'DynamicPageList: بازگین دسته جات!',
86 - 'intersection_toofewcats' => 'DynamicPageList: باز کمین دسته جات!',
8780 'intersection_noresults' => 'DynamicPageList: هچ نتیجه ای',
8881 'intersection_noincludecats' => 'لیست صفحات دینامیکی: شما لازمنت حداقل یک دسته هور کنیت یا یک نام فضایی مشخص کنیت!',
8982 );
@@ -94,7 +87,6 @@
9588 $messages['be-tarask'] = array(
9689 'intersection-desc' => "Выводзіць у маркіраваны сьпіс апошнія дабаўленьні да катэгорыі альбо аб'ядноўвае некалькі катэгорыяў",
9790 'intersection_toomanycats' => 'Памылка: Зашмат катэгорыяў!',
98 - 'intersection_toofewcats' => 'Памылка: Занадта мала катэгорыяў!',
9991 'intersection_noresults' => 'Памылка: Няма вынікаў!',
10092 'intersection_noincludecats' => 'Памылка: Вам неабходна ўключыць хаця б адну катэгорыю альбо ўказаць прастору назваў!',
10193 );
@@ -106,7 +98,6 @@
10799 $messages['bg'] = array(
108100 'intersection-desc' => 'Извежда списък на най-скорошните записи в дадена категория или сечение на няколко категории',
109101 'intersection_toomanycats' => 'Грешка: Твърде много категории!',
110 - 'intersection_toofewcats' => 'Грешка: Твърде малко категории!',
111102 'intersection_noresults' => 'Грешка: Няма резултати!',
112103 'intersection_noincludecats' => 'Грешка: Необходимо е да се включи поне една категория или да се посочи именно пространство!',
113104 );
@@ -116,7 +107,6 @@
117108 */
118109 $messages['bn'] = array(
119110 'intersection_toomanycats' => 'Error: অনেক বেশি বিষয়শ্রেণী!',
120 - 'intersection_toofewcats' => 'Error: অনেক কম বিষয়শ্রেণী!',
121111 'intersection_noresults' => 'Error: ফলাফল নাই!',
122112 'intersection_noincludecats' => 'ত্রুটি:আপনার অন্তত একটি বিষয়শ্রেণী যুক্ত করতে, অথবা একটি নেমস্পেস দিতে হবে!',
123113 );
@@ -127,7 +117,6 @@
128118 $messages['br'] = array(
129119 'intersection-desc' => 'Diskwel a ra ur roll padelliget eus ar pennadoù nevesañ en ur rummad, pe en ur skourr a veur a rummad',
130120 'intersection_toomanycats' => 'Error: Re a rummadoù !',
131 - 'intersection_toofewcats' => 'Error: Re nebeut a rummadoù !',
132121 'intersection_noresults' => "Error: Disoc'h ebet !",
133122 'intersection_noincludecats' => "Fazi : Ret eo deoc'h merkañ ur rummad da nebeutañ, pe spisaat un esaouenn anv",
134123 );
@@ -139,7 +128,6 @@
140129 $messages['bs'] = array(
141130 'intersection-desc' => 'Izbacuje listu najčešćih tačaka koje se nalaze u kategoriji ili u sekciji nekoliko kategorija.',
142131 'intersection_toomanycats' => 'Greška: Previše kategorija!',
143 - 'intersection_toofewcats' => 'Greška: Premalo kategorija!',
144132 'intersection_noresults' => 'Greška: Nema rezultata!',
145133 'intersection_noincludecats' => 'Greška: Potrebno je da uključite najmanje jednu kategoriju ili odredite imenski prostor!',
146134 );
@@ -151,7 +139,6 @@
152140 $messages['ca'] = array(
153141 'intersection-desc' => "Genera una llista d'elements recents en una categoria o en la intersecció de diverses.",
154142 'intersection_toomanycats' => 'Error: Massa categories!',
155 - 'intersection_toofewcats' => 'Error: Massa poques categories!',
156143 'intersection_noresults' => 'Error: Cap resultat!',
157144 'intersection_noincludecats' => "Error: Heu d'incloure almenys una categoria o especificar un espai de noms!",
158145 );
@@ -163,7 +150,6 @@
164151 $messages['cs'] = array(
165152 'intersection-desc' => 'Vypíše seznam nejnovějších položek v kategorii nebo sjednotí několik kategorií',
166153 'intersection_toomanycats' => 'Error: Příliš mnoho kategorií!',
167 - 'intersection_toofewcats' => 'Error: Málo kategorií!',
168154 'intersection_noresults' => 'Error: Žádné výsledky!',
169155 'intersection_noincludecats' => 'Error: Musíte zahrnout alespoň jednu kategorii nebo určit jmenný prostor!',
170156 );
@@ -177,7 +163,6 @@
178164 $messages['de'] = array(
179165 'intersection-desc' => 'Ausgabe einer Liste der aktuellsten Einträge in einer Kategorie, oder der Schnittmenge mehrerer Kategorien',
180166 'intersection_toomanycats' => 'Fehler: Zu viele Kategorien!',
181 - 'intersection_toofewcats' => 'Fehler: Zu wenige Kategorien!',
182167 'intersection_noresults' => 'Fehler: Keine Ergebnisse!',
183168 'intersection_noincludecats' => 'Fehler: Du musst mindestens eine Kategorie einbinden oder gib einen Namensraum an!',
184169 );
@@ -195,7 +180,6 @@
196181 $messages['diq'] = array(
197182 'intersection-desc' => 'yew kategori de, ya zi unsurê ke yew ra zêd pêgınayişê kategoriyan de esti, listeya maddeya nişanbiyayeyanê ıney unsuran vırazeno',
198183 'intersection_toomanycats' => 'xeta: kategoriyi zaf zêd ê!',
199 - 'intersection_toofewcats' => 'xeta: kategoriyi zaf tay ê!',
200184 'intersection_noresults' => 'xeta: netice çina!',
201185 'intersection_noincludecats' => 'xeta: tewr tay yew kategori gani têarê bıbo ya zi yew mıntıqaya nameyi diyare bıkerê!',
202186 );
@@ -206,7 +190,6 @@
207191 $messages['dsb'] = array(
208192 'intersection-desc' => 'Wudawa lisćina nejaktualnjejšych zapiskow w kategoriji abo zgromadneje młogosći někotarych kategorijow',
209193 'intersection_toomanycats' => 'Zmólka: Pśewjele kategorijow!',
210 - 'intersection_toofewcats' => 'Zmólka: Pśemało kategorijow!',
211194 'intersection_noresults' => 'Zmólka: Žedne wuslědki!',
212195 'intersection_noincludecats' => 'Zmólka: Musyš nanejmjenjej jadnu kategoriju zapśěgnuś abo mjenjowy rum pódaś!',
213196 );
@@ -217,7 +200,6 @@
218201 $messages['el'] = array(
219202 'intersection-desc' => 'Έχει ως έξοδο μια μη αριθμημένη λίστα των πιο πρόσφατων στοιχείων σε μια κατηγορία, ή μια τομή μερικών κατηγοριών',
220203 'intersection_toomanycats' => 'Σφάλμα: Πάρα πολλές κατηγορίες!',
221 - 'intersection_toofewcats' => 'Σφάλμα: Πολύ λίγες κατηγορίες!',
222204 'intersection_noresults' => 'Σφάλμα: Δεν υπάρχουν αποτελέσματα!',
223205 'intersection_noincludecats' => 'Σφάλμα: Πρέπει να περιλάβετε τουλάχιστον μία κατηγορία, ή να ορίσετε μια περιοχή ονομάτων!',
224206 );
@@ -229,7 +211,6 @@
230212 $messages['eo'] = array(
231213 'intersection-desc' => 'Eligas bulpunktitan liston de la plej lastaj kategorianoj, aŭ unuigo de pluraj kategorioj',
232214 'intersection_toomanycats' => 'Eraro: Tro da kategorioj!',
233 - 'intersection_toofewcats' => 'Eraro: Tro malmulte da kategorioj!',
234215 'intersection_noresults' => 'Eraro: Neniom da rezultoj!',
235216 'intersection_noincludecats' => 'Eraro: Vi devas inkluzivi almenaŭ unu kategorion, aŭ specifu nomspacon!',
236217 );
@@ -242,7 +223,6 @@
243224 $messages['es'] = array(
244225 'intersection-desc' => 'Devuelve una lista de los elementos más recientes que están en una categoría o en una intersección de varias categorías',
245226 'intersection_toomanycats' => '¡Error: Demasiadas categorías!',
246 - 'intersection_toofewcats' => 'Error: ¡Muy pocas categorías!',
247227 'intersection_noresults' => 'Error: ¡Sin resultados!',
248228 'intersection_noincludecats' => 'Error: ¡Necesita incluir al menos una categoría, o especificar un espacio de nombres!',
249229 );
@@ -253,7 +233,6 @@
254234 */
255235 $messages['et'] = array(
256236 'intersection_toomanycats' => 'Tõrge: Liiga palju kategooriaid!',
257 - 'intersection_toofewcats' => 'Tõrge: Liiga vähe kategooriaid!',
258237 'intersection_noresults' => 'Viga: Tulemusi ei ole!',
259238 'intersection_noincludecats' => 'Tõrge: Lisa vähemalt üks kategooria või täpsusta nimeruum!',
260239 );
@@ -263,7 +242,6 @@
264243 */
265244 $messages['eu'] = array(
266245 'intersection_toomanycats' => 'Errorea: Kategoria gehiegi!',
267 - 'intersection_toofewcats' => 'Errorea: Kategoria gutxiegi!',
268246 'intersection_noresults' => 'Errorea: Emaitzarik ez!',
269247 'intersection_noincludecats' => 'Errorea: Gutxienez kategoria bat gehitu edo izen bat zehaztu behar duzu!',
270248 );
@@ -274,7 +252,6 @@
275253 $messages['fa'] = array(
276254 'intersection-desc' => 'فهرست گلوله‌ای از صفحه‌هایی به نمایش در می‌آورد که به تازگی در یک یا چند رده وارد شده‌اند',
277255 'intersection_toomanycats' => 'DynamicPageList: تعداد رده‌ها زیاد است!',
278 - 'intersection_toofewcats' => 'DynamicPageList: تعداد رده‌ها کم است!',
279256 'intersection_noresults' => 'DynamicPageList: نتیجه‌ای وجود ندارد!',
280257 'intersection_noincludecats' => 'DynamicPageList: شما حداقل باید یک رده را وارد کنید، یا یک فضای نام را مشخص کنید!',
281258 );
@@ -285,7 +262,6 @@
286263 $messages['fi'] = array(
287264 'intersection-desc' => 'Tulostaa listan luokassa tai useamman luokan yhdisteessä olevista sivuista.',
288265 'intersection_toomanycats' => 'Error: Liian monta luokkaa.',
289 - 'intersection_toofewcats' => 'Error: Liian vähän luokkia.',
290266 'intersection_noresults' => 'Error: Ei tuloksia.',
291267 'intersection_noincludecats' => 'Error: Lisää vähintään yksi luokka tai määritä nimiavaruus.',
292268 );
@@ -298,7 +274,6 @@
299275 $messages['fr'] = array(
300276 'intersection-desc' => 'Affiche une liste, à puces, des articles les plus récents dans une catégorie, ou à partir d’une combinaison de plusieurs catégories.',
301277 'intersection_toomanycats' => 'DynamicPageList : trop de catégories !',
302 - 'intersection_toofewcats' => 'DynamicPageList : pas assez de catégories !',
303278 'intersection_noresults' => 'DynamicPageList : aucun résultat !',
304279 'intersection_noincludecats' => 'Error : vous devez inclure au moins une catégorie, ou préciser un nom d’espace !',
305280 );
@@ -309,7 +284,6 @@
310285 $messages['frp'] = array(
311286 'intersection-desc' => 'Montre una lista, de puges, des èlèments los ples novéls dens una catègorie, ou ben dês una combinèson d’un mouél de catègories.',
312287 'intersection_toomanycats' => 'Èrror : trop de catègories !',
313 - 'intersection_toofewcats' => 'Èrror : pas prod de catègories !',
314288 'intersection_noresults' => 'Èrror : gins de rèsultat !',
315289 'intersection_noincludecats' => 'Èrror : vos dête encllure u muens yona catègorie, ou ben spècefiar un èspâço de noms !',
316290 );
@@ -321,7 +295,6 @@
322296 $messages['gl'] = array(
323297 'intersection-desc' => 'Devolve unha lista punteada dos elementos máis recentes que están nunha categoría ou nunha unión de varias categorías',
324298 'intersection_toomanycats' => 'Erro: demasiadas categorías!',
325 - 'intersection_toofewcats' => 'Erro: moi poucas categorías!',
326299 'intersection_noresults' => 'Erro: ningún resultado!',
327300 'intersection_noincludecats' => 'Erro: ten que incluír unha categoría polo menos ou especificar un espazo de nomes!',
328301 );
@@ -340,7 +313,6 @@
341314 $messages['gsw'] = array(
342315 'intersection-desc' => 'Usgabe vun ere Lischt vu dr aktuällschte Yyträg in ere Kategorii, oder vu dr Schnittmängi vu mehrere Kategorie',
343316 'intersection_toomanycats' => 'Fähler: Zvyyl Kategorie!',
344 - 'intersection_toofewcats' => 'Fähler: Zwenig Kategorie!',
345317 'intersection_noresults' => 'Fähler: Kei Ergebnis!',
346318 'intersection_noincludecats' => 'Fähler: S muess zmindescht ei Kategorii yybunde wäre oder gib e Namensruum aa!',
347319 );
@@ -351,7 +323,6 @@
352324 $messages['gu'] = array(
353325 'intersection-desc' => 'શ્રેણીમાં અથવા વિવિધ શ્રેણીઓનાં છેદનબિંદુમાં મોજૂદ, હાલની તાજી બાબતોની વિગતવાર યાદી દર્શાવો.',
354326 'intersection_toomanycats' => 'ત્રુટી:વધુ પડતી શ્રેણીઓ!',
355 - 'intersection_toofewcats' => 'ત્રુટી:બહુ ઓછી શ્રેણીઓ!',
356327 'intersection_noresults' => 'ત્રુટી:પરીણામ નથી!',
357328 'intersection_noincludecats' => 'ત્રુટી:તમારે ઓછામાં ઓછી એક શ્રેણીનો સમાવેશ કરવો, કે નામસ્થળનો ઉલ્લેખ કરવો જરૂરી છે !',
358329 );
@@ -362,7 +333,6 @@
363334 $messages['he'] = array(
364335 'intersection-desc' => 'רשימה עם תבליטים של הפריטים האחרונים המצויים בקטגוריה, או במספר קטגוריות',
365336 'intersection_toomanycats' => 'DynamicPageList: קטגוריות רבות מדי!',
366 - 'intersection_toofewcats' => 'DynamicPageList: קטגוריות מעטות מדי!',
367337 'intersection_noresults' => 'DynamicPageList: אין תוצאות!',
368338 'intersection_noincludecats' => 'DynamicPageList: עליכם לכלול לפחות קטגוריה אחת, או לציין מרחב שם!',
369339 );
@@ -373,7 +343,6 @@
374344 $messages['hi'] = array(
375345 'intersection-desc' => 'एक श्रेणी या श्रेणीसमूहमें उपलब्ध नवीनतम लेख दर्शायें।',
376346 'intersection_toomanycats' => 'Error: बहुत ज्यादा श्रेणीयां!',
377 - 'intersection_toofewcats' => 'Error: बहुत कम श्रेणीयां!',
378347 'intersection_noresults' => 'Error: रिज़ल्ट नहीं!',
379348 'intersection_noincludecats' => 'Error: कमसे कम एक श्रेणी या नामस्थान देना अनिवार्य हैं!',
380349 );
@@ -385,7 +354,6 @@
386355 $messages['hr'] = array(
387356 'intersection-desc' => 'Omogućava popis najnovijih stranica ili datoteka iz kategorije, ili presjeka nekoliko kategorija',
388357 'intersection_toomanycats' => 'Error: Previše kategorija!',
389 - 'intersection_toofewcats' => 'Error: Premalo kategorija!',
390358 'intersection_noresults' => 'Error: Nema rezultata!',
391359 'intersection_noincludecats' => 'Error: Morate uključiti bar jednu kategoriju, ili odabrati imenski prostor!',
392360 );
@@ -396,7 +364,6 @@
397365 $messages['hsb'] = array(
398366 'intersection-desc' => 'Wudaće lisćiny najaktualnišich zapiskow w jednej kategoriji abo w skupinje kategorijow',
399367 'intersection_toomanycats' => 'Error: Přewjele kategorijow!',
400 - 'intersection_toofewcats' => 'Error: Přemało kategorijow!',
401368 'intersection_noresults' => 'Error: Žane wuslědki!',
402369 'intersection_noincludecats' => 'Error: Dyrbiš znajmjeńša kednu kategoriju zapřijeć abo mjenowy rum podać!',
403370 );
@@ -409,7 +376,6 @@
410377 $messages['hu'] = array(
411378 'intersection-desc' => 'Megjeleníti egy adott kategóriában, vagy kategóriák uniójában lévő legújabb szócikkek listáját',
412379 'intersection_toomanycats' => 'Hiba: Túl sok kategória!',
413 - 'intersection_toofewcats' => 'Hiba: Túl kevés kategória!',
414380 'intersection_noresults' => 'Hiba: Nincs eredmény!',
415381 'intersection_noincludecats' => 'Hiba: Legalább egy listázandó kategóriát meg kell adnod, vagy pedig egy névteret!',
416382 );
@@ -420,7 +386,6 @@
421387 $messages['ia'] = array(
422388 'intersection-desc' => 'Face un lista a punctos del elementos le plus recente in un categoria, o un union de plure categorias',
423389 'intersection_toomanycats' => 'Error: Troppo de categorias!',
424 - 'intersection_toofewcats' => 'Error: Non bastante categorias!',
425390 'intersection_noresults' => 'Error: Nulle resultatos!',
426391 'intersection_noincludecats' => 'Error: Tu debe includer al minus un categoria, o specificar un spatio de nomines!',
427392 );
@@ -431,7 +396,6 @@
432397 $messages['id'] = array(
433398 'intersection-desc' => 'Menghasilkan suatu daftar item terbaru pada suatu kategori atau gabungan beberapa kategori',
434399 'intersection_toomanycats' => 'DynamicPageList: Terlalu banyak kategori!',
435 - 'intersection_toofewcats' => 'DynamicPageList: Terlalu sedikit kategori!',
436400 'intersection_noresults' => 'DynamicPageList: Tak ada hasil yang sesuai!',
437401 'intersection_noincludecats' => 'DynamicPageList: Anda perlu mencantumkan paling tidak satu kategori, atau menyebutkan satu ruang nama!',
438402 );
@@ -441,7 +405,6 @@
442406 */
443407 $messages['io'] = array(
444408 'intersection_toomanycats' => 'Eroro: Tro multa kategorii!',
445 - 'intersection_toofewcats' => 'Eroro: Tro poka kategorii!',
446409 'intersection_noresults' => 'Eroro: Nula rezultaji!',
447410 'intersection_noincludecats' => 'Eroro: Vu mustas inkluzar adminime un kategorio, o specigez nomaro!',
448411 );
@@ -453,7 +416,6 @@
454417 $messages['it'] = array(
455418 'intersection-desc' => "Visualizza un elenco puntato con gli elementi più recenti inseriti in una categoria o nell'unione di più categorie",
456419 'intersection_toomanycats' => 'Errore: Numero di categorie eccessivo.',
457 - 'intersection_toofewcats' => 'Errore: Numero di categorie insufficiente.',
458420 'intersection_noresults' => 'Errore: Nessun risultato.',
459421 'intersection_noincludecats' => 'Errore: È necessario includere almeno una categoria oppure specificare un namespace.',
460422 );
@@ -465,7 +427,6 @@
466428 $messages['ja'] = array(
467429 'intersection-desc' => '単一カテゴリ内または複数カテゴリ内において最近更新された項目を箇条書きで表示する',
468430 'intersection_toomanycats' => 'エラー: カテゴリ指定が多すぎます!',
469 - 'intersection_toofewcats' => 'エラー: カテゴリ指定が少なすぎます!',
470431 'intersection_noresults' => 'エラー: 最近更新された項目はありません!',
471432 'intersection_noincludecats' => 'エラー: 1つ以上のカテゴリ、または名前空間を指定する必要があります!',
472433 );
@@ -476,7 +437,6 @@
477438 $messages['jut'] = array(
478439 'intersection-desc' => 'Outputs en bulleted liste der senestste itemer ræsidende i en klynge, æller æ unje der severæl klynger',
479440 'intersection_toomanycats' => 'Error: Åverføl klynger!',
480 - 'intersection_toofewcats' => 'Error: Åverwæneg klynger!',
481441 'intersection_noresults' => 'Error: Ekke ræsultåter!',
482442 'intersection_noincludecats' => 'Error: Du nødst til inkludær til mendst en klynge, æller spæsifiær en navnerum!',
483443 );
@@ -487,7 +447,6 @@
488448 $messages['jv'] = array(
489449 'intersection-desc' => 'Ngasilaké sawijining daftar item paling anyar ing sawijining kategori utawa gabungan sawetara kategori',
490450 'intersection_toomanycats' => 'Error: Kakèhan kategori!',
491 - 'intersection_toofewcats' => 'Error: Kesithikan kategori!',
492451 'intersection_noresults' => 'Error: Ora ana pituwasé (kasilé)!',
493452 'intersection_noincludecats' => 'Error: Panjenengan perlu minimal mènèhi kategori sawiji, utawa spésifikasi bilik nama sawiji!',
494453 );
@@ -498,7 +457,6 @@
499458 */
500459 $messages['km'] = array(
501460 'intersection_toomanycats' => 'កំហុស​៖ ចំណាត់ថ្នាក់ក្រុម​ច្រើនពេក​!',
502 - 'intersection_toofewcats' => 'កំហុស​៖ ចំណាត់ថ្នាក់ក្រុម​តិចពេក​!',
503461 'intersection_noresults' => 'កំហុស​៖ គ្មាន​លទ្ធផល​!',
504462 'intersection_noincludecats' => 'កំហុស​៖ អ្នក​ត្រូវតែ​មាន​ចំណាត់ថ្នាក់ក្រុម​មួយយ៉ាងតិច ឬ សំដៅ​មួយ​លំហឈ្មោះ​!',
505463 );
@@ -510,7 +468,6 @@
511469 */
512470 $messages['ko'] = array(
513471 'intersection_toomanycats' => '오류: 분류가 너무 많습니다!',
514 - 'intersection_toofewcats' => '오류: 분류가 너무 적습니다!',
515472 'intersection_noresults' => '오류: 결과가 없습니다!',
516473 'intersection_noincludecats' => '오류: 분류를 추가하거나 이름공간을 명시해야 합니다!',
517474 );
@@ -521,7 +478,6 @@
522479 $messages['ksh'] = array(
523480 'intersection-desc' => 'Zeij_en Liß met de neuste Enndrääsch en en Saachjrupp, udder de neuste Enndrääsch, die en alle Jruppe uss_enem Knubbel fun Saachjrupp dren sin.',
524481 'intersection_toomanycats' => '<i lang="en">DynamicPageList</i> hät ene Fääler jefonge: Dat sinn_er zo vill Saachjroppe!',
525 - 'intersection_toofewcats' => '<i lang="en">DynamicPageList</i> hät ene Fääler jefonge: Dat sin ze winnisch Saachjruppe!',
526482 'intersection_noresults' => '<i lang="en">DynamicPageList</i> hät ene Fääler jefonge: Do kohm nix bei erus!',
527483 'intersection_noincludecats' => '<i lang="en">DynamicPageList</i> hät ene Fääler jefonge: Mer bruch winnischßdens ein Saachjrupp. Söns jivv e Appachtemang aan!',
528484 );
@@ -532,7 +488,6 @@
533489 $messages['lb'] = array(
534490 'intersection-desc' => 'Generéiert eng Lëscht mat de rezentesten Androungen an eng Kategorie, oder an eng Intersektioun vu méi Kategorien',
535491 'intersection_toomanycats' => 'Dynamesch Säite-Lëscht: Zevill Kategorien!',
536 - 'intersection_toofewcats' => 'Dynamesch Säite-Lëscht: Ze wéineg Kategorien!',
537492 'intersection_noresults' => 'Dynamesch Säite-Lëscht: Kee Resultat!',
538493 'intersection_noincludecats' => 'Dynamesch Säite-Lëscht: Dir musst mindestens eng Kategorie abannen, oder de Nummraum uginn!',
539494 );
@@ -544,7 +499,6 @@
545500 $messages['li'] = array(
546501 'intersection-desc' => 'Geeft als uitvoer een ongenummerde lijst met de meest recent toegevoegde items in een categorie, of een combinatie van categorieë',
547502 'intersection_toomanycats' => 'Error: Te väöl categorieë!',
548 - 'intersection_toofewcats' => 'Error: Te weinig categorieë!',
549503 'intersection_noresults' => 'Error: Gein resultate!',
550504 'intersection_noincludecats' => 'Error: Geer moet tenminste ein categorie of ein naamruumde opgeve!',
551505 );
@@ -554,7 +508,6 @@
555509 */
556510 $messages['lt'] = array(
557511 'intersection_toomanycats' => 'Error: Per daug kategorijų!',
558 - 'intersection_toofewcats' => 'Error: Per mažai kategorijų!',
559512 'intersection_noresults' => 'Error: Nėra rezultatų!',
560513 'intersection_noincludecats' => 'Error: Jums reikia įtraukti bent vieną kategoriją, arba nurodyti vardų sritį!',
561514 );
@@ -564,7 +517,6 @@
565518 */
566519 $messages['lv'] = array(
567520 'intersection_toomanycats' => 'Kļūda: pārāk daudz kategoriju!',
568 - 'intersection_toofewcats' => 'Kļūda: pārāk maz kategoriju!',
569521 );
570522
571523 /** Malagasy (Malagasy)
@@ -580,7 +532,6 @@
581533 $messages['mk'] = array(
582534 'intersection-desc' => 'Дава листа со потточки на најскорешните содржини во една категорија, или пак вкрстување на неколку категории.',
583535 'intersection_toomanycats' => 'Грешка: Премногу категории!',
584 - 'intersection_toofewcats' => 'Грешка: Премалку категории!',
585536 'intersection_noresults' => 'Грешка: Нема резултати!',
586537 'intersection_noincludecats' => 'Грешка: Мора да вклучите барем една категорија, или пак да назначите именски простор!',
587538 );
@@ -592,7 +543,6 @@
593544 $messages['ml'] = array(
594545 'intersection-desc' => 'ഒരു വർഗ്ഗത്തില്‍ പുതിയതായി വന്ന ഇനങ്ങളുടെ ബുള്ളറ്റ് പട്ടികയോ, അല്ലെങ്കില്‍ നിരവധി വർഗ്ഗങ്ങളുടെ കൂട്ടത്തെയോ ഔട്ട് പുട്ടായി കിട്ടുന്നു.',
595546 'intersection_toomanycats' => 'പിഴവ്: വളരെയധികം വർഗ്ഗങ്ങള്‍!',
596 - 'intersection_toofewcats' => 'പിഴവ്: വളരെ കുറച്ച് വർഗ്ഗങ്ങള്‍!',
597547 'intersection_noresults' => 'പിഴവ്: ഫലങ്ങള്‍ ഒന്നുമില്ല!',
598548 'intersection_noincludecats' => 'പിഴവ്: ചുരുങ്ങിയത് ഒരു വർഗ്ഗമെങ്കിലും ഉള്‍പ്പെടുത്തുകയോ അല്ലെങ്കില്‍ ഒരു നാമമേഖല എങ്കിലും നിഷ്കര്‍ഷിച്ചിരിക്കുകയോ വേണം!',
599549 );
@@ -603,7 +553,6 @@
604554 $messages['mr'] = array(
605555 'intersection-desc' => 'एखाद्या वर्गातील अथवा वर्गसमूहातील नवीनतम लेख दर्शवितो.',
606556 'intersection_toomanycats' => 'Error: खूप जास्त वर्ग!',
607 - 'intersection_toofewcats' => 'Error: खूप कमी वर्ग!',
608557 'intersection_noresults' => 'Error: निकाल नाहीत!',
609558 'intersection_noincludecats' => 'Error: कमीतकमी एक वर्ग अथवा नामविश्व देणे गरजेचे आहे!',
610559 );
@@ -614,7 +563,6 @@
615564 $messages['ms'] = array(
616565 'intersection-desc' => 'Mengoutput senarai item terkini dalam sesebuah kategori atau kesatuan beberapa buah kategori',
617566 'intersection_toomanycats' => 'Error: Kategori terlalu banyak!',
618 - 'intersection_toofewcats' => 'Error: Kategori terlalu sedikit!',
619567 'intersection_noresults' => 'Error: Tiada hasil!',
620568 'intersection_noincludecats' => 'Error: Anda hendaklah memasukkan sekurang-kurangnya sebuah kategori atau menyatakan sebuah ruang nama!',
621569 );
@@ -625,7 +573,6 @@
626574 $messages['nds'] = array(
627575 'intersection-desc' => 'Wiest en List mit de aktuellsten Indrääg in en Kategorie, oder de Snittmengd vun mehr Kategorien',
628576 'intersection_toomanycats' => 'Fehler: Toveel Kategorien!',
629 - 'intersection_toofewcats' => 'Fehler: To wenig Kategorien!',
630577 'intersection_noresults' => 'Fehler: Nix funnen!',
631578 'intersection_noincludecats' => 'Fehler: Dor mutt opminnst een Kategorie angeven warrn! ODer geev en Naamruum an.',
632579 );
@@ -637,7 +584,6 @@
638585 $messages['nl'] = array(
639586 'intersection-desc' => 'Geeft als uitvoer een ongenummerde lijst met de meest recent toegevoegde items in een categorie, of een combinatie van categorieën',
640587 'intersection_toomanycats' => 'Fout: Te veel categorieën!',
641 - 'intersection_toofewcats' => 'Fout: Te weinig categorieën!',
642588 'intersection_noresults' => 'Fout: Geen resultaten!',
643589 'intersection_noincludecats' => 'Fout: U moet tenminste een categorie of een naamruimte opgeven!',
644590 );
@@ -648,7 +594,6 @@
649595 $messages['nn'] = array(
650596 'intersection-desc' => 'Gjev ei punktlista over dei nyaste elementa i ein kategori, eller element som er felles i fleire kategoriar',
651597 'intersection_toomanycats' => 'Feil: For mange kategoriar!',
652 - 'intersection_toofewcats' => 'Feil: For få kategoriar!',
653598 'intersection_noresults' => 'Feil: Ingen resultat!',
654599 'intersection_noincludecats' => 'Feil: Du må inkludera minst éin kategori, eller oppgje eit namnerom!',
655600 );
@@ -659,7 +604,6 @@
660605 $messages['no'] = array(
661606 'intersection-desc' => 'Gir en punktliste over de nyeste elementene i en kategori, eller elementer som er felles i flere kategorier',
662607 'intersection_toomanycats' => 'Dynamisk sideliste: For mange kategorier!',
663 - 'intersection_toofewcats' => 'Dynamisk sidelist: For få kategorier!',
664608 'intersection_noresults' => 'Dynamisk sideliste: Ingen resultater!',
665609 'intersection_noincludecats' => 'Dynamisk sideliste: Du må inkludere minst én kategori, eller oppgi et navnerom!',
666610 );
@@ -670,7 +614,6 @@
671615 $messages['oc'] = array(
672616 'intersection-desc' => 'Aficha una lista, amb de piuses, dels articles mai recents dins una categoria, o a partir d’una combinason de mantuna categoria.',
673617 'intersection_toomanycats' => 'Error : Tròp de categorias !',
674 - 'intersection_toofewcats' => 'Error : Pas pro de categorias !',
675618 'intersection_noresults' => 'Error : Pas cap de resultat !',
676619 'intersection_noincludecats' => 'Error : avètz besonh d’inclure almens una categoria, o de precisar un nom d’espaci !',
677620 );
@@ -688,7 +631,6 @@
689632 $messages['pl'] = array(
690633 'intersection-desc' => 'Zwraca listę wypunktowaną najnowszych elementów w kategorii lub grupie kilku kategorii',
691634 'intersection_toomanycats' => 'Błąd – zbyt wiele kategorii!',
692 - 'intersection_toofewcats' => 'Błąd – zbyt mało kategorii!',
693635 'intersection_noresults' => 'Błąd – brak wyników!',
694636 'intersection_noincludecats' => 'Błąd – musisz załączyć co najmniej jedną kategorię lub określić przestrzeń nazw!',
695637 );
@@ -699,7 +641,6 @@
700642 $messages['pms'] = array(
701643 'intersection-desc' => "A visualisa na lista pontà dij pì ressent element anserì ant na categorìa, o ant l'antërsession ëd pì categorìe",
702644 'intersection_toomanycats' => 'Eror: tròpe categorìe!',
703 - 'intersection_toofewcats' => 'Eror: Tròp pòche categorìe!',
704645 'intersection_noresults' => 'Eror: Gnun arzultà!',
705646 'intersection_noincludecats' => 'Eror: It deuve anserì almanch na categorìa, o spessifié në spassi nominal!',
706647 );
@@ -711,7 +652,6 @@
712653 $messages['pt'] = array(
713654 'intersection-desc' => 'constrói uma lista pontuada dos itens mais recentes presentes numa categoria, ou uma união de várias categorias',
714655 'intersection_toomanycats' => 'Error: Categorias em excesso!',
715 - 'intersection_toofewcats' => 'Error: Poucas categorias!',
716656 'intersection_noresults' => 'Error: Sem resultados!',
717657 'intersection_noincludecats' => 'Error: É necessário incluir no mínimo uma categoria ou especificar um espaço nominal!',
718658 );
@@ -722,7 +662,6 @@
723663 $messages['pt-br'] = array(
724664 'intersection-desc' => 'Exibe uma lista pontuada dos itens mais recentes presentes numa categoria, ou uma intersecção de várias categorias',
725665 'intersection_toomanycats' => 'Erro: Categorias demais!',
726 - 'intersection_toofewcats' => 'Erro: Poucas categorias!',
727666 'intersection_noresults' => 'Erro: Sem resultados!',
728667 'intersection_noincludecats' => 'Erro: É necessário incluir no mínimo uma categoria ou especificar um espaço nominal!',
729668 );
@@ -733,7 +672,6 @@
734673 $messages['ro'] = array(
735674 'intersection-desc' => 'Întoarce o lista celor mai recenţi itemi care fac parte dintr-o categorie, sau intersecţia a mai multor categorii',
736675 'intersection_toomanycats' => 'Eroare: Prea multe categorii!',
737 - 'intersection_toofewcats' => 'Eroare: Prea puţine categorii!',
738676 'intersection_noresults' => 'Eroare: Niciun rezultat!',
739677 'intersection_noincludecats' => 'Eroare: Trebuie să incluzi cel puţin o categorie, sau să specifici un spaţiu de nume!',
740678 );
@@ -744,7 +682,6 @@
745683 $messages['roa-tara'] = array(
746684 'intersection-desc' => "Fa assè 'na liste cu le palle de le urteme urteme artichele ca stonne jndr'à 'na categorije, o 'n'interseziona de cchiù categorije",
747685 'intersection_toomanycats' => 'Errore: Troppe categorije!',
748 - 'intersection_toofewcats' => 'Errore: Troppe picche categorije!',
749686 'intersection_noresults' => 'Errore: Nisciune resultete!',
750687 'intersection_noincludecats' => "Errore: Tu è abbesogne de 'ngludere ninde ninde 'na categorije, o specificà 'nu namespace!",
751688 );
@@ -756,7 +693,6 @@
757694 $messages['ru'] = array(
758695 'intersection-desc' => 'Выводит в маркированный список последние добавления в категорию или объединение нескольких категорий',
759696 'intersection_toomanycats' => 'Ошибка. Слишком много категорий!',
760 - 'intersection_toofewcats' => 'Ошибка. Слишком мало категорий!',
761697 'intersection_noresults' => 'Ошибка. Нет результатов!',
762698 'intersection_noincludecats' => 'Ошибка. Вы должны включить хотя бы одну категорию или указать пространство имён!',
763699 );
@@ -767,7 +703,6 @@
768704 $messages['sah'] = array(
769705 'intersection-desc' => 'Категорияларга бүтэһик эбиилэри эбэтэр категориялар холбонууларын бэлиэлээх (маркированнай) испииһэк курдук таһаарар',
770706 'intersection_toomanycats' => 'Error: категорийата наһаа элбэх!',
771 - 'intersection_toofewcats' => 'Error: Категорията наһаа аҕыйах',
772707 'intersection_noresults' => 'Error: Түмүк суох!',
773708 'intersection_noincludecats' => 'Error: Биир эмит категорияны эбэтэр ааты (пространство имен) талыахтааххын!',
774709 );
@@ -778,7 +713,6 @@
779714 $messages['sk'] = array(
780715 'intersection-desc' => 'Vypíše zoznam najnovších položiek v kategórii alebo zjednotení niekoľkých kategórií',
781716 'intersection_toomanycats' => 'Error: Príliš veľa kategórií!',
782 - 'intersection_toofewcats' => 'Error: Príliš málo kategórií!',
783717 'intersection_noresults' => 'Error: Žiadne výsledky!',
784718 'intersection_noincludecats' => 'Error: Musíte uviesť aspoň jednu kategóriu alebo menný priestor!',
785719 );
@@ -789,7 +723,6 @@
790724 $messages['sr-ec'] = array(
791725 'intersection-desc' => 'Даје редни списак најскорије додатих чланака у једну или више категорија.',
792726 'intersection_toomanycats' => 'Грешка: Превише категорија!',
793 - 'intersection_toofewcats' => 'Грешка:Премало категорија!',
794727 'intersection_noresults' => 'Грешка: Нема резулатата!',
795728 'intersection_noincludecats' => 'Грешка: Потребно је укључити бар једну категорију или одредити именски простор!',
796729 );
@@ -800,7 +733,6 @@
801734 $messages['sr-el'] = array(
802735 'intersection-desc' => 'Daje redni spisak najskorije dodatih članaka u jednu ili više kategorija.',
803736 'intersection_toomanycats' => 'Greška: Previše kategorija!',
804 - 'intersection_toofewcats' => 'Greška:Premalo kategorija!',
805737 'intersection_noresults' => 'Greška: Nema rezulatata!',
806738 'intersection_noincludecats' => 'Greška: Potrebno je uključiti bar jednu kategoriju ili odrediti imenski prostor!',
807739 );
@@ -811,7 +743,6 @@
812744 $messages['stq'] = array(
813745 'intersection-desc' => 'Uutgoawe fon ne Lieste fon do aktuälste Iendraage in ne Kategorie, of n Truchsnit fon moorere Kategorien.',
814746 'intersection_toomanycats' => 'Error: Toufuul Kategorien!',
815 - 'intersection_toofewcats' => 'Error: Toumin Kategorien!',
816747 'intersection_noresults' => 'Error: Neen Resultoat!',
817748 'intersection_noincludecats' => 'Error: Der mout mindestens een Kategorie ienbuunen weese of reek n Noomensruum oun!',
818749 );
@@ -822,7 +753,6 @@
823754 $messages['sv'] = array(
824755 'intersection-desc' => 'Skapar punktlistor över de nyaste sidorna i en eller flera kategorier',
825756 'intersection_toomanycats' => 'Fel: För många kategorier!',
826 - 'intersection_toofewcats' => 'Fel: För få kategorier!',
827757 'intersection_noresults' => 'Fel: Inga resultat!',
828758 'intersection_noincludecats' => 'Fel: Du måste inkludera minst en kategori eller ange en namnrymd!',
829759 );
@@ -832,7 +762,6 @@
833763 */
834764 $messages['te'] = array(
835765 'intersection_toomanycats' => 'Error: చాలా ఎక్కువ వర్గాలు!',
836 - 'intersection_toofewcats' => 'Error: మరీ తక్కువ వర్గాలు!',
837766 'intersection_noresults' => 'Error: ఫలితాలు లేవు!',
838767 'intersection_noincludecats' => 'Error: మీరు కనీసం ఒక్క వర్గాన్నైనా చేర్చాలి, లేదా ఓ నేమ్&zwnj;స్పేసునైనా ఇవ్వాలి!',
839768 );
@@ -843,7 +772,6 @@
844773 $messages['tg-cyrl'] = array(
845774 'intersection-desc' => 'Феҳристи гулулае аз саҳифаҳое ба намоиш дар меояд, ки ба тозагӣ дар як ё чанд гурӯҳ ворид шудаанд',
846775 'intersection_toomanycats' => 'Error: Теъдоди гурӯҳҳо зиёд аст!',
847 - 'intersection_toofewcats' => 'Error: Теъдоди гурӯҳҳо кам аст!',
848776 'intersection_noresults' => 'Error: Натиҷае вуҷуд надорад!',
849777 'intersection_noincludecats' => 'Error: Шумо ҳадди ақал бояд як гурӯҳро ворид кунед, ё як фазои номро мушаххас кунед!',
850778 );
@@ -876,7 +804,6 @@
877805 $messages['tl'] = array(
878806 'intersection-desc' => 'Naglalabas ng isang tinuldukang talaan ng pinakakamakailang mga bagay-bagay na naninirahan sa loob ng isang kaurian, o isang pinagsangahang daanan ng ilang mga kaurian',
879807 'intersection_toomanycats' => 'Kamalian: Napakaraming mga kaurian!',
880 - 'intersection_toofewcats' => 'Kamalian: Napakakaunti ng mga kaurian!',
881808 'intersection_noresults' => 'Kaurian: Walang mga kinalabasan/resulta!',
882809 'intersection_noincludecats' => 'Kamalian: Kinakailangan mong magsama ng kahit na isang kaurian, o tumukoy ng isang espasyo ng pangalan!',
883810 );
@@ -887,7 +814,6 @@
888815 $messages['tr'] = array(
889816 'intersection-desc' => 'Bir kategoride, yada birçok kategorinin kesişiminde bulunan en son öğelerin, madde işaretli listesini üretir',
890817 'intersection_toomanycats' => 'Hata: Çok fazla kategori!',
891 - 'intersection_toofewcats' => 'Hata: Çok az kategori!',
892818 'intersection_noresults' => 'Hata: Sonuç yok!',
893819 'intersection_noincludecats' => 'Hata: En az bir kategori eklemeli, ya da bir ad alanı belirtmelisiniz!',
894820 );
@@ -898,7 +824,6 @@
899825 $messages['uk'] = array(
900826 'intersection-desc' => "Виводить у маркований список останні додавання до категорії або об'єднання кількох категорій",
901827 'intersection_toomanycats' => 'Error: дуже багато категорій!',
902 - 'intersection_toofewcats' => 'Error: дуже мало категорій!',
903828 'intersection_noresults' => 'Error: нема результатів!',
904829 'intersection_noincludecats' => 'Error: ви повинні включити хоча б одну категорію або зазначити простір назв!',
905830 );
@@ -909,7 +834,6 @@
910835 $messages['vec'] = array(
911836 'intersection-desc' => "Mostra un elenco puntato coi elementi piassè reçenti inserìi in te na categoria o ne l'union de più categorie",
912837 'intersection_toomanycats' => 'Error: Ghe xe massa categorie!',
913 - 'intersection_toofewcats' => 'Error: Ghe xe massa póche categorie!',
914838 'intersection_noresults' => 'Error: Nissun risultato!',
915839 'intersection_noincludecats' => 'Error: Te ghè da inclùdar almanco na categoria opure specificar un namespace.',
916840 );
@@ -920,7 +844,6 @@
921845 $messages['vep'] = array(
922846 'intersection-desc' => "Ozutab markiruidud nimikirjutesen nägus jäl'gmäižed ližadused kategorijaha vai kategorijoiden ühtenzoituz",
923847 'intersection_toomanycats' => 'Error: äjahk kategorijoid!',
924 - 'intersection_toofewcats' => 'Error: Vähähk kategorijoid!',
925848 'intersection_noresults' => "Error: Ei ole rezul'tatoid!",
926849 'intersection_noincludecats' => "Petuz: pidab mülütada hot' üks' kategorii vai märita nimiavaruz!",
927850 );
@@ -931,7 +854,6 @@
932855 $messages['vi'] = array(
933856 'intersection-desc' => 'Cho ra danh sách những khoản gần đây nhất được xếp vào một thể loại hay hợp của hơn một thể loại',
934857 'intersection_toomanycats' => 'Error: Nhiều thể loại quá!',
935 - 'intersection_toofewcats' => 'Error: Ít thể loại quá!',
936858 'intersection_noresults' => 'Error: Không tìm thấy trang nào!',
937859 'intersection_noincludecats' => 'Error: Cần phải bao gồm ít nhất một thể loại hay định rõ một không gian tên!',
938860 );
@@ -941,7 +863,6 @@
942864 */
943865 $messages['vo'] = array(
944866 'intersection_toomanycats' => 'Error: Klads tu mödiks!',
945 - 'intersection_toofewcats' => 'Error: Klads tu nemödiks!',
946867 'intersection_noresults' => 'Error: Seks nonik!',
947868 'intersection_noincludecats' => 'Error: Nedol välön kladi pu bali, u nemaspadi!',
948869 );
@@ -952,7 +873,6 @@
953874 $messages['yue'] = array(
954875 'intersection-desc' => '輸出一個點列最近響分類嘅項目,或者係幾個分類嘅一個聯繫',
955876 'intersection_toomanycats' => 'DynamicPageList: 太多分類!',
956 - 'intersection_toofewcats' => 'DynamicPageList: 太少分類!',
957877 'intersection_noresults' => 'DynamicPageList: 無結果!',
958878 'intersection_noincludecats' => 'DynamicPageList: 你需要去包含最少一個分類,或者指定一個空間名!',
959879 );
@@ -963,7 +883,6 @@
964884 $messages['zh-hans'] = array(
965885 'intersection-desc' => '输出一个点列最近在分类中的项目,或者系数个分类的一个联系',
966886 'intersection_toomanycats' => 'DynamicPageList: 太多分类!',
967 - 'intersection_toofewcats' => 'DynamicPageList: 太少分类!',
968887 'intersection_noresults' => 'DynamicPageList: 没有结果!',
969888 'intersection_noincludecats' => 'DynamicPageList: 您需要去包含最少一个分类,或者指定一个空间名!',
970889 );
@@ -974,7 +893,6 @@
975894 $messages['zh-hant'] = array(
976895 'intersection-desc' => '輸出一個點列最近在分類中的項目,或者係數個分類的一個聯繫',
977896 'intersection_toomanycats' => 'DynamicPageList: 太多分類!',
978 - 'intersection_toofewcats' => 'DynamicPageList: 太少分類!',
979897 'intersection_noresults' => 'DynamicPageList: 沒有結果!',
980898 'intersection_noincludecats' => 'DynamicPageList: 您需要去包含最少一個分類,或者指定一個空間名!',
981899 );
Index: trunk/extensions/intersection/DynamicPageList.php
@@ -26,20 +26,16 @@
2727
2828 Current feature request list
2929 1. Unset cached of calling page
30 - 2. Alternative formatting (not just unordered list)
31 - 3. Configurable sort order, ascending/descending
32 - 4. RSS feed output?
 30+ 4. RSS feed output? (GNSM extension?)
3331
3432 To install, add following to LocalSettings.php
3533 include("extensions/intersection/DynamicPageList.php");
3634
3735 */
3836
39 -$wgDLPminCategories = 1; // Minimum number of categories to look for
4037 $wgDLPmaxCategories = 6; // Maximum number of categories to look for
41 -$wgDLPMinResultCount = 1; // Minimum number of results to allow
42 -$wgDLPMaxResultCount = 50; // Maximum number of results to allow
43 -$wgDLPAllowUnlimitedResults = true; // Allow unlimited results
 38+$wgDLPMaxResultCount = 200; // Maximum number of results to allow
 39+$wgDLPAllowUnlimitedResults = false; // Allow unlimited results
4440 $wgDLPAllowUnlimitedCategories = false; // Allow unlimited categories
4541
4642 $wgHooks['ParserFirstCallInit'][] = 'wfDynamicPageList';
@@ -67,7 +63,8 @@
6864 global $wgUser;
6965 global $wgLang;
7066 global $wgContLang;
71 - global $wgDLPminCategories, $wgDLPmaxCategories,$wgDLPMinResultCount, $wgDLPMaxResultCount;
 67+ global $wgDisableCounters; // to determine if to allow sorting by #hits.
 68+ global $wgDLPmaxCategories, $wgDLPMaxResultCount;
7269 global $wgDLPAllowUnlimitedResults, $wgDLPAllowUnlimitedCategories;
7370
7471 $aParams = array();
@@ -78,21 +75,35 @@
7976 $sStartItem = '<li>';
8077 $sEndItem = '</li>';
8178
 79+ $bUseGallery = false;
 80+ $bGalleryFileSize = false;
 81+ $bGalleryFileName = true;
 82+ $iGalleryImageHeight = 0;
 83+ $iGalleryImageWidth = 0;
 84+ $iGalleryNumbRows = 0;
 85+ $sGalleryCaption = '';
 86+ $gallery = NULL;
 87+
8288 $sOrderMethod = 'categoryadd';
8389 $sOrder = 'descending';
8490 $sRedirects = 'exclude';
8591 $sStable = $sQuality = 'include';
 92+ $bFlaggedRevs = false;
8693
8794 $bNamespace = false;
8895 $iNamespace = 0;
8996
90 - $bShowCurId = false;
 97+ $iOffset = 0;
 98+
9199 $bGoogleHack = false;
92100
93101 $bSuppressErrors = false;
94102 $bShowNamespace = true;
95103 $bAddFirstCategoryDate = false;
 104+ $sDateFormat = '';
 105+ $bStripYear = false;
96106
 107+ $aLinkOptions = array();
97108 $aCategories = array();
98109 $aExcludeCategories = array();
99110
@@ -101,58 +112,66 @@
102113 $parser = new Parser;
103114 $poptions = new ParserOptions;
104115
105 - foreach($aParams as $sParam)
106 - {
107 - $aParam = explode("=", $sParam);
 116+ foreach ( $aParams as $sParam ) {
 117+ $aParam = explode( "=", $sParam, 2 );
108118 if( count( $aParam ) < 2 )
109119 continue;
110120 $sType = trim($aParam[0]);
111121 $sArg = trim($aParam[1]);
112 - if ($sType == 'category')
113 - {
 122+ switch ( $sType ) {
 123+ case 'category':
114124 $title = Title::newFromText( $parser->transformMsg($sArg, $poptions) );
115125 if( is_null( $title ) )
116126 continue;
117127 $aCategories[] = $title;
118 - }
119 - else if ($sType == 'notcategory')
120 - {
 128+ break;
 129+ case 'notcategory':
121130 $title = Title::newFromText( $parser->transformMsg($sArg, $poptions) );
122131 if( is_null( $title ) )
123132 continue;
124133 $aExcludeCategories[] = $title;
125 - }
126 - else if ('namespace' == $sType)
127 - {
 134+ break;
 135+ case 'namespace':
128136 $ns = $wgContLang->getNsIndex($sArg);
129 - if (null != $ns)
130 - {
 137+ if ( NULL != $ns ) {
131138 $iNamespace = $ns;
132139 $bNamespace = true;
133 - }
134 - else
135 - {
 140+ } else {
136141 $iNamespace = intval($sArg);
137 - if ($iNamespace >= 0)
138 - {
 142+ if ( $iNamespace >= 0 ) {
139143 $bNamespace = true;
140 - }
141 - else
142 - {
 144+ } else {
143145 $bNamespace = false;
144146 }
145147 }
146 - }
147 - else if ('count' == $sType)
148 - {
 148+ break;
 149+ case 'count':
149150 //ensure that $iCount is a number;
150151 $iCount = IntVal( $sArg );
151152 $bCountSet = true;
152 - }
153 - else if ('mode' == $sType)
154 - {
155 - switch ($sArg)
156 - {
 153+ break;
 154+ case 'offset':
 155+ $iOffset = IntVal( $sArg );
 156+ break;
 157+ case 'imagewidth':
 158+ $iGalleryImageWidth = IntVal( $sArg );
 159+ break;
 160+ case 'imageheight':
 161+ $iGalleryImageHeight = IntVal( $sArg );
 162+ break;
 163+ case 'imagesperrow':
 164+ $iGalleryNumbRows = IntVal( $sArg );
 165+ break;
 166+ case 'mode':
 167+ switch ( $sArg ) {
 168+ case 'gallery':
 169+ $bUseGallery = true;
 170+ $gallery = new ImageGallery;
 171+ $sStartList = '';
 172+ $sEndList = '';
 173+ $sStartItem = '';
 174+ $sEndItem = '';
 175+ break;
157176 case 'none':
158177 $sStartList = '';
159178 $sEndList = '';
@@ -173,11 +192,37 @@
174193 $sEndItem = '</li>';
175194 break;
176195 }
 196+ break;
 197+ case 'gallerycaption':
 198+ // Should perhaps actually parse caption instead
 199+ // as links and what not in caption might be useful.
 200+ $sGalleryCaption = $parser->transformMsg( $sArg, $poptions );
 201+ break;
 202+ case 'galleryshowfilesize':
 203+ switch ( $sArg ) {
 204+ case 'no':
 205+ case 'false':
 206+ $bGalleryFileSize = false;
 207+ break;
 208+ case 'true':
 209+ default:
 210+ $bGalleryFileSize = true;
177211 }
178 - else if ('order' == $sType)
179 - {
180 - switch ($sArg)
181 - {
 212+ break;
 213+ case 'galleryshowfilename':
 214+ switch ( $sArg ) {
 215+ case 'no':
 216+ case 'false':
 217+ $bGalleryFileName = false;
 218+ break;
 219+ case 'true':
 220+ default:
 221+ $bGalleryFileName = true;
 222+ break;
 223+ }
 224+ break;
 225+ case 'order':
 226+ switch ( $sArg ) {
182227 case 'ascending':
183228 $sOrder = 'ascending';
184229 break;
@@ -186,24 +231,37 @@
187232 $sOrder = 'descending';
188233 break;
189234 }
190 - }
191 - else if ('ordermethod' == $sType)
192 - {
193 - switch ($sArg)
194 - {
 235+ break;
 236+ case 'ordermethod':
 237+ switch ( $sArg ) {
195238 case 'lastedit':
196239 $sOrderMethod = 'lastedit';
197240 break;
 241+ case 'length':
 242+ $sOrderMethod = 'length';
 243+ break;
 244+ case 'created':
 245+ $sOrderMethod = 'created';
 246+ break;
 247+ case 'sortkey':
 248+ case 'categorysortkey':
 249+ $sOrderMethod = 'categorysortkey';
 250+ break;
 251+ case 'popularity':
 252+ if ( !$wgDisableCounters ) {
 253+ $sOrderMethod = 'popularity';
 254+ } else {
 255+ $sOrderMethod = 'categoyadd'; // default if hitcounter disabled.
 256+ }
 257+ break;
198258 case 'categoryadd':
199259 default:
200260 $sOrderMethod = 'categoryadd';
201261 break;
202262 }
203 - }
204 - else if ('redirects' == $sType)
205 - {
206 - switch ($sArg)
207 - {
 263+ break;
 264+ case 'redirects':
 265+ switch ( $sArg ) {
208266 case 'include':
209267 $sRedirects = 'include';
210268 break;
@@ -215,260 +273,331 @@
216274 $sRedirects = 'exclude';
217275 break;
218276 }
219 - }
220 - else if ('stablepages' == $sType)
221 - {
222 - switch ($sArg)
223 - {
 277+ break;
 278+ case 'stablepages':
 279+ switch ( $sArg ) {
224280 case 'include':
225281 $sStable = 'include';
226282 break;
227283 case 'only':
 284+ $bFlaggedRevs = true;
228285 $sStable = 'only';
229286 break;
230287 case 'exclude':
231288 default:
 289+ $bFlaggedRevs = true;
232290 $sStable = 'exclude';
233291 break;
234292 }
235 - }
236 - else if ('qualitypages' == $sType)
237 - {
238 - switch ($sArg)
239 - {
 293+ break;
 294+ case 'qualitypages':
 295+ switch ( $sArg ) {
240296 case 'include':
241297 $sQuality = 'include';
242298 break;
243299 case 'only':
 300+ $bFlaggedRevs = true;
244301 $sQuality = 'only';
245302 break;
246303 case 'exclude':
247304 default:
 305+ $bFlaggedRevs = true;
248306 $sQuality = 'exclude';
249307 break;
250308 }
251 - }
252 - else if ('suppresserrors' == $sType)
253 - {
254 - if ('true' == $sArg)
 309+ break;
 310+ case 'suppresserrors':
 311+ if ( 'true' == $sArg ) {
255312 $bSuppressErrors = true;
256 - else
 313+ } else {
257314 $bSuppressErrors = false;
258315 }
259 - else if ('addfirstcategorydate' == $sType)
260 - {
261 - if ('true' == $sArg)
 316+ break;
 317+ case 'addfirstcategorydate':
 318+ if ( 'true' == $sArg ) {
262319 $bAddFirstCategoryDate = true;
263 - else
 320+ } elseif ( preg_match( '/^(?:[ymd]{2,3}|ISO 8601)$/', $sArg ) ) {
 321+ // if it more or less is valid dateformat.
 322+ $bAddFirstCategoryDate = true;
 323+ $sDateFormat = $sArg;
 324+ if ( strlen( $sDateFormat ) == 2 ) {
 325+ $sDateFormat = $sDateFormat . 'y'; # DateFormatter does not support no year. work arround
 326+ $bStripYear = true;
 327+ }
 328+ } else {
264329 $bAddFirstCategoryDate = false;
265330 }
266 - else if ('shownamespace' == $sType)
267 - {
268 - if ('false' == $sArg)
 331+ break;
 332+ case 'shownamespace':
 333+ if ( 'false' == $sArg ) {
269334 $bShowNamespace = false;
270 - else
 335+ } else {
271336 $bShowNamespace = true;
272337 }
273 - else if ('showcurid' == $sType )
274 - {
275 - if ('false' == $sArg)
276 - $bShowCurId = false;
277 - else
278 - $bShowCurId = true;
279 - }
280 - else if ('googlehack' == $sType)
281 - {
282 - if ('false' == $sArg)
 338+ break;
 339+ case 'googlehack':
 340+ if ( 'false' == $sArg ) {
283341 $bGoogleHack = false;
284 - else
 342+ } else {
285343 $bGoogleHack = true;
286344 }
 345+ break;
 346+ case 'nofollow': # bug 6658
 347+ if ( 'false' != $sArg ) {
 348+ $aLinkOptions['rel'] = 'nofollow';
287349 }
 350+ break;
 351+ }
 352+ }
288353
289354 $iCatCount = count($aCategories);
290355 $iExcludeCatCount = count($aExcludeCategories);
291356 $iTotalCatCount = $iCatCount + $iExcludeCatCount;
292357
293 - if ($iCatCount < 1 && false == $bNamespace)
294 - {
295 - if (false == $bSuppressErrors)
 358+ if ( $iCatCount < 1 && false == $bNamespace ) {
 359+ if ( false == $bSuppressErrors ) {
296360 return htmlspecialchars( wfMsg( 'intersection_noincludecats' ) ); // "!!no included categories!!";
297 - else
 361+ } else {
298362 return '';
299363 }
300 -
301 - if ($iTotalCatCount < $wgDLPminCategories)
302 - {
303 - if (false == $bSuppressErrors)
304 - return htmlspecialchars( wfMsg( 'intersection_toofewcats' ) ); // "!!too few categories!!";
305 - else
306 - return '';
307364 }
308365
309 - if ( $iTotalCatCount > $wgDLPmaxCategories && !$wgDLPAllowUnlimitedCategories )
310 - {
311 - if (false == $bSuppressErrors)
 366+ if ( $iTotalCatCount > $wgDLPmaxCategories && !$wgDLPAllowUnlimitedCategories ) {
 367+ if ( false == $bSuppressErrors ) {
312368 return htmlspecialchars( wfMsg( 'intersection_toomanycats' ) ); // "!!too many categories!!";
313 - else
 369+ } else {
314370 return '';
315371 }
 372+ }
316373
317 - if ($bCountSet)
318 - {
319 - if ($iCount < $wgDLPMinResultCount)
320 - $iCount = $wgDLPMinResultCount;
321 - if ($iCount > $wgDLPMaxResultCount)
 374+ if ( $bCountSet ) {
 375+ if ( $iCount < 1 ) {
 376+ $iCount = 1;
 377+ }
 378+ if ( $iCount > $wgDLPMaxResultCount ) {
322379 $iCount = $wgDLPMaxResultCount;
323380 }
324 - else
325 - {
326 - if (!$wgDLPAllowUnlimitedResults)
327 - {
 381+ } elseif ( !$wgDLPAllowUnlimitedResults ) {
328382 $iCount = $wgDLPMaxResultCount;
329383 $bCountSet = true;
330384 }
331 - }
332385
333386 //disallow showing date if the query doesn't have an inclusion category parameter
334 - if ($iCatCount < 1)
 387+ if ( $iCatCount < 1 ) {
335388 $bAddFirstCategoryDate = false;
 389+ // don't sort by fields relating to categories if there are no categories.
 390+ if ( $sOrderMethod == 'categoryadd' || $sOrderMethod == 'categorysortkey' ) {
 391+ $sOrderMethod = 'created';
 392+ }
 393+ }
336394
337395
338396 //build the SQL query
339397 $dbr =& wfGetDB( DB_SLAVE );
340 - $sPageTable = $dbr->tableName( 'page' );
341 - $categorylinks = $dbr->tableName( 'categorylinks' );
342 - $sSqlSelectFrom = "SELECT page_namespace, page_title, page_id, c1.cl_timestamp FROM $sPageTable";
 398+ $aTables = Array( 'page' );
 399+ $aFields = Array( 'page_namespace', 'page_title' );
 400+ $aWhere = Array();
 401+ $aJoin = Array();
 402+ $aOptions = Array();
343403
344 - if (true == $bNamespace)
345 - $sSqlWhere = ' WHERE page_namespace='.$iNamespace.' ';
346 - else
347 - $sSqlWhere = ' WHERE 1=1 ';
 404+ if ( $bGoogleHack ) {
 405+ $aFields[] = 'page_id';
 406+ }
348407
 408+ if ( $bAddFirstCategoryDate ) {
 409+ $aFields[] = 'c1.cl_timestamp';
 410+ }
 411+
 412+ if ( true == $bNamespace ) {
 413+ $aWhere['page_namespace'] = $iNamespace;
 414+ }
 415+
349416 // Bug 14943 - Allow filtering based on FlaggedRevs stability.
350417 // Check if the extension actually exists before changing the query...
351 - if( function_exists('efLoadFlaggedRevs') ) {
352 - $flaggedpages = $dbr->tableName( 'flaggedpages' );
353 - $filterSet = array('only','exclude');
354 - # Either involves the same JOIN here...
355 - if( in_array($sStable,$filterSet) || in_array($sQuality,$filterSet) ) {
356 - $sSqlSelectFrom .= " LEFT JOIN $flaggedpages ON page_id = fp_page_id";
357 - }
358 - switch( $sStable )
359 - {
 418+ if ( function_exists( 'efLoadFlaggedRevs' ) && $bFlaggedRevs ) {
 419+ $aTables[] = 'flaggedpages';
 420+ $aJoin['flaggedpages'] = Array( 'LEFT JOIN', 'page_id = fp_page_id' );
 421+
 422+ switch( $sStable ) {
360423 case 'only':
361 - $sSqlWhere .= ' AND fp_stable IS NOT NULL ';
 424+ $aWhere[] = 'fp_stable IS NOT NULL';
362425 break;
363426 case 'exclude':
364 - $sSqlWhere .= ' AND fp_stable IS NULL ';
 427+ $aWhere['fp_stable'] = null;
365428 break;
366429 }
367 - switch( $sQuality )
368 - {
 430+
 431+ switch( $sQuality ) {
369432 case 'only':
370 - $sSqlWhere .= ' AND fp_quality >= 1';
 433+ $aWhere[] = 'fp_quality >= 1';
371434 break;
372435 case 'exclude':
373 - $sSqlWhere .= ' AND fp_quality = 0';
 436+ $aWhere[] = 'fp_quality = 0 OR fp_quality IS NULL';
374437 break;
375438 }
376439 }
377440
378 - switch ($sRedirects)
379 - {
 441+ switch ( $sRedirects ) {
380442 case 'only':
381 - $sSqlWhere .= ' AND page_is_redirect = 1 ';
 443+ $aWhere['page_is_redirect'] = 1;
382444 break;
383445 case 'exclude':
384 - $sSqlWhere .= ' AND page_is_redirect = 0 ';
 446+ $aWhere['page_is_redirect'] = 0;
385447 break;
386448 }
387449
388 - $iCurrentTableNumber = 0;
 450+ $iCurrentTableNumber = 1;
 451+ $categorylinks = $dbr->tableName( 'categorylinks' );
389452
390453 for ($i = 0; $i < $iCatCount; $i++) {
391 - $sSqlSelectFrom .= " INNER JOIN $categorylinks AS c" . ($iCurrentTableNumber+1);
392 - $sSqlSelectFrom .= ' ON page_id = c'.($iCurrentTableNumber+1).'.cl_from';
393 - $sSqlSelectFrom .= ' AND c'.($iCurrentTableNumber+1).'.cl_to='.
394 - $dbr->addQuotes( $aCategories[$i]->getDBkey() );
 454+ $aJoin["$categorylinks AS c$iCurrentTableNumber"] = Array( 'INNER JOIN',
 455+ Array( "page_id = c{$iCurrentTableNumber}.cl_from",
 456+ "c{$iCurrentTableNumber}.cl_to={$dbr->addQuotes($aCategories[$i]->getDBKey())}"
 457+ )
 458+ );
 459+ $aTables[] = "$categorylinks AS c$iCurrentTableNumber";
395460
396461 $iCurrentTableNumber++;
397462 }
398463
399464 for ($i = 0; $i < $iExcludeCatCount; $i++) {
400 - $sSqlSelectFrom .= " LEFT OUTER JOIN $categorylinks AS c" . ($iCurrentTableNumber+1);
401 - $sSqlSelectFrom .= ' ON page_id = c'.($iCurrentTableNumber+1).'.cl_from';
402 - $sSqlSelectFrom .= ' AND c'.($iCurrentTableNumber+1).'.cl_to='.
403 - $dbr->addQuotes( $aExcludeCategories[$i]->getDBkey() );
404 -
405 - $sSqlWhere .= ' AND c'.($iCurrentTableNumber+1).'.cl_to IS NULL';
406 -
 465+ $aJoin["$categorylinks AS c$iCurrentTableNumber"] = Array( 'LEFT OUTER JOIN',
 466+ Array( "page_id = c{$iCurrentTableNumber}.cl_from",
 467+ "c{$iCurrentTableNumber}.cl_to={$dbr->addQuotes($aExcludeCategories[$i]->getDBKey())}"
 468+ )
 469+ );
 470+ $aTables[] = "$categorylinks AS c$iCurrentTableNumber";
 471+ $aWhere["c{$iCurrentTableNumber}.cl_to"] = null;
407472 $iCurrentTableNumber++;
408473 }
409474
410 - if ('descending' == $sOrder)
 475+ if ( 'descending' == $sOrder ) {
411476 $sSqlOrder = 'DESC';
412 - else
 477+ } else {
413478 $sSqlOrder = 'ASC';
 479+ }
414480
415 - if ('lastedit' == $sOrderMethod)
416 - $sSqlWhere .= ' ORDER BY page_touched ';
417 - else
418 - $sSqlWhere .= ' ORDER BY c1.cl_timestamp ';
 481+ switch ( $sOrderMethod ) {
 482+ case 'lastedit':
 483+ $sSqlSort = 'page_touched';
 484+ break;
 485+ case 'length':
 486+ $sSqlSort = 'page_len';
 487+ break;
 488+ case 'created':
 489+ $sSqlSort = 'page_id'; # Since they're never reused and increasing
 490+ break;
 491+ case 'categorysortkey':
 492+ $sSqlSort = 'c1.cl_sortkey';
 493+ break;
 494+ case 'popularity':
 495+ $sSqlSort = 'page_counter';
 496+ break;
 497+ case 'categoryadd':
 498+ default:
 499+ $sSqlSort = 'c1.cl_timestamp';
 500+ break;
 501+ }
419502
420 - $sSqlWhere .= $sSqlOrder;
 503+ $aOptions['ORDER BY'] = "$sSqlSort $sSqlOrder";
421504
422 -
423 - if ($bCountSet)
424 - {
425 - $sSqlWhere .= ' LIMIT ' . $iCount;
 505+ if ( $bCountSet ) {
 506+ $aOptions['LIMIT'] = $iCount;
426507 }
 508+ if ( $iOffset > 0 ) {
 509+ $aOptions['OFFSET'] = $iOffset;
 510+ }
427511
428 - //DEBUG: output SQL query
429 - //$output .= 'QUERY: [' . $sSqlSelectFrom . $sSqlWhere . "]<br />";
430 -
431512 // process the query
432 - $res = $dbr->query($sSqlSelectFrom . $sSqlWhere);
433 -
 513+ $res = $dbr->select( $aTables, $aFields, $aWhere, __METHOD__, $aOptions, $aJoin );
434514 $sk =& $wgUser->getSkin();
435515
436 - if ($dbr->numRows( $res ) == 0)
437 - {
438 - if (false == $bSuppressErrors)
 516+ if ( $dbr->numRows( $res ) == 0 ) {
 517+ if ( false == $bSuppressErrors ) {
439518 return htmlspecialchars( wfMsg( 'intersection_noresults' ) );
440 - else
 519+ } else {
441520 return '';
442521 }
 522+ }
443523
444524 //start unordered list
445525 $output = $sStartList . "\n";
446526
 527+ $categoryDate = '';
 528+ $df = null;
 529+ if ( $sDateFormat != '' && $bAddFirstCategoryDate ) {
 530+ $df = DateFormatter::getInstance();
 531+ }
 532+
447533 //process results of query, outputing equivalent of <li>[[Article]]</li> for each result,
448534 //or something similar if the list uses other startlist/endlist
449535 while ($row = $dbr->fetchObject( $res ) ) {
450536 $title = Title::makeTitle( $row->page_namespace, $row->page_title);
451537 $output .= $sStartItem;
452 - if (true == $bAddFirstCategoryDate)
453 - $output .= $wgLang->date( wfTimestamp( TS_MW, $row->cl_timestamp ) ) . wfMsg( 'colon-separator' );
 538+ if ( true == $bAddFirstCategoryDate ) {
 539+ if ( $sDateFormat != '' ) {
 540+ # this is a tad ugly
 541+ # use DateFormatter, and support disgarding year.
 542+ $categoryDate = wfTimestamp( TS_ISO_8601, $row->cl_timestamp );
 543+ if ( $bStripYear ) {
 544+ $categoryDate = $wgContLang->getMonthName( substr( $categoryDate, 5, 2 ) )
 545+ . ' ' . substr ( $categoryDate, 8, 2 );
 546+ } else {
 547+ $categoryDate = substr( $categoryDate, 0, 10 );
 548+ }
 549+ $categoryDate = $df->reformat( $sDateFormat, $categoryDate, array( 'match-whole' ) );
 550+ } else {
 551+ $categoryDate = $wgLang->date( wfTimestamp( TS_MW, $row->cl_timestamp ) );
 552+ }
 553+ if ( !$bUseGallery ) {
 554+ $categoryDate .= wfMsg( 'colon-separator' );
 555+ } else {
 556+ $categoryDate .= ' ';
 557+ }
 558+ }
454559
455560 $query = array();
456 - if (true == $bShowCurId)
457 - $query['curid'] = intval($row->page_id);
458 - if ($bGoogleHack)
 561+
 562+ if ( true == $bGoogleHack ) {
459563 $query['dpl_id'] = intval($row->page_id);
 564+ }
460565
461 - if (true == $bShowNamespace)
 566+ if ( true == $bShowNamespace ) {
462567 $titleText = $title->getPrefixedText();
463 - else
 568+ } else {
464569 $titleText = $title->getText();
 570+ }
465571
466 - $output .= $sk->link($title, htmlspecialchars($titleText), array(), $query, array( 'forcearticlepath', 'known' ) );
467 -
 572+ if ( $bUseGallery ) {
 573+ # Note, $categoryDate is treated as raw html
 574+ # this is safe since the only html present
 575+ # would come from the dateformatter <span>.
 576+ $gallery->add( $title, $categoryDate );
 577+ } else {
 578+ $output .= $categoryDate;
 579+ $output .= $sk->link( $title, htmlspecialchars( $titleText ), $aLinkOptions, $query, array( 'forcearticlepath', 'known' ) );
468580 $output .= $sEndItem . "\n";
469581 }
 582+ }
470583
471584 //end unordered list
 585+ if ( $bUseGallery ) {
 586+ $gallery->setHideBadImages();
 587+ $gallery->setShowFilename( $bGalleryFileName );
 588+ $gallery->setShowBytes( $bGalleryFileSize );
 589+ if ( $iGalleryImageHeight > 0 )
 590+ $gallery->setHeights( $iGalleryImageHeight );
 591+ if ( $iGalleryImageWidth > 0 )
 592+ $gallery->setWidths( $iGalleryImageWidth );
 593+ if ( $iGalleryNumbRows > 0 )
 594+ $gallery->setPerRow( $iGalleryNumbRows );
 595+ if ( $sGalleryCaption != '' )
 596+ $gallery->setCaption( $sGalleryCaption ); # gallery class escapes string
 597+ $output = $gallery->toHtml();
 598+
 599+ } else {
472600 $output .= $sEndList . "\n";
 601+ }
473602
474603 return $output;
475604 }

Status & tagging log