r47445 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47444‎ | r47445 | r47446 >
Date:11:44, 18 February 2009
Author:siebrand
Status:deferred
Tags:
Comment:
* merge messages 'spamregex-log-1' and 'spamregex-log-1' into 'spamregex-log' to allow better localisation
* split time and date to allow better localisation
* removed obsolete messages
* bump version
Modified paths:
  • /trunk/extensions/SpamRegex/SpamRegex.i18n.php (modified) (history)
  • /trunk/extensions/SpamRegex/SpamRegex.php (modified) (history)
  • /trunk/extensions/SpamRegex/SpecialSpamRegex.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SpamRegex/SpamRegex.i18n.php
@@ -23,8 +23,7 @@
2424 'spamregex-currently-blocked' => "'''Currently blocked phrases:'''",
2525 'spamregex-move' => 'The reason you entered contained a blocked phrase.',
2626 'spamregex-no-currently-blocked' => "'''There are no blocked phrases.'''",
27 - 'spamregex-log-1' => '* \'\'\'$1\'\'\' $2 ([{{SERVER}}$3&text=$4 remove]) added by ',
28 - 'spamregex-log-2' => ' on $1',
 27+ 'spamregex-log' => '* \'\'\'$1\'\'\' $2 ([{{SERVER}}$3&text=$4 remove]) added by $5 on $6 at $7',
2928 'spamregex-page-title-1' => 'Block phrase using regular expressions',
3029 'spamregex-unblock-success' => 'Unblock succedeed',
3130 'spamregex-unblock-message' => 'Phrase \'\'\'$1\'\'\' has been unblocked from editing.',
@@ -102,8 +101,6 @@
103102 'spamregex-currently-blocked' => "'''العبارات الممنوعة حاليا:'''",
104103 'spamregex-move' => 'السبب الذي أدخلته يحتوي على عبارة ممنوعة.',
105104 'spamregex-no-currently-blocked' => "'''لا توجد عبارات ممنوعة.'''",
106 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 إزالة]) تمت إضافتها بواسطة",
107 - 'spamregex-log-2' => ' في $1',
108105 'spamregex-page-title-1' => 'منع عبارة باستخدام التعبيرات المنتظمة',
109106 'spamregex-unblock-success' => 'رفع المنع نجح',
110107 'spamregex-unblock-message' => "العبارة '''$1''' تم رفع المنع عنها ضد التحرير.",
@@ -139,8 +136,6 @@
140137 'spamregex-currently-blocked' => "'''العبارات الممنوعة حاليا:'''",
141138 'spamregex-move' => 'السبب الذى أدخلته يحتوى على عبارة ممنوعة.',
142139 'spamregex-no-currently-blocked' => "'''لا توجد عبارات ممنوعة.'''",
143 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 إزالة]) تمت إضافتها بواسطة",
144 - 'spamregex-log-2' => ' فى $1',
145140 'spamregex-page-title-1' => 'منع عبارة باستخدام التعبيرات المنتظمة',
146141 'spamregex-unblock-success' => 'رفع المنع نجح',
147142 'spamregex-unblock-message' => "العبارة '''$1''' تم رفع المنع عنها ضد التحرير.",
@@ -177,8 +172,6 @@
178173 'spamregex-currently-blocked' => "'''Цяперашнія выразы для блякаваньня:'''",
179174 'spamregex-move' => 'Прычына ў тым, што Вы ўвялі заблякаваную фразу.',
180175 'spamregex-no-currently-blocked' => "'''Няма заблякаваных фразаў.'''",
181 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 выдалены]) дададзены",
182 - 'spamregex-log-2' => 'на $1',
183176 'spamregex-page-title-1' => 'Блякаваньне фразы з дапамогай рэгулярных выразаў',
184177 'spamregex-unblock-success' => 'Разблякавана',
185178 'spamregex-unblock-message' => "Фраза '''$1''' была разблякаваная для рэдагаваньня.",
@@ -208,7 +201,6 @@
209202 'spamregex-currently-blocked' => "'''Текущо блокирани фрази:'''",
210203 'spamregex-move' => 'Въведената причина съдържа блокирана фраза.',
211204 'spamregex-no-currently-blocked' => "'''Няма блокирани фрази.'''",
212 - 'spamregex-log-2' => ' на $1',
213205 'spamregex-page-title-1' => 'Блокиране на фрази чрез регулярни изрази',
214206 'spamregex-unblock-success' => 'Успешно разблокиране',
215207 'spamregex-unblock-message' => "Фразата '''$1''' беше отблокирана за редактиране.",
@@ -263,8 +255,6 @@
264256 'spamregex-currently-blocked' => "'''Derzeit gesperrte Phrasen:'''",
265257 'spamregex-move' => 'Die Zusammenfassung, die du angabst, enthält eine gesperrte Phrase.',
266258 'spamregex-no-currently-blocked' => "'''Es gibt derzeit keine gesperrten Phrasen.'''",
267 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 entfernen]), hinzugefügt von",
268 - 'spamregex-log-2' => ' auf $1',
269259 'spamregex-page-title-1' => 'Sperre Phrase als regulären Ausdruck',
270260 'spamregex-unblock-success' => 'Entsperrung erfolgreich',
271261 'spamregex-unblock-message' => "Phrase „'''$1'''“ wurde für Bearbeitungen entsperrt.",
@@ -309,8 +299,6 @@
310300 'spamregex-currently-blocked' => "'''Tuchylu blokěrowane fraze:'''",
311301 'spamregex-move' => 'Pśicyna, kótaruž sy zapódał, wopśimujo blokěrowanu frazu.',
312302 'spamregex-no-currently-blocked' => "'''Njejsu blokěrowane fraze.'''",
313 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 wótpóraś]), pśidany wót",
314 - 'spamregex-log-2' => 'na $1',
315303 'spamregex-page-title-1' => 'Frazu z pomocu regularnych wurazow blokěrowaś',
316304 'spamregex-unblock-success' => 'Pśipušćenje wuspěšne',
317305 'spamregex-unblock-message' => "Fraza '''$1''' jo se pśipušćiła za wobźěłanje.",
@@ -347,7 +335,6 @@
348336 'spamregex-currently-blocked' => "'''Nune forbaritaj frazeroj:'''",
349337 'spamregex-move' => 'La kialo kiun vi enigis enhavis forbaritajn frazeron.',
350338 'spamregex-no-currently-blocked' => "'''Ne estas iuj ajn forbaritaj vortaj kombinaĵoj.'''",
351 - 'spamregex-log-2' => 'je $1',
352339 'spamregex-page-title-1' => 'Forbari frazero uzante regularajn esprimojn',
353340 'spamregex-unblock-success' => 'Malforbaro sukcesis',
354341 'spamregex-unblock-message' => "Frazero '''$1''' estis malforbarita de redaktado.",
@@ -374,8 +361,6 @@
375362 'spamregex-currently-blocked' => "'''Frases actualmente bloqueadas:'''",
376363 'spamregex-move' => 'La razón que ha ingresado contiene una frase bloqueada.',
377364 'spamregex-no-currently-blocked' => "'''No hay frases bloqueadas.'''",
378 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 remover]) lo agregado por",
379 - 'spamregex-log-2' => ' en $1',
380365 'spamregex-page-title-1' => 'Bloquear frase usando expresiones regulares',
381366 'spamregex-unblock-success' => 'Desbloque fue un éxito',
382367 'spamregex-unblock-message' => "Frase '''$1''' ha sido bloqueada de la edición.",
@@ -427,8 +412,6 @@
428413 'spamregex-currently-blocked' => "'''Phrases actuellement bloquées :'''",
429414 'spamregex-move' => 'Le motif que vous avez inscrit contenait une phrase bloquée.',
430415 'spamregex-no-currently-blocked' => "'''Il n’y a aucune phrase bloquée.'''",
431 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 supprimer]) ajouté par",
432 - 'spamregex-log-2' => ' le $1',
433416 'spamregex-page-title-1' => 'Blocage d’une phrase utilisant des expressions régulières',
434417 'spamregex-unblock-success' => 'Le déblocage a réussi',
435418 'spamregex-unblock-message' => "La phrase '''$1''' a été débloquée à l’édition.",
@@ -472,8 +455,6 @@
473456 'spamregex-currently-blocked' => "'''Frases actualmente bloqueadas:'''",
474457 'spamregex-move' => 'O motivo que inseriu contén unha frase bloqueada.',
475458 'spamregex-no-currently-blocked' => "'''Non hai frases bloqueadas.'''",
476 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 eliminar]) engadido por",
477 - 'spamregex-log-2' => 'en $1',
478459 'spamregex-page-title-1' => 'Bloquear frase usando expresións regulares',
479460 'spamregex-unblock-success' => 'Desbloqueo con éxito',
480461 'spamregex-unblock-message' => "A frase '''$1''' foi desbloqueada para a edición.",
@@ -508,8 +489,6 @@
509490 'spamregex-currently-blocked' => "'''Im Momänt gsperrti Phrase:'''",
510491 'spamregex-move' => 'In dr Zämmefassig, wu Du aagee hesch, het s e gsperrti Phrase.',
511492 'spamregex-no-currently-blocked' => "'''S git im Momänt kei gsperrti Phrase.'''",
512 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 useneh]), zuegfiegt vu",
513 - 'spamregex-log-2' => ' uf $1',
514493 'spamregex-page-title-1' => 'Sperr Phrase as reguläre Uusdruck',
515494 'spamregex-unblock-success' => 'Entsperrig erfolgryych',
516495 'spamregex-unblock-message' => "Phrase „'''$1'''“ isch fir Bearbeitige entsperrt.",
@@ -545,8 +524,6 @@
546525 'spamregex-currently-blocked' => "'''מונחים הנחסמים נכון לעכשיו:'''",
547526 'spamregex-move' => 'הסיבה שכתבתם מכילה מונח שנחסם.',
548527 'spamregex-no-currently-blocked' => "'''אין מונחים חסומים.'''",
549 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 הסרה]) נוספה על ידי",
550 - 'spamregex-log-2' => 'ב־$1',
551528 'spamregex-page-title-1' => 'חסימת ביטוי באמצעות ביטויים רגולריים',
552529 'spamregex-unblock-success' => 'הסרת החסימה הושלמה בהצלחה',
553530 'spamregex-unblock-message' => "הוסרה חסימת המונח '''$1''' מעריכה.",
@@ -601,8 +578,6 @@
602579 'spamregex-currently-blocked' => "'''Tuchwilu zablokowane frazy:'''",
603580 'spamregex-move' => 'Přičina, kotruž sy podał, je zablokowanu frazu wobsahowała.',
604581 'spamregex-no-currently-blocked' => "'''Zablokowane frazy njejsu.'''",
605 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 wotstronić]) přidaty wot",
606 - 'spamregex-log-2' => 'na $1',
607582 'spamregex-page-title-1' => 'Frazu, kotraž regularne wurazy wužiwa, blokować',
608583 'spamregex-unblock-success' => 'Wotblokowanje wuspěšne',
609584 'spamregex-unblock-message' => "Fraza '''$1''' bu za wobdźěłowanje dopušćena.",
@@ -637,8 +612,6 @@
638613 'spamregex-currently-blocked' => "'''Phrases actualmente blocate:'''",
639614 'spamregex-move' => 'Le motivo que tu entrava contineva un phrase blocate.',
640615 'spamregex-no-currently-blocked' => "'''Il non ha phrases blocate.'''",
641 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 retirar]) addite per",
642 - 'spamregex-log-2' => ' le $1',
643616 'spamregex-page-title-1' => 'Blocar un phrase per medio de expressiones regular',
644617 'spamregex-unblock-success' => 'Disblocada succedite',
645618 'spamregex-unblock-message' => "Le phrase '''$1''' ha essite disblocate de figurar in modificationes.",
@@ -763,8 +736,6 @@
764737 'spamregex-move' => 'Wat De unger „{{int:Summary}}“ enjejovve häß, dat jeiht esu nit,
765738 do es e Stöck Tex dren, dä jesperrt es.',
766739 'spamregex-no-currently-blocked' => "'''Mer han_er kei jesperrt_Texstöck.'''",
767 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 fott domet!]) — dobei jedonn vum",
768 - 'spamregex-log-2' => ' op $1',
769740 'spamregex-page-title-1' => 'Als en <i lang="en">regular expression</i> sperre',
770741 'spamregex-unblock-success' => 'Frei jejovve',
771742 'spamregex-unblock-message' => 'Dat Textstöck „$1“ es frei jejovve.',
@@ -792,8 +763,6 @@
793764 'spamregex-summary' => 'Dësen Text gouf am Resumé vun der Säit fonnt',
794765 'spamregex-currently-blocked' => "'''Sätz déi elo gespaart sinn:'''",
795766 'spamregex-no-currently-blocked' => "'''Et gëtt keng gespaarte Sätz.'''",
796 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 ewech huelen]) derbäigest vum",
797 - 'spamregex-log-2' => 'den $1',
798767 'spamregex-unblock-success' => 'Spär ass opgehuewen',
799768 'spamregex-block-success' => 'Gespaart',
800769 'spamregex-block-message' => "De Saatz '''$1''' gouf gespaart.",
@@ -823,7 +792,6 @@
824793 * @author Shijualex
825794 */
826795 $messages['ml'] = array(
827 - 'spamregex-log-2' => '$1 ന്‌',
828796 'spamregex-unblock-success' => 'സ്വതന്ത്രമാക്കല്‍ വിജയിച്ചിരിക്കുന്നു',
829797 'spamregex-block-success' => 'തടയല്‍ വിജയിച്ചിരിക്കുന്നു',
830798 'spamregex-already-blocked' => '"$1" ഇതിനകം തന്നെ തടയപ്പെട്ടിരിക്കുന്നു.',
@@ -844,8 +812,6 @@
845813 'spamregex-page-title' => 'स्पॅम रेजएक्स नको असलेल्या एक्स्प्रेशन्स ब्लॉक',
846814 'spamregex-currently-blocked' => "'''सध्या ब्लॉक केलेले फ्रेजेस:'''",
847815 'spamregex-no-currently-blocked' => "'''सध्या एकही ब्लॉक केलेला फ्रेज नाही.'''",
848 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 काढा]) (ने) वाढविलेला",
849 - 'spamregex-log-2' => '$1वर',
850816 'spamregex-page-title-1' => 'रेग्युलर एक्स्प्रेशन्स वापरून फ्रेज ब्लॉक करा',
851817 'spamregex-unblock-success' => 'अनब्लॉक यशस्वी',
852818 'spamregex-unblock-message' => "फ्रेज '''$1''' ला संपादित करण्यापासून अनब्लॉक केलेले आहे.",
@@ -882,7 +848,6 @@
883849 * @author Fluence
884850 */
885851 $messages['nah'] = array(
886 - 'spamregex-log-2' => ' īpan $1',
887852 'spamregex-summary-log' => '(Tlahcuilōltōn)',
888853 );
889854
@@ -890,7 +855,6 @@
891856 * @author Slomox
892857 */
893858 $messages['nds'] = array(
894 - 'spamregex-log-2' => 'op $1',
895859 'spamregex-text' => '(Text)',
896860 );
897861
@@ -911,8 +875,6 @@
912876 'spamregex-currently-blocked' => "'''Huidig geblokkeerde zinnen:'''",
913877 'spamregex-move' => 'De opgegeven reden bevat een tekstdeel dat op de zwarte lijst staat.',
914878 'spamregex-no-currently-blocked' => "'''Er zijn geen geblokkeerde zinnen.'''",
915 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 verwijderen]) toegevoegd door",
916 - 'spamregex-log-2' => ' op $1',
917879 'spamregex-page-title-1' => 'Zinnen blokkeren met reguliere uitdrukkingen',
918880 'spamregex-unblock-success' => 'Deblokkade gelukt',
919881 'spamregex-unblock-message' => "Zin '''$1''' is gedeblokkeerd van bewerkingen.",
@@ -947,8 +909,6 @@
948910 'spamregex-currently-blocked' => "'''Noverande blokkerte uttrykk:'''",
949911 'spamregex-move' => 'Årsaka du skreiv inn inneheldt eit blokkert uttrykk.',
950912 'spamregex-no-currently-blocked' => "'''Det er ingen blokkerte uttrykk.'''",
951 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 fjern]) lagt til av",
952 - 'spamregex-log-2' => 'på $1',
953913 'spamregex-page-title-1' => 'Blokker uttrykk ved hjelp av regulære uttrykk',
954914 'spamregex-unblock-success' => 'Avblokkering utført',
955915 'spamregex-unblock-message' => "Uttrykket '''$1''' er ikkje lenger blokkert.",
@@ -981,8 +941,6 @@
982942 'spamregex-currently-blocked' => "'''Nåværende blokkerte fraser:'''",
983943 'spamregex-move' => 'Årsaken du skrev inn inneholdt en blokkert frase.',
984944 'spamregex-no-currently-blocked' => "'''Det er ingen blokkerte fraser.'''",
985 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 fjern]) lagt til av",
986 - 'spamregex-log-2' => ' $1',
987945 'spamregex-page-title-1' => 'Blokker frase ved hjelp av regulære uttrykk',
988946 'spamregex-unblock-success' => 'Avblokkering lyktes',
989947 'spamregex-unblock-message' => "Frasen '''$1''' er ikke lenger blokkert.",
@@ -1014,8 +972,6 @@
1015973 'spamregex-currently-blocked' => "'''Frasas actualament blocadas :'''",
1016974 'spamregex-move' => "Lo motiu qu'avètz inscrich conteniá una frasa blocada.",
1017975 'spamregex-no-currently-blocked' => "'''I a pas cap de frasa blocada.'''",
1018 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 suprimir]) apondut per",
1019 - 'spamregex-log-2' => 'lo $1',
1020976 'spamregex-page-title-1' => "Blocatge d’una frasa utilizant d'expressions regularas",
1021977 'spamregex-unblock-success' => 'Lo desblocatge a capitat',
1022978 'spamregex-unblock-message' => "La frasa '''$1''' es estada desblocada a l’edicion.",
@@ -1061,8 +1017,6 @@
10621018 'spamregex-currently-blocked' => "'''Aktualnie zablokowane wyrażenia:'''",
10631019 'spamregex-move' => 'Powód który wpisałeś zawiera zabroniony zwrot.',
10641020 'spamregex-no-currently-blocked' => "'''Nie ma zablokowanych wyrażeń.'''",
1065 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 usuń]) dodane przez",
1066 - 'spamregex-log-2' => '$1',
10671021 'spamregex-page-title-1' => 'Blokuj frazę za pomocą wyrażenia regularnego',
10681022 'spamregex-unblock-success' => 'Odblokowano',
10691023 'spamregex-unblock-message' => "Fraza '''$1''' została odblokowana.",
@@ -1099,8 +1053,6 @@
11001054 'spamregex-currently-blocked' => "'''Frases atualmente bloqueadas:'''",
11011055 'spamregex-move' => 'O motivo que você introduziu contém uma frase bloqueada.',
11021056 'spamregex-no-currently-blocked' => "'''Não há frases bloqueadas.'''",
1103 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 remover]) adicionado por",
1104 - 'spamregex-log-2' => ' em $1',
11051057 'spamregex-page-title-1' => 'Bloquear frase usando expressões regulares',
11061058 'spamregex-unblock-success' => 'Desbloqueio com sucesso',
11071059 'spamregex-unblock-message' => "A frase '''$1''' foi desbloqueada da edição.",
@@ -1171,8 +1123,6 @@
11721124 'spamregex-currently-blocked' => "'''Momentálne zablokované frázy.'''",
11731125 'spamregex-move' => 'Dôvod, ktorý ste zadali, obsahoval zablokovaný výraz.',
11741126 'spamregex-no-currently-blocked' => "'''Nie sú žiadne zablokované frázy.'''",
1175 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 remove]) pridal",
1176 - 'spamregex-log-2' => '$1',
11771127 'spamregex-page-title-1' => 'Zablokovať frázu pomocou regulárnych výrazov',
11781128 'spamregex-unblock-success' => 'Odblokovanie úspešné',
11791129 'spamregex-unblock-message' => 'Bol zrušený zákaz uložiť frázu „$1“.',
@@ -1223,8 +1173,6 @@
12241174 'spamregex-currently-blocked' => "'''Nuvarande blockerade fraser:'''",
12251175 'spamregex-move' => 'Anledningen du skrev in innehöll en blockerad fras.',
12261176 'spamregex-no-currently-blocked' => "'''Det finns inga blockerade fraser.'''",
1227 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 ta bort]) tillaggd av",
1228 - 'spamregex-log-2' => ' på $1',
12291177 'spamregex-page-title-1' => 'Blockera fras med hjälp av reguljära uttryck',
12301178 'spamregex-unblock-success' => 'Avblockering lyckades',
12311179 'spamregex-unblock-message' => "Frasen '''$1''' är inte längre blockerad.",
@@ -1303,8 +1251,6 @@
13041252 'spamregex-currently-blocked' => "'''Pangkasalukuyang hinahadlangang mga parirala:'''",
13051253 'spamregex-move' => 'Naglalaman ng isang hinadlangang parirala ang ipinasok/inilagay mong dahilan.',
13061254 'spamregex-no-currently-blocked' => "'''Walang hinahadlangang mga parirala.'''",
1307 - 'spamregex-log-1' => "* '''$1''' $2 ([{{SERVER}}$3&text=$4 tanggalin]) idinagdag ni",
1308 - 'spamregex-log-2' => ' sa $1',
13091255 'spamregex-page-title-1' => 'Hinadlangang parirala na gumagamit ng pangkaraniwang mga pagsasaad',
13101256 'spamregex-unblock-success' => 'Nagtagumpay ang pagtanggal ng paghadlang/pagharang',
13111257 'spamregex-unblock-message' => "Tinanggal ang pagkakaharang mula sa pamamatnugot (paggawa ng pagbabago) ang pariralang '''$1'''.",
Index: trunk/extensions/SpamRegex/SpamRegex.php
@@ -26,7 +26,7 @@
2727 // Extension credits
2828 $wgExtensionCredits['specialpage'][] = array(
2929 'name' => 'Regular Expression Spam Block',
30 - 'version' => '1.2',
 30+ 'version' => '1.2.1',
3131 'author' => 'Bartek Łapiński',
3232 'url' => 'http://www.mediawiki.org/wiki/Extension:SpamRegex',
3333 'description' => 'Filters out unwanted phrases in edited pages, based on regular expressions',
Index: trunk/extensions/SpamRegex/SpecialSpamRegex.php
@@ -121,7 +121,8 @@
122122
123123 $res = $dbr->select( 'spam_regex', '*', array(), __METHOD__, array( 'LIMIT' => $limit, 'OFFSET' => $offset ) );
124124 while ( $row = $res->fetchObject() ) {
125 - $time = $wgLang->timeanddate( wfTimestamp( TS_MW, $row->spam_timestamp ), true );
 125+ $date = $wgLang->date( wfTimestamp( TS_MW, $row->spam_timestamp ), true );
 126+ $time = $wgLang->time( wfTimestamp( TS_MW, $row->spam_timestamp ), true );
126127 $ublock_ip = urlencode($row->spam_text);
127128 $desc = '';
128129 if ( $row->spam_textbox == 1 ) {
@@ -134,7 +135,7 @@
135136 $desc .= wfMsg( 'spamregex-summary-log' );
136137 }
137138 $wgOut->addHTML( "<ul>" );
138 - $wgOut->addWikiText( wfMsg( 'spamregex-log-1', $row->spam_text, $desc, $action_unblock, $ublock_ip ) . $row->spam_user . wfMsg( 'spamregex-log-2', $time ) );
 139+ $wgOut->addWikiText( wfMsg( 'spamregex-log', $row->spam_text, $desc, $action_unblock, $ublock_ip, $row->spam_user, $date, $time ) );
139140 $wgOut->addHTML( "</ul>" );
140141 }
141142 $res->free();

Status & tagging log