r40921 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40920‎ | r40921 | r40922 >
Date:18:31, 16 September 2008
Author:mrzman
Status:old
Tags:
Comment:
*Re-implement r40723 in Article::view()
*Slight fix to EditPage following r40899
Modified paths:
  • /trunk/phase3/CREDITS (modified) (history)
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Article.php (modified) (history)
  • /trunk/phase3/includes/EditPage.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesAr.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesArz.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesBcc.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesBe_tarask.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesCs.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesDe.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesDsb.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEo.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesFa.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesFi.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesGl.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesHe.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesHr.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesHsb.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesIa.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesId.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesIt.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesLa.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesLb.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesMs.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesNl.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesNo.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesPl.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesPt.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesQqq.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesQu.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesRu.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesSk.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesSv.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesUk.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesVec.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesVi.php (modified) (history)
  • /trunk/phase3/skins/chick/main.css (modified) (history)
  • /trunk/phase3/skins/common/cologneblue.css (modified) (history)
  • /trunk/phase3/skins/common/oldshared.css (modified) (history)
  • /trunk/phase3/skins/modern/main.css (modified) (history)
  • /trunk/phase3/skins/monobook/main.css (modified) (history)
  • /trunk/phase3/skins/simple/main.css (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES
@@ -121,6 +121,8 @@
122122 Special:Statistics
123123 * (bug 15514) Setting $wgRightsText without $wgRightsUrl now produces a
124124 plaintext copyright notice. Patch by Juliano F. Ravasi.
 125+* (bug 15551) Deletion log excerpt is now shown whenever a user vists a
 126+ deleted page, even if they are unable to edit it.
125127 * Added Wantedfiles special pages, allowing users to find image links with no image.
126128 * (bug 12650) It is now possible to set different expiration times for different
127129 restriction types on the protection form.
Index: trunk/phase3/languages/messages/MessagesBcc.php
@@ -748,6 +748,7 @@
749749
750750 شما بایدن توجه کنیت که ادامه اصلاح ای صفحه درستنت.
751751 آمار حذف ای صفحه په شمی حاطرء ادان هستن:",
 752+'deleted-notice' => 'ای صفحه حذف بوتت. په مراجعه جهل گور آمار حذف پی ای صفحه اتکگت.',
752753
753754 # Parser/template warnings
754755 'expensive-parserfunction-warning' => 'هوژاری: ای صفحه شامل بازگین توار عملگر تجریه کنوک سنگیننت.
Index: trunk/phase3/languages/messages/MessagesHsb.php
@@ -709,6 +709,7 @@
710710
711711 Prošu přepruwuj, hač je znowawutworjenje woprawnjena a wotpowěduje prawidłam projekta.
712712 Tu slěduje wujimk z protokola wušmórnjenjow z přičinu za předawše wušmórnjenje:",
 713+'deleted-notice' => 'Tuta strona bu wušmórnjena. Protokol wušmórnjenjow za tutu stronu so deleka jako referenca podawa.',
713714
714715 # Parser/template warnings
715716 'expensive-parserfunction-warning' => 'Warnowanje: Tuta strona wobsahuje přewjele parserowych wołanjow.
Index: trunk/phase3/languages/messages/MessagesDe.php
@@ -820,6 +820,7 @@
821821
822822 Bitte prüfe sorgfältig, ob die erneute Seitenerstellung den Richtlinien entspricht.
823823 Zu deiner Information folgt das Lösch-Logbuch mit der Begründung für die vorhergehende Löschung:",
 824+'deleted-notice' => 'Diese Seite wurde gelöscht. Es folgt ein Auszug aus dem Lösch-Logbuch für diese Seite.',
824825
825826 # Parser/template warnings
826827 'expensive-parserfunction-warning' => 'Achtung: Diese Seite enthält zu viele Aufrufe aufwendiger Parserfunktionen.
Index: trunk/phase3/languages/messages/MessagesSv.php
@@ -890,6 +890,7 @@
891891
892892 Du bör överväga om det är lämpligt att fortsätta redigera sidan.
893893 Raderingsloggen för sidan innehåller följande:",
 894+'deleted-notice' => 'Denna sida har blivit raderad. Som referens visas nedan raderingsloggen för sidan.',
894895
895896 # Parser/template warnings
896897 'expensive-parserfunction-warning' => 'Varning: Denna sida innehåller för många anrop av resurskrävande parserfunktioner.
Index: trunk/phase3/languages/messages/MessagesArz.php
@@ -905,6 +905,7 @@
906906 'recreate-deleted-warn' => "'''تحذير: انت بتعيد انشاء صفحه اتمسحت قبل كده.'''
907907 لازم تتأكد من ان الاستمرار فى تحرير الصفحه دى ملائم.
908908 سجل الحذف للصفحه دى معروض هنا:",
 909+'deleted-notice' => 'الصفحة دى اتحذفت. سجل الحذف للصفحة معروض تحت علشان ترجعله.',
909910
910911 # Parser/template warnings
911912 'expensive-parserfunction-warning' => 'تحذير: الصفحه دى فيهااستدعاءات دالة محلل كثيرة مكلفة.
Index: trunk/phase3/languages/messages/MessagesVec.php
@@ -651,6 +651,7 @@
652652
653653 Par piaser assicùrete che sia dal bon el caso de 'ndar vanti a modificar sta pagina.
654654 L'elenco de le relative scancelazion el vien riportà qua de seguito par comodità:",
 655+'deleted-notice' => "Sta pàxena la xe stà scancelà. L'elenco de le relative scancelassion el vien riportà de sèvito par informassion.",
655656
656657 # Parser/template warnings
657658 'expensive-parserfunction-warning' => 'Ocio: Sta pagina la contien dele chiamate de funzion al parser massa onerose.
Index: trunk/phase3/languages/messages/MessagesQu.php
@@ -629,6 +629,7 @@
630630
631631 Hamut'arillay, chayaqillachu manallachu kay p'anqata kamariy.
632632 Kaymi kay p'anqamanta qulluy hallch'a:",
 633+'deleted-notice' => "Kay p'anqaqa qullusqam. Kay qatiq qulluy hallch'apim qullusqamanta rikunki.",
633634
634635 # Parser/template warnings
635636 'expensive-parserfunction-warning' => "Paqtataq: Kay p'anqaqa nisyu achka qullqipaq t'ikrana rurana qayayniyuqmi.
Index: trunk/phase3/languages/messages/MessagesCs.php
@@ -922,6 +922,8 @@
923923
924924 Ujistěte se, že je vhodné pokračovat v editaci stránky.
925925 Níže vidíte výpis z knihy smazaných stránek pro tuto stránku:",
 926+'deleted-notice' => 'Tato stránka byla smazána.
 927+Podrobnosti lze zjistit z níže uvedeného výpisu knihy smazaných stránek.',
926928
927929 # Parser/template warnings
928930 'expensive-parserfunction-warning' => 'Varování: Tato stránka obsahuje příliš mnoho volání výkonnostně náročných funkcí parseru.
Index: trunk/phase3/languages/messages/MessagesSk.php
@@ -787,6 +787,7 @@
788788
789789 Mali by ste zvážiť, či je vhodné pokračovať v úpravách tejto stránky.
790790 Odkaz na záznam zmazaní:",
 791+'deleted-notice' => 'Táto stránka bola zmazaná. Dolu je uvedený záznam zmazaní.',
791792
792793 # Parser/template warnings
793794 'expensive-parserfunction-warning' => 'Upozornenie: Táto stránka obsahuje príliš mnoho volaní funkcií syntaktického analyzátora, ktoré nadmerne zaťažujú server.
Index: trunk/phase3/languages/messages/MessagesHe.php
@@ -930,6 +930,8 @@
931931
932932 אנא שיקלו אם יהיה זה נכון להמשיך לערוך את הדף.
933933 יומן המחיקות של הדף מוצג להלן:",
 934+'deleted-notice' => 'דף זה נמחק.
 935+יומן המחיקות של הדף מוצג להלן.',
934936
935937 # Parser/template warnings
936938 'expensive-parserfunction-warning' => 'אזהרה: דף זה כולל יותר מדי קריאות למשתנים הגוזלים משאבים.
Index: trunk/phase3/languages/messages/MessagesId.php
@@ -873,6 +873,7 @@
874874
875875 Harap pertimbangkan apakah layak untuk melanjutkan suntingan Anda.
876876 Berikut adalah log penghapusan dari halaman ini:",
 877+'deleted-notice' => 'Halaman ini telah dihapus. Sebagai referensi, berikut adalah log penghapusan halaman ini.',
877878
878879 # Parser/template warnings
879880 'expensive-parserfunction-warning' => 'Peringatan: Halaman ini mengandung terlalu banyak panggilan fungsi parser.
Index: trunk/phase3/languages/messages/MessagesAr.php
@@ -1032,6 +1032,7 @@
10331033
10341034 يجب عليك التيقن من أن الاستمرار بتحرير هذه الصفحة ملائم.
10351035 سجل الحذف لهذه الصفحة معروض هنا:",
 1036+'deleted-notice' => 'هذه الصفحة تم حذفها. سجل الحذف للصفحة معروض بالأسفل كمرجع.',
10361037
10371038 # Parser/template warnings
10381039 'expensive-parserfunction-warning' => 'تحذير: هذه الصفحة تحتوي على استدعاءات دالة محلل كثيرة مكلفة.
Index: trunk/phase3/languages/messages/MessagesIt.php
@@ -745,6 +745,7 @@
746746
747747 Accertarsi che sia davvero opportuno continuare a modificare questa pagina.
748748 L'elenco delle relative cancellazioni viene riportato di seguito per comodità:",
 749+'deleted-notice' => "Questa pagina è stata cancellata. L'elenco delle relative cancellazioni viene riportato di seguito per informazione.",
749750
750751 # Parser/template warnings
751752 'expensive-parserfunction-warning' => 'Attenzione: Questa pagina contiene troppe chiamate alle parser functions.
Index: trunk/phase3/languages/messages/MessagesMs.php
@@ -763,6 +763,7 @@
764764
765765 Anda harus mempertimbangkan perlunya menyunting laman ini.
766766 Untuk rujukan, berikut ialah log penghapusan bagi laman ini:",
 767+'deleted-notice' => 'Laman ini telah dihapuskan. Log penghapusan bagi laman ini dilampirkan di bawah untuk rujukan.',
767768
768769 # Parser/template warnings
769770 'expensive-parserfunction-warning' => 'Amaran: Laman ini mengandungi terlalu banyak panggilan fungsi penghurai yang intensif.
Index: trunk/phase3/languages/messages/MessagesRu.php
@@ -858,6 +858,7 @@
859859 'recreate-deleted-warn' => "'''Внимание: вы пытаетесь воссоздать страницу, которая ранее удалялась.'''
860860
861861 Проверьте, действительно ли вам нужно воссоздавать эту страницу. Ниже приведён журнал удалений.",
 862+'deleted-notice' => 'Эта страница была удалена. Для справки ниже показаны соответствующие записи из журнала удалений.',
862863
863864 # Parser/template warnings
864865 'expensive-parserfunction-warning' => 'Внимание. Эта страница содержит слишком много вызовов ресурсоёмких функций.
Index: trunk/phase3/languages/messages/MessagesDsb.php
@@ -739,6 +739,7 @@
740740
741741 Pšosym pśespytuj kradosćiwje, lic wótpowědujo dalšne wótnowjenje bokow směrnicam.
742742 Aby se mógał informěrowaś, slědujo how wulašowanski log-zapis, w kótaremž namakajoš teke pśicyny wulašowanja.",
 743+'deleted-notice' => 'Toś ten bok jo se wulašował. Protokol wulašowanjow za toś ten bok podawa se dołojce ako referenca.',
743744
744745 # Parser/template warnings
745746 'expensive-parserfunction-warning' => 'Warnowanje: Toś ten bok wopśimujo pśewjele wołanjow parserowych funkcijow wupominajucych wusoke wugbaśe.
Index: trunk/phase3/languages/messages/MessagesLa.php
@@ -640,6 +640,7 @@
641641 'recreate-deleted-warn' => "'''Cave: paginam qui antea iam deleta est creas.'''
642642
643643 Tibi oportet meditari utrum hanc paginam creare tamen convenit. Commodule notatio paginarum deletarum hic datur:",
 644+'deleted-notice' => 'Haec pagina deleta est. Commodule notatio paginarum deletarum subter datur.',
644645
645646 # "Undo" feature
646647 'undo-norev' => 'Recensio abrogari non potuit quia non est aut deleta est.',
Index: trunk/phase3/languages/messages/MessagesQqq.php
@@ -593,6 +593,7 @@
594594
595595 Please report at [[Support]] if you are unable to properly translate this message. Also see [[bugzilla:14246]]',
596596 'recreate-deleted-warn' => 'Warning shown when creating a page which has already been deleted. See for example [[Test]].',
 597+'deleted-notice' => 'Shown on top of a deleted page in normal view modus ([http://translatewiki.net/wiki/Test example]).',
597598
598599 # Parser/template warnings
599600 'expensive-parserfunction-warning' => 'On some (expensive) [[MetaWikipedia:Help:ParserFunctions|parser functions]] (e.g. <code><nowiki>{{#ifexist:}}</nowiki></code>) there is a limit of how many times it may be used. This is an error message shown when the limit is exceeded.
Index: trunk/phase3/languages/messages/MessagesHr.php
@@ -883,6 +883,8 @@
884884
885885 Razmotrite je li nastavljanje uređivanja ove stranice u skladu s pravilima.
886886 Za vašu informaciju slijedi evidencija brisanja s obrazloženjem za prethodno brisanje:",
 887+'deleted-notice' => 'Ova stranice je bila izbrisana.
 888+Evidencija brisanja za ovu stranicu je pokazana niže.',
887889
888890 # Parser/template warnings
889891 'expensive-parserfunction-warning' => 'Upozorenje: Ova stranica sadrži previše opterećujućih poziva parserskih funkcija
Index: trunk/phase3/languages/messages/MessagesPl.php
@@ -861,6 +861,7 @@
862862
863863 Upewnij się, czy ponowne utworzenie tej strony jest uzasadnione.
864864 Poniżej znajduje się rejestr usunięć tej strony:",
 865+'deleted-notice' => 'Ta strona została usunięta. Rejestr usunięć tej strony jest pokazany poniżej.',
865866
866867 # Parser/template warnings
867868 'expensive-parserfunction-warning' => 'Uwaga! Ta strona zawiera zbyt wiele wywołań złożonych obliczeniowo funkcji parsera.
Index: trunk/phase3/languages/messages/MessagesPt.php
@@ -785,6 +785,7 @@
786786
787787 Certifique-se de que seja adequado prosseguir editando esta página.
788788 O registo de eliminação desta página é exibido a seguir, para sua comodidade:",
 789+'deleted-notice' => 'Esta página foi eliminada. Disponibiliza-se abaixo o registo de eliminações para esta página, para referência.',
789790
790791 # Parser/template warnings
791792 'expensive-parserfunction-warning' => 'Aviso: Esta página contém demasiadas chamadas custosas a funções do analisador "parser".
Index: trunk/phase3/languages/messages/MessagesIa.php
@@ -695,6 +695,8 @@
696696
697697 Tu deberea considerar si il es appropriate crear iste pagina de novo.
698698 Le registro de deletiones pro iste pagina se trova infra pro major commoditate:",
 699+'deleted-notice' => 'Iste pagina ha essite delite.
 700+In basso se revela le registro de deletiones del pagina pro ulterior informationes.',
699701
700702 # Parser/template warnings
701703 'expensive-parserfunction-warning' => 'Attention: Iste pagina contine troppo de appellos costose al functiones del analysator syntactic.
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -1185,6 +1185,8 @@
11861186
11871187 You should consider whether it is appropriate to continue editing this page.
11881188 The deletion log for this page is provided here for convenience:",
 1189+'deleted-notice' => 'This page has been deleted.
 1190+The deletion log for the page is provided below for reference.',
11891191
11901192 # Parser/template warnings
11911193 'expensive-parserfunction-warning' => 'Warning: This page contains too many expensive parser function calls.
Index: trunk/phase3/languages/messages/MessagesFa.php
@@ -917,6 +917,7 @@
918918 'permissionserrorstext' => 'شما اجازهٔ انجام این کار را به {{PLURAL:$1|دلیل|دلایل}} زیر ندارید:',
919919 'permissionserrorstext-withaction' => 'شما اجازهٔ $2 را به {{PLURAL:$1|دلیل|دلایل}} رو به رو ندارید:',
920920 'recreate-deleted-warn' => "'''هشدار: شما در حال ایجاد کردن دوبارهٔ صفحه‌ای هستید که قبلاً حذف شده‌است.''' در نظر داشته باشید که آیا ادامهٔ ویرایش این صفحه کار مناسبی هست یا نه. سیاههٔ حذف مربوط به این صفحه برای راحتی در ادامه آمده‌است:",
 921+'deleted-notice' => 'این صفحه حذف شده‌است. سیاههٔ حذف این صفحه در زیر آمده‌است.',
921922
922923 # Parser/template warnings
923924 'expensive-parserfunction-warning' => 'هشدار: این صفحه حاوی تعدادی زیادی فراخوانی دستورهای تجزیه‌گر است.
Index: trunk/phase3/languages/messages/MessagesBe_tarask.php
@@ -871,6 +871,7 @@
872872
873873 Упэўніцеся, што стварэньне гэтай старонкі неабходнае.
874874 Ніжэй знаходзіцца журнал выдаленьняў гэтай старонкі:",
 875+'deleted-notice' => 'Гэта старонка была выдаленая. Журнал выдаленьняў для гэтай старонкі пададзены ніжэй.',
875876
876877 # Parser/template warnings
877878 'expensive-parserfunction-warning' => 'Папярэджаньне: гэтая старонка ўтрымлівае зашмат працаёмістых зваротаў да функцыяў парсэра.
Index: trunk/phase3/languages/messages/MessagesFi.php
@@ -765,6 +765,7 @@
766766 'recreate-deleted-warn' => "'''Olet luomassa sivua, joka on aikaisemmin poistettu.'''
767767
768768 Harkitse, kannattaako sivua luoda uudelleen. Alla on tämän sivun poistohistoria:",
 769+'deleted-notice' => 'Tämä sivu on poistettu. Alla on tämän sivun poistohistoria.',
769770
770771 # Parser/template warnings
771772 'expensive-parserfunction-warning' => 'Tällä sivulla on liian monta hitaiden laajennusfunktioiden kutsua.
Index: trunk/phase3/languages/messages/MessagesNo.php
@@ -758,6 +758,7 @@
759759 'recreate-deleted-warn' => "'''Advarsel: Du gjenskaper en side som tidligere har blitt slettet.'''
760760
761761 Du burde vurdere hvorvidt det er passende å fortsette å redigere denne siden. Slettingsloggen for denne siden gjengis her:",
 762+'deleted-notice' => 'Denne siden har blitt slettet. Slettingsloggen vises nedenfor.',
762763
763764 # Parser/template warnings
764765 'expensive-parserfunction-warning' => 'Advarsel: Denne siden inneholder for mange prosesskrevende parserfunksjoner.
Index: trunk/phase3/languages/messages/MessagesVi.php
@@ -733,6 +733,8 @@
734734
735735 Bạn nên cân nhắc trong việc tiếp tục soạn thảo trang này.
736736 Nhật trình xóa của trang được đưa ra dưới đây để tiện theo dõi:",
 737+'deleted-notice' => 'Trang này đã bị xóa.
 738+Nhật trình xóa trang được ghi dưới đây để tiện theo dõi.',
737739
738740 # Parser/template warnings
739741 'expensive-parserfunction-warning' => 'Cảnh báo: Trang này có quá nhiều lần gọi hàm cú pháp cần mức độ xử lý cao.
Index: trunk/phase3/languages/messages/MessagesGl.php
@@ -667,6 +667,7 @@
668668
669669 Debería considerar se é apropiado continuar a editar esta páxina.
670670 Velaquí está o rexistro de borrado desta páxina, por se quere consultalo:",
 671+'deleted-notice' => 'Esta páxina foi borrada. Embaixo pódese ver o rexistro de borrados desta páxina, por se o quere consultar.',
671672
672673 # Parser/template warnings
673674 'expensive-parserfunction-warning' => 'Aviso: esta páxina contén moitos analizadores de funcións de chamadas moi caros.
Index: trunk/phase3/languages/messages/MessagesLb.php
@@ -742,6 +742,8 @@
743743
744744 Frot iech ob et wierklech sënnvoll ass dës Säit nees nei ze schafen.
745745 Fir iech z'informéieren fannt Dir hei d'Läschlescht mat dem Grond:",
 746+'deleted-notice' => 'Dës Seite gouf geläscht.
 747+Hei ass den Extrait aus der Läschlëscht fir déi Säit.',
746748
747749 # Parser/template warnings
748750 'expensive-parserfunction-warning' => 'Opgepasst: Dës Säit huet zevill Ufroe vu komplexe Parserfunktiounen.
Index: trunk/phase3/languages/messages/MessagesEo.php
@@ -727,6 +727,7 @@
728728
729729 Vi konsideru ĉu konvenas daŭre redakti ĉi paĝon.
730730 Jen la protokolo de forigoj por via oportuno:",
 731+'deleted-notice' => 'Ĉi tiu paĝo estis forigita. La linio el la protokolo pri forigado estas montrata sube por via referenco.',
731732
732733 # Parser/template warnings
733734 'expensive-parserfunction-warning' => 'Averto: Ĉi tiu paĝo enhavas tro da multekostaj sintaksaj funkcio-vokoj.
Index: trunk/phase3/languages/messages/MessagesUk.php
@@ -853,6 +853,7 @@
854854
855855 Перевірте, чи справді вам потрібно знову створювати цю сторінку.
856856 Нижче наведений журнал вилучень:",
 857+'deleted-notice' => 'Ця сторінка була вилучена. Для довідки нижче наведені відповідні записи з журналу вилучень.',
857858
858859 # Parser/template warnings
859860 'expensive-parserfunction-warning' => 'Увага: Ця сторінка містить дуже багато викликів ресурсомістких функцій.
Index: trunk/phase3/languages/messages/MessagesNl.php
@@ -947,6 +947,7 @@
948948
949949 Overweeg of het terecht is dat u verder werkt aan deze pagina.
950950 Voor uw gemak staat hieronder het verwijderingslogboek voor deze pagina:",
 951+'deleted-notice' => 'Deze pagina is verwijderd. Het verwijderingslogboek van deze pagina wordt hieronder weergegeven voor uw informatie.',
951952
952953 # Parser/template warnings
953954 'expensive-parserfunction-warning' => 'Waarschuwing: deze pagina gebruikt te veel kostbare parserfuncties.
Index: trunk/phase3/skins/chick/main.css
@@ -427,6 +427,7 @@
428428
429429 /* Recreating-deleted-page/reupload file warning and log entries */
430430 div#mw-upload-deleted-warn ul li,
 431+div#mw-deleted-notice ul li,
431432 div#mw-recreate-deleted-warn ul li {
432433 font-size: 95%;
433434 }
Index: trunk/phase3/skins/monobook/main.css
@@ -1505,12 +1505,14 @@
15061506
15071507 /* Recreating-deleted-page/reupload file warning and log entries */
15081508 div#mw-upload-deleted-warn,
 1509+div#mw-deleted-notice,
