Index: branches/REL1_17/extensions/Favorites/Favorites_body.php |
— | — | @@ -50,7 +50,7 @@ |
51 | 51 | $mode = $favTitle->userIsFavoriting() ? 'unfavorite' : 'favorite'; |
52 | 52 | // See if this object even exists - if the user can't read it, the object doesn't get created. |
53 | 53 | if ($wgArticle) { |
54 | | - $content_actions['newtab'] = array ( |
| 54 | + $content_actions[$mode] = array ( |
55 | 55 | 'class' => (( $action == 'favorite' || $action == 'unfavorite' ) ? ' selected' : false ), |
56 | 56 | 'text' => wfMsg( $mode ), // uses 'favorite' or 'unfavorite' message |
57 | 57 | 'href' => $wgArticle->mTitle->getLocalUrl( 'action=' . $mode ) |
Index: branches/REL1_17/extensions/Favorites/Favorites.php |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | 'name' => 'Favorites', |
24 | 24 | 'author' => 'Jeremy Lemley', |
25 | 25 | 'descriptionmsg' => 'favorites-desc', |
26 | | - 'version' => '0.0.6', |
| 26 | + 'version' => '0.0.7', |
27 | 27 | 'url' => "http://www.mediawiki.org/wiki/Extension:Favorites", |
28 | 28 | ); |
29 | 29 | |