From: Rob Church Date: Tue, 5 Jun 2007 02:39:18 +0000 (+0000) Subject: * (bug 9886) Provide clear example "stub link" in Special:Preferences; this is a... X-Git-Tag: 1.31.0-rc.0~52672 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=1a35e1c3b7f5de2ae2d6be296d397d22f102bd95;p=lhc%2Fweb%2Fwiklou.git * (bug 9886) Provide clear example "stub link" in Special:Preferences; this is a much simpler, cleaner method than r22245, which was reverted --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 40b3ab38f8..26a32fadd7 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index e9c5418f95..b4ae86dd7c 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -949,8 +949,8 @@ class PreferencesForm { # Misc # $wgOut->addHTML('
' . wfMsg('prefs-misc') . ''); - $wgOut->addHTML( wfInputLabel( wfMsg( 'stubthreshold' ), - 'wpStubs', 'wpStubs', 6, $this->mStubs ) ); + $wgOut->addHtml( ' ' ); + $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' ) ); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 250dff452c..463c189b97 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -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 stub link formatting:', 'recentchangesdays' => 'Days to show in recent changes:', 'recentchangescount' => 'Number of edits to show in recent changes:', 'savedprefs' => 'Your preferences have been saved.',