15091510 div#mw-recreate-deleted-warn {
15101511 padding: 3px;
15111512 margin-bottom: 3px;
15121513 border: 2px solid #2F6FAB;
15131514 }
15141515 div#mw-upload-deleted-warn ul li,
 1516+div#mw-deleted-notice ul li,
15151517 div#mw-recreate-deleted-warn ul li {
15161518 font-size: 90%;
15171519 }
Index: trunk/phase3/skins/modern/main.css
@@ -1004,12 +1004,14 @@
10051005
10061006 /* Recreating-deleted-page/reupload file warning and log entries */
10071007 div#mw-upload-deleted-warn,
 1008+div#mw-deleted-notice,
10081009 div#mw-recreate-deleted-warn {
10091010 padding: 3px;
10101011 margin-bottom: 3px;
10111012 border: 2px solid #2F6FAB;
10121013 }
10131014 div#mw-upload-deleted-warn ul li,
 1015+div#mw-deleted-notice ul li,
10141016 div#mw-recreate-deleted-warn ul li {
10151017 font-size: 90%;
10161018 }
Index: trunk/phase3/skins/common/cologneblue.css
@@ -97,6 +97,7 @@
9898
9999 /* Recreating-deleted-page/reupload file warning and log entries */
100100 div#mw-upload-deleted-warn,
 101+div#mw-deleted-notice,
101102 div#mw-recreate-deleted-warn {
102103 padding: 3px;
103104 margin-top: 3px;
@@ -104,6 +105,7 @@
105106 border: 1px solid #6688AA;
106107 }
107108 div#mw-upload-deleted-warn ul li,
 109+div#mw-deleted-notice ul li,
108110 div#mw-recreate-deleted-warn ul li {
109111 font-size: 90%;
110112 }
\ No newline at end of file
Index: trunk/phase3/skins/common/oldshared.css
@@ -408,6 +408,7 @@
409409
410410 /* Recreating-deleted-page/reupload file warning and log entries */
411411 div#mw-upload-deleted-warn ul li,
 412+div#mw-deleted-notice ul li,
412413 div#mw-recreate-deleted-warn ul li {
413414 font-size: 95%;
414415 }
Index: trunk/phase3/skins/simple/main.css
@@ -395,6 +395,7 @@
396396
397397 /* Recreating-deleted-page/reupload file warning and log entries */
398398 div#mw-upload-deleted-warn ul li,
 399+div#mw-deleted-notice ul li,
399400 div#mw-recreate-deleted-warn ul li {
400401 font-size: 95%;
401402 }
Index: trunk/phase3/CREDITS
@@ -4,6 +4,7 @@
55
66 == Developers ==
77 * Aaron Schulz
 8+* Alex Z.
