r87844 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87843‎ | r87844 | r87845 >
Date:21:25, 10 May 2011
Author:awjrichards
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/ArticleFeedback (modified) (history)
  • /branches/wmf/1.17wmf1/extensions/ArticleFeedback/ArticleFeedback.i18n.php (modified) (history)
  • /branches/wmf/1.17wmf1/extensions/ArticleFeedback/ArticleFeedback.php (modified) (history)
  • /branches/wmf/1.17wmf1/extensions/ArticleFeedback/SpecialArticleFeedback.php (modified) (history)
  • /branches/wmf/1.17wmf1/extensions/ArticleFeedback/api/ApiArticleFeedback.php (modified) (history)
  • /branches/wmf/1.17wmf1/extensions/ArticleFeedback/api/ApiQueryArticleFeedback.php (modified) (history)
  • /branches/wmf/1.17wmf1/extensions/ArticleFeedback/populateAFStatistics.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/ArticleFeedback/SpecialArticleFeedback.php
@@ -15,7 +15,7 @@
1616 }
1717
1818 public function execute( $par ) {
19 - global $wgUser, $wgOut, $wgRequest, $wgLang, $wgArticleFeedbackDashboard;
 19+ global $wgUser, $wgOut, $wgRequest, $wgLang, $wgArticleFeedbackDashboard, $wgArticleFeedbackDashboardTalkPage;
2020
2121 $wgOut->addModules( 'ext.articleFeedback.dashboard' );
2222 $this->setHeaders();
@@ -30,7 +30,7 @@
3131 $lows = $this->getDailyLows( $highs_lows );
3232
3333 // provide some messaging above high/low tables
34 - $wgOut->addWikiText( wfMsg( 'articleFeedback-copy-above-highlow-tables' ));
 34+ $wgOut->addWikiMsg( 'articleFeedback-copy-above-highlow-tables', $wgArticleFeedbackDashboardTalkPage );
3535
3636 //render daily highs table
3737 $this->renderDailyHighsAndLows( $highs, wfMsg( 'articleFeedback-table-caption-dailyhighs', $wgLang->date( time() )));
@@ -39,7 +39,7 @@
4040 $this->renderDailyHighsAndLows( $lows, wfMsg( 'articleFeedback-table-caption-dailylows', $wgLang->date( time() )));
4141
4242 // provide some messaging below high/low tables
43 - $wgOut->addWikiText( wfMsg( 'articleFeedback-copy-below-highlow-tables' ));
 43+ $wgOut->addWikiMsg( 'articleFeedback-copy-below-highlow-tables' );
4444
4545 /*
4646 This functionality does not exist yet.
Index: branches/wmf/1.17wmf1/extensions/ArticleFeedback/populateAFStatistics.php
@@ -60,48 +60,60 @@
6161 $this->dbw = wfGetDB( DB_MASTER );
6262
6363 // the data structure to store ratings for a given page
64 - $ratings = array();
 64+ $ratings = array(); // stores rating-specific info
 65+ $rating_set_count = array(); // keep track of rating sets
 66+ $highs_and_lows = array(); // store highest/lowest rated page stats
 67+ $averages = array(); // store overall averages for a given page
6568
6669 // fetch the ratings since the lower bound timestamp
6770 $this->output( 'Fetching page ratings between now and ' . date('Y-m-d H:i:s', strtotime( $this->getLowerBoundTimestamp())) . "...\n");
6871 $res = $this->dbr->select(
6972 'article_feedback',
7073 array(
 74+ 'aa_revision',
 75+ 'aa_user_text',
 76+ 'aa_rating_id',
 77+ 'aa_user_anon_token',
7178 'aa_page_id',
7279 'aa_rating_value',
73 - 'aa_rating_id'
7480 ),
7581 array( 'aa_timestamp >= ' . $this->dbr->addQuotes( $this->getLowerBoundTimestamp() ) ),
7682 __METHOD__,
77 - array() // better to do with limits and offsets?
 83+ array()
7884 );
7985
8086 // assign the rating data to our data structure
8187 foreach ( $res as $row ) {
 88+ // determine the unique hash for a given rating set (page rev + user identifying info)
 89+ $rating_hash = md5( $row->aa_revision . $row->aa_user_text . $row->aa_user_anon_token );
 90+
 91+ // keep track of how many rating sets a particular page has
 92+ if ( !isset( $rating_count[ $row->aa_page_id ][ $rating_hash ] )) {
 93+ // we store the rating hash as a key rather than value as checking isset( $arr[$hash] ) is way faster
 94+ // than doing something like array_search( $hash, $arr ) when dealing with large arrays
 95+ $rating_set_count[ $row->aa_page_id ][ $rating_hash ] = 1;
 96+ }
 97+
8298 $ratings[ $row->aa_page_id ][ $row->aa_rating_id ][] = $row->aa_rating_value;
8399 }
84100 $this->output( "Done\n" );
85101
86102 // determine the average ratings for a given page
87103 $this->output( "Determining average ratings for articles ...\n" );
88 - $highs_and_lows = array();
89 - $averages = array();
90104 foreach ( $ratings as $page_id => $data ) {
91 - $rating_count = 0;
 105+ // make sure that we have at least 10 rating sets for this page in order to qualify for ranking
 106+ if ( count( array_keys( $rating_set_count[ $page_id ] )) < 10 ) {
 107+ continue;
 108+ }
 109+
 110+ // calculate the rating averages for a given page
92111 foreach( $data as $rating_id => $rating ) {
93 - $rating_count += count( $rating );
94112 $rating_sum = array_sum( $rating );
95113 $rating_avg = $rating_sum / count( $rating );
96114 $highs_and_lows[ $page_id ][ 'avg_ratings' ][ $rating_id ] = $rating_avg;
97115 }
98116
99 - // make sure that we have at least 10 ratings for this page
100 - if ( $rating_count < 10 ) {
101 - // if not, remove it from our data store
102 - unset( $highs_and_lows[ $page_id ] );
103 - continue;
104 - }
105 -
 117+ // calculate the overall average for a page
106118 $overall_rating_sum = array_sum( $highs_and_lows[ $page_id ][ 'avg_ratings' ] );
107119 $overall_rating_average = $overall_rating_sum / count( $highs_and_lows[ $page_id ][ 'avg_ratings' ] );
108120 $highs_and_lows[ $page_id ][ 'average' ] = $overall_rating_average;
Property changes on: branches/wmf/1.17wmf1/extensions/ArticleFeedback/api/ApiArticleFeedback.php
___________________________________________________________________
Modified: svn:mergeinfo
109121 Merged /trunk/extensions/ArticleFeedback/api/ApiArticleFeedback.php:r87771-87843
Property changes on: branches/wmf/1.17wmf1/extensions/ArticleFeedback/api/ApiQueryArticleFeedback.php
___________________________________________________________________
Modified: svn:mergeinfo
110122 Merged /trunk/extensions/ArticleFeedback/api/ApiQueryArticleFeedback.php:r87771-87843
Index: branches/wmf/1.17wmf1/extensions/ArticleFeedback/ArticleFeedback.i18n.php
@@ -78,14 +78,14 @@
7979 Please try again later.',
8080 /* Special:ArticleFeedback */
8181 'articleFeedback-table-caption-dailyhighsandlows' => 'Today\'s highs and lows',
82 - 'articleFeedback-table-caption-dailyhighs' => 'Articles with highest ratings: $1',
83 - 'articleFeedback-table-caption-dailylows' => 'Articles with lowest ratings: $1',
 82+ 'articleFeedback-table-caption-dailyhighs' => 'Pages with highest ratings: $1',
 83+ 'articleFeedback-table-caption-dailylows' => 'Pages with lowest ratings: $1',
8484 'articleFeedback-table-caption-weeklymostchanged' => 'This week\'s most changed',
8585 'articleFeedback-table-caption-recentlows' => 'Recent lows',
8686 'articleFeedback-table-heading-page' => 'Page',
8787 'articleFeedback-table-heading-average' => 'Average',
88 - 'articleFeedback-copy-above-highlow-tables' => 'This is an experimental feature. Please provide feedback on the talk page.',
89 - 'articleFeedback-copy-below-highlow-tables' => 'These tables contain articles that have received at least 10 ratings within the last 24 hours. Averages are calculated by taking the mean of all ratings submitted within the last 24 hours.',
 88+ 'articleFeedback-copy-above-highlow-tables' => 'This is an experimental feature. Please provide feedback on the [$1 discussion page].',
 89+ 'articleFeedback-copy-below-highlow-tables' => 'These tables contain pages that have received at least 10 ratings within the last 24 hours. Averages are calculated by taking the mean of all ratings submitted within the last 24 hours.',
9090 /* EmailCapture */
9191 'articlefeedback-emailcapture-response-body' => 'Hello!
9292
@@ -112,6 +112,7 @@
113113 );
114114
115115 /** Message documentation (Message documentation)
 116+ * @author Arthur Richards
116117 * @author Brandon Harris
117118 * @author EugeneZelenko
118119 * @author Krinkle
@@ -149,6 +150,7 @@
150151 'articlefeedback-pitch-join-login' => '{{Identical|Log in}}',
151152 'articleFeedback-table-heading-page' => '{{Identical|Page}}',
152153 'articleFeedback-table-heading-average' => '{{Identical|Average}}',
 154+ 'articleFeedback-copy-above-highlow-tables' => 'The variable $1 will contain a full URL to a discussion page where the dashboard can be discussed - since the dashboard is powered by a special page, we can not rely on the built-in MediaWiki talk page.',
153155 );
154156
155157 /** Afrikaans (Afrikaans)
@@ -307,7 +309,7 @@
308310 * @author Wizardist
309311 */
310312 $messages['be-tarask'] = array(
311 - 'articlefeedback' => 'Адзнака артыкулаў',
 313+ 'articlefeedback' => 'Дошка адзнакі артыкулаў',
312314 'articlefeedback-desc' => 'Адзнака артыкулаў (пачатковая вэрсія)',
313315 'articlefeedback-survey-question-origin' => 'На якой старонцы Вы знаходзіліся, калі пачалося апытаньне?',
314316 'articlefeedback-survey-question-whyrated' => 'Калі ласка, паведаміце нам, чаму Вы адзначылі сёньня гэтую старонку (пазначце ўсе падыходзячыя варыянты):',
@@ -376,6 +378,8 @@
377379 'articleFeedback-table-caption-recentlows' => 'Апошнія падзеньні',
378380 'articleFeedback-table-heading-page' => 'Старонка',
379381 'articleFeedback-table-heading-average' => 'Сярэдняе',
 382+ 'articleFeedback-copy-above-highlow-tables' => 'Гэта экспэрымэнтальная магчымасьць. Калі ласка, падайце Ваш водгук на [$1 старонцы абмеркаваньня].',
 383+ 'articleFeedback-copy-below-highlow-tables' => 'Гэтыя табліцы ўтрымліваюць артыкулы, якія атрымалі адзнаку не меней 10 за апошнія 24 гадзіны. Сярэдняя адзнака разьлічваецца на падставе ўсіх адзнака пададзеных за апошнія 24 гадзіны.',
380384 'articlefeedback-emailcapture-response-body' => 'Вітаем!
381385
382386 Дзякуй, за дапамогу ў паляпшэньні {{GRAMMAR:родны|{{SITENAME}}}}.
@@ -813,7 +817,7 @@
814818 'articlefeedback-form-panel-helpimprove-privacy' => 'Datenschutz',
815819 'articlefeedback-form-panel-helpimprove-privacylink' => 'Project:Datenschutz',
816820 'articlefeedback-form-panel-submit' => 'Einschätzung übermitteln',
817 - 'articlefeedback-form-panel-pending' => 'Deine Bewertungen wurden nicht übertragen',
 821+ 'articlefeedback-form-panel-pending' => 'Deine Bewertung wurde noch nicht übertragen',
818822 'articlefeedback-form-panel-success' => 'Erfolgreich gespeichert',
819823 'articlefeedback-form-panel-expiry-title' => 'Deine Einschätzung liegt zu lange zurück.',
820824 'articlefeedback-form-panel-expiry-message' => 'Bitte beurteile die Seite erneut und speichere eine neue Einschätzung.',
@@ -851,6 +855,8 @@
852856 'articleFeedback-table-caption-recentlows' => 'Aktuelle Tiefs',
853857 'articleFeedback-table-heading-page' => 'Seite',
854858 'articleFeedback-table-heading-average' => 'Durchschnitt',
 859+ 'articleFeedback-copy-above-highlow-tables' => 'Dies ist ein experimenteller Funktionsbestandteil. Bitte hierzu auf der [$1 Diskussionsseite] eine Rückmeldung geben.',
 860+ 'articleFeedback-copy-below-highlow-tables' => 'Diese Tabellen enthalten die Namen der Artikel, zu denen während der letzten 24 Stunden mindestens zehn Bewertungen abgegeben wurden. Die Durchschnittswerte basieren auf allen während der vergangenen 24 Stunden abgegebenen Bewertungen.',
855861 'articlefeedback-emailcapture-response-body' => 'Hallo!
856862
857863 Vielen Dank für dein Interesse an der Verbesserung von {{SITENAME}}.
@@ -1177,7 +1183,40 @@
11781184 'articlefeedback-survey-submit' => 'Saada',
11791185 'articlefeedback-survey-title' => 'Palun vasta mõnele küsimusele.',
11801186 'articlefeedback-survey-thanks' => 'Aitäh küsitlusele vastamast!',
 1187+ 'articlefeedback-error' => 'Ilmnes tõrge. Palun proovi hiljem uuesti.',
 1188+ 'articlefeedback-form-switch-label' => 'Hinda seda lehekülge',
 1189+ 'articlefeedback-form-panel-title' => 'Selle lehekülje hindamine',
 1190+ 'articlefeedback-form-panel-instructions' => 'Palun leia selle lehekülje hindamiseks pisut aega.',
 1191+ 'articlefeedback-form-panel-clear' => 'Eemalda see hinnang',
 1192+ 'articlefeedback-form-panel-expertise' => 'Mul on sellel alal väga head teadmised (valikuline)',
 1193+ 'articlefeedback-form-panel-expertise-studies' => 'Mul on vastav kõrgharidus',
 1194+ 'articlefeedback-form-panel-expertise-profession' => 'See on seotud minu elukutsega',
 1195+ 'articlefeedback-form-panel-expertise-hobby' => 'Ma olen sellest teemast sügavalt huvitatud',
 1196+ 'articlefeedback-form-panel-expertise-other' => 'Minu teadmiste allikas on nimetamata',
 1197+ 'articlefeedback-form-panel-helpimprove' => 'Soovin aidata Vikipeediat täiustada. Saatke mulle palun e-kiri. (valikuline)',
 1198+ 'articlefeedback-form-panel-helpimprove-note' => 'Me saadame sulle kinnitus-e-kirja. Me ei jagu sinu e-posti aadressi kellegagi. $1',
 1199+ 'articlefeedback-form-panel-submit' => 'Saada hinnang',
 1200+ 'articlefeedback-form-panel-pending' => 'Sinu hinnangut pole veel saadetud',
 1201+ 'articlefeedback-report-switch-label' => 'Vaata leheküljele antud hinnanguid',
 1202+ 'articlefeedback-report-panel-title' => 'Leheküljele antud hinnangud',
 1203+ 'articlefeedback-report-panel-description' => 'Praegused keskmised hinnangud',
 1204+ 'articlefeedback-report-empty' => 'Hinnanguteta',
 1205+ 'articlefeedback-report-ratings' => '$1 hinnangut',
 1206+ 'articlefeedback-field-trustworthy-label' => 'Usaldusväärne',
 1207+ 'articlefeedback-field-trustworthy-tip' => 'Kas sinu meelest on artikkel vajalikul määral viidatud ja kas viidatakse usaldusväärsetele allikatele?',
 1208+ 'articlefeedback-field-complete-label' => 'Täielik',
 1209+ 'articlefeedback-field-complete-tip' => 'Kas sinu meelest on artiklis kõik põhiline käsitletud?',
 1210+ 'articlefeedback-field-objective-label' => 'Erapooletu',
 1211+ 'articlefeedback-field-objective-tip' => 'Kas sinu meelest on artiklis kõik vaatenurgad võrdselt esindatud?',
 1212+ 'articlefeedback-field-wellwritten-label' => 'Hästi kirjutatud',
 1213+ 'articlefeedback-field-wellwritten-tip' => 'Kas sinu meelest on see artikkel hästi üles ehitatud ja kirjutatud?',
 1214+ 'articlefeedback-pitch-reject' => 'Ehk hiljem',
11811215 'articlefeedback-pitch-or' => 'või',
 1216+ 'articlefeedback-pitch-thanks' => 'Suur tänu! Sinu hinnang on salvestatud.',
 1217+ 'articlefeedback-pitch-edit-message' => 'Kas teadsid, et saad seda lehekülge redigeerida?',
 1218+ 'articlefeedback-pitch-edit-accept' => 'Redigeeri',
 1219+ 'articleFeedback-table-heading-page' => 'Lehekülg',
 1220+ 'articleFeedback-table-heading-average' => 'Keskmine',
11821221 );
11831222
11841223 /** Basque (Euskara)
@@ -1883,6 +1922,8 @@
18841923 'articleFeedback-table-caption-recentlows' => 'Bassos recente',
18851924 'articleFeedback-table-heading-page' => 'Pagina',
18861925 'articleFeedback-table-heading-average' => 'Medie',
 1926+ 'articleFeedback-copy-above-highlow-tables' => 'Iste function es experimental. Per favor lassa tu opinion in le [$1 pagina de discussion].',
 1927+ 'articleFeedback-copy-below-highlow-tables' => 'Iste tabellas contine paginas que ha recipite al minus 10 evalutationes durante le ultime 24 horas. Le medias es calculate per prender le media de tote le evalutationes submittite durante le ultime 24 horas.',
18871928 'articlefeedback-emailcapture-response-body' => 'Salute!
18881929
18891930 Gratias pro tu interesse in adjutar a meliorar {{SITENAME}}.
@@ -1913,7 +1954,7 @@
19141955 * @author Kenrick95
19151956 */
19161957 $messages['id'] = array(
1917 - 'articlefeedback' => 'Penilaian artikel',
 1958+ 'articlefeedback' => 'Dasbor umpan balik artikel',
19181959 'articlefeedback-desc' => 'Penilaian artikel (versi percobaan)',
19191960 'articlefeedback-survey-question-origin' => 'Apa halaman yang sedang Anda lihat saat memulai survei ini?',
19201961 'articlefeedback-survey-question-whyrated' => 'Harap beritahu kami mengapa Anda menilai halaman ini hari ini (centang semua yang benar):',
@@ -1944,6 +1985,7 @@
19451986 'articlefeedback-form-panel-helpimprove-privacy' => 'Kebijakan privasi',
19461987 'articlefeedback-form-panel-helpimprove-privacylink' => 'Project:Kebijakan privasi',
19471988 'articlefeedback-form-panel-submit' => 'Kirim peringkat',
 1989+ 'articlefeedback-form-panel-pending' => 'Penilaian Anda belum dikirim',
19481990 'articlefeedback-form-panel-success' => 'Berhasil disimpan',
19491991 'articlefeedback-form-panel-expiry-title' => 'Peringkat Anda sudah kedaluwarsa',
19501992 'articlefeedback-form-panel-expiry-message' => 'Silakan evaluasi kembali halaman ini dan kirimkan peringkat baru.',
@@ -1975,8 +2017,8 @@
19762018 'articlefeedback-survey-message-error' => 'Kesalahan terjadi.
19772019 Silakan coba lagi.',
19782020 'articleFeedback-table-caption-dailyhighsandlows' => 'Kenaikan dan penurunan hari ini',
1979 - 'articleFeedback-table-caption-dailyhighs' => 'Tertinggi hari ini',
1980 - 'articleFeedback-table-caption-dailylows' => 'Terendah hari ini',
 2021+ 'articleFeedback-table-caption-dailyhighs' => 'Artikel berperingkat tertinggi: $1',
 2022+ 'articleFeedback-table-caption-dailylows' => 'Artikel berperingkat terendah: $1',
19812023 'articleFeedback-table-caption-weeklymostchanged' => 'Paling berubah minggu ini',
19822024 'articleFeedback-table-caption-recentlows' => 'Penurunan terbaru',
19832025 'articleFeedback-table-heading-page' => 'Halaman',
@@ -2010,7 +2052,7 @@
20112053 * @author Pietrodn
20122054 */
20132055 $messages['it'] = array(
2014 - 'articlefeedback' => 'Valutazione pagina',
 2056+ 'articlefeedback' => 'Cruscotto valutazione pagina',
20152057 'articlefeedback-desc' => 'Valutazione pagina (versione pilota)',
20162058 'articlefeedback-survey-question-origin' => 'In quale pagina eravate quando avete iniziato questa indagine?',
20172059 'articlefeedback-survey-question-whyrated' => 'Esprimi il motivo per cui oggi hai valutato questa pagina (puoi selezionare più opzioni):',
@@ -2072,8 +2114,12 @@
20732115 'articlefeedback-survey-message-success' => 'Grazie per aver compilato il questionario.',
20742116 'articlefeedback-survey-message-error' => 'Si è verificato un errore.
20752117 Riprova più tardi.',
 2118+ 'articleFeedback-table-caption-dailyhighs' => 'Articoli con punteggi più alti: $1',
 2119+ 'articleFeedback-table-caption-dailylows' => 'Articoli con punteggi più bassi: $1',
20762120 'articleFeedback-table-heading-page' => 'Pagina',
20772121 'articleFeedback-table-heading-average' => 'Media',
 2122+ 'articleFeedback-copy-above-highlow-tables' => 'Questa è una funzione sperimentale. Lascia un feedback sulla [$1 pagina di discussione].',
 2123+ 'articleFeedback-copy-below-highlow-tables' => 'Queste tabelle contengono gli articoli che hanno ricevuto almeno 10 voti nelle ultime 24 ore. Le medie sono calcolate prendendo in considerazione tutte le valutazioni presentate nelle ultime 24 ore.',
20782124 );
20792125
20802126 /** Japanese (日本語)
@@ -2301,6 +2347,7 @@
23022348 'articleFeedback-table-caption-weeklymostchanged' => 'Diß Woch et miehtß jeändert',
23032349 'articleFeedback-table-heading-page' => 'Sigg',
23042350 'articleFeedback-table-heading-average' => 'Dorschnett',
 2351+ 'articleFeedback-copy-below-highlow-tables' => 'En dänne Tabälle sin Atikelle, di en de läzde 24 winnischsdens 10 Note krääje han. Der Dorschnedd es jenou vun dä Zick.',
23052352 );
23062353
23072354 /** Kurdish (Latin) (Kurdî (Latin))
@@ -2588,6 +2635,8 @@
25892636 'articleFeedback-table-caption-recentlows' => 'Скорешни падови',
25902637 'articleFeedback-table-heading-page' => 'Страница',
25912638 'articleFeedback-table-heading-average' => 'Просечно',
 2639+ 'articleFeedback-copy-above-highlow-tables' => 'Ова е експериментална функција. Искажете го вашето мислење на [$1 страницатата за разговор].',
 2640+ 'articleFeedback-copy-below-highlow-tables' => 'Овие табели содржат статии што добиле барем 10 оценки во последниве 24 часа. Просекот се пресметува земајќи ја средната вредност на сите оцеки поднесени во текот на последните 24 часа.',
25922641 'articlefeedback-emailcapture-response-body' => 'Здраво!
25932642
25942643 Ви благодариме што изразивте интерес да помогнете во развојот на {{SITENAME}}.
@@ -2685,6 +2734,8 @@
26862735 'articleFeedback-table-caption-recentlows' => 'സമീപകാല ഇറക്കങ്ങൾ',
26872736 'articleFeedback-table-heading-page' => 'താൾ',
26882737 'articleFeedback-table-heading-average' => 'ശരാശരി',
 2738+ 'articleFeedback-copy-above-highlow-tables' => 'ഇത് പരീക്ഷണാടിസ്ഥാനത്തിലുള്ള സൗകര്യമാണ്. അഭിപ്രായങ്ങൾ [$1 സംവാദം താളിൽ] തീർച്ചയായും അറിയിക്കുക.',
 2739+ 'articleFeedback-copy-below-highlow-tables' => 'കഴിഞ്ഞ 24 മണിക്കൂറിനുള്ളിൽ കുറഞ്ഞത് 10 നിലവാരമിടലുകൾ ലഭിച്ച ലേഖനങ്ങൾ ഈ പട്ടികകളിൽ ഉൾക്കൊള്ളിച്ചിരിക്കുന്നു. കഴിഞ്ഞ 14 മണിക്കൂറിനുള്ളിൽ ലഭിച്ച എല്ലാ നിലവാരമിടലുകളുടേയും മധ്യമവിലയെടുത്താണ് ശരാശരി കണക്കുകൂട്ടിയിരിക്കുന്നത്.',
26892740 'articlefeedback-emailcapture-response-body' => 'നമസ്കാരം!
26902741
26912742 {{SITENAME}} മെച്ചപ്പെടുത്താനുള്ള സഹായം ചെയ്യാൻ സന്നദ്ധത പ്രകടിപ്പിച്ചതിന് ആത്മാർത്ഥമായ നന്ദി.
@@ -2848,6 +2899,8 @@
28492900 'articleFeedback-table-caption-recentlows' => 'Recente dieptepunten',
28502901 'articleFeedback-table-heading-page' => 'Pagina',
28512902 'articleFeedback-table-heading-average' => 'Gemiddelde',
 2903+ 'articleFeedback-copy-above-highlow-tables' => 'Dit is experimentele functionaliteit. Geef alstublieft terugkoppeling op de [$1 overlegpagina].',
 2904+ 'articleFeedback-copy-below-highlow-tables' => "Deze tabellen bevatten pagina's die in de afgelopen 24 uur tenminste 10 waarderingen hebben gehad. De gemiddelden worden berekend door het gemiddelde te berekenen van alle waarderingen in de afgelopen 24 uur.",
28522905 'articlefeedback-emailcapture-response-body' => 'Hallo!
28532906
28542907 Dank u wel voor uw interesse in het verbeteren van {{SITENAME}}.
@@ -3071,6 +3124,7 @@
30723125 'articlefeedback-form-panel-helpimprove-privacy' => 'Zasady ochrony prywatności',
30733126 'articlefeedback-form-panel-helpimprove-privacylink' => 'Project:Zasady ochrony prywatności',
30743127 'articlefeedback-form-panel-submit' => 'Prześlij opinię',
 3128+ 'articlefeedback-form-panel-pending' => 'Twoja ocena nie została jeszcze zapisana',
30753129 'articlefeedback-form-panel-success' => 'Zapisano',
30763130 'articlefeedback-form-panel-expiry-title' => 'Twoje oceny są nieaktualne',
30773131 'articlefeedback-form-panel-expiry-message' => 'Dokonaj ponownej oceny tej strony i zapisz jej wynik',
@@ -3102,6 +3156,8 @@
31033157 'articlefeedback-survey-message-error' => 'Wystąpił błąd.
31043158 Proszę spróbować ponownie później.',
31053159 'articleFeedback-table-caption-dailyhighsandlows' => 'Najwyższe i najniższe w dniu dzisiejszym',
 3160+ 'articleFeedback-table-caption-dailyhighs' => 'Artykuły najwyżej oceniane: $1',
 3161+ 'articleFeedback-table-caption-dailylows' => 'Artykuły najniżej oceniane: $1',
31063162 'articleFeedback-table-caption-weeklymostchanged' => 'Najczęściej zmieniane w tym tygodniu',
31073163 'articleFeedback-table-caption-recentlows' => 'Najniższe ostatnio',
31083164 'articleFeedback-table-heading-page' => 'Strona',
@@ -3291,6 +3347,8 @@
32923348 'articleFeedback-table-caption-recentlows' => 'Os piores mais recentes',
32933349 'articleFeedback-table-heading-page' => 'Página',
32943350 'articleFeedback-table-heading-average' => 'Média',
 3351+ 'articleFeedback-copy-above-highlow-tables' => 'Esta funcionalidade é experimental. Deixe os seus comentários na página de discussão, por favor.',
 3352+ 'articleFeedback-copy-below-highlow-tables' => 'Estas tabelas contêm artigos que receberam pelo menos 10 avaliações nas últimas 24 horas. As médias são calculadas pela média aritmética de todas as avaliações enviadas nas últimas 24 horas.',
32953353 'articlefeedback-emailcapture-response-body' => 'Olá,
32963354
32973355 Obrigado por expressar interesse em ajudar a melhorar a {{SITENAME}}.
@@ -3538,7 +3596,7 @@
35393597 * @author Сrower
35403598 */
35413599 $messages['ru'] = array(
3542 - 'articlefeedback' => 'Оценка статьи',
 3600+ 'articlefeedback' => 'Панель оценок статьи',
35433601 'articlefeedback-desc' => 'Оценка статьи (экспериментальный вариант)',
35443602 'articlefeedback-survey-question-origin' => 'На какой странице вы находились, когда начали этот опрос?',
35453603 'articlefeedback-survey-question-whyrated' => 'Пожалуйста, дайте нам знать, почему вы сегодня дали оценку этой странице (отметьте все подходящие варианты):',
@@ -3600,8 +3658,8 @@
36013659 'articlefeedback-survey-message-error' => 'Произошла ошибка.
36023660 Пожалуйста, повторите попытку позже.',
36033661 'articleFeedback-table-caption-dailyhighsandlows' => 'Сегодняшние взлёты и падения',
3604 - 'articleFeedback-table-caption-dailyhighs' => 'Сегодняшние взлёты',
3605 - 'articleFeedback-table-caption-dailylows' => 'Сегодняшние падения',
 3662+ 'articleFeedback-table-caption-dailyhighs' => 'Статьи с наивысшими оценками: $1',
 3663+ 'articleFeedback-table-caption-dailylows' => 'Статьи с самыми низкими оценками: $1',
36063664 'articleFeedback-table-caption-weeklymostchanged' => 'Наиболее изменившиеся на этой неделе',
36073665 'articleFeedback-table-caption-recentlows' => 'Недавние падения',
36083666 'articleFeedback-table-heading-page' => 'Страница',
@@ -3875,6 +3933,8 @@
38763934 'articleFeedback-table-caption-recentlows' => 'Nedavni padci',
38773935 'articleFeedback-table-heading-page' => 'Stran',
38783936 'articleFeedback-table-heading-average' => 'Povprečje',
 3937+ 'articleFeedback-copy-above-highlow-tables' => 'To je preizkusna funkcija. Prosimo, podajte povratno informacijo na [$1 pogovorni strani].',
 3938+ 'articleFeedback-copy-below-highlow-tables' => 'Te razpredelnice vsebujejo članke, ki so v zadnjih 24 urah prejeli vsaj 10 ocen. Povprečna so izračunana iz povprečja vseh ocen, podanih v zadnjih 24 urah.',
38793939 'articlefeedback-emailcapture-response-body' => 'Pozdravljeni!
38803940
38813941 Zahvaljujemo se vam za izkazano zanimanje za pomoč pri izboljševanju {{GRAMMAR:rodilnik|{{SITENAME}}}}.
@@ -4316,6 +4376,8 @@
43174377 'articleFeedback-table-caption-recentlows' => 'Các điểm thấp gần đây',
43184378 'articleFeedback-table-heading-page' => 'Trang',
43194379 'articleFeedback-table-heading-average' => 'Trung bình',
 4380+ 'articleFeedback-copy-above-highlow-tables' => 'Đây là một tính năng thử nghiệm. Xin vui lòng đưa ra phản hồi tại trang thảo luận.',
 4381+ 'articleFeedback-copy-below-highlow-tables' => 'Các bảng này chứa các bài đã được đánh giá 10 lần trở lên trong vòng 24 giờ qua. Các trung bình tính các đánh giá được nhận trong vòng 24 giờ qua.',
43204382 'articlefeedback-emailcapture-response-body' => 'Xin chào!
43214383
43224384 Cám ơn bạn đã bày tỏ quan tâm về việc giúp cải tiến {{SITENAME}}.
Index: branches/wmf/1.17wmf1/extensions/ArticleFeedback/ArticleFeedback.php
@@ -73,6 +73,18 @@
7474 'tracked' => true
7575 );
7676
 77+/**
 78+ * The full URL for a discussion page about the Article Feedback Dashboard
 79+ *
 80+ * Since the dashboard is powered by a SpecialPage, we cannot rel on the built-in
 81+ * MW talk page for this, so we must expose our own page - internally or externally.
 82+ *
 83+ * This value will be passed into an i18n message which will parse the URL as an
 84+ * external link using wikitext, so this must be a full URL.
 85+ * @var string
 86+ */
 87+$wgArticleFeedbackDashboardTalkPage = "http://www.mediawiki.org/wiki/Talk:Article_feedback";
 88+
7789 // Would ordinarily call this articlefeedback but survey names are 16 chars max
7890 $wgPrefSwitchSurveys['articlerating'] = array(
7991 'updatable' => false,
Property changes on: branches/wmf/1.17wmf1/extensions/ArticleFeedback
___________________________________________________________________
Modified: svn:mergeinfo
8092 Merged /trunk/extensions/ArticleFeedback:r87771-87843

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r87771followup to r87764; use simpler jquery selectorneilk20:53, 9 May 2011
r87843Localisation updates for core and extension messages from translatewiki.net (...raymond21:00, 10 May 2011

Status & tagging log