r63444 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63443‎ | r63444 | r63445 >
Date:23:29, 8 March 2010
Author:aaron
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha/FlaggedArticleView.php (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha/FlaggedRevs.class.php (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha/FlaggedRevs.hooks.php (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha/FlaggedRevs.sql (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/FlaggedRevs.alias.php (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/FlaggedRevs.i18n.php (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/OldReviewedPages.i18n.php (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/ProblemChanges.i18n.php (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/ReviewedPages.i18n.php (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/Stabilization.i18n.php (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/ValidationStatistics.i18n.php (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs_alpha/specialpages/ReviewedPages_body.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/FlaggedRevs_alpha/FlaggedRevs.class.php
@@ -211,7 +211,7 @@
212212 }
213213
214214 /**
215 - * Does FLaggedRevs only show for pages that have been set to do so?
 215+ * Does FlaggedRevs only show for pages that have been set to do so?
216216 * @returns bool
217217 */
218218 public static function stableOnlyIfConfigured() {
Index: branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/Stabilization.i18n.php
@@ -1437,9 +1437,9 @@
14381438 $messages['hsb'] = array(
14391439 'stabilization-tab' => '(Kwalitne zawěsćenje)',
14401440 'stabilization' => 'Stabilizacija strony',
1441 - 'stabilization-text' => "'''Změń slědowace nastajenja, zo by postajił, kak so stabilna wersija wot [[:\$1|\$1]] wuběra a zwobraznja.'''
 1441+ 'stabilization-text' => "'''Změń slědowace nastajenja, zo by postajił, kak so wozjewjena wersija wot [[:\$1|\$1]] wuběra a zwobraznja.'''
14421442
1443 -Hdyž konfiguraciju ''wuběra stabilneje wersije'' změniš, zo by \"kwalitnu\" abo \"prěnjotnu\" wersiju po standardźe wužiwał, skontroluj, hač su woprawdźe tajke wersije w stronje, hewak změje mało wuskutka.",
 1443+Hdyž konfiguraciju ''wuběra wozjewjeneje wersije'' změniš, zo by \"kwalitnu\" abo \"prěnjotnu\" wersiju po standardźe wužiwał, skontroluj, hač su woprawdźe tajke wersije na stronje, hewak změna změje mało wuskutka.",
14441444 'stabilization-perm' => 'Twoje wužiwarske konto nima trěbne prawo, zo by nastajenja wozjewjeneje wersije změniło.
14451445 Aktualne nastajenja za „[[:$1|$1]]“ su:',
14461446 'stabilization-page' => 'Mjeno strony:',
Index: branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/FlaggedRevs.alias.php
@@ -17,7 +17,7 @@
1818 'ReviewedPages' => array( 'ReviewedPages' ),
1919 'RevisionReview' => array( 'RevisionReview' ),
2020 'Stabilization' => array( 'Stabilization', 'Stabilisation' ),
21 - 'StablePages' => array( 'PublishedPages', 'StablePages' ),
 21+ 'StablePages' => array( 'StablePages' ),
2222 'ReviewedVersions' => array( 'ReviewedVersions', 'StableVersions' /*old name*/ ),
2323 'UnreviewedPages' => array( 'UnreviewedPages' ),
2424 'UnstablePages' => array( 'UnstablePages' ),
Index: branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/ValidationStatistics.i18n.php
@@ -8,7 +8,7 @@
99 $messages = array();
1010
1111 $messages['en'] = array(
12 - 'validationstatistics' => 'Validation statistics',
 12+ 'validationstatistics' => 'Page review statistics',
1313 'validationstatistics-users' => '\'\'\'{{SITENAME}}\'\'\' currently has \'\'\'[[Special:ListUsers/editor|$1]]\'\'\' {{PLURAL:$1|user|users}} with [[{{MediaWiki:Validationpage}}|Editor]] rights.
1414
1515 Editors are established users that can spot-check revisions to pages.',
@@ -168,7 +168,7 @@
169169 * @author Red Winged Duck
170170 */
171171 $messages['be-tarask'] = array(
172 - 'validationstatistics' => 'Статыстыка праверак',
 172+ 'validationstatistics' => 'Статыстыка рэцэнзаваньня старонак',
173173 'validationstatistics-users' => "'''{{SITENAME}}''' цяпер налічвае '''[[Special:ListUsers/editor|$1]]''' {{PLURAL:$1|удзельніка|удзельнікаў|удзельнікаў}} з правамі «[[{{MediaWiki:Validationpage}}|рэдактара]]».
174174
175175 Рэдактары — асобныя удзельнікі, якія могуць правяраць вэрсіі старонак.",
@@ -657,7 +657,7 @@
658658 * @author Toliño
659659 */
660660 $messages['gl'] = array(
661 - 'validationstatistics' => 'Estatísticas de validación',
 661+ 'validationstatistics' => 'Estatísticas de revisión da páxina',
662662 'validationstatistics-users' => "Actualmente, '''{{SITENAME}}''' ten '''[[Special:ListUsers/editor|$1]]''' {{PLURAL:$1|usuario|usuarios}} con
663663 dereitos de [[{{MediaWiki:Validationpage}}|editor]].
664664
@@ -1188,7 +1188,7 @@
11891189 * @author Sadik Khalid
11901190 */
11911191 $messages['ml'] = array(
1192 - 'validationstatistics' => 'സ്ഥിരീകരണ കണക്കുകള്‍',
 1192+ 'validationstatistics' => 'താൾ സംശോധനത്തിന്റെ സ്ഥിതിവിവരം',
11931193 'validationstatistics-users' => "{{SITENAME}}''' പദ്ധതിയില്‍ '''[[Special:ListUsers/editor|$1]]''' {{PLURAL:$1|ഉപയോക്താവിന്|ഉപയോക്താക്കള്‍ക്ക്}} [[{{MediaWiki:Validationpage}}|എഡിറ്റർ]] പദവിയുണ്ട്.
11941194
11951195 താളുകളുടെ നാൾവഴികൾ പരിശോധിച്ച് തെറ്റുതിരുത്താൻ കഴിയുന്ന സ്ഥാപിത ഉപയോക്താക്കളാണ് എഡിറ്റർമാർ.",
@@ -1300,7 +1300,7 @@
13011301 * @author Nghtwlkr
13021302 */
13031303 $messages['no'] = array(
1304 - 'validationstatistics' => 'Valideringsstatistikk',
 1304+ 'validationstatistics' => 'Siderevideringsstatistikk',
13051305 'validationstatistics-users' => "'''{{SITENAME}}''' har på nåværende tidspunkt '''[[Special:ListUsers/editor|$1]]''' {{PLURAL:$1|bruker|brukere}} med [[{{MediaWiki:Validationpage}}|skribentrettigheter]].
13061306
13071307 Skribenter er etablerte brukere som kan punktsjekke revisjoner på siden.",
@@ -1817,7 +1817,7 @@
18181818 * @author Prima klasy4na
18191819 */
18201820 $messages['uk'] = array(
1821 - 'validationstatistics' => 'Статистика перевірок',
 1821+ 'validationstatistics' => 'Статистика рецензувань сторінок',
18221822 'validationstatistics-users' => "У проекті '''{{SITENAME}}''' зараз '''[[Special:ListUsers/editor|$1]]''' {{plural:$1|користувач має|користувачі мають|користувачів мають}} права [[{{MediaWiki:Validationpage}}|«редактор»]].
18231823
18241824 «Редактори» — визначені користувачі, що мають можливість робити вибіркову перевірку конкретних версій сторінок.",
Index: branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/FlaggedRevs.i18n.php
@@ -922,7 +922,7 @@
923923 'revreview-submit' => 'أرسل',
924924 'revreview-submit-review' => 'علم كمراجعة',
925925 'revreview-submit-unreview' => 'علم كغير مراجعة',
926 - 'revreview-submitting' => 'جاري التنفيذ...',
 926+ 'revreview-submitting' => 'يرسل...',
927927 'revreview-successful' => "'''عُلّمت مراجعة [[:$1|$1]] بنجاح. ([{{fullurl:{{#Special:ReviewedVersions}}|page=$2}} اعرض النسخ المستقرة])'''",
928928 'revreview-successful2' => "'''مراجعة [[:$1|$1]] تمت إزالة علمها بنجاح.'''",
929929 'revreview-text' => "''[[{{MediaWiki:Validationpage}}|النسخ المراجعة]] هي نسخ مفحوصة للصفحات تستخدم لتحديد النسخ المنشورة.''",
@@ -1938,6 +1938,8 @@
19391939 'revreview-auto' => '(emgefre)',
19401940 'revreview-basic' => "Setu ar [[{{MediaWiki:Validationpage}}|stumm embannet]], [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>.
19411941 Gant ar [{{fullurl:{{FULLPAGENAMEE}}|stable=0}} brouilhed] ez eus [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} $3 {{PLURAL:$3|c'hemm|kemm}}] kinniget.",
 1942+ 'revreview-basic-i' => "Ar [[{{MediaWiki:Validationpage}}|stumm embannet]] eo, [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} gwiriet] d'an <i>$2</i>.
 1943+Ar [{{fullurl:{{FULLPAGENAMEE}}|stable=0}} brouilhed] en deus [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} kemmoù patromoù pe restroù] o c'hortoz bezañ adlennet.",
19421944 'revreview-basic-old' => "Hemañ zo ur stumm bet [[{{MediaWiki:Validationpage}}|gwiriet]] ([{{fullurl:{{#Special:ReviewedVersions}}|page={{FULLPAGENAMEE}}}} gwelet an holl]), [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>.
19431945 [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} Kemmoù] nevez a c'hell bezañ bet graet.",
19441946 'revreview-basic-same' => "Ar [[{{MediaWiki:Validationpage}}|stumm embannet]] eo, bet [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} gwiriet] d'an <i>$2</i>.",
@@ -1963,8 +1965,9 @@
19641966 'revreview-invalid' => "'''Pal direizh :''' n'eus [[{{MediaWiki:Validationpage}}|stumm adwelet ebet]] o klotañ gant an niverenn merket.",
19651967 'revreview-legend' => 'Priziañ danvez ar stumm',
19661968 'revreview-log' => 'Notenn :',
1967 - 'revreview-newest-basic' => "An [{{fullurl:{{FULLPAGENAMEE}}|stable=1}} adweladenn gwelet da ziwezhañ] ([{{fullurl:{{#Special:ReviewedVersions}}|page={{FULLPAGENAMEE}}}} diskouez an holl]) a oa [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>.
1968 -[{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} $3 {{PLURAL:$3|kemm|kemm}}] {{PLURAL:$3|a c'houlenn|a c'houlenn}} bezañ adwelet.",
 1969+ 'revreview-newest-basic' => "Ar [{{fullurl:{{FULLPAGENAMEE}}|stable=1}} stumm embannet] a zo bet [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>. Ar brouilhed en deus
 1970+[{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} $3 kemm{{PLURAL:$3||}} red].",
 1971+ 'revreview-newest-basic-i' => "Ar [{{fullurl:{{FULLPAGENAMEE}}|stable=1}} stumm embannet] a zo bet [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} gwiriet] d'an <i>$2</i>. Ar brouilhed en deus [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} kemmoù eus ar restroù pe ar patromoù] o c'hortoz bezañ adlennet.",
19691972 'revreview-newest-quality' => "Ar [{{fullurl:{{FULLPAGENAMEE}}|stable=1}} stumm embannet] a zo bet [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>. Er brouilhed ez eus [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} $3 {{PLURAL:$3|c'hemm|kemm}}] o vezañ adwelet.",
19701973 'revreview-newest-quality-i' => "Ar [{{fullurl:{{FULLPAGENAMEE}}|stable=1}} stumm embannet] a zo bet [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>. Er brouilhed ez eus [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} kemmoù patromoù/restroù] o c'hortoz bezañ adlennet.",
19711974 'revreview-pending-basic' => "Ar [{{fullurl:{{FULLPAGENAMEE}}|stable=1}} stumm embannet] a zo bet [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>. Ar [{{fullurl:{{FULLPAGENAMEE}}|stable=0}} brouilhed] en deus
@@ -1976,13 +1979,13 @@
19771980 'revreview-note' => 'Skrivet eo bet an notennoù-mañ gant [[User:$1|$1]] e-ser [[{{MediaWiki:Validationpage}}|adwelet]] ar stumm :',
19781981 'revreview-notes' => 'Evezhiadennoù ha notennoù da ziskouez :',
19791982 'revreview-oldrating' => 'E boentadur :',
1980 - 'revreview-quality' => "Setu an diwezhañ stumm [[{{MediaWiki:Validationpage}}|a-feson]], [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>.
1981 -Gant ar [{{fullurl:{{FULLPAGENAMEE}}|stable=0}} brouilhed] ez eus [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} $3 {{PLURAL:$3|c'hemm|kemm}}] a c'hortoz bezañ adwelet.",
1982 - 'revreview-quality-old' => "Hemañ zo ur stumm [[{{MediaWiki:Validationpage}}|a-feson]] ([{{fullurl:{{#Special:ReviewedVersions}}|page={{FULLPAGENAMEE}}}} gwelet an holl]), [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>.
1983 -[{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} Kemmoù] nevez zo bet graet.",
1984 - 'revreview-quality-same' => "Setu an diwezhañ stumm [[{{MediaWiki:Validationpage}}|a-feson]] ([{{fullurl:{{#Special:ReviewedVersions}}|page={{FULLPAGENAMEE}}}} gwelet an holl]),
1985 -[{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>.
1986 -Gallout a ra ar bajenn bezañ '''[{{fullurl:{{FULLPAGENAMEE}}|action=edit}} kemmet]'''.",
 1983+ 'revreview-quality' => "Ar [[{{MediaWiki:Validationpage}}|stumm embannet]] eo, [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>.
 1984+Ar [{{fullurl:{{FULLPAGENAMEE}}|stable=0}} brouilhed] en deus [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} $3 kemm{{PLURAL:$3||}}] hag o deus ezhomm bezañ adlennet.",
 1985+ 'revreview-quality-i' => "Ar [[{{MediaWiki:Validationpage}}|stumm embannet]] eo, [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} parouet] d'an <i>$2</i>.
 1986+Ar [{{fullurl:{{FULLPAGENAMEE}}|stable=0}} brouilhed] en deus [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} kemmoù patromoù pe restroù] o c'hortoz bezañ adlennet.",
 1987+ 'revreview-quality-old' => "Un adweladenn [[{{MediaWiki:Validationpage}}|a galite]] eo ([{{fullurl:{{#Special:ReviewedVersions}}|page={{FULLPAGENAMEE}}}} gwelet ar roll]), [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>.
 1988+[{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&diffonly=0}} Kemmoù] nevez a c'hell bezañ bet graet.",
 1989+ 'revreview-quality-same' => "Ar [[{{MediaWiki:Validationpage}}|stumm embannet]] eo, [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>.",
19871990 'revreview-quality-source' => "Ur [{{fullurl:{{FULLPAGENAMEE}}|stableid=$1}} stumm a-feson] eus ar bajenn-mañ, [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] d'an <i>$2</i>, zo bet diazezet er-maez eus ar stumm-mañ.",
19881991 'revreview-quality-title' => 'Ur stumm a galite eus ar bajenn eo',
19891992 'revreview-quick-basic' => "'''[[{{MediaWiki:Validationpage}}|Pennad gwiriet]]''' [[{{fullurl:{{FULLPAGENAMEE}}|stable=0}} gwelet brouilhed]]",
@@ -2013,6 +2016,7 @@
20142017 'revreview-submit-review' => 'Merkañ evel adwelet',
20152018 'revreview-submit-unreview' => 'Merkañ evel nann-adwelet',
20162019 'revreview-submitting' => 'O kas...',
 2020+ 'revreview-successful' => "'''An adweladenn eus [[:$1|$1]] a zo bet merket ([{{fullurl:{{#Special:ReviewedVersions}}|page=$2}} gwelet ar stummoù stabil])'''",
20172021 'revreview-successful2' => "'''Stumm eus [[:$1|$1]] diwiriekaat.'''",
20182022 'revreview-toggle-title' => 'diskouez/kuzhat munudoù',
20192023 'revreview-update' => "Mar plij [[{{MediaWiki:Validationpage}}|adwelit]] an holl gemmoù ''(diskouezet a-is)'' bet graet abaoe ma oa bet [{{fullurl:{{#Special:Log}}|type=review&page={{FULLPAGENAMEE}}}} aprouet] ar stumm embannet.
@@ -2027,11 +2031,14 @@
20282032 'right-autoreview' => 'Merkañ emgefre an adweladennoù evel gwiriet',
20292033 'right-movestable' => "Dilec'hiañ pajennoù embannet",
20302034 'right-review' => 'Merkañ an adweladennoù evel gwiriet',
 2035+ 'right-stablesettings' => 'Kefluniañ arventennoù diuzañ ha diskwel ar stummoù embannet',
20312036 'right-validate' => 'Merkañ an adweladennoù evel "a galite"',
20322037 'right-unreviewedpages' => "Sellet ouzh [[Special:UnreviewedPages|roll ar pajennoù n'int ket bet adwelet]]",
20332038 'rights-editor-autosum' => 'emanvet',
20342039 'rights-editor-revoke' => 'en deus dilamet ar gwirioù skridaozer da [[$1]]',
20352040 'specialpages-group-quality' => 'Kretadur a-zoare',
 2041+ 'stable-logentry-config' => 'en deus kefluniet ar stummoù embannet eus [[$1]]',
 2042+ 'stable-logentry-reset' => 'en deus adderaouekaet ar stumm embannet eus [[$1]]',
20362043 'stable-logpage' => 'Marilh ar stummoù stabil',
20372044 'revreview-filter-all' => 'pep tra',
20382045 'revreview-filter-stable' => 'Embannet',
@@ -8556,7 +8563,7 @@
85578564 'flaggedrevs-backlog' => "സംശോധനം ചെയ്ത താളുകളിലെ [[Special:OldReviewedPages|പരിശോധിക്കേണ്ട തിരുത്തലുകളുടെ]] രേഖയുണ്ട്. '''താങ്കളുടെ ശ്രദ്ധ ക്ഷണിക്കുന്നു!'''",
85588565 'flaggedrevs-watched-pending' => "താങ്കൾ ശ്രദ്ധിക്കുന്ന താളുകളുടെ പട്ടികയിലെ സംശോധനം ചെയ്ത താളുകളിൽ [{{fullurl:{{#Special:OldReviewedPages}}|watched=1}} പരിശോധിക്കേണ്ട തിരുത്തലുകൾ] ഉണ്ട്. '''താങ്കളുടെ ശ്രദ്ധ ക്ഷണിക്കുന്നു!'''",
85598566 'flaggedrevs-desc' => 'തിരുത്തുന്നവര്‍ക്കും സം‌ശോധകര്‍ക്കും നാൾപ്പതിപ്പുകൾ സംശോധനം ചെയ്യാനും താളുകള്‍ സ്ഥിരപ്പെടുത്താനുമുള്ള അവകാശം കൊടുക്കുന്നു.',
8560 - 'flaggedrevs-pref-UI' => 'അടിസ്ഥാന ദൃശ്യമണ്ഡലം:',
 8567+ 'flaggedrevs-pref-UI' => 'അടിസ്ഥാന സമ്പർക്കമുഖം:',
85618568 'flaggedrevs-pref-UI-0' => 'താളിന്റെ അംഗീകരണ സ്ഥിതി പ്രദർശിപ്പിക്കാൻ വിപുലമായ പെട്ടികൾ ഉപയോഗിക്കുക',
85628569 'flaggedrevs-pref-UI-1' => 'താളുകളുടെ അംഗീകരണ സ്ഥിതി പ്രദർശിപ്പിക്കൻ ചെറിയ ഐകോണുകളും കുറച്ച് എഴുത്തും ഉപയോഗിക്കുക',
85638570 'prefs-flaggedrevs' => 'സ്ഥിരത',
@@ -8708,6 +8715,7 @@
87098716 'right-review' => 'നാൾപ്പതിപ്പുകൾ "പരിശോധിച്ചതായി" അടയാളപ്പെടുത്തുക',
87108717 'right-stablesettings' => 'പ്രസിദ്ധീകരിക്കപ്പെട്ട പതിപ്പ് എപ്രകാരം തിരഞ്ഞെടുക്കണം എന്നും പ്രദർശിപ്പിക്കണം എന്നും ക്രമീകരിക്കുക',
87118718 'right-validate' => 'നാൾപ്പതിപ്പുകൾ "ഗുണമേന്മയുള്ളവയായി" അടയാളപ്പെടുത്തുക',
 8719+ 'right-unreviewedpages' => '[[Special:UnreviewedPages|സം‌ശോധനം ചെയ്തിട്ടില്ലാത്ത താളുകളുടെ പട്ടിക]] കാണുക',
87128720 'rights-editor-autosum' => 'യാന്ത്രികമായി സ്ഥാനക്കയറ്റം നല്‍കിയിരിക്കുന്നു',
87138721 'rights-editor-revoke' => '[[$1]] എന്ന ഉപയോക്താവിന്റെ എഡിറ്റര്‍ അവകാശം പിന്‍‌വലിച്ചിരിക്കുന്നു',
87148722 'specialpages-group-quality' => 'ഗുണമേന്മാ ഉറപ്പ്',
Index: branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/OldReviewedPages.i18n.php
@@ -8,7 +8,7 @@
99 $messages = array();
1010
1111 $messages['en'] = array(
12 - 'oldreviewedpages' => 'Outdated reviewed pages',
 12+ 'oldreviewedpages' => 'Pages with pending changes',
1313 'oldreviewedpages-legend' => 'List reviewed pages with pending edits',
1414 'oldreviewedpages-list' => 'This page lists {{PLURAL:$1|a reviewed page|reviewed pages}} having pending edits.',
1515 'oldreviewedpages-none' => 'There are currently no pages meeting these criteria',
@@ -129,7 +129,7 @@
130130 'oldreviewedpages-days' => '({{PLURAL:$1||يوم واحد|يومان|$1 أيام|$1 يومًا|$1 يوم}})',
131131 'oldreviewedpages-recent' => '(أقل من ساعة)',
132132 'oldreviewed-category' => 'تصنيف:',
133 - 'oldreviewed-watched' => 'الصفحات على قائمة مراقبتي',
 133+ 'oldreviewed-watched' => 'الصفحات في قائمة مراقبتي',
134134 'oldreviewed-stable' => 'مستقرة',
135135 'oldreviewed-diff' => 'راجع',
136136 'oldreviewed-size' => 'أقصى تغيير (بايت):',
@@ -605,7 +605,7 @@
606606 * @author Toliño
607607 */
608608 $messages['gl'] = array(
609 - 'oldreviewedpages' => 'Páxinas revisadas fóra de data',
 609+ 'oldreviewedpages' => 'Páxinas con cambios pendentes',
610610 'oldreviewedpages-legend' => 'Listar as páxinas revisadas con revisións sen revisar',
611611 'oldreviewedpages-list' => 'Esta páxina lista {{PLURAL:$1|a páxina revisada|as páxinas revisadas}} que {{PLURAL:$1|ten|teñen}} edicións pendentes.',
612612 'oldreviewedpages-none' => 'Actualmente non hai páxinas que coincidan con ese criterio',
@@ -987,7 +987,7 @@
988988 * @author Shijualex
989989 */
990990 $messages['ml'] = array(
991 - 'oldreviewedpages' => 'സംശോധനം ചെയ്തതില്‍ കാലഹരണപ്പെട്ട താളുകള്‍',
 991+ 'oldreviewedpages' => 'സംശോധനം ചെയ്യൽ അവശേഷിക്കുന്ന താളുകൾ',
992992 'oldreviewedpages-legend' => 'സംശോധനം ചെയ്ത താളുകളൂടെ പട്ടികയോടൊപ്പം സം‌ശോധനം ചെയ്തിട്ടില്ലാത്ത പതിപ്പുകള്‍ പ്രദര്‍ശിപ്പിക്കുക',
993993 'oldreviewedpages-list' => 'ഈ താളിൽ പരിശോധിക്കേണ്ട തിരുത്തലുകളവശേഷിക്കുന്ന {{PLURAL:$1|സംശോധനം ചെയ്ത താൾ|സംശോധനം ചെയ്ത താളുകൾ}} നൽകിയിരിക്കുന്നു.',
994994 'oldreviewedpages-none' => 'ഈ മാനദണ്ഡം പാലിക്കുന്ന താളുകളൊന്നും നിലവിലില്ല',
@@ -1112,7 +1112,7 @@
11131113 * @author Nghtwlkr
11141114 */
11151115 $messages['no'] = array(
1116 - 'oldreviewedpages' => 'Utdaterte anmeldte sider',
 1116+ 'oldreviewedpages' => 'Sider med ventende endringer',
11171117 'oldreviewedpages-legend' => 'Vis anmeldte sider med uanmeldte sideversjoner',
11181118 'oldreviewedpages-list' => 'Denne siden lister opp {{PLURAL:$1|én vurdert side|vurderte sider}} som har ventende endringer.',
11191119 'oldreviewedpages-none' => 'Det er for tiden ingen sider som passer med disse kriteriene',
@@ -1518,7 +1518,7 @@
15191519 * @author Prima klasy4na
15201520 */
15211521 $messages['uk'] = array(
1522 - 'oldreviewedpages' => 'Застарілі перевірені сторінки',
 1522+ 'oldreviewedpages' => 'Сторінки з нерецензованими змінами',
15231523 'oldreviewedpages-legend' => 'Список перевірених сторінок з неперевіреними версіями',
15241524 'oldreviewedpages-list' => 'На цій сторінці {{PLURAL:$1|зазначена перевірена сторінка, яка в подальшому редагувались|зазначені перевірені сторінки, які в подальшому редагувались}}',
15251525 'oldreviewedpages-none' => 'Зараз нема сторінок, що задовольняють цим умовам',
Index: branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/ProblemChanges.i18n.php
@@ -8,7 +8,7 @@
99 $messages = array();
1010
1111 $messages['en'] = array(
12 - 'problemchanges' => 'Review tagged changes',
 12+ 'problemchanges' => 'Tagged pending changes',
1313 'problemchanges-legend' => 'List pages with tagged edits pending review',
1414 'problemchanges-none' => 'There are currently no pages meeting these criteria',
1515 'problemchanges-category' => 'Category:',
@@ -222,7 +222,7 @@
223223 * @author Toliño
224224 */
225225 $messages['gl'] = array(
226 - 'problemchanges' => 'Revisar os cambios etiquetados',
 226+ 'problemchanges' => 'Cambios etiquetados pendentes',
227227 'problemchanges-legend' => 'Listar as páxinas con edicións etiquetadas pendentes de revisión',
228228 'problemchanges-none' => 'Actualmente non hai páxinas que reúnan estes criterios',
229229 'problemchanges-category' => 'Categoría:',
@@ -397,7 +397,7 @@
398398 * @author Praveenp
399399 */
400400 $messages['ml'] = array(
401 - 'problemchanges' => 'റ്റാഗോടെയുള്ള മാറ്റങ്ങൾ സംശോധമ ചെയ്യുക',
 401+ 'problemchanges' => 'റ്റാഗോടെ അവശേഷിക്കുന്ന മാറ്റങ്ങൾ',
402402 'problemchanges-legend' => 'തിരുത്തലുകളിൽ സംശോധനം പ്രതിക്ഷിക്കുന്നവ എന്ന റ്റാഗുള്ള താളുകളുടെ പട്ടിക',
403403 'problemchanges-none' => 'ഈ മാനദണ്ഡങ്ങളുമായി ഒത്തു പോകുന്ന താളുകൾ ഒന്നും ഇപ്പോൾ ലഭ്യമല്ല',
404404 'problemchanges-category' => 'വർഗ്ഗം:',
@@ -423,10 +423,11 @@
424424 /** Norwegian (bokmål)‬ (‪Norsk (bokmål)‬)
425425 * @author Jon Harald Søby
426426 * @author Laaknor
 427+ * @author Nghtwlkr
427428 * @author Simny
428429 */
429430 $messages['no'] = array(
430 - 'problemchanges' => 'Se igjennom merkede endringer',
 431+ 'problemchanges' => 'Merket ventende endringer',
431432 'problemchanges-legend' => 'Vis sider som inneholder merkede redigeringer som trenger gjennomsyn',
432433 'problemchanges-none' => 'Det er for øyeblikket ingen sider som passer med disse kjennetegnene',
433434 'problemchanges-category' => 'Kategori:',
@@ -600,7 +601,7 @@
601602 * @author Prima klasy4na
602603 */
603604 $messages['uk'] = array(
604 - 'problemchanges' => 'Перегляд відмічених змін',
 605+ 'problemchanges' => 'Відмічені нерецензовані зміни',
605606 'problemchanges-legend' => 'Список сторінок із позначеними редагуваннями, що очікують перевірки',
606607 'problemchanges-none' => 'Наразі немає сторінок, які відповідають цим критеріям',
607608 'problemchanges-category' => 'Категорія:',
Index: branches/wmf-deployment/extensions/FlaggedRevs_alpha/language/ReviewedPages.i18n.php
@@ -9,14 +9,15 @@
1010
1111 $messages['en'] = array(
1212 'reviewedpages' => 'Reviewed pages',
13 - 'reviewedpages-leg' => 'List pages by highest review level',
14 - 'reviewedpages-list' => 'This page lists pages that been reviewed (at highest) to the specified level.',
 13+ 'reviewedpages-leg' => 'List pages that have been reviewed',
 14+ 'reviewedpages-list' => 'This lists contains [[{{MediaWiki:Validationpage}}|reviewed]] pages whose \'\'highest attained\'\' review level (of a revision) is the specified level.
 15+ A link is given to the latest revision of that level.',
1516 'reviewedpages-none' => 'There are no pages in this list',
1617 'reviewedpages-lev-0' => '{{int:revreview-lev-basic}}',
1718 'reviewedpages-lev-1' => '{{int:revreview-lev-quality}}',
1819 'reviewedpages-lev-2' => '{{int:revreview-lev-pristine}}',
1920 'reviewedpages-all' => 'reviewed versions',
20 - 'reviewedpages-best' => 'prime revision',
 21+ 'reviewedpages-best' => 'best revision',
2122 );
2223
2324 /** Message documentation (Message documentation)
@@ -44,7 +45,7 @@
4546 */
4647 $messages['af'] = array(
4748 'reviewedpages' => 'Gekontroleerde bladsye',
48 - 'reviewedpages-leg' => "'n Lys van bladsye met die hoogste kontrolevlak",
 49+ 'reviewedpages-leg' => 'Lys met bladsye wat gekontrolleer is',
4950 'reviewedpages-list' => 'Die volgende bladsye is (op sy hoogste) gekontroleer tot die aangegewe vlak.',
5051 'reviewedpages-none' => 'Daar is geen bladsye in hierdie lys nie',
5152 'reviewedpages-lev-2' => 'Uitgelig',
@@ -394,14 +395,15 @@
395396 */
396397 $messages['gl'] = array(
397398 'reviewedpages' => 'Páxinas revisadas',
398 - 'reviewedpages-leg' => 'Lista as páxinas polo nivel máis alto de revisión',
399 - 'reviewedpages-list' => 'Esta páxina lista as páxinas que foron revisadas (polo maior) ao nivel especificado.',
 399+ 'reviewedpages-leg' => 'Listar as páxinas que foron revisadas',
 400+ 'reviewedpages-list' => "Estas listas conteñen as páxinas [[{{MediaWiki:Validationpage}}|revisadas]] cuxo nivel de revisión ''maior alcanzado'' (dunha revisión) é o nivel especificado.
 401+Dáse unha ligazón cara á última revisión dese nivel.",
400402 'reviewedpages-none' => 'Non hai páxinas nesta lista',
401403 'reviewedpages-lev-0' => 'Revisado',
402404 'reviewedpages-lev-1' => 'Calidade',
403405 'reviewedpages-lev-2' => 'Destacado',
404406 'reviewedpages-all' => 'Versións revisadas',
405 - 'reviewedpages-best' => 'revisión principal',
 407+ 'reviewedpages-best' => 'mellor revisión',
406408 );
407409
408410 /** Ancient Greek (Ἀρχαία ἑλληνικὴ)
@@ -421,14 +423,14 @@
422424 */
423425 $messages['gsw'] = array(
424426 'reviewedpages' => 'Lischt vu dr Syte, wu vum Fäldhieter gsäh sin',
425 - 'reviewedpages-leg' => 'D Syte no em hegschte Prief-Level uflischte',
 427+ 'reviewedpages-leg' => 'Priefti Syte uflischte',
426428 'reviewedpages-list' => 'Die Syte zeigt Syte, wu uf em hegschte Nivo prieft sin.',
427429 'reviewedpages-none' => 'Die Lischt isch läär.',
428430 'reviewedpages-lev-0' => 'Vum Fäldhieter gsäh',
429431 'reviewedpages-lev-1' => 'Prieft',
430432 'reviewedpages-lev-2' => 'Bsundersch glunge',
431433 'reviewedpages-all' => 'Vum Fäldhieter aagluegti Versione',
432 - 'reviewedpages-best' => 'leschti Version, wu am hegschte gwärtet woren isch',
 434+ 'reviewedpages-best' => 'am hegschte gwärteti Version',
433435 );
434436
435437 /** Hebrew (עברית)
@@ -518,14 +520,14 @@
519521 */
520522 $messages['ia'] = array(
521523 'reviewedpages' => 'Paginas revidite',
522 - 'reviewedpages-leg' => 'Listar paginas per plus alte nivello de revision',
523 - 'reviewedpages-list' => 'Iste pagina lista paginas que ha essite revidite (al maximo) al nivello specificate.',
 524+ 'reviewedpages-leg' => 'Listar paginas que ha essite revidite',
 525+ 'reviewedpages-list' => "Iste pagina contine paginas [[{{MediaWiki:Validationpage}}|revidite]] del quales le nivello de revision ''le plus alte attingite'' (de un version) es le nivello specificate. Un ligamine es date al version le plus recente de iste nivello.",
524526 'reviewedpages-none' => 'Il non ha paginas in iste lista',
525527 'reviewedpages-lev-0' => 'Mirate',
526528 'reviewedpages-lev-1' => 'Qualitate',
527529 'reviewedpages-lev-2' => 'Pristine',
528530 'reviewedpages-all' => 'versiones revidite',
529 - 'reviewedpages-best' => 'version principal',
 531+ 'reviewedpages-best' => 'le melior version',
530532 );
531533
532534 /** Indonesian (Bahasa Indonesia)
@@ -727,14 +729,14 @@
728730 */
729731 $messages['ml'] = array(
730732 'reviewedpages' => 'സംശോധനം നടന്ന താളുകള്‍',
731 - 'reviewedpages-leg' => 'സംശോധന തലങ്ങളുടെ ക്രമമനുസരിച്ചുള്ള താളുകളുടെ പട്ടിക',
 733+ 'reviewedpages-leg' => 'സംശോധനം ചെയ്യപ്പെട്ട താളുകളുടെ പട്ടിക',
732734 'reviewedpages-list' => 'താഴെ പ്രദര്‍ശിപ്പിച്ചിരിക്കുന്ന താളുകള്‍ ഒരു പ്രത്യേക തലത്തിലുള്ള (ഏറ്റവും കൂടുതൽ) സം‌ശോധനം പൂര്‍ത്തിയാക്കിയിരിക്കുന്നു.',
733735 'reviewedpages-none' => 'ഈ പട്ടികയില്‍ താളുകള്‍ ഒന്നും ഇല്ല',
734736 'reviewedpages-lev-0' => 'സൈറ്റഡ്',
735737 'reviewedpages-lev-1' => 'ഉന്നത നിലവാരം',
736738 'reviewedpages-lev-2' => 'തിരഞ്ഞെടുക്കപ്പെട്ടത്',
737739 'reviewedpages-all' => 'സംശോധനം ചെയ്ത പതിപ്പുകള്‍',
738 - 'reviewedpages-best' => 'മുഖ്യ പതിപ്പ്',
 740+ 'reviewedpages-best' => 'ഏറ്റവും നല്ല നാൾപ്പതിപ്പ്',
739741 );
740742
741743 /** Marathi (मराठी)
@@ -776,12 +778,13 @@
777779 );
778780
779781 /** Dutch (Nederlands)
 782+ * @author McDutchie
780783 * @author SPQRobin
781784 * @author Siebrand
782785 */
783786 $messages['nl'] = array(
784787 'reviewedpages' => "Gecontroleerde pagina's",
785 - 'reviewedpages-leg' => "Een lijst met pagina's met het hoogste controleniveau",
 788+ 'reviewedpages-leg' => "Lijst met pagina's die gecontroleerd zijn",
786789 'reviewedpages-list' => "De volgende pagina's zijn (op zijn hoogst) gecontroleerd tot het aangegeven niveau.",
787790 'reviewedpages-none' => 'Geen resultaten',
788791 'reviewedpages-lev-0' => 'Gecontroleerd',
@@ -813,14 +816,15 @@
814817 */
815818 $messages['no'] = array(
816819 'reviewedpages' => 'Anmeldte sider',
817 - 'reviewedpages-leg' => 'List opp sider etter høyeste vurderingsnivå',
818 - 'reviewedpages-list' => 'Denne siden lister opp sider som har blitt vurdert (på sitt høyeste) til det spesifiserte nivået.',
 820+ 'reviewedpages-leg' => 'List opp sider som har blitt revidert',
 821+ 'reviewedpages-list' => "Denne listen inneholder [[{{MediaWiki:Validationpage}}|reviderte]] sider som ''på det meste'' har hatt et revisjonsnivå på et oppgitt nivå.
 822+En lenke er oppgitt til den siste revisjonen med det nivået.",
819823 'reviewedpages-none' => 'Det er ingen sider i denne listen',
820824 'reviewedpages-lev-0' => 'Sjekket',
821825 'reviewedpages-lev-1' => 'Kvalitet',
822826 'reviewedpages-lev-2' => 'Utmerket',
823827 'reviewedpages-all' => 'anmeldte sideversjoner',
824 - 'reviewedpages-best' => 'primærversjon',
 828+ 'reviewedpages-best' => 'beste revisjon',
825829 );
826830
827831 /** Northern Sotho (Sesotho sa Leboa)
@@ -1057,6 +1061,7 @@
10581062 * @author Boivie
10591063 * @author Lejonel
10601064 * @author M.M.S.
 1065+ * @author McDutchie
10611066 * @author Najami
10621067 * @author Per
10631068 */
@@ -1069,7 +1074,7 @@
10701075 'reviewedpages-lev-1' => '{{int:revreview-lev-quality}}',
10711076 'reviewedpages-lev-2' => '{{int:revreview-lev-pristine}}',
10721077 'reviewedpages-all' => 'granskade versioner',
1073 - 'reviewedpages-best' => 'främsta version',
 1078+ 'reviewedpages-best' => 'bästa versionen',
10741079 );
10751080
10761081 /** Telugu (తెలుగు)
@@ -1165,8 +1170,9 @@
11661171 */
11671172 $messages['uk'] = array(
11681173 'reviewedpages' => 'Перевірені сторінки',
1169 - 'reviewedpages-leg' => 'Список сторінок з найвищим рівнем оцінки',
1170 - 'reviewedpages-list' => 'Список сторінок, що були перевірені і оцінені на зазначений рівень',
 1174+ 'reviewedpages-leg' => 'Список сторінок, що були рецензовані',
 1175+ 'reviewedpages-list' => "Цей список містить [[{{MediaWiki:Validationpage}}|рецензовані]] сторінки, чий ''найвищий досягнутий'' рівень рецензії (або версії) є зазначений рівень.
 1176+Посилання веде на останню версію цього рівня.",
11711177 'reviewedpages-none' => 'У цьому списку відсутні сторінки',
11721178 'reviewedpages-lev-0' => 'Переглянута',
11731179 'reviewedpages-lev-1' => 'Якісна',
Index: branches/wmf-deployment/extensions/FlaggedRevs_alpha/FlaggedRevs.sql
@@ -112,7 +112,7 @@
113113 fpc_select integer NOT NULL,
114114 -- Override the page?
115115 fpc_override bool NOT NULL,
116 - -- The protection level (Sysop, etc) for autoreview
 116+ -- The protection level (Sysop, etc) for autoreview/review
117117 fpc_level varbinary(60) NULL,
118118 -- Field for time-limited settings
119119 fpc_expiry varbinary(14) NOT NULL default 'infinity'
Index: branches/wmf-deployment/extensions/FlaggedRevs_alpha/specialpages/ReviewedPages_body.php
@@ -69,7 +69,10 @@
7070 $this->namespace, $this->hideRedirs );
7171 $num = $pager->getNumRows();
7272 if ( $num ) {
73 - $wgOut->addHTML( wfMsgExt( 'reviewedpages-list', array( 'parse' ), $num ) );
 73+ // Text to explain level select (if there are several levels)
 74+ if ( FlaggedRevs::qualityVersions() ) {
 75+ $wgOut->addHTML( wfMsgExt( 'reviewedpages-list', array( 'parse' ), $num ) );
 76+ }
7477 $wgOut->addHTML( $pager->getNavigationBar() );
7578 $wgOut->addHTML( $pager->getBody() );
7679 $wgOut->addHTML( $pager->getNavigationBar() );
@@ -93,13 +96,23 @@
9497 $wgLang->formatNum( $size ) ) . '</small>';
9598 }
9699
97 - $SVtitle = SpecialPage::getTitleFor( 'ReviewedVersions' );
98 - $list = $this->skin->makeKnownLinkObj( $SVtitle, wfMsgHtml( 'reviewedpages-all' ),
99 - 'page=' . $title->getPrefixedUrl() );
100 - $best = $this->skin->makeKnownLinkObj( $title, wfMsgHtml( 'reviewedpages-best' ),
101 - 'stableid=best' );
 100+ $list = $this->skin->makeKnownLinkObj(
 101+ SpecialPage::getTitleFor( 'ReviewedVersions' ),
 102+ wfMsgHtml( 'reviewedpages-all' ),
 103+ 'page=' . $title->getPrefixedUrl()
 104+ );
102105
103 - return "<li>$link $stxt ($list) [$best]</li>";
 106+ $best = '';
 107+ if ( FlaggedRevs::qualityVersions() ) {
 108+ $best = $this->skin->makeKnownLinkObj(
 109+ $title,
 110+ wfMsgHtml( 'reviewedpages-best' ),
 111+ 'stableid=best'
 112+ );
 113+ $best = " [$best]";
 114+ }
 115+
 116+ return "<li>$link $stxt ($list)$best</li>";
104117 }
105118 }
106119
Index: branches/wmf-deployment/extensions/FlaggedRevs_alpha/FlaggedRevs.hooks.php
@@ -24,7 +24,9 @@
2525 if ( $wgUseTagFilter && ChangeTags::listDefinedTags() ) {
2626 $list['ProblemChanges'] = $wgSpecialPages['ProblemChanges'] = 'ProblemChanges';
2727 }
28 - $list['ReviewedPages'] = $wgSpecialPages['ReviewedPages'] = 'ReviewedPages';
 28+ if( !FlaggedRevs::stableOnlyIfConfigured() ) {
 29+ $list['ReviewedPages'] = $wgSpecialPages['ReviewedPages'] = 'ReviewedPages';
 30+ }
2931 $list['QualityOversight'] = $wgSpecialPages['QualityOversight'] = 'QualityOversight';
3032 $list['ValidationStatistics'] = $wgSpecialPages['ValidationStatistics'] = 'ValidationStatistics';
3133 if ( !$wgFlaggedRevsOverride ) {
@@ -806,8 +808,8 @@
807809 $result = false;
808810 return false;
809811 }
810 - # Enforce autoreview restrictions
811 - } else if( $action === 'autoreview' ) {
 812+ # Enforce autoreview/review restrictions
 813+ } else if( $action === 'autoreview' || $action === 'review' ) {
812814 # Get autoreview restriction settings...
813815 $config = FlaggedRevs::getPageVisibilitySettings( $title, true );
814816 # Convert Sysop -> protect
Index: branches/wmf-deployment/extensions/FlaggedRevs_alpha/FlaggedArticleView.php
@@ -1005,85 +1005,90 @@
10061006 * SkinTemplateTabs, to inlude flagged revs UI elements
10071007 */
10081008 public function setViewTabs( $skin, &$views ) {
1009 - global $wgRequest, $wgUser;
 1009+ global $wgRequest;
10101010 $this->load();
10111011 // Get the actual content page
10121012 $title = $this->article->getTitle()->getSubjectPage();
10131013 $fa = FlaggedArticle::getTitleInstance( $title );
1014 -
 1014+ // Get the type of action requested
10151015 $action = $wgRequest->getVal( 'action', 'view' );
10161016 if ( !$fa->isReviewable() ) {
10171017 return true; // Not a reviewable page or the UI is hidden
10181018 }
 1019+ // XXX: shouldn't the session slave position check handle this?
10191020 $flags = ( $action == 'rollback' ) ? FR_MASTER : 0;
10201021 $srev = $fa->getStableRev( $flags );
10211022 if ( !$srev ) {
10221023 return true; // No stable revision exists
10231024 }
10241025 $synced = FlaggedRevs::stableVersionIsSynced( $srev, $fa );
1025 - // Set draft tab as needed...
1026 - if ( !$skin->mTitle->isTalkPage() && !$synced ) {
 1026+ $pendingEdits = !$synced && $fa->isStableShownByDefault();
 1027+ // Set the edit tab names as needed...
 1028+ if ( !$skin->mTitle->isTalkPage() && $pendingEdits ) {
10271029 if ( isset( $views['edit'] ) ) {
1028 - if ( $fa->isStableShownByDefault() ) {
1029 - $views['edit']['text'] = wfMsg( 'revreview-edit' );
1030 - }
1031 - if ( $this->pageOverride() ) {
1032 - $views['edit']['href'] = $title->getLocalUrl( 'action=edit' );
1033 - }
 1030+ $views['edit']['text'] = wfMsg( 'revreview-edit' );
10341031 }
10351032 if ( isset( $views['viewsource'] ) ) {
1036 - if ( $fa->isStableShownByDefault() ) {
1037 - $views['viewsource']['text'] = wfMsg( 'revreview-source' );
1038 - }
1039 - if ( $this->pageOverride() ) {
1040 - $views['viewsource']['href'] = $title->getLocalUrl( 'action=edit' );
1041 - }
 1033+ $views['viewsource']['text'] = wfMsg( 'revreview-source' );
10421034 }
10431035 }
10441036 if ( !FlaggedRevs::versionTabsShown() || $synced ) {
1045 - // Exit, since either the stable/draft tabs should not be shown
 1037+ // Exit, since either the draft tab should not be shown
10461038 // or the page is already the most current revision
10471039 return true;
10481040 }
10491041 $tabs = array(
1050 - 'stable' => array(
1051 - 'text' => wfMsg( 'revreview-stable' ), // unused
1052 - 'href' => $title->getLocalUrl( 'stable=1' ),
 1042+ 'stable' => array( // view stable
 1043+ 'text' => wfMsg( 'revreview-stable' ), // unused
 1044+ 'href' => $title->getLocalUrl( 'stable=1' ),
10531045 'class' => ''
10541046 ),
1055 - 'current' => array(
1056 - 'text' => wfMsg( 'revreview-current' ),
1057 - 'href' => $title->getLocalUrl( 'stable=0&redirect=no' ),
 1047+ 'draft' => array( // view draft
 1048+ 'text' => wfMsg( 'revreview-current' ),
 1049+ 'href' => $title->getLocalUrl( 'stable=0&redirect=no' ),
10581050 'class' => ''
10591051 ),
10601052 );
10611053 if ( $this->pageOverride() || $wgRequest->getVal( 'stableid' ) ) {
1062 - // We are looking a the stable version
 1054+ // We are looking a the stable version or an old reviewed one
10631055 $tabs['stable']['class'] = 'selected';
1064 - } elseif (
1065 - ( self::isViewAction( $action ) || $action == 'edit' ) &&
1066 - !$skin->mTitle->isTalkPage()
1067 - ) {
1068 - // We are looking at the current revision or in edit mode
1069 - $tabs['current']['class'] = 'selected';
 1056+ } elseif ( self::isViewAction( $action ) && !$skin->mTitle->isTalkPage() ) {
 1057+ // We are looking at a draft revision
 1058+ $tabs['draft']['class'] = 'selected';
10701059 }
10711060 $first = true;
10721061 $newViews = array();
 1062+ // Rebuild tabs array. Deals with Monobook vs Vector differences.
10731063 foreach ( $views as $tabAction => $data ) {
1074 - // Very first tab (page link)
 1064+ // The first tab ('page' or 'view')...
10751065 if ( $first ) {
1076 - if ( $synced ) {
1077 - // Use existing first tabs when synced
1078 - $newViews[$tabAction] = $data;
 1066+ $first = false;
 1067+ // 'view' tab? In this case, the "page"/"discussion" tabs are not
 1068+ // part of $views. Also, both the page/talk page have a 'view' tab.
 1069+ if( $tabAction == 'view' ) {
 1070+ if( $skin->mTitle->isTalkPage() ) {
 1071+ // 'view' for talk page; leave it alone
 1072+ $newViews[$tabAction] = $data;
 1073+ } else {
 1074+ // 'view' for content page; make it go to the stable version
 1075+ $newViews[$tabAction]['text'] = $data['text']; // keep tab name
 1076+ $newViews[$tabAction]['href'] = $tabs['stable']['href'];
 1077+ $newViews[$tabAction]['class'] = $tabs['stable']['class'];
 1078+ }
 1079+ // 'page' tab? Make it go to the stable version...
10791080 } else {
1080 - // Use split current and stable tabs when not synced
10811081 $newViews[$tabAction]['text'] = $data['text']; // keep tab name
10821082 $newViews[$tabAction]['href'] = $tabs['stable']['href'];
1083 - $newViews[$tabAction]['class'] = $tabs['stable']['class'];
1084 - $newViews['current'] = $tabs['current'];
 1083+ $newViews[$tabAction]['class'] = $data['class']; // keep tab class
10851084 }
1086 - $first = false;
 1085+ // All other tabs...
10871086 } else {
 1087+ // Add 'draft' tab to content page to the left of 'edit'...
 1088+ if( $tabAction == 'edit' || $tabAction == 'viewsource' ) {
 1089+ if( !$skin->mTitle->isTalkPage() ) {
 1090+ $newViews['current'] = $tabs['draft'];
 1091+ }
 1092+ }
10881093 $newViews[$tabAction] = $data;
10891094 }
10901095 }
Property changes on: branches/wmf-deployment/extensions/FlaggedRevs_alpha
___________________________________________________________________
Name: svn:mergeinfo
10911096 - /branches/REL1_15/phase3/extensions/FlaggedRevs_alpha:51646
/trunk/extensions/FlaggedRevs:63266-63290
/trunk/extensions/FlaggedRevs_alpha:56207,56209,56296,56333,56355
/trunk/phase3/extensions/FlaggedRevs_alpha:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57541,57916,58151,58219,58633,58816
10921097 + /branches/REL1_15/phase3/extensions/FlaggedRevs_alpha:51646
/trunk/extensions/FlaggedRevs:63266-63443
/trunk/extensions/FlaggedRevs_alpha:56207,56209,56296,56333,56355
/trunk/phase3/extensions/FlaggedRevs_alpha:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57541,57916,58151,58219,58633,58816

Follow-up revisions

RevisionCommit summaryAuthorDate
r63446Bump and rebuild for r63444 (oops).tparscal00:20, 9 March 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r63349Removed link from right-unreviewedpages, doesn't format at Special:GlobalGrou...aaron22:51, 6 March 2010
r63386Special page name clarity tweaksaaron12:22, 8 March 2010

Status & tagging log