Index: trunk/extensions/Configure/SpecialViewConfig.php |
— | — | @@ -193,8 +193,11 @@ |
194 | 194 | } |
195 | 195 | |
196 | 196 | $actions = array(); |
| 197 | + $view = ''; |
197 | 198 | if ( $hasSelf ) |
198 | | - $view = $skin->makeKnownLinkObj( $self, wfMsgHtml( 'configure-view' ), "version=$ts" ); |
| 199 | + $view .= $skin->makeKnownLinkObj( $self, wfMsgHtml( 'configure-view' ), "version=$ts" ); |
| 200 | + elseif( $allowedAll ) |
| 201 | + $view .= wfMsgHtml( 'configure-view' ); |
199 | 202 | |
200 | 203 | if ( $allowedAll ) { |
201 | 204 | $viewWikis = array(); |
— | — | @@ -203,11 +206,16 @@ |
204 | 207 | } |
205 | 208 | $view .= ' (' . implode( ', ', $viewWikis ) . ')'; |
206 | 209 | } |
207 | | - $actions[] = $view; |
| 210 | + |
| 211 | + if( $view ) |
| 212 | + $actions[] = $view; |
| 213 | + |
208 | 214 | $editDone = false; |
209 | 215 | if ( $allowedConfig ) { |
210 | 216 | if ( $hasSelf ) |
211 | 217 | $editCore = $editMsg . $skin->makeKnownLinkObj( $configTitle, wfMsgHtml( 'configure-edit-core' ), "version=$ts" ); |
| 218 | + elseif( $allowedConfigAll ) |
| 219 | + $editCore = $editMsg . wfMsgHtml( 'configure-edit-core' ); |
212 | 220 | else |
213 | 221 | $editCore = $editMsg; |
214 | 222 | |
— | — | @@ -226,6 +234,8 @@ |
227 | 235 | $editExt .= $editMsg; |
228 | 236 | if ( $hasSelf ) |
229 | 237 | $editExt .= $skin->makeKnownLinkObj( $extTitle, wfMsgHtml( 'configure-edit-ext' ), "version=$ts" ); |
| 238 | + elseif( $allowedExtensionsAll ) |
| 239 | + $editExt .= wfMsgHtml( 'configure-edit-ext' ); |
230 | 240 | |
231 | 241 | if ( $allowedExtensionsAll ) { |
232 | 242 | $viewWikis = array(); |
Index: trunk/extensions/Configure/CHANGELOG |
— | — | @@ -1,6 +1,9 @@ |
2 | 2 | This file lists changes on this extension. |
3 | 3 | Localisation updates are done on betawiki and aren't listed here. |
4 | 4 | |
| 5 | +0.10.15 - 5 December 2008 |
| 6 | + Fixed PHP notices on Special:ViewConfig. |
| 7 | + |
5 | 8 | 0.10.14 - 4 December 2008 |
6 | 9 | * Added support for $wgRateLimits |
7 | 10 | * Don't show [+] for sections in TOC with only one subsection |
Index: trunk/extensions/Configure/Configure.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Configure', |
19 | 19 | 'description' => 'Allow authorised users to configure the wiki via a web-based interface', |
20 | 20 | 'descriptionmsg' => 'configure-desc', |
21 | | - 'version' => '0.10.14', |
| 21 | + 'version' => '0.10.15', |
22 | 22 | ); |
23 | 23 | |
24 | 24 | # Configuration part |