Index: trunk/extensions/JSBreadCrumbs/JSBreadCrumbs.php |
— | — | @@ -18,6 +18,7 @@ |
19 | 19 | |
20 | 20 | $wgJSBreadCrumbsMaxCrumbs = 5; |
21 | 21 | $wgJSBreadCrumbsSeparator = "»"; |
| 22 | +$wgJSBreadCrumbsCookiePath = "/"; |
22 | 23 | |
23 | 24 | // Sets Credits |
24 | 25 | $wgExtensionCredits['other'][] = array( |
Index: trunk/extensions/JSBreadCrumbs/js/BreadCrumbs.js |
— | — | @@ -7,6 +7,9 @@ |
8 | 8 | if ( typeof wgJSBreadCrumbsSeparator == "undefined" ) { |
9 | 9 | wgJSBreadCrumbsSeparator = "»"; |
10 | 10 | } |
| 11 | + if ( typeof wgJSBreadCrumbsCookiePath == "undefined" ) { |
| 12 | + wgJSBreadCrumbsCookiePath = "/"; |
| 13 | + } |
11 | 14 | |
12 | 15 | var titleState = ( $j.cookie( 'mwext-bc-title' ) || "" ).split( wgJSBreadCrumbsSeparator ); |
13 | 16 | var urlState = ( $j.cookie( 'mwext-bc-url' ) || "" ).split( wgJSBreadCrumbsSeparator ); |
Index: trunk/extensions/JSBreadCrumbs/JSBreadCrumbs.hooks.php |
— | — | @@ -20,6 +20,7 @@ |
21 | 21 | |
22 | 22 | $variables['wgJSBreadCrumbsMaxCrumbs'] = $wgJSBreadCrumbsMaxCrumbs; |
23 | 23 | $variables['wgJSBreadCrumbsSeparator'] = $wgJSBreadCrumbsSeparator; |
| 24 | + $variables['wgJSBreadCrumbsCookiePath'] = $wgJSBreadCrumbsCookiePath; |
24 | 25 | |
25 | 26 | $vars = array_merge( $vars, $variables ); |
26 | 27 | return true; |