89 * Alexandre Emsenhuber
910 * Andrew Garrett
1011 * Aryeh Gregor
Index: trunk/phase3/includes/EditPage.php
@@ -704,7 +704,7 @@
705705 }
706706 }
707707 # Give a notice if the user is editing a deleted page...
708 - if ( $this->mTitle->exists() ) {
 708+ if ( !$this->mTitle->exists() ) {
709709 $this->showDeletionLog( $wgOut );
710710 }
711711 }
Index: trunk/phase3/includes/Article.php
@@ -809,6 +809,21 @@
810810 }
811811 # Fetch content and check for errors
812812 if ( !$outputDone ) {
 813+ # If the article does not exist and was deleted, show the log
 814+ if ($this->getID() == 0) {
 815+ $loglist = new LogEventsList( $wgUser->getSkin(), $wgOut );
 816+ $pager = new LogPager( $loglist, 'delete', false, $this->mTitle->getPrefixedText() );
 817+ if( $pager->getNumRows() > 0 ) {
 818+ $wgOut->addHtml( '<div id="mw-deleted-notice">' );
 819+ $wgOut->addWikiMsg( 'deleted-notice' );
 820+ $wgOut->addHTML(
 821+ $loglist->beginLogEventsList() .
 822+ $pager->getBody() .
 823+ $loglist->endLogEventsList()
 824+ );
 825+ $wgOut->addHtml( '</div>' );
 826+ }
 827+ }
813828 $text = $this->getContent();
814829 if ( $text === false ) {
815830 # Failed to load, replace text with error message

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r40723(bug 15551) Show deletion log excerpts when a user follows a redlink, even if...mrzman03:50, 11 September 2008
r40899* Reverted code style change made by Aaron, "if (" -> "if("...tstarling04:59, 16 September 2008