From 6341ae34b695fc3df1fb1d8b4034348acbcd7221 Mon Sep 17 00:00:00 2001 From: Danny B Date: Sun, 4 Jul 2010 11:39:32 +0000 Subject: [PATCH] * Fixing (sub)section names - they can't have the same name, because they are used as id's in HTML. --- includes/Preferences.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/includes/Preferences.php b/includes/Preferences.php index 87dc83d3cd..b8947c9c91 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -750,7 +750,7 @@ class Preferences { $defaultPreferences['rcdays'] = array( 'type' => 'float', 'label-message' => 'recentchangesdays', - 'section' => 'rc/display', + 'section' => 'rc/displayrc', 'min' => 1, 'max' => ceil( $wgRCMaxAge / ( 3600 * 24 ) ), 'help' => wfMsgExt( @@ -763,7 +763,7 @@ class Preferences { 'type' => 'int', 'label-message' => 'recentchangescount', 'help-message' => 'prefs-help-recentchangescount', - 'section' => 'rc/display', + 'section' => 'rc/displayrc', ); $defaultPreferences['usenewrc'] = array( 'type' => 'toggle', @@ -807,7 +807,7 @@ class Preferences { 'type' => 'float', 'min' => 0, 'max' => 7, - 'section' => 'watchlist/display', + 'section' => 'watchlist/displaywatchlist', 'help' => wfMsgHtml( 'prefs-watchlist-days-max' ), 'label-message' => 'prefs-watchlist-days', ); @@ -817,7 +817,7 @@ class Preferences { 'max' => 1000, 'label-message' => 'prefs-watchlist-edits', 'help' => wfMsgHtml( 'prefs-watchlist-edits-max' ), - 'section' => 'watchlist/display', + 'section' => 'watchlist/displaywatchlist', ); $defaultPreferences['extendwatchlist'] = array( 'type' => 'toggle', @@ -899,19 +899,19 @@ class Preferences { $defaultPreferences['searchlimit'] = array( 'type' => 'int', 'label-message' => 'resultsperpage', - 'section' => 'searchoptions/display', + 'section' => 'searchoptions/displaysearchoptions', 'min' => 0, ); $defaultPreferences['contextlines'] = array( 'type' => 'int', 'label-message' => 'contextlines', - 'section' => 'searchoptions/display', + 'section' => 'searchoptions/displaysearchoptions', 'min' => 0, ); $defaultPreferences['contextchars'] = array( 'type' => 'int', 'label-message' => 'contextchars', - 'section' => 'searchoptions/display', + 'section' => 'searchoptions/displaysearchoptions', 'min' => 0, ); @@ -920,7 +920,7 @@ class Preferences { $defaultPreferences['disablesuggest'] = array( 'type' => 'toggle', 'label-message' => 'mwsuggest-disable', - 'section' => 'searchoptions/display', + 'section' => 'searchoptions/displaysearchoptions', ); } @@ -929,7 +929,7 @@ class Preferences { $defaultPreferences['vector-simplesearch'] = array( 'type' => 'toggle', 'label-message' => 'vector-simplesearch-preference', - 'section' => 'searchoptions/display' + 'section' => 'searchoptions/displaysearchoptions' ); } -- 2.20.1