Index: trunk/extensions/Configure/Configure.page.php |
— | — | @@ -77,7 +77,10 @@ |
78 | 78 | } |
79 | 79 | $this->mWiki = $wiki; |
80 | 80 | } else { |
81 | | - $this->mWiki = $wgConf->getWiki(); |
| 81 | + if( $wgConf instanceof WebConfiguration ) |
| 82 | + $this->mWiki = $wgConf->getWiki(); |
| 83 | + else |
| 84 | + $this->mWiki = 'default'; |
82 | 85 | } |
83 | 86 | |
84 | 87 | $this->outputHeader(); |
— | — | @@ -860,7 +863,7 @@ |
861 | 864 | ( isset( $default[$ns] ) ? implode( "\n", (array)$default[$ns] ) : '' ) . |
862 | 865 | Xml::closeElement( 'textarea' ) . "<br/>\n"; |
863 | 866 | else |
864 | | - $text .= "<pre>" . ( isset( $default[$ns] ) ? htmlspecialchars( implode( "\n", $default[$ns] ) ) : '' ) . "\n</pre>"; |
| 867 | + $text .= "<pre>" . ( isset( $default[$ns] ) ? htmlspecialchars( implode( "\n",(array)$default[$ns] ) ) : '' ) . "\n</pre>"; |
865 | 868 | $text .= '</td></tr>'; |
866 | 869 | } |
867 | 870 | $text .= '</table>'; |
Index: trunk/extensions/Configure/CHANGELOG |
— | — | @@ -1,6 +1,10 @@ |
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.7.4 - 10 September 2008 |
| 6 | + Don't throw a fatal error on Special:ViewConfig when efConfigureSetup() isn't |
| 7 | + called. |
| 8 | + |
5 | 9 | 0.7.3 - 8 September 2008 |
6 | 10 | (bug 14744) Custom rights defined in $wgRestrictionLevels are now configurable |
7 | 11 | in $wgGroupPermissions (require MediaWiki 1.13+). |
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 by a web-based interface', |
20 | 20 | 'descriptionmsg' => 'configure-desc', |
21 | | - 'version' => '0.7.3', |
| 21 | + 'version' => '0.7.4', |
22 | 22 | ); |
23 | 23 | |
24 | 24 | ## Configuration part |