Earlier: where can I define, in which namespaces usually - preselected - the searchengine should search. Can i define something like global seachinnamespaceArray?
Peter Blaise responds: This is a FAQ - can someone direct us to where it is at, or add it to, http://www,mediawiki.org/ ?
Is there a way to change the current, contemporaneous default for ALL subsequent visitors, including registered and unregistered visitors?
There are many places to define search behavior.
Someone else kindly offered in our archives a default that I now use that includes everything for NEWLY registering users who register AFTER these lines are inserted in LocalSettings.php - all previously registered users must change their own preferences - this, by the way, has the ability to set almost ALL subsequent newly registrating user defaults (I haven't found a way to preselect searching in the namespace "NS_LIST_REDIRECTS"!):
Add to LocalSettings.php:
//SET USER PREFERENCE DEFAULTS:
# Question - how to set default search to include "List redirects" ?!? # NS_LIST_REDIRECTS in following list causes blank wiki! # anyway, carry on ... # SEARCH: Choose the namespaces $myAdditionalNamespacesSearchDefault = array( NS_MAIN, NS_TALK, NS_USER, NS_USER_TALK, NS_PROJECT, NS_PROJECT_TALK, NS_IMAGE, NS_IMAGE_TALK, NS_MEDIAWIKI, NS_MEDIAWIKI_TALK, NS_TEMPLATE, NS_TEMPLATE_TALK, NS_HELP, NS_HELP_TALK, NS_CATEGORY, NS_CATEGORY_TALK ); foreach ($myAdditionalNamespacesSearchDefault as $value) { $wgNamespacesToBeSearchedDefault[$value] = true; }
// ## user preference defaults: // ## User Profile // $wgDefaultUserOptions['fancysig'] = 0 ; // $wgDefaultUserOptions['rememberpassword'] = 0 ; // Whether to remember the user's password between sessions. $wgDefaultUserOptions['rememberpassword'] = 1 ; // Whether to remember the user's password between sessions. // $wgDefaultUserOptions['enotifwatchlistpages'] = 0 ; // Only used if $wgEnotifWatchlist is set. $wgDefaultUserOptions['enotifwatchlistpages'] = 1 ; // Only used if $wgEnotifWatchlist is set. $wgDefaultUserOptions['enotifusertalkpages'] = 1 ; // Only used if $wgEnotifUserTalk is set. // $wgDefaultUserOptions['enotifminoredits'] = 0 ; // Only used if $wgEnotifWatchlist and $wgEnotifUserTalk are set. $wgDefaultUserOptions['enotifminoredits'] = 1 ; // Only used if $wgEnotifWatchlist and $wgEnotifUserTalk are set. // $wgDefaultUserOptions['enotifrevealaddr'] = 0 ; // Only used if $wgEnotifRevealEditorAddress and //either $wgEnotifWatchlist or $wgEnotifUserTalk are set. // ## Quickbar // $wgDefaultUserOptions['quickbar'] = 1 ; // Quickbar location (only applies if using Cologne Blue or // Classic skins). Options are: 0 - None, 1 - Fixed left, //2 - Fixed right, 3 - Floating left, 4 - Floating right. // ## Skin // $wgDefaultUserOptions['skin'] = $wgDefaultSkin ; // ## Math // $wgDefaultUserOptions['math'] = 1 ; // How to render in-line maths (contents of <math> // </math> tags). Only applies if $wgUseTeX is set. // Options are: 0 - Always render PNG, 1 - HTML if very // simple or else PNG, 2 - HTML if possible or else PNG, // 3 - Leave it as TeX (for text browsers), // 4 - Recommended for modern browsers, // 5 - MathML if possible (experimental) // ## Files // $wgDefaultUserOptions['imagesize'] = 2 ; // Size to limit images on description pages to. Values correspond to the entries in $wgImageLimits. By default, 2 is 800*600. // $wgDefaultUserOptions['thumbsize'] = 2 ; // Thumbnail size - Values Correspond to the entries in // $wgThumbLimits. By default, 2 is 180px. // ## Date and Time // $wgDefaultUserOptions['date'] = 0 ; // Date format. 0 = No preference. // $wgDefaultUserOptions['timecorrection'] = NULL ; // Timezone offset // ## Editing // $wgDefaultUserOptions['rows'] = 25 ; // Edit box size (rows) // $wgDefaultUserOptions['cols'] = 80 ; // Edit box size (columns) // $wgDefaultUserOptions['editsection'] = 0 ; // Enable section editing via [edit] links $wgDefaultUserOptions['editsection'] = 1 ; // Enable section editing via [edit] links // $wgDefaultUserOptions['editsectiononrightclick'] = 0 ; // Enable section editing by right clicking on section titles (JavaScript) $wgDefaultUserOptions['editsectiononrightclick'] = 1 ; // Enable section editing by right clicking on section titles (JavaScript) // $wgDefaultUserOptions['editondblclick'] = 0 ; // Edit pages on double click (JavaScript) $wgDefaultUserOptions['editondblclick'] = 1 ; // Edit pages on double click (JavaScript) // $wgDefaultUserOptions['editwidth'] = 0 ; // Edit box has full width // $wgDefaultUserOptions['showtoolbar'] = 1 ; // Show edit toolbar (requires javascript) // $wgDefaultUserOptions['previewonfirst'] = 0 ; // Show preview on first edit $wgDefaultUserOptions['previewonfirst'] = 1 ; // Show preview on first edit // $wgDefaultUserOptions['previewontop'] = 1 ; // Show preview before edit box // $wgDefaultUserOptions['minordefault'] = 0 ; // Mark all edits minor by default // $wgDefaultUserOptions['externaleditor'] = 0 ; // Use external editor by default // $wgDefaultUserOptions['externaldiff'] = 0 ; // Use external diff by default // $wgDefaultUserOptions['uselivepreview'] = 0 ; // Only used if $wgLivePreview is true. $wgDefaultUserOptions['uselivepreview'] = 1 ; // Only used if $wgLivePreview is true. // $wgDefaultUserOptions['forceeditsummary'] = 0 ; // Prompt user when entering a blank edit summary $wgDefaultUserOptions['forceeditsummary'] = 1 ; // Prompt user when entering a blank edit summary // ## Recent changes // $wgDefaultUserOptions['rclimit'] = 50 ; // Titles in recent changes // $wgDefaultUserOptions['hideminor'] = FALSE ; // Hide minor edits in recent changes // $wgDefaultUserOptions['shownumberswatching'] = ? ; // Show the number users, who are watching this page (on recent changes, watch list and artice pages). Only used if $wgRCShowWatchingUsers is set. // $wgDefaultUserOptions['usenewrc'] = FALSE ; // Enhanced recent changes - javascript collapsable tree $wgDefaultUserOptions['usenewrc'] = TRUE ; // Enhanced recent changes - javascript collapsable tree // ## Watchlist // $wgDefaultUserOptions['watchlistdays'] = 3 ; // Number of days to show in watchlist $wgDefaultUserOptions['watchlistdays'] = 30 ; // Number of days to show in watchlist // $wgDefaultUserOptions['extendwatchlist'] = 0 ; // Expand watchlist to show all applicable changes $wgDefaultUserOptions['extendwatchlist'] = 1 ; // Expand watchlist to show all applicable changes // $wgDefaultUserOptions['wllimit'] = 250 ; // Number of edits to show in expanded watchlist (if'extendwatchlist'== 1) // $wgDefaultUserOptions['watchlisthideown'] = 0 ; // Hide the user's own edits from the watchlist // $wgDefaultUserOptions['watchlisthidebots'] = 0 ; // Hide bot edits from the watchlist // $wgDefaultUserOptions['watchlisthideminor'] = 0 ; // Hide minor edits from the watchlist // $wgDefaultUserOptions['watchcreations'] = 0 ; // Add pages the user creates to their watchlist $wgDefaultUserOptions['watchcreations'] = 1 ; // Add pages the user creates to their watchlist // $wgDefaultUserOptions['watchdefault'] = 0 ; // Add pages the user edits to their watchlist $wgDefaultUserOptions['watchdefault'] = 1 ; // Add pages the user edits to their watchlist // $wgDefaultUserOptions['watchmoves'] = 0 ; // Add pages the user moves to their watchlist $wgDefaultUserOptions['watchmoves'] = 1 ; // Add pages the user moves to their watchlist // $wgDefaultUserOptions['watchdeletion'] = 0 ; // Add pages the user deletes to their watchlist $wgDefaultUserOptions['watchdeletion'] = 1 ; // Add pages the user deletes to their watchlist // ## Search // $wgDefaultUserOptions['searchlimit'] = 20 ; // Hits per page $wgDefaultUserOptions['searchlimit'] = 200 ; // Hits per page // $wgDefaultUserOptions['contextlines'] = 5 ; // Lines per hit $wgDefaultUserOptions['contextlines'] = 50 ; // Lines per hit // $wgDefaultUserOptions['contextchars'] = 50 ; // Context per line $wgDefaultUserOptions['contextchars'] = 500 ; // Context per line // ## Misc // $wgDefaultUserOptions['stubthreshold'] = 0 ; // Threshold for stub display // $wgDefaultUserOptions['underline'] = 2 ; // Whether to underline links. Options are: 0 - never, 1 - always, 2 - browser default $wgDefaultUserOptions['underline'] = 1 ; // Whether to underline links. Options are: 0 - never, 1 - always, 2 - browser default // $wgDefaultUserOptions['highlightbroken'] = 1 ; // Format broken links as red-underlined links (alternative: with a questionmark as the link, like this?). // $wgDefaultUserOptions['justify'] = 0 ; // Justify paragraphs // $wgDefaultUserOptions['numberheadings'] = 0 ; // Option "Auto-numbering Headings", 1 turns on the numbering of all headings within articles // $wgDefaultUserOptions['showtoc'] = 1 ; // Boolean. 1 is show the TOC, 0 is hide it. $wgDefaultUserOptions['showtoc'] = 0 ; // Boolean. 1 is show the TOC, 0 is hide it. // $wgDefaultUserOptions['nocache'] = 0 ; // Disable page caching // $wgDefaultUserOptions['showjumplinks'] = 1 ; // Enable "jump to" accessibility links // $wgDefaultUserOptions['diffonly'] = 0 ; // Don't show page content below diffs
Peter
I am not sure it addresses the issue you describe but we have manually set user preferences for both new and existing users using a SQL REPLACE() statement combined with LocalSettings defaults. This in effect brings every user to the same settings.
Just use an UPDATE... REPLACE SQL query to bring all existing users to the same settings.
Paul
On 10/25/07 8:36 AM, "Monahon, Peter B." Peter.Monahon@USPTO.GOV wrote:
Earlier: where can I define, in which namespaces usually - preselected - the searchengine should search. Can i define something like global seachinnamespaceArray?
Peter Blaise responds: This is a FAQ - can someone direct us to where it is at, or add it to, http://www,mediawiki.org/ ?
Is there a way to change the current, contemporaneous default for ALL subsequent visitors, including registered and unregistered visitors?
There are many places to define search behavior.
Someone else kindly offered in our archives a default that I now use that includes everything for NEWLY registering users who register AFTER these lines are inserted in LocalSettings.php - all previously registered users must change their own preferences - this, by the way, has the ability to set almost ALL subsequent newly registrating user defaults (I haven't found a way to preselect searching in the namespace "NS_LIST_REDIRECTS"!):
Add to LocalSettings.php:
//SET USER PREFERENCE DEFAULTS:
# Question - how to set default search to include "List redirects" ?!? # NS_LIST_REDIRECTS in following list causes blank wiki! # anyway, carry on ... # SEARCH: Choose the namespaces $myAdditionalNamespacesSearchDefault = array( NS_MAIN, NS_TALK, NS_USER, NS_USER_TALK, NS_PROJECT, NS_PROJECT_TALK, NS_IMAGE, NS_IMAGE_TALK, NS_MEDIAWIKI, NS_MEDIAWIKI_TALK, NS_TEMPLATE, NS_TEMPLATE_TALK, NS_HELP, NS_HELP_TALK, NS_CATEGORY, NS_CATEGORY_TALK ); foreach ($myAdditionalNamespacesSearchDefault as $value) { $wgNamespacesToBeSearchedDefault[$value] = true; }
// ## user preference defaults: // ## User Profile // $wgDefaultUserOptions['fancysig'] = 0 ; // $wgDefaultUserOptions['rememberpassword'] = 0 ; // Whether to remember the user's password between sessions. $wgDefaultUserOptions['rememberpassword'] = 1 ; // Whether to remember the user's password between sessions. // $wgDefaultUserOptions['enotifwatchlistpages'] = 0 ; // Only used if $wgEnotifWatchlist is set. $wgDefaultUserOptions['enotifwatchlistpages'] = 1 ; // Only used if $wgEnotifWatchlist is set. $wgDefaultUserOptions['enotifusertalkpages'] = 1 ; // Only used if $wgEnotifUserTalk is set. // $wgDefaultUserOptions['enotifminoredits'] = 0 ; // Only used if $wgEnotifWatchlist and $wgEnotifUserTalk are set. $wgDefaultUserOptions['enotifminoredits'] = 1 ; // Only used if $wgEnotifWatchlist and $wgEnotifUserTalk are set. // $wgDefaultUserOptions['enotifrevealaddr'] = 0 ; // Only used if $wgEnotifRevealEditorAddress and //either $wgEnotifWatchlist or $wgEnotifUserTalk are set. // ## Quickbar // $wgDefaultUserOptions['quickbar'] = 1 ; // Quickbar location (only applies if using Cologne Blue or // Classic skins). Options are: 0 - None, 1 - Fixed left, //2 - Fixed right, 3 - Floating left, 4 - Floating right. // ## Skin // $wgDefaultUserOptions['skin'] = $wgDefaultSkin ; // ## Math // $wgDefaultUserOptions['math'] = 1 ; // How to render in-line maths (contents of <math> // </math> tags). Only applies if $wgUseTeX is set. // Options are: 0 - Always render PNG, 1 - HTML if very // simple or else PNG, 2 - HTML if possible or else PNG, // 3 - Leave it as TeX (for text browsers), // 4 - Recommended for modern browsers, // 5 - MathML if possible (experimental) // ## Files // $wgDefaultUserOptions['imagesize'] = 2 ; // Size to limit images on description pages to. Values correspond to the entries in $wgImageLimits. By default, 2 is 800*600. // $wgDefaultUserOptions['thumbsize'] = 2 ; // Thumbnail size - Values Correspond to the entries in // $wgThumbLimits. By default, 2 is 180px. // ## Date and Time // $wgDefaultUserOptions['date'] = 0 ; // Date format. 0 = No preference. // $wgDefaultUserOptions['timecorrection'] = NULL ; // Timezone offset // ## Editing // $wgDefaultUserOptions['rows'] = 25 ; // Edit box size (rows) // $wgDefaultUserOptions['cols'] = 80 ; // Edit box size (columns) // $wgDefaultUserOptions['editsection'] = 0 ; // Enable section editing via [edit] links $wgDefaultUserOptions['editsection'] = 1 ; // Enable section editing via [edit] links // $wgDefaultUserOptions['editsectiononrightclick'] = 0 ; // Enable section editing by right clicking on section titles (JavaScript) $wgDefaultUserOptions['editsectiononrightclick'] = 1 ; // Enable section editing by right clicking on section titles (JavaScript) // $wgDefaultUserOptions['editondblclick'] = 0 ; // Edit pages on double click (JavaScript) $wgDefaultUserOptions['editondblclick'] = 1 ; // Edit pages on double click (JavaScript) // $wgDefaultUserOptions['editwidth'] = 0 ; // Edit box has full width // $wgDefaultUserOptions['showtoolbar'] = 1 ; // Show edit toolbar (requires javascript) // $wgDefaultUserOptions['previewonfirst'] = 0 ; // Show preview on first edit $wgDefaultUserOptions['previewonfirst'] = 1 ; // Show preview on first edit // $wgDefaultUserOptions['previewontop'] = 1 ; // Show preview before edit box // $wgDefaultUserOptions['minordefault'] = 0 ; // Mark all edits minor by default // $wgDefaultUserOptions['externaleditor'] = 0 ; // Use external editor by default // $wgDefaultUserOptions['externaldiff'] = 0 ; // Use external diff by default // $wgDefaultUserOptions['uselivepreview'] = 0 ; // Only used if $wgLivePreview is true. $wgDefaultUserOptions['uselivepreview'] = 1 ; // Only used if $wgLivePreview is true. // $wgDefaultUserOptions['forceeditsummary'] = 0 ; // Prompt user when entering a blank edit summary $wgDefaultUserOptions['forceeditsummary'] = 1 ; // Prompt user when entering a blank edit summary // ## Recent changes // $wgDefaultUserOptions['rclimit'] = 50 ; // Titles in recent changes // $wgDefaultUserOptions['hideminor'] = FALSE ; // Hide minor edits in recent changes // $wgDefaultUserOptions['shownumberswatching'] = ? ; // Show the number users, who are watching this page (on recent changes, watch list and artice pages). Only used if $wgRCShowWatchingUsers is set. // $wgDefaultUserOptions['usenewrc'] = FALSE ; // Enhanced recent changes - javascript collapsable tree $wgDefaultUserOptions['usenewrc'] = TRUE ; // Enhanced recent changes - javascript collapsable tree // ## Watchlist // $wgDefaultUserOptions['watchlistdays'] = 3 ; // Number of days to show in watchlist $wgDefaultUserOptions['watchlistdays'] = 30 ; // Number of days to show in watchlist // $wgDefaultUserOptions['extendwatchlist'] = 0 ; // Expand watchlist to show all applicable changes $wgDefaultUserOptions['extendwatchlist'] = 1 ; // Expand watchlist to show all applicable changes // $wgDefaultUserOptions['wllimit'] = 250 ; // Number of edits to show in expanded watchlist (if'extendwatchlist'== 1) // $wgDefaultUserOptions['watchlisthideown'] = 0 ; // Hide the user's own edits from the watchlist // $wgDefaultUserOptions['watchlisthidebots'] = 0 ; // Hide bot edits from the watchlist // $wgDefaultUserOptions['watchlisthideminor'] = 0 ; // Hide minor edits from the watchlist // $wgDefaultUserOptions['watchcreations'] = 0 ; // Add pages the user creates to their watchlist $wgDefaultUserOptions['watchcreations'] = 1 ; // Add pages the user creates to their watchlist // $wgDefaultUserOptions['watchdefault'] = 0 ; // Add pages the user edits to their watchlist $wgDefaultUserOptions['watchdefault'] = 1 ; // Add pages the user edits to their watchlist // $wgDefaultUserOptions['watchmoves'] = 0 ; // Add pages the user moves to their watchlist $wgDefaultUserOptions['watchmoves'] = 1 ; // Add pages the user moves to their watchlist // $wgDefaultUserOptions['watchdeletion'] = 0 ; // Add pages the user deletes to their watchlist $wgDefaultUserOptions['watchdeletion'] = 1 ; // Add pages the user deletes to their watchlist // ## Search // $wgDefaultUserOptions['searchlimit'] = 20 ; // Hits per page $wgDefaultUserOptions['searchlimit'] = 200 ; // Hits per page // $wgDefaultUserOptions['contextlines'] = 5 ; // Lines per hit $wgDefaultUserOptions['contextlines'] = 50 ; // Lines per hit // $wgDefaultUserOptions['contextchars'] = 50 ; // Context per line $wgDefaultUserOptions['contextchars'] = 500 ; // Context per line // ## Misc // $wgDefaultUserOptions['stubthreshold'] = 0 ; // Threshold for stub display // $wgDefaultUserOptions['underline'] = 2 ; // Whether to underline links. Options are: 0 - never, 1 - always, 2 - browser default $wgDefaultUserOptions['underline'] = 1 ; // Whether to underline links. Options are: 0 - never, 1 - always, 2 - browser default // $wgDefaultUserOptions['highlightbroken'] = 1 ; // Format broken links as red-underlined links (alternative: with a questionmark as the link, like this?). // $wgDefaultUserOptions['justify'] = 0 ; // Justify paragraphs // $wgDefaultUserOptions['numberheadings'] = 0 ; // Option "Auto-numbering Headings", 1 turns on the numbering of all headings within articles // $wgDefaultUserOptions['showtoc'] = 1 ; // Boolean. 1 is show the TOC, 0 is hide it. $wgDefaultUserOptions['showtoc'] = 0 ; // Boolean. 1 is show the TOC, 0 is hide it. // $wgDefaultUserOptions['nocache'] = 0 ; // Disable page caching // $wgDefaultUserOptions['showjumplinks'] = 1 ; // Enable "jump to" accessibility links // $wgDefaultUserOptions['diffonly'] = 0 ; // Don't show page content below diffs
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 25/10/2007, Paul Coghlan pcoghlan@usa.net wrote:
Peter
I am not sure it addresses the issue you describe but we have manually set user preferences for both new and existing users using a SQL REPLACE() statement combined with LocalSettings defaults. This in effect brings every user to the same settings.
Just use an UPDATE... REPLACE SQL query to bring all existing users to the same settings.
Also there is a maintenance/ script specifically for tweaking user preferences without the need for constructing potentially messy SQL by hand.
How do I simply switch off namespace specific searching all together? It seems totally unnecessary to me. Isn't tweaking the defaults is just a workaround for a broken feature?
Paul
On 10/25/07 8:36 AM, "Monahon, Peter B." Peter.Monahon@USPTO.GOV wrote:
Earlier: where can I define, in which namespaces usually - preselected - the searchengine should search. Can i define something like global seachinnamespaceArray?
Peter Blaise responds: This is a FAQ - can someone direct us to where it is at, or add it to, http://www,mediawiki.org/ ?
Is there a way to change the current, contemporaneous default for ALL subsequent visitors, including registered and unregistered visitors?
There are many places to define search behavior.
Someone else kindly offered in our archives a default that I now use that includes everything for NEWLY registering users who register AFTER these lines are inserted in LocalSettings.php - all previously registered users must change their own preferences - this, by the way, has the ability to set almost ALL subsequent newly registrating user defaults (I haven't found a way to preselect searching in the namespace "NS_LIST_REDIRECTS"!):
Add to LocalSettings.php:
//SET USER PREFERENCE DEFAULTS:
# Question - how to set default search to include "List redirects" ?!? # NS_LIST_REDIRECTS in following list causes blank wiki! # anyway, carry on ... # SEARCH: Choose the namespaces $myAdditionalNamespacesSearchDefault = array( NS_MAIN, NS_TALK, NS_USER, NS_USER_TALK, NS_PROJECT, NS_PROJECT_TALK, NS_IMAGE, NS_IMAGE_TALK, NS_MEDIAWIKI, NS_MEDIAWIKI_TALK, NS_TEMPLATE, NS_TEMPLATE_TALK, NS_HELP, NS_HELP_TALK, NS_CATEGORY, NS_CATEGORY_TALK ); foreach ($myAdditionalNamespacesSearchDefault as $value) { $wgNamespacesToBeSearchedDefault[$value] = true; }
// ## user preference defaults: // ## User Profile // $wgDefaultUserOptions['fancysig'] = 0 ; // $wgDefaultUserOptions['rememberpassword'] = 0 ; // Whether to remember the user's password between sessions. $wgDefaultUserOptions['rememberpassword'] = 1 ; // Whether to remember the user's password between sessions. // $wgDefaultUserOptions['enotifwatchlistpages'] = 0 ; // Only used if $wgEnotifWatchlist is set. $wgDefaultUserOptions['enotifwatchlistpages'] = 1 ; // Only used if $wgEnotifWatchlist is set. $wgDefaultUserOptions['enotifusertalkpages'] = 1 ; // Only used if $wgEnotifUserTalk is set. // $wgDefaultUserOptions['enotifminoredits'] = 0 ; // Only used if $wgEnotifWatchlist and $wgEnotifUserTalk are set. $wgDefaultUserOptions['enotifminoredits'] = 1 ; // Only used if $wgEnotifWatchlist and $wgEnotifUserTalk are set. // $wgDefaultUserOptions['enotifrevealaddr'] = 0 ; // Only used if $wgEnotifRevealEditorAddress and //either $wgEnotifWatchlist or $wgEnotifUserTalk are set. // ## Quickbar // $wgDefaultUserOptions['quickbar'] = 1 ; // Quickbar location (only applies if using Cologne Blue or // Classic skins). Options are: 0 - None, 1 - Fixed left, //2 - Fixed right, 3 - Floating left, 4 - Floating right. // ## Skin // $wgDefaultUserOptions['skin'] = $wgDefaultSkin ; // ## Math // $wgDefaultUserOptions['math'] = 1 ; // How to render in-line maths (contents of <math> // </math> tags). Only applies if $wgUseTeX is set. // Options are: 0 - Always render PNG, 1 - HTML if very // simple or else PNG, 2 - HTML if possible or else PNG, // 3 - Leave it as TeX (for text browsers), // 4 - Recommended for modern browsers, // 5 - MathML if possible (experimental) // ## Files // $wgDefaultUserOptions['imagesize'] = 2 ; // Size to limit images on description pages to. Values correspond to the entries in $wgImageLimits. By default, 2 is 800*600. // $wgDefaultUserOptions['thumbsize'] = 2 ; // Thumbnail size - Values Correspond to the entries in // $wgThumbLimits. By default, 2 is 180px. // ## Date and Time // $wgDefaultUserOptions['date'] = 0 ; // Date format. 0 = No preference. // $wgDefaultUserOptions['timecorrection'] = NULL ; // Timezone offset // ## Editing // $wgDefaultUserOptions['rows'] = 25 ; // Edit box size (rows) // $wgDefaultUserOptions['cols'] = 80 ; // Edit box size (columns) // $wgDefaultUserOptions['editsection'] = 0 ; // Enable section editing via [edit] links $wgDefaultUserOptions['editsection'] = 1 ; // Enable section editing via [edit] links // $wgDefaultUserOptions['editsectiononrightclick'] = 0 ; // Enable section editing by right clicking on section titles (JavaScript) $wgDefaultUserOptions['editsectiononrightclick'] = 1 ; // Enable section editing by right clicking on section titles (JavaScript) // $wgDefaultUserOptions['editondblclick'] = 0 ; // Edit pages on double click (JavaScript) $wgDefaultUserOptions['editondblclick'] = 1 ; // Edit pages on double click (JavaScript) // $wgDefaultUserOptions['editwidth'] = 0 ; // Edit box has full width // $wgDefaultUserOptions['showtoolbar'] = 1 ; // Show edit toolbar (requires javascript) // $wgDefaultUserOptions['previewonfirst'] = 0 ; // Show preview on first edit $wgDefaultUserOptions['previewonfirst'] = 1 ; // Show preview on first edit // $wgDefaultUserOptions['previewontop'] = 1 ; // Show preview before edit box // $wgDefaultUserOptions['minordefault'] = 0 ; // Mark all edits minor by default // $wgDefaultUserOptions['externaleditor'] = 0 ; // Use external editor by default // $wgDefaultUserOptions['externaldiff'] = 0 ; // Use external diff by default // $wgDefaultUserOptions['uselivepreview'] = 0 ; // Only used if $wgLivePreview is true. $wgDefaultUserOptions['uselivepreview'] = 1 ; // Only used if $wgLivePreview is true. // $wgDefaultUserOptions['forceeditsummary'] = 0 ; // Prompt user when entering a blank edit summary $wgDefaultUserOptions['forceeditsummary'] = 1 ; // Prompt user when entering a blank edit summary // ## Recent changes // $wgDefaultUserOptions['rclimit'] = 50 ; // Titles in recent changes // $wgDefaultUserOptions['hideminor'] = FALSE ; // Hide minor edits in recent changes // $wgDefaultUserOptions['shownumberswatching'] = ? ; // Show the number users, who are watching this page (on recent changes, watch list and artice pages). Only used if $wgRCShowWatchingUsers is set. // $wgDefaultUserOptions['usenewrc'] = FALSE ; // Enhanced recent changes - javascript collapsable tree $wgDefaultUserOptions['usenewrc'] = TRUE ; // Enhanced recent changes - javascript collapsable tree // ## Watchlist // $wgDefaultUserOptions['watchlistdays'] = 3 ; // Number of days to show in watchlist $wgDefaultUserOptions['watchlistdays'] = 30 ; // Number of days to show in watchlist // $wgDefaultUserOptions['extendwatchlist'] = 0 ; // Expand watchlist to show all applicable changes $wgDefaultUserOptions['extendwatchlist'] = 1 ; // Expand watchlist to show all applicable changes // $wgDefaultUserOptions['wllimit'] = 250 ; // Number of edits to show in expanded watchlist (if'extendwatchlist'== 1) // $wgDefaultUserOptions['watchlisthideown'] = 0 ; // Hide the user's own edits from the watchlist // $wgDefaultUserOptions['watchlisthidebots'] = 0 ; // Hide bot edits from the watchlist // $wgDefaultUserOptions['watchlisthideminor'] = 0 ; // Hide minor edits from the watchlist // $wgDefaultUserOptions['watchcreations'] = 0 ; // Add pages the user creates to their watchlist $wgDefaultUserOptions['watchcreations'] = 1 ; // Add pages the user creates to their watchlist // $wgDefaultUserOptions['watchdefault'] = 0 ; // Add pages the user edits to their watchlist $wgDefaultUserOptions['watchdefault'] = 1 ; // Add pages the user edits to their watchlist // $wgDefaultUserOptions['watchmoves'] = 0 ; // Add pages the user moves to their watchlist $wgDefaultUserOptions['watchmoves'] = 1 ; // Add pages the user moves to their watchlist // $wgDefaultUserOptions['watchdeletion'] = 0 ; // Add pages the user deletes to their watchlist $wgDefaultUserOptions['watchdeletion'] = 1 ; // Add pages the user deletes to their watchlist // ## Search // $wgDefaultUserOptions['searchlimit'] = 20 ; // Hits per page $wgDefaultUserOptions['searchlimit'] = 200 ; // Hits per page // $wgDefaultUserOptions['contextlines'] = 5 ; // Lines per hit $wgDefaultUserOptions['contextlines'] = 50 ; // Lines per hit // $wgDefaultUserOptions['contextchars'] = 50 ; // Context per line $wgDefaultUserOptions['contextchars'] = 500 ; // Context per line // ## Misc // $wgDefaultUserOptions['stubthreshold'] = 0 ; // Threshold for stub display // $wgDefaultUserOptions['underline'] = 2 ; // Whether to underline links. Options are: 0 - never, 1 - always, 2 - browser default $wgDefaultUserOptions['underline'] = 1 ; // Whether to underline links. Options are: 0 - never, 1 - always, 2 - browser default // $wgDefaultUserOptions['highlightbroken'] = 1 ; // Format broken links as red-underlined links (alternative: with a questionmark as the link, like this?). // $wgDefaultUserOptions['justify'] = 0 ; // Justify paragraphs // $wgDefaultUserOptions['numberheadings'] = 0 ; // Option "Auto-numbering Headings", 1 turns on the numbering of all headings within articles // $wgDefaultUserOptions['showtoc'] = 1 ; // Boolean. 1 is show the TOC, 0 is hide it. $wgDefaultUserOptions['showtoc'] = 0 ; // Boolean. 1 is show the TOC, 0 is hide it. // $wgDefaultUserOptions['nocache'] = 0 ; // Disable page caching // $wgDefaultUserOptions['showjumplinks'] = 1 ; // Enable "jump to" accessibility links // $wgDefaultUserOptions['diffonly'] = 0 ; // Don't show page content below diffs
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org