Revert r22245 and all its monster offspring...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 21 May 2007 18:45:31 +0000 (18:45 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 21 May 2007 18:45:31 +0000 (18:45 +0000)
Adding a class for the example is not only ugly, it's fragile -- customizations to the actual threshold will have no effect on the sample.
The sensible thing is to construct an actual bit of sample text using the actual classes -- a null link (<a href="#">) with appropriate class would show the effect nicely and be robust to customizations.

19 files changed:
RELEASE-NOTES
includes/DefaultSettings.php
includes/SpecialPreferences.php
languages/messages/MessagesDa.php
languages/messages/MessagesDe.php
languages/messages/MessagesEn.php
languages/messages/MessagesHe.php
languages/messages/MessagesId.php
languages/messages/MessagesKk_cn.php
languages/messages/MessagesKk_kz.php
languages/messages/MessagesKk_tr.php
languages/messages/MessagesZh_cn.php
languages/messages/MessagesZh_tw.php
languages/messages/MessagesZh_yue.php
skins/chick/main.css
skins/common/cologneblue.css
skins/common/nostalgia.css
skins/monobook/main.css
skins/simple/main.css

index aa4c5ac..a310310 100644 (file)
@@ -32,7 +32,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 9628) Show warnings about slave lag on Special:Contributions,
   Special:Watchlist
 * (bug 8818) Expose "wpDestFile" as parameter $1 to "uploaddisabledtext"
-* (bug 9886) Give a sample stub link in stub threshold label in preferences
   
 == Bugfixes since 1.10 ==
 
index 463e96f..a4ea590 100644 (file)
@@ -1125,7 +1125,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches don't keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '73';
+$wgStyleVersion = '72';
 
 
 # Server-side caching:
index b4ae86d..e9c5418 100644 (file)
@@ -949,8 +949,8 @@ class PreferencesForm {
                # Misc
                #
                $wgOut->addHTML('<fieldset><legend>' . wfMsg('prefs-misc') . '</legend>');
-               $wgOut->addHtml( '<label for="wpStubs">' . wfMsg( 'stub-threshold' ) . '</label>&nbsp;' );
-               $wgOut->addHtml( Xml::input( 'wpStubs', 6, $this->mStubs, array( 'id' => 'wpStubs' ) ) );
+               $wgOut->addHTML( wfInputLabel( wfMsg( 'stubthreshold' ),
+                       'wpStubs', 'wpStubs', 6, $this->mStubs ) );
                $msgUnderline = htmlspecialchars( wfMsg ( 'tog-underline' ) );
                $msgUnderlinenever = htmlspecialchars( wfMsg ( 'underline-never' ) );
                $msgUnderlinealways = htmlspecialchars( wfMsg ( 'underline-always' ) );
index 9c1babe..5430349 100644 (file)
@@ -858,7 +858,7 @@ Prøv en anden forespørgsel.',
 'resultsperpage'           => 'Resultater pr. side',
 'contextlines'             => 'Linjer pr. resultat',
 'contextchars'             => 'Tegn pr. linje i resultatet',
-'stub-threshold'           => 'Grænseværdi for <span class="mw-stub-example">stub link</span> formattering:',
+'stubthreshold'            => 'Grænse for visning af artikelstumper',
 'recentchangesdays'        => 'Antal dage, som listen „Sidste ændringer“ standardmæssigt skal omfatte:',
 'recentchangescount'       => 'Antallet af titler på siden "seneste ændringer"',
 'savedprefs'               => 'Dine indstillinger er blevet gemt.',
index e5c3fc0..fc842cc 100644 (file)
@@ -885,7 +885,7 @@ Wenn Sie sich mit dem Thema auskennen, können Sie selbst die Seite „[[$1]]“
 'resultsperpage'           => 'Treffer pro Seite:',
 'contextlines'             => 'Zeilen pro Treffer:',
 'contextchars'             => 'Zeichen pro Zeile:',
-'stub-threshold'           => 'Grenzwert zur Markierung der Links auf <span class="mw-stub-example">kurze Seiten <i>(stubs)</i></span> (in Byte):',
+'stubthreshold'            => 'Kleine Seiten markieren bis (Byte):',
 'recentchangesdays'        => 'Anzahl der Tage, die die Liste der „Letzten Änderungen“ standardmäßig umfassen soll:',
 'recentchangescount'       => 'Anzahl der Einträge in „Letzte Änderungen“ und „Neue Artikel“:',
 'savedprefs'               => 'Ihre Einstellungen wurden gespeichert.',
index c643424..6481858 100644 (file)
@@ -1254,7 +1254,7 @@ containing all of the search terms will appear in the result).",
 'resultsperpage' => 'Hits per page:',
 'contextlines' => 'Lines per hit:',
 'contextchars' => 'Context per line:',
-'stub-threshold' => 'Threshold for <span class="mw-stub-example">stub link</span> formatting:',
+'stubthreshold' => 'Threshold for stub display:',
 'recentchangesdays' => 'Days to show in recent changes:',
 'recentchangescount' => 'Number of edits to show in recent changes:',
 'savedprefs'   => 'Your preferences have been saved.',
index a561561..bab0420 100644 (file)
@@ -918,7 +918,7 @@ $messages = array(
 'resultsperpage'           => 'מספר תוצאות בעמוד',
 'contextlines'             => 'שורות לכל תוצאה',
 'contextchars'             => 'מספר תווי קונטקסט בשורה',
-'stub-threshold'           => 'סף לעיצוב <span class="mw-stub-example">קישורים לקצרמרים</span>:',
+'stubthreshold'            => 'סף להצגת דפים קצרים (קצרמרים)',
 'recentchangesdays'        => 'מספר הימים שיוצגו בדף השינויים האחרונים:',
 'recentchangescount'       => 'מספר העריכות שיוצגו בדף השינויים האחרונים:',
 'savedprefs'               => 'העדפותיך נשמרו.',
index e21fa0c..a3dbb68 100644 (file)
@@ -945,7 +945,7 @@ Pengurus lain akan dapat mengakses isi tersebunyi dan dapat membatalkan penghapu
 'resultsperpage'           => 'Hasil per halaman:',
 'contextlines'             => 'Baris ditampilkan per hasil:',
 'contextchars'             => 'Karakter untuk konteks per baris:',
-'stub-threshold'           => 'Ambang batas untuk <span class="mw-stub-example">pranala tulisan rintisan</span>:',
+'stubthreshold'            => 'Ambang batas tampilan rintisan:',
 'recentchangesdays'        => 'Jumlah hari yang ditampilkan di perubahan terbaru:',
 'recentchangescount'       => 'Jumlah suntingan yang ditampilkan di perubahan terbaru:',
 'savedprefs'               => 'Preferensi Anda telah disimpan',
index 5b83e3e..6a304fa 100644 (file)
@@ -1107,7 +1107,7 @@ $1',
 'resultsperpage'           => 'بەت سايىن نٵتيجە سانى:',
 'contextlines'             => 'نٵتيجە سايىن جول سانى:',
 'contextchars'             => 'جول سايىن ٵرٸپ سانى:',
-'stub-threshold'           => '<span class="mw-stub-example">بٸتەمە سٸلتەمەسٸن</span> پٸشٸمدەۋ تابالدىرىعى:',
+'stubthreshold'            => 'بٸتەمە كٶرستەتۋٸن انىقتاۋ تابالدىرىعى:',
 'recentchangesdays'        => 'جٷىقتاعى ٶزگەرٸستەردەگٸ كٶرسەتٸلەتٸن كٷندەر:',
 'recentchangescount'       => 'جۋىقتاعى ٶزگەرٸستەردەگٸ كٶرسەتٸلەتٸن تٷزەتۋلەر:',
 'savedprefs'               => 'باپتاۋلارىڭىز ساقتالدى.',
index 150772a..f01696a 100644 (file)
@@ -1099,7 +1099,7 @@ $1',
 'resultsperpage'           => 'Бет сайын нәтиже саны:',
 'contextlines'             => 'Нәтиже сайын жол саны:',
 'contextchars'             => 'Жол сайын әріп саны:',
-'stub-threshold'           => '<span class="mw-stub-example">Бітеме сілтемесін</span> пішімдеу табалдырығы:',
+'stubthreshold'            => 'Бітеме көрстетуін анықтау табалдырығы:',
 'recentchangesdays'        => 'Жүықтағы өзгерістердегі көрсетілетін күндер:',
 'recentchangescount'       => 'Жуықтағы өзгерістердегі көрсетілетін түзетулер:',
 'savedprefs'               => 'Баптауларыңыз сақталды.',
index d47f00a..30c68d1 100644 (file)
@@ -1100,7 +1100,7 @@ barlıq şart sözder kedesse körsetiledi) bolwı mümkin.",
 'resultsperpage'           => 'Bet saýın nätïje sanı:',
 'contextlines'             => 'Nätïje saýın jol sanı:',
 'contextchars'             => 'Jol saýın ärip sanı:',
