Index: trunk/extensions/BookManager/BookManager.body.php |
— | — | @@ -199,7 +199,7 @@ |
200 | 200 | $booktitle = Title::newFromText( $prefixes['community-prefix'] . self::bookparts( $parser, $text, 0) ); // ...the book name will be 'Foo'. |
201 | 201 | |
202 | 202 | $cap = self::loadListFromCollection( $booktitle ); |
203 | | - if ( $cap ===false ) { |
| 203 | + if ( $cap === false ) { |
204 | 204 | return ''; |
205 | 205 | } |
206 | 206 | $current = array_search( $pagetitle, $cap ); |
Index: trunk/extensions/BookManager/bookmanager.css |
— | — | @@ -1,4 +1,4 @@ |
2 | | -.book-navigation{ |
| 2 | +.mw-book-navigation{ |
3 | 3 | -moz-border-radius:4px; /* Firefox, etc */ |
4 | 4 | -khtml-border-radius:4px; /* Konqueror, etc */ |
5 | 5 | -webkit-border-radius:4px; /* Safari, Google Chrome, etc */ |
— | — | @@ -12,26 +12,26 @@ |
13 | 13 | display:table; |
14 | 14 | clear:both; |
15 | 15 | } |
16 | | -.book-navigation li{ |
| 16 | +.mw-book-navigation li{ |
17 | 17 | list-style:none; |
18 | 18 | display:inline; |
19 | 19 | display:table-cell; |
20 | 20 | } |
21 | | -.book-navigation .prev, .book-navigation .next{ |
| 21 | +.mw-book-navigation .mw-prev, .mw-book-navigation .mw-next{ |
22 | 22 | white-space:nowrap; |
23 | 23 | } |
24 | | -.book-navigation .index{ |
| 24 | +.mw-book-navigation .mw-index{ |
25 | 25 | padding:0 5em; |
26 | 26 | } |
27 | | -.book-navigation .prev a{ |
| 27 | +.mw-book-navigation .mw-prev a{ |
28 | 28 | background:url("images/18px-1leftarrow.png") no-repeat scroll left center transparent; |
29 | 29 | padding:0 0 0 20px; |
30 | 30 | } |
31 | | -.book-navigation .index a{ |
| 31 | +.mw-book-navigation .mw-index a{ |
32 | 32 | background:url("images/18px-1uparrow.png") no-repeat scroll left center transparent; |
33 | 33 | padding:0 0 0 20px; |
34 | 34 | } |
35 | | -.book-navigation .next a{ |
| 35 | +.mw-book-navigation .mw-next a{ |
36 | 36 | background:url("images/18px-1rightarrow.png") no-repeat scroll right center transparent; |
37 | 37 | padding:0 20px 0 0; |
38 | 38 | } |