* (bug 9886) Provide clear example "stub link" in Special:Preferences; this is a...
authorRob Church <robchurch@users.mediawiki.org>
Tue, 5 Jun 2007 02:39:18 +0000 (02:39 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Tue, 5 Jun 2007 02:39:18 +0000 (02:39 +0000)
RELEASE-NOTES
includes/SpecialPreferences.php
languages/messages/MessagesEn.php

index 40b3ab3..26a32fa 100644 (file)
@@ -58,6 +58,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 10139) Introduce 'EditSectionLink' and 'EditSectionLinkForOther' hooks;
   see docs/hooks.txt for details
 * (bug 9769) Provide "watch this page" toggle on protection form
+* (bug 9886) Provide clear example "stub link" in Special:Preferences
 
 == Bugfixes since 1.10 ==
 
index e9c5418..b4ae86d 100644 (file)
@@ -949,8 +949,8 @@ class PreferencesForm {
                # Misc
                #
                $wgOut->addHTML('<fieldset><legend>' . wfMsg('prefs-misc') . '</legend>');
-               $wgOut->addHTML( wfInputLabel( wfMsg( 'stubthreshold' ),
-                       'wpStubs', 'wpStubs', 6, $this->mStubs ) );
+               $wgOut->addHtml( '<label for="wpStubs">' . wfMsg( 'stub-threshold' ) . '</label>&nbsp;' );
+               $wgOut->addHtml( Xml::input( 'wpStubs', 6, $this->mStubs, array( 'id' => 'wpStubs' ) ) );
                $msgUnderline = htmlspecialchars( wfMsg ( 'tog-underline' ) );
                $msgUnderlinenever = htmlspecialchars( wfMsg ( 'underline-never' ) );
                $msgUnderlinealways = htmlspecialchars( wfMsg ( 'underline-always' ) );
index 250dff4..463c189 100644 (file)
@@ -1264,7 +1264,7 @@ containing all of the search terms will appear in the result).",
 'resultsperpage' => 'Hits per page:',
 'contextlines' => 'Lines per hit:',
 'contextchars' => 'Context per line:',
-'stubthreshold' => 'Threshold for stub display:',
+'stub-threshold' => 'Threshold for <a href="#" class="stub">stub link</a> formatting:',
 'recentchangesdays' => 'Days to show in recent changes:',
 'recentchangescount' => 'Number of edits to show in recent changes:',
 'savedprefs'   => 'Your preferences have been saved.',