-'stub-threshold'           => '<span class="mw-stub-example">Biteme siltemesin</span> pişimdew tabaldırığı:',
+'stubthreshold'            => 'Biteme körstetwin anıqtaw tabaldırığı:',
 'recentchangesdays'        => 'Jüıqtağı özgeristerdegi körsetiletin künder:',
 'recentchangescount'       => 'Jwıqtağı özgeristerdegi körsetiletin tüzetwler:',
 'savedprefs'               => 'Baptawlarıñız saqtaldı.',
index 5372cc1..ef63c2a 100644 (file)
@@ -791,7 +791,7 @@ MySQL返回错误“$3: $4”。',
 'resultsperpage'           => '每页显示链接数',
 'contextlines'             => '每链显示行数:',
 'contextchars'             => '每行显示字数:',
-'stub-threshold'           => '<span class="mw-stub-example">小作品链接</span>格式门限值:',
+'stubthreshold'            => '小作品显示门限值',
 'recentchangesdays'        => '最近更改中的顯示日數:',
 'recentchangescount'       => '最近更改中的編輯數:',
 'savedprefs'               => '您的个人参数设置已经保存。',
index 108b2aa..89aa4e9 100644 (file)
@@ -765,7 +765,7 @@ MySQL返回錯誤「$3: $4」。',
 'resultsperpage'           => '每頁顯示連結數',
 'contextlines'             => '每連結行數:',
 'contextchars'             => '每行字數:',
-'stub-threshold'           => '<span class="mw-stub-example">短文章連結</span>格式基本限制:',
+'stubthreshold'            => '短文章顯示基本限制',
 'recentchangesdays'        => '最近更改中的顯示日數:',
 'recentchangescount'       => '最近更改中的編輯數:',
 'savedprefs'               => '您的個人參數設置已經保存。',
index bd5ce0b..4e9d0d8 100644 (file)
@@ -882,7 +882,7 @@ MySQL 嘅錯誤回應 "$3: $4"',
 'resultsperpage'       => '每頁顯示嘅擊中數:',
 'contextlines'         => '每一擊顯示嘅行數:',
 'contextchars'         => '每一行嘅字數:',
-'stub-threshold'       => '<span class="mw-stub-example">楔連結</span>格式門檻:',
+'stubthreshold'        => '楔位文章門檻:',
 'recentchangesdays'    => '最近更改中嘅顯示日數:',
 'recentchangescount'   => '最近更改中嘅編輯數:',
 'savedprefs'           => '你嘅喜好設定已經儲存。',
index 3b78aad..997dd51 100644 (file)
@@ -16,10 +16,7 @@ body {
 a { color: #002bb8; }
 a:visited { color: #5a3696; }
 a:active { color: #ffa500; }
-a.stub,
-span.mw-stub-example {
-       color: #772233;
-}
+a.stub { color: #772233; }
 a.new,
 #p-personal a.new { color:#ba0000; }
 a.new:visited,
index b367dba..5b6e5bc 100644 (file)
@@ -89,7 +89,7 @@ a { color: #223366; }
 a.external { color: #336644; }
 a:visited { color: #8D0749; }
 a.printable { text-decoration: underline; }
-a.stub, span.mw-stub-example, #quickbar a.stub { color:#772233; text-decoration:none; }
+a.stub, #quickbar a.stub { color:#772233; text-decoration:none; }
 a.new, #quickbar a.new { color: #CC2200; }
 h2, h3, h4, h5, h6 { margin-bottom: 0; }
 small { font-size: 75%; }
index 9c98294..c9b36a7 100644 (file)
@@ -8,7 +8,7 @@ body {
 }
 a.interwiki, a.external { color: #3366BB; }
 a.printable { text-decoration: underline; }
-a.stub, span.mw-stub-example { color:#772233; text-decoration:none; }
+a.stub { color:#772233; text-decoration:none; }
 h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0; }
 h2, h3, h4, h5, h6 { margin-bottom: 0; }
 textarea { overflow: auto; }
index 1c3ef37..4b9dd35 100644 (file)
@@ -92,8 +92,7 @@ a:active {
 a:hover {
        text-decoration: underline;
 }
-a.stub,
-span.mw-stub-example {
+a.stub {
        color: #772233;
 }
 a.new, #p-personal a.new {
index 7e738e3..ea682ec 100644 (file)
@@ -347,10 +347,7 @@ div.tleft {
     border-width: 0.5em 1.4em 0.8em 0;
 }
 
-a.stub,
-span.mw-stub-example {
-       color: #772233;
-}
+a.stub { color: #772233; }
 a.new,
 #p-personal a.new {
        text-decoration: line-through;