Paladox has uploaded a new change for review. https://gerrit.wikimedia.org/r/176381
Change subject: Update README.md ...................................................................... Update README.md * Update README.md Change-Id: Iaf4fa1db0faf7936985ddd733341396644120b5b --- M CollapsibleVector.i18n.php M README.md 2 files changed, 10 insertions(+), 10 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CollapsibleVector refs/changes/81/176381/1 diff --git a/CollapsibleVector.i18n.php b/CollapsibleVector.i18n.php index 5eb3bcd..a5e726d 100644 --- a/CollapsibleVector.i18n.php +++ b/CollapsibleVector.i18n.php @@ -15,7 +15,7 @@ function wfJsonI18nShim838dd91d281628a2( $cache, $code, &$cachedData ) { $codeSequence = array_merge( array( $code ), $cachedData['fallbackSequence'] ); foreach ( $codeSequence as $csCode ) { - $fileName = dirname( __FILE__ ) . "/./i18n/$csCode.json"; + $fileName = dirname( __FILE__ ) . "/i18n/$csCode.json"; if ( is_readable( $fileName ) ) { $data = FormatJson::decode( file_get_contents( $fileName ), true ); foreach ( array_keys( $data ) as $key ) { @@ -32,4 +32,4 @@ } $GLOBALS['wgHooks']['LocalisationCacheRecache'][] = 'wfJsonI18nShim838dd91d281628a2'; -} +} \ No newline at end of file diff --git a/README.md b/README.md index f4dc4ed..1120af1 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,20 @@ CollapsibleVector ========= -# Vector provides enhancements to the Vector skin +Vector provides enhancements to the Vector skin -# This extension requires MediaWiki 1.24+. +This extension requires MediaWiki 1.24+. -# Example LocalSettings.php additions +Example LocalSettings.php additions require_once( "$IP/extensions/CollapsibleVector/CollapsibleVector.php" ); -# Before configuring this extension, see CollapsibleVector.php and become familiar with the initial state and structure of the -# $wgVectorFeatures configuration variable. Essentially it's an array of arrays, keyed by feature name, each containing -# global and user keys with boolean values. "global" indicates that it should be turned on for everyone always, while -# user indicates that users should be allowed to turn it on or off in their user preferences. +Before configuring this extension, see CollapsibleVector.php and become familiar with the initial state and structure of the +$wgVectorFeatures configuration variable. Essentially it's an array of arrays, keyed by feature name, each containing +global and user keys with boolean values. "global" indicates that it should be turned on for everyone always, while +user indicates that users should be allowed to turn it on or off in their user preferences. -# To enable a preference by default but still allow users to disable it in preferences, use something like... +To enable a preference by default but still allow users to disable it in preferences, use something like... $wgDefaultUserOptions['vector-collapsiblenav'] = 1; -- To view, visit https://gerrit.wikimedia.org/r/176381 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iaf4fa1db0faf7936985ddd733341396644120b5b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CollapsibleVector Gerrit-Branch: master Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits