From 1a35e1c3b7f5de2ae2d6be296d397d22f102bd95 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Tue, 5 Jun 2007 02:39:18 +0000 Subject: [PATCH] * (bug 9886) Provide clear example "stub link" in Special:Preferences; this is a much simpler, cleaner method than r22245, which was reverted --- RELEASE-NOTES | 1 + includes/SpecialPreferences.php | 4 ++-- languages/messages/MessagesEn.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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.', -- 2.20.1