Index: branches/wmf/1.16wmf4/extensions/CodeReview/CodeReview.i18n.php |
— | — | @@ -1298,6 +1298,7 @@ |
1299 | 1299 | 'repoadmin-edit-view' => 'Putanja za ViewVC:', |
1300 | 1300 | 'repoadmin-edit-button' => 'U redu', |
1301 | 1301 | 'repoadmin-edit-sucess' => 'Repozitorijum "[[Special:Code/$1|$1]]" je uspješno promijenjen.', |
| 1302 | + 'repoadmin-nav' => 'administracija repozitorijuma', |
1302 | 1303 | 'right-repoadmin' => 'Uređivanje repozitorijuma koda', |
1303 | 1304 | 'right-codereview-use' => 'Korištenje Special:Code', |
1304 | 1305 | 'right-codereview-add-tag' => 'Dodavanje novih oznaka revizijama', |
— | — | @@ -1422,7 +1423,7 @@ |
1423 | 1424 | 'code-authors' => 'autoři', |
1424 | 1425 | 'code-status' => 'stavy', |
1425 | 1426 | 'code-tags' => 'značky', |
1426 | | - 'code-authors-text' => 'Toto je seznam autorů v úložišti seřazený podle jména. V závorkách jsou uživatelská jména na této wiki.', |
| 1427 | + 'code-authors-text' => 'Toto je seznam autorů v úložišti seřazený podle jména. V závorkách jsou uživatelská jména na této wiki. Data mohou pocházet z cache.', |
1427 | 1428 | 'code-author-haslink' => 'Tento autor je spojen s wiki uživatelem $1', |
1428 | 1429 | 'code-author-orphan' => 'Tento autor není svázaný s žádným wikiuživatelem', |
1429 | 1430 | 'code-author-dolink' => 'Svázat tohoto autora s wikiuživatelem:', |
— | — | @@ -1435,6 +1436,7 @@ |
1436 | 1437 | 'code-author-unlinksuccess' => 'Vazba autora $1 byla zrušena', |
1437 | 1438 | 'code-author-badtoken' => 'Při provádění operace došlo k chybě sezení.', |
1438 | 1439 | 'code-author-total' => 'Celkový počet autorů: $1', |
| 1440 | + 'code-author-lastcommit' => 'Datum posledního commitu', |
1439 | 1441 | 'code-browsing-path' => "Procházení revizemi v '''$1'''", |
1440 | 1442 | 'code-field-id' => 'Revize', |
1441 | 1443 | 'code-field-author' => 'Autor', |
— | — | @@ -1533,6 +1535,7 @@ |
1534 | 1536 | 'repoadmin-edit-view' => 'Cesta k ViewVC:', |
1535 | 1537 | 'repoadmin-edit-button' => 'OK', |
1536 | 1538 | 'repoadmin-edit-sucess' => 'Úložiště „[[Special:Code/$1|$1]]“ bylo úspěšně změněno.', |
| 1539 | + 'repoadmin-nav' => 'správa úložiště', |
1537 | 1540 | 'right-repoadmin' => 'Správa úložišť kódu', |
1538 | 1541 | 'right-codereview-use' => 'Používání stránky {{ns:Special}}:Code', |
1539 | 1542 | 'right-codereview-add-tag' => 'Přidávání značek k revizím', |
— | — | @@ -2321,6 +2324,8 @@ |
2322 | 2325 | 'codereview-email-subj2' => '[$1] [$2]: Postatentaj ŝanĝoj', |
2323 | 2326 | 'codereview-email-body2' => 'Uzanto "$1" faris postatentadajn ŝanĝojn al $2. |
2324 | 2327 | |
| 2328 | +Plena URL por la postatentadaj revizio: $5 |
| 2329 | + |
2325 | 2330 | Plena URL: $3 |
2326 | 2331 | |
2327 | 2332 | Resumo de ŝanĝoj: |
— | — | @@ -2354,6 +2359,7 @@ |
2355 | 2360 | * @author Dferg |
2356 | 2361 | * @author Diego Grez |
2357 | 2362 | * @author Imre |
| 2363 | + * @author Locos epraix |
2358 | 2364 | * @author McDutchie |
2359 | 2365 | * @author Omnipaedista |
2360 | 2366 | * @author Pertile |
— | — | @@ -2495,6 +2501,7 @@ |
2496 | 2502 | 'repoadmin-edit-view' => 'Ruta de ViewVC:', |
2497 | 2503 | 'repoadmin-edit-button' => 'Aceptar', |
2498 | 2504 | 'repoadmin-edit-sucess' => 'El repositorio «[[Special:Code/$1|$1]]» ha sido modificado correctamente.', |
| 2505 | + 'repoadmin-nav' => 'administración del repositorio', |
2499 | 2506 | 'right-repoadmin' => 'Gestionar repositorios de código', |
2500 | 2507 | 'right-codereview-use' => 'Uso de especial:Código', |
2501 | 2508 | 'right-codereview-add-tag' => 'Añadir nuevas etiquetas a las revisiones', |
— | — | @@ -2855,6 +2862,7 @@ |
2856 | 2863 | 'repoadmin-edit-view' => 'مسیر ViewVC:', |
2857 | 2864 | 'repoadmin-edit-button' => 'مورد تایید', |
2858 | 2865 | 'repoadmin-edit-sucess' => 'مخزن «[[Special:Code/$1|$1]]» با موفقیت تغییر داده شد.', |
| 2866 | + 'repoadmin-nav' => 'مدیریت مخزن', |
2859 | 2867 | 'right-repoadmin' => 'مدیریت مخازن کد', |
2860 | 2868 | 'right-codereview-use' => 'استفاده از ویژه:کد', |
2861 | 2869 | 'right-codereview-add-tag' => 'افزودن برچسبهای جدید به نسخهها', |
— | — | @@ -3032,7 +3040,7 @@ |
3033 | 3041 | 'code-authors' => 'auteurs', |
3034 | 3042 | 'code-status' => 'états', |
3035 | 3043 | 'code-tags' => 'balises', |
3036 | | - 'code-authors-text' => 'La liste ci-dessous présente les auteurs de dépôts triés par nom. Les comptes du wiki local sont affichés entre parenthèses.', |
| 3044 | + 'code-authors-text' => 'La liste ci-dessous présente les auteurs de dépôts triés par nom. Les comptes du wiki local sont affichés entre parenthèses. Les données peuvent provenir d’une mémoire tampon.', |
3037 | 3045 | 'code-author-haslink' => 'Cet auteur est lié au compte $1 de ce wiki', |
3038 | 3046 | 'code-author-orphan' => 'Cet auteur n’a pas de lien avec un compte wiki', |
3039 | 3047 | 'code-author-dolink' => 'Associer cet auteur à un utilisateur wiki local :', |
— | — | @@ -3045,6 +3053,7 @@ |
3046 | 3054 | 'code-author-unlinksuccess' => 'L’auteur $1 a été délié', |
3047 | 3055 | 'code-author-badtoken' => 'Erreur de session lors de l’exécution de cette action.', |
3048 | 3056 | 'code-author-total' => 'Nombre total d’auteurs : $1', |
| 3057 | + 'code-author-lastcommit' => 'Dernière date d’envoi', |
3049 | 3058 | 'code-browsing-path' => "Parcours des révisions dans '''$1'''", |
3050 | 3059 | 'code-field-id' => 'Révision', |
3051 | 3060 | 'code-field-author' => 'Auteur', |
— | — | @@ -3143,6 +3152,7 @@ |
3144 | 3153 | 'repoadmin-edit-view' => 'Chemin de ViewVC :', |
3145 | 3154 | 'repoadmin-edit-button' => 'Valider', |
3146 | 3155 | 'repoadmin-edit-sucess' => 'Le dépôt « [[Special:Code/$1|$1]] » a été modifié avec succès.', |
| 3156 | + 'repoadmin-nav' => 'administration du dépôt', |
3147 | 3157 | 'right-repoadmin' => 'Administrer les dépôts de code', |
3148 | 3158 | 'right-codereview-use' => 'Utiliser Special:Code', |
3149 | 3159 | 'right-codereview-add-tag' => 'Ajouter de nouvelles balises aux révisions', |
— | — | @@ -3191,6 +3201,7 @@ |
3192 | 3202 | 'code-author-unlinksuccess' => 'L’ôtor $1 at étâ dèliyê', |
3193 | 3203 | 'code-author-badtoken' => 'Èrror de sèance pendent l’ègzécucion de l’accion.', |
3194 | 3204 | 'code-author-total' => 'Soma totâla d’ôtors : $1', |
| 3205 | + 'code-author-lastcommit' => 'Dèrriére dâta d’èxpèdicion', |
3195 | 3206 | 'code-browsing-path' => "Parcors de les rèvisions dens '''$1'''", |
3196 | 3207 | 'code-field-id' => 'Rèvision', |
3197 | 3208 | 'code-field-author' => 'Ôtor', |
— | — | @@ -3289,6 +3300,7 @@ |
3290 | 3301 | 'repoadmin-edit-view' => 'Chemin de ViewVC :', |
3291 | 3302 | 'repoadmin-edit-button' => 'D’acôrd', |
3292 | 3303 | 'repoadmin-edit-sucess' => 'Lo dèpôt « [[Special:Code/$1|$1]] » at étâ changiê avouéc reusséta.', |
| 3304 | + 'repoadmin-nav' => 'administracion du dèpôt', |
3293 | 3305 | 'right-repoadmin' => 'Administrar los dèpôts de code', |
3294 | 3306 | 'right-codereview-use' => 'Utilisar Special:Code', |
3295 | 3307 | 'right-codereview-add-tag' => 'Apondre de balises novèles a les rèvisions', |
— | — | @@ -3702,6 +3714,7 @@ |
3703 | 3715 | 'repoadmin-edit-view' => 'Pfad zue ViewVC:', |
3704 | 3716 | 'repoadmin-edit-button' => 'In Ornig', |
3705 | 3717 | 'repoadmin-edit-sucess' => 'S Depot „[[Special:Code/$1|$1]]“ isch mit Erfolg gänderet wore.', |
| 3718 | + 'repoadmin-nav' => 'Repositoriumsverwaltig', |
3706 | 3719 | 'right-repoadmin' => 'Code-Depots verwalte', |
3707 | 3720 | 'right-codereview-use' => 'Special:Code verwände', |
3708 | 3721 | 'right-codereview-add-tag' => 'Neiji Markierig zue dr Version zuefiege', |
— | — | @@ -4000,6 +4013,7 @@ |
4001 | 4014 | 'repoadmin-edit-view' => 'Putanja za ViewVC:', |
4002 | 4015 | 'repoadmin-edit-button' => 'OK', |
4003 | 4016 | 'repoadmin-edit-sucess' => 'Repozitorij "[[Special:Code/$1|$1]]" je uspješno preinačen.', |
| 4017 | + 'repoadmin-nav' => 'administracija repozitorija', |
4004 | 4018 | 'right-repoadmin' => 'Upravljanje kodom repozitorija', |
4005 | 4019 | 'right-codereview-use' => 'Uporaba Special:Code', |
4006 | 4020 | 'right-codereview-add-tag' => 'Dodavanje nove oznake za revizije', |
— | — | @@ -6087,6 +6101,7 @@ |
6088 | 6102 | 'repoadmin-edit-view' => 'വ്യൂവിസി പഥം:', |
6089 | 6103 | 'repoadmin-edit-button' => 'ശരി', |
6090 | 6104 | 'repoadmin-edit-sucess' => '"[[Special:Code/$1|$1]]" എന്ന റെപ്പോസിറ്ററി വിജയകരമായി പുതുക്കിയിരിക്കുന്നു.', |
| 6105 | + 'repoadmin-nav' => 'റെപ്പോസിറ്ററി കാര്യനിർവഹണം', |
6091 | 6106 | 'right-repoadmin' => 'കോഡ് റെപ്പോസിറ്ററിയുടെ കൈകാര്യം', |
6092 | 6107 | 'right-codereview-use' => 'Special:Code ഉപയോഗം', |
6093 | 6108 | 'right-codereview-add-tag' => 'നാൾപ്പതിപ്പുകൾക്ക് പുതിയ റ്റാഗുകൾ ചേർക്കുക', |
— | — | @@ -6792,6 +6807,7 @@ |
6793 | 6808 | 'repoadmin-edit-view' => 'ViewVC URL', |
6794 | 6809 | 'repoadmin-edit-button' => 'OK', |
6795 | 6810 | 'repoadmin-edit-sucess' => 'Database [[Special:Code/$1|$1]] har blitt endret.', |
| 6811 | + 'repoadmin-nav' => 'repositorieadministrasjon', |
6796 | 6812 | 'right-repoadmin' => 'Håndtere kodedatabaser', |
6797 | 6813 | 'right-codereview-use' => 'Bruk av Special:Code', |
6798 | 6814 | 'right-codereview-add-tag' => 'Legg til nye tagger til versjoner', |
— | — | @@ -7142,7 +7158,7 @@ |
7143 | 7159 | 'code-authors' => 'autor', |
7144 | 7160 | 'code-status' => 'stat', |
7145 | 7161 | 'code-tags' => 'tichëtte', |
7146 | | - 'code-authors-text' => "Sota a-i é na lista dj'autor dël depòsit ant l'órdin dël nòm ëd salvatagi. Ij cont dla wiki local a son mostrà antra parèntes. Ij dat a son an cache.", |
| 7162 | + 'code-authors-text' => "Sota a-i é na lista dj'autor dël depòsit ant l'órdin dël nòm ëd salvatagi. Ij cont dla wiki local a son mostrà antra parèntes. Ij dat a podrìo ven-e da na memòria local.", |
7147 | 7163 | 'code-author-haslink' => "St'autor-sì a l'é colegà a l'utent wiki $1", |
7148 | 7164 | 'code-author-orphan' => "St'autor-sì a l'ha pa gnun colegament con un cont wiki", |
7149 | 7165 | 'code-author-dolink' => "Colega st'autor-sì a n'utent wiki:", |
— | — | @@ -7604,6 +7620,7 @@ |
7605 | 7621 | 'repoadmin-edit-view' => 'Caminho do ViewVC:', |
7606 | 7622 | 'repoadmin-edit-button' => 'OK', |
7607 | 7623 | 'repoadmin-edit-sucess' => 'O repositório "[[Special:Code/$1|$1]]" foi modificado com sucesso.', |
| 7624 | + 'repoadmin-nav' => 'administração do repositório', |
7608 | 7625 | 'right-repoadmin' => 'Gerenciar repositórios de código', |
7609 | 7626 | 'right-codereview-use' => 'Uso de Special:Code', |
7610 | 7627 | 'right-codereview-add-tag' => 'Adicionar novas etiquetas a revisões', |
— | — | @@ -8776,10 +8793,16 @@ |
8777 | 8794 | * @author TRYPPN |
8778 | 8795 | */ |
8779 | 8796 | $messages['ta'] = array( |
| 8797 | + 'code-comments' => 'கருத்துரைகள்', |
8780 | 8798 | 'code-change-removed' => 'நீக்கப்பட்டது:', |
8781 | 8799 | 'code-change-added' => 'சேர்க்கப்பட்டது:', |
8782 | 8800 | 'code-old-status' => 'பழைய நிலைமை', |
8783 | 8801 | 'code-new-status' => 'புதிய நிலைமை', |
| 8802 | + 'code-statuschanges' => 'நிலையின் மாற்றங்கள்', |
| 8803 | + 'code-authors' => 'ஆசிரியர்கள்', |
| 8804 | + 'code-author-name' => 'பயனர் பெயரொன்றை இடுக:', |
| 8805 | + 'code-field-id' => 'திருத்தம்', |
| 8806 | + 'code-field-author' => 'ஆசிரியர்', |
8784 | 8807 | 'code-field-status' => 'நிலைமை', |
8785 | 8808 | 'code-field-timestamp' => 'தேதி', |
8786 | 8809 | 'code-field-comments' => 'குறிப்புகள்', |
— | — | @@ -8788,12 +8811,14 @@ |
8789 | 8812 | 'code-field-select' => 'தேர்வு செய்', |
8790 | 8813 | 'code-rev-author' => 'ஆசிரியர்:', |
8791 | 8814 | 'code-rev-date' => 'தேதி:', |
| 8815 | + 'code-rev-message' => 'கருத்து:', |
| 8816 | + 'code-rev-rev' => 'திருத்தம்:', |
8792 | 8817 | 'code-rev-modified-d' => 'நீக்கப்பட்டது', |
8793 | 8818 | 'code-rev-modified-m' => 'மாற்றப்பட்டுள்ளது', |
8794 | 8819 | 'code-rev-status' => 'நிலைமை:', |
8795 | 8820 | 'code-rev-comment-preview' => 'முன்தோற்றம்', |
8796 | 8821 | 'code-rev-inline-preview' => 'முன்தோற்றம்:', |
8797 | | - 'code-rev-diff' => 'வித்தியாசம்', |
| 8822 | + 'code-rev-diff' => 'வேறுபாடு', |
8798 | 8823 | 'code-rev-diff-link' => 'வேறுபாடு', |
8799 | 8824 | 'code-status-new' => 'புதிய', |
8800 | 8825 | 'code-status-reverted' => 'முன்நிலையாக்கப்பட்டது', |
— | — | @@ -8802,7 +8827,8 @@ |
8803 | 8828 | 'code-status-verified' => 'சரிபார்க்கப்பட்டது', |
8804 | 8829 | 'code-status-old' => 'பழைய', |
8805 | 8830 | 'code-pathsearch-path' => 'வழி:', |
8806 | | - 'codereview-reply-link' => 'பதில்', |
| 8831 | + 'codereview-batch-submit' => 'சமர்ப்பி', |
| 8832 | + 'codereview-reply-link' => 'பதில் அளி', |
8807 | 8833 | 'code-stats' => 'புள்ளிவிவரங்கள்', |
8808 | 8834 | 'repoadmin-new-button' => 'உருவாக்கவும்', |
8809 | 8835 | 'repoadmin-edit-button' => 'ஆம்', |
— | — | @@ -9643,7 +9669,7 @@ |
9644 | 9670 | |
9645 | 9671 | Адреса для подальшого перегляду $5', |
9646 | 9672 | 'code-stats' => 'статистика', |
9647 | | - 'code-stats-header' => 'Статистика репозиторію для $1', |
| 9673 | + 'code-stats-header' => 'Статистика репозиторія $1', |
9648 | 9674 | 'code-stats-main' => 'Станом на $1, репозиторій має $2 {{PLURAL:$2|перегляд|перегляди|переглядів}} виконаних [[Special:Code/$3/author|$4 {{PLURAL:$4|автором|авторами}}]].', |
9649 | 9675 | 'code-stats-status-breakdown' => 'Кількість переглядів на стан', |
9650 | 9676 | 'code-stats-fixme-breakdown' => 'Розподіл змін з статусом "виправити" по авторам', |
— | — | @@ -9685,9 +9711,11 @@ |
9686 | 9712 | 'code-prop-changes' => 'Registro del stato e del tagging', |
9687 | 9713 | 'codereview-desc' => '[[Special:Code|Strumento de revision del codice]] con [[Special:RepoAdmin|suporto par le sotoversioni]]', |
9688 | 9714 | 'code-no-repo' => 'Nissun deposito configurà!', |
| 9715 | + 'code-repo-not-found' => "El deposito '''$1''' no l'esiste!", |
9689 | 9716 | 'code-load-diff' => 'Cargo le difarense…', |
9690 | 9717 | 'code-notes' => 'note reçenti', |
9691 | 9718 | 'code-statuschanges' => 'canbiamenti de stato', |
| 9719 | + 'code-mycommits' => 'i me salvataji', |
9692 | 9720 | 'code-authors' => 'autori', |
9693 | 9721 | 'code-status' => 'stati', |
9694 | 9722 | 'code-tags' => 'tag', |
— | — | @@ -9702,6 +9730,8 @@ |
9703 | 9731 | 'code-author-link' => 'ligar?', |
9704 | 9732 | 'code-author-unlink' => 'desligar?', |
9705 | 9733 | 'code-author-unlinksuccess' => "El colegamento a l'autor $1 el xe stà cavà", |
| 9734 | + 'code-author-total' => 'Nùmaro total de autori: $1', |
| 9735 | + 'code-author-lastcommit' => 'Ultima data de salvatajo', |
9706 | 9736 | 'code-browsing-path' => "Sfojando le revision in '''$1'''", |
9707 | 9737 | 'code-field-id' => 'Revision', |
9708 | 9738 | 'code-field-author' => 'Autor', |
— | — | @@ -9738,6 +9768,7 @@ |
9739 | 9769 | 'code-rev-diff-too-large' => 'Sto diff el xe massa grando par mostrarlo.', |
9740 | 9770 | 'code-rev-purge-link' => 'netar', |
9741 | 9771 | 'code-rev-total' => 'Nùmaro total de risultati: $1', |
| 9772 | + 'code-rev-not-found' => "La revision '''$1''' no la esiste!", |
9742 | 9773 | 'code-status-new' => 'novo', |
9743 | 9774 | 'code-status-fixme' => 'da justar', |
9744 | 9775 | 'code-status-reverted' => 'tirà indrìo', |
— | — | @@ -9748,6 +9779,10 @@ |
9749 | 9780 | 'code-status-old' => 'vecio', |
9750 | 9781 | 'code-pathsearch-legend' => 'Serca le version drento sto deposito, in base al percorso', |
9751 | 9782 | 'code-pathsearch-path' => 'Percorso:', |
| 9783 | + 'code-pathsearch-filter' => 'Filtro aplicà:', |
| 9784 | + 'code-revfilter-cr_status' => 'Stato = $1', |
| 9785 | + 'code-revfilter-cr_author' => 'Autor = $1', |
| 9786 | + 'code-revfilter-clear' => 'Scansela filtro', |
9752 | 9787 | 'code-rev-submit' => 'Salva le modìfeghe', |
9753 | 9788 | 'code-rev-submit-next' => 'Salva e và al prossimo che xe da justar', |
9754 | 9789 | 'code-batch-status' => 'Cànbia stato:', |
— | — | @@ -9779,6 +9814,10 @@ |
9780 | 9815 | Ojeto de la modifica: |
9781 | 9816 | |
9782 | 9817 | $4', |
| 9818 | + 'code-stats' => 'statisteghe', |
| 9819 | + 'code-stats-header' => 'Statìsteghe del deposito $1', |
| 9820 | + 'code-stats-status-breakdown' => 'Numaro de revisioni par stato', |
| 9821 | + 'code-stats-count' => 'Numaro de revision', |
9783 | 9822 | 'repoadmin' => "'Ministrassion dei depositi", |
9784 | 9823 | 'repoadmin-new-legend' => 'Crea un deposito novo', |
9785 | 9824 | 'repoadmin-new-label' => 'Nome del deposito:', |
— | — | @@ -9789,6 +9828,7 @@ |
9790 | 9829 | 'repoadmin-edit-view' => 'Percorso de ViewVC:', |
9791 | 9830 | 'repoadmin-edit-button' => 'Va ben', |
9792 | 9831 | 'repoadmin-edit-sucess' => 'El deposito "[[Special:Code/$1|$1]]" el xe stà modificà.', |
| 9832 | + 'repoadmin-nav' => "'ministrassion del deposito", |
9793 | 9833 | 'right-repoadmin' => 'Gestir i depositi de codice', |
9794 | 9834 | 'right-codereview-use' => 'Utilizo de Special:Code', |
9795 | 9835 | 'right-codereview-add-tag' => 'Zonta tag novi a le revision', |
Index: branches/wmf/1.16wmf4/extensions/CodeReview/svnImport.php |
— | — | @@ -8,6 +8,7 @@ |
9 | 9 | |
10 | 10 | class SvnImport extends Maintenance { |
11 | 11 | |
| 12 | + /* Initialize various stuff to make this a useful command line script */ |
12 | 13 | public function __construct() { |
13 | 14 | parent::__construct(); |
14 | 15 | $this->mDescription = "Import revisions to Code Review from a Subversion repo"; |
— | — | @@ -43,6 +44,11 @@ |
44 | 45 | } |
45 | 46 | } |
46 | 47 | |
| 48 | + /* |
| 49 | + * Import a repository in the local database. |
| 50 | + * @param $repoName String Local name of repository |
| 51 | + * @param $start Int Revision to begin the import from (Default: null, means last stored revision); |
| 52 | + */ |
47 | 53 | private function importRepo( $repoName, $start = null, $cacheSize = 0 ) { |
48 | 54 | global $wgCodeReviewImportBatchSize; |
49 | 55 | |
— | — | @@ -54,15 +60,22 @@ |
55 | 61 | } |
56 | 62 | |
57 | 63 | $svn = SubversionAdaptor::newFromRepo( $repo->getPath() ); |
| 64 | + $this->output( "Using " . get_class($svn). " adaptor\n" ); |
58 | 65 | $lastStoredRev = $repo->getLastStoredRev(); |
| 66 | + $this->output( "Last stored revision: $lastStoredRev\n" ); |
59 | 67 | |
60 | 68 | $chunkSize = $wgCodeReviewImportBatchSize; |
61 | 69 | |
62 | 70 | $startTime = microtime( true ); |
63 | 71 | $revCount = 0; |
64 | 72 | $start = ( $start !== null ) ? intval( $start ) : $lastStoredRev + 1; |
| 73 | + /* |
| 74 | + * FIXME: when importing only a part of a repository, the given path |
| 75 | + * might not have been created with revision 1. For example, the |
| 76 | + * mediawiki '/trunk/phase3' got created with r1284. |
| 77 | + */ |
65 | 78 | if ( $start > ( $lastStoredRev + 1 ) ) { |
66 | | - $this->error( "Invalid starting point r{$start}" ); |
| 79 | + $this->error( "Invalid starting point. r{$start} is beyond last stored revision: r" . ($lastStoredRev + 1) ); |
67 | 80 | return; |
68 | 81 | } |
69 | 82 | |
— | — | @@ -89,7 +102,7 @@ |
90 | 103 | } |
91 | 104 | if ( !is_array( $log ) ) { |
92 | 105 | var_dump( $log ); // @TODO: cleanup :) |
93 | | - $this->error( 'wtf', true ); |
| 106 | + $this->error( 'Log entry is not an array! See content above.', true ); |
94 | 107 | } |
95 | 108 | foreach ( $log as $data ) { |
96 | 109 | $revCount++; |
Index: branches/wmf/1.16wmf4/extensions/CodeReview/api/ApiCodeComments.php |
— | — | @@ -158,6 +158,6 @@ |
159 | 159 | } |
160 | 160 | |
161 | 161 | public function getVersion() { |
162 | | - return __CLASS__ . ': $Id: ApiCodeComments.php 48777 2009-03-25 01:26:54Z aaron $'; |
| 162 | + return __CLASS__ . ': $Id$'; |
163 | 163 | } |
164 | 164 | } |
Property changes on: branches/wmf/1.16wmf4/extensions/CodeReview/api/ApiCodeComments.php |
___________________________________________________________________ |
Added: svn:keywords |
165 | 165 | + Id |
Index: branches/wmf/1.16wmf4/extensions/CodeReview/api/ApiCodeDiff.php |
— | — | @@ -83,6 +83,6 @@ |
84 | 84 | } |
85 | 85 | |
86 | 86 | public function getVersion() { |
87 | | - return __CLASS__ . ': $Id: ApiCodeDiff.php 48777 2009-03-25 01:26:54Z aaron $'; |
| 87 | + return __CLASS__ . ': $Id$'; |
88 | 88 | } |
89 | 89 | } |
Property changes on: branches/wmf/1.16wmf4/extensions/CodeReview/api/ApiCodeDiff.php |
___________________________________________________________________ |
Added: svn:keywords |
90 | 90 | + Id |
Index: branches/wmf/1.16wmf4/extensions/CodeReview/api/ApiCodeRevisions.php |
— | — | @@ -165,6 +165,6 @@ |
166 | 166 | } |
167 | 167 | |
168 | 168 | public function getVersion() { |
169 | | - return __CLASS__ . ': $Id: ApiCodeComments.php 48777 2009-03-25 01:26:54Z aaron $'; |
| 169 | + return __CLASS__ . ': $Id$'; |
170 | 170 | } |
171 | 171 | } |
Property changes on: branches/wmf/1.16wmf4/extensions/CodeReview/api/ApiCodeRevisions.php |
___________________________________________________________________ |
Added: svn:keywords |
172 | 172 | + Id |
Index: branches/wmf/1.16wmf4/extensions/CodeReview/api/ApiCodeUpdate.php |
— | — | @@ -107,6 +107,6 @@ |
108 | 108 | } |
109 | 109 | |
110 | 110 | public function getVersion() { |
111 | | - return __CLASS__ . ': $Id: ApiCodeUpdate.php 48928 2009-03-27 18:41:20Z catrope $'; |
| 111 | + return __CLASS__ . ': $Id$'; |
112 | 112 | } |
113 | 113 | } |
Property changes on: branches/wmf/1.16wmf4/extensions/CodeReview/api/ApiCodeUpdate.php |
___________________________________________________________________ |
Added: svn:keywords |
114 | 114 | + Id |
Index: branches/wmf/1.16wmf4/extensions/CodeReview/README |
— | — | @@ -0,0 +1,2 @@ |
| 2 | +For information on how to install and use this extension, please see: |
| 3 | + http://www.mediawiki.org/wiki/Extension:CodeReview |
Property changes on: branches/wmf/1.16wmf4/extensions/CodeReview/README |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 4 | + native |
Index: branches/wmf/1.16wmf4/extensions/CodeReview/ui/CodeRevisionListView.php |
— | — | @@ -109,7 +109,6 @@ |
110 | 110 | protected function buildBatchInterface( $pager ) { |
111 | 111 | global $wgUser; |
112 | 112 | |
113 | | - $changeInterface = ''; |
114 | 113 | $changeFields = array(); |
115 | 114 | |
116 | 115 | if ( $wgUser->isAllowed( 'codereview-set-status' ) ) { |
— | — | @@ -322,7 +321,6 @@ |
323 | 322 | case 'cr_message': |
324 | 323 | return $this->mView->messageFragment( $value ); |
325 | 324 | case 'cr_timestamp': |
326 | | - global $wgLang; |
327 | 325 | return $wgLang->timeanddate( $value, true ); |
328 | 326 | case 'comments': |
329 | 327 | if ( $value ) { |
Index: branches/wmf/1.16wmf4/extensions/CodeReview/ui/CodeAuthorListView.php |
— | — | @@ -32,11 +32,10 @@ |
33 | 33 | $text .= " ([[$title|$name]])"; |
34 | 34 | } |
35 | 35 | $wgOut->addWikiText( $text ); |
36 | | - |
37 | | - $wgOut->addHTML( "</td><td>{$wgLang->timeanddate( $committer['lastcommit'], true )}</td></tr>" ); |
| 36 | + $wgOut->addHTML( "</td><td>{$wgLang->timeanddate( $committer['lastcommit'], true )}</td></tr>" ); |
38 | 37 | } |
39 | 38 | } |
40 | 39 | |
41 | | - $wgOut->addHTML( '</table>' ); |
| 40 | + $wgOut->addHTML( '</table>' ); |
42 | 41 | } |
43 | 42 | } |
Index: branches/wmf/1.16wmf4/extensions/CodeReview/ui/CodeReleaseNotes.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | $this->showForm(); |
29 | 29 | # Sanity/performance check... |
30 | 30 | $lastRev = $this->mRepo->getLastStoredRev(); |
31 | | - if ( $this->mStartRev < ( $lastRev - 5000 ) ) { |
| 31 | + if ( $this->mStartRev < ( $lastRev - 10000 ) ) { |
32 | 32 | global $wgOut; |
33 | 33 | $wgOut->addHtml( wfMsgHtml( 'code-release-badrange' ) ); |
34 | 34 | return; |
Property changes on: branches/wmf/1.16wmf4/extensions/CodeReview/ui/CodeRevisionView.php |
___________________________________________________________________ |
Modified: svn:mergeinfo |
35 | 35 | Merged /trunk/extensions/CodeReview/ui/CodeRevisionView.php:r74785-74821 |
Property changes on: branches/wmf/1.16wmf4/extensions/CodeReview |
___________________________________________________________________ |
Modified: svn:mergeinfo |
36 | 36 | Merged /trunk/extensions/CodeReview:r74379-74630,74633-74634,74636-74639,74641-74652,74654-74658,74660-74821 |