interface).
* Option to mark hooks as deprecated has been added.
* (bug 52811) Preference "Enable section editing via [edit] links" was removed.
+* (bug 52813) Preference "Show table of contents (for pages with more than
+ 3 headings)" was removed.
==== Removed classes ====
* FakeMemCachedClient (deprecated in 1.18)
'rows' => 25,
'showhiddencats' => 0,
'shownumberswatching' => 1,
- 'showtoc' => 1,
'showtoolbar' => 1,
'skin' => false,
'stubthreshold' => 0,
'label-raw' => $context->msg( 'stub-threshold' )->text(), // Raw HTML message. Yay?
);
- if ( $wgAllowUserCssPrefs ) {
- $defaultPreferences['showtoc'] = array(
- 'type' => 'toggle',
- 'section' => 'rendering/advancedrendering',
- 'label-message' => 'tog-showtoc',
- );
- }
$defaultPreferences['showhiddencats'] = array(
'type' => 'toggle',
'section' => 'rendering/advancedrendering',
if ( $options['justify'] ) {
$rules[] = "#article, #bodyContent, #mw_content { text-align: justify; }\n";
}
- if ( !$options['showtoc'] ) {
- $rules[] = "#toc { display: none; }\n";
- }
if ( $options['editfont'] !== 'default' ) {
// Double-check that $options['editfont'] consists of safe characters only
if ( preg_match( '/^[a-zA-Z0-9_, -]+$/', $options['editfont'] ) ) {
'tog-showtoolbar' => 'Show edit toolbar',
'tog-editondblclick' => 'Edit pages on double click',
'tog-editsectiononrightclick' => 'Enable section editing by right clicking on section titles',
-'tog-showtoc' => 'Show table of contents (for pages with more than 3 headings)',
'tog-rememberpassword' => 'Remember my login on this browser (for a maximum of $1 {{PLURAL:$1|day|days}})',
'tog-watchcreations' => 'Add pages I create and files I upload to my watchlist',
'tog-watchdefault' => 'Add pages and files I edit to my watchlist',
'tog-showtoolbar',
'tog-editondblclick',
'tog-editsectiononrightclick',
- 'tog-showtoc',
'tog-rememberpassword',
'tog-watchcreations',
'tog-watchdefault',