Extension talk:Configure

Suggestions
I'm currently evaluating your extension -- nice work!

I do have a couple of suggestions if you're interested:

--Hoggwild5 09:49, 19 May 2008 (UTC)
 * 1) First, I think it would be extremely helpful if the configuration pages had links from each configuration setting to the appropriate help page on the MediaWiki.org site.  For example, the configuration setting for $wgEmergencyContact would display $wgEmergencyContact as a link to Manual:$wgEmergencyContact instead of just displaying the name of the setting.
 * 2) The "Access" section is cluttered and hard to navigate -- perhaps the Group Permissions needs to be pulled out and handled differently to reduce the clutter on this page.  Skizzers has written a nice extension specific to $wgGroupPermissions that looks promising -- you might want to look at that.  The currently display of the different Group Permissions sections makes it difficult to differentiate between the groups -- breaking this up with a horizonal line between the groups might help with that.
 * For the first, this might be a good idea.
 * The cells should already display a border to distinguish the groups. The "Groups" section might be moved to its own tab to reduce a bit "Access" part.
 * This can be implemented in the next days. But remember that this extensions is still not finished, just wait :) (this is also for what you wrote on my talk page.)
 * i Alex  14:23, 19 May 2008 (UTC)
 * I'll be on the lookout for revisions :) --Hoggwild5 16:37, 19 May 2008 (UTC)

Strange messages after install?
Hi, After I enable the Configure extension I get the following error:

I've never seen such a directory before. What should the root directory be for this directory; "/messages-"? // RIL-sv 08:50, 28 May 2008 (UTC) Using: MediaWiki 1.12.0 PHP      5.1.2 (apache2handler) MySQL    5.0.22-Debian_0ubuntu6.06.9-log


 * You need to set $wgLocalMessageCache in Special:Configure. Unfortunately, even if you set it to false in Special:Configure, it looks for a directory called "false". Another bug with Configure is that it seems to be breaking things such as diff3 and/or ImageMagick. Haven't tested the newest SVN revision yet though, but I suppose they're still present...iAlex, got a solution for these? :-) -- Sayuri 11:01, 28 May 2008 (UTC)
 * Should be fixed in r35477. i Alex  11:41, 28 May 2008 (UTC)
 * RIL-sv: Now when I downloaded r35477, and assigned $wgLocalMessageCache (from inside the Configure) it works. =) RIL-sv 12:41, 28 May 2008 (UTC)

Bug: Enabling Configure causes transclusion to stop working
Enabling the Configure extension causes transclusion to stop working (MW 1.12final). As soon as I disable the extension I get back to normal transclusion functionality. Let me point out that this extension is really really a candy extension, so I will really really wait for next (quick) update. :) // Rolf Lampa, RIL-sv 19:28, 28 May 2008 (UTC)
 * Sorry, but i could not reproduce that bug, be sure that $wgEnableScaryTranscluding (section Interwiki) is set to true. i Alex  19:40, 28 May 2008 (UTC)
 * Hm, puzzling. $wgEnableScaryTranscluding made no difference, since it controls interwiki (only?). I had a number of values stored in MAIN_NS articles, retrieving them with this syntax;, but that doesn't work when Configure is enabled. If you have any hints about how to debug this, then please advice. RIL-sv 20:50, 28 May 2008 (UTC)
 * Oh sorry, i thought it was about interwiki transclusion. Should be fixed in r35518. i Alex  21:03, 28 May 2008 (UTC)

Path for the config file
Hi, I intend to install this and saw that I can set the path for the config file ($wgConfigureFilesPath). is there someway I can point to a directory "below the root"; something like:

But where do I put the $IP .... ???

The idea is to pointto a place where you cant see files etc. - say, as I understand it  http://www.yoursite.com  woud point to a directory http, on your server, and you can actuall make other directories on parallel to http. Say I have a structure: ..\Database ..\http\               http://www.mysite.com ..\http\wiki           http://www.mysite.com\wiki      (my wiki installed ) ..\http\test\          http://www.yoursite.com\test    (test for a new site) ..\http\snitz\          http://www.yoursite.com\sintiz (a forum) ..\scripts\            various scripts ..\uploads\
 * You don't need to use $IP, this is just a way to do it. But it would be a good idea to use a absolute path, such as  if I understand your configuration correctly. i Alex  15:51, 14 July 2008 (UTC)

Sugestion - trouble
"If an admin changed the settings in a way that the wiki can't work anymore, you can simply drop the conf-now.ser file you'll find in $wgConfigureFilesPath directory. Then it will fall back to the default configuration that is in LocalSettings.php. It's why it's important to keep that file."

It would be nice if you preserve the "last working version of conf-now.ser" - perhaps on demmand, by date or some version count. Thus it would be possibel to "back-down" the changes made. Asset (And how do you add date/time here??)
 * Old versions (included the current version) are kept in the same directory as conf-now.ser. If you broke something, you can drop conf-now.ser, then go to Special:Configure and edit a version show at the top of the page (if possible not the broken one ;). i Alex  15:55, 14 July 2008 (UTC)

Uninstalling
How do you uninstall this? I tried taking it off localsettings.php but my wiki gets screwed up. --72.211.217.235 23:34, 28 September 2008 (UTC)
 * If you remove the extension from LocalSettings.php, then any change you made in Special:Configure or Special:Extensions will be lost. You can use the writePHP.php maintenance script to write the settings as they were defined in the extension and put them in LocalSettings.php. i <font color="#9966CC">Alex  17:38, 29 September 2008 (UTC)
 * I am on a shared host so I cannot run the script. What can I do?--72.211.217.235 02:45, 3 October 2008 (UTC)
 * There isn't currently a web interface for this maintenance script. An idea would be to install MediaWiki and this extension on your local computer, then copy the configuration files and run this script on your local computer. <font color="#66A7CC">i <font color="#9966CC">Alex  07:42, 4 October 2008 (UTC)

Assigning rights

 * How do I give myself "configure-all" right so I can access the Special:Configure Groups section? I tried without success adding the following to LocalSettings.php:
 * $wgConfigureEditRestrictions['wgGroupPermissions'] = array( 'configure-all' );


 * I assume this is where I can change $wgGroupPermissions options?
 * Special:Configure tells me the "Access" requires 'configure-all' right, but I find that I can already view and edit it. --84.9.191.165 23:15, 14 October 2008 (UTC)
 * To grant yourself the 'configure-all' right, put
 * in LocalSettings.php. <font color="#66A7CC">i <font color="#9966CC">Alex  06:38, 15 October 2008 (UTC)
 * Thanks for that. I copied that line exactly, and I still find that I can not display the "Group" section, receiving the message "You are not allowed to edit group settings". Other entries in my LocalSettings.php file, such as accessing extensions, seem to work fine. Any suggestions? --84.9.191.165 08:45, 15 October 2008 (UTC)
 * Be sure that you put it after calling, otherwise it'll be override if you already saved a configuration. <font color="#66A7CC">i <font color="#9966CC">Alex  11:37, 15 October 2008 (UTC)
 * Fantastic! Obvious when you know how. And what an incredible number of new options! Thanks. --84.9.191.165 13:52, 15 October 2008 (UTC)
 * Fantastic! Obvious when you know how. And what an incredible number of new options! Thanks. --84.9.191.165 13:52, 15 October 2008 (UTC)

Old configuration versions
If I don't want older configuration versions, can I just delete the files conf-2008*.ser --84.9.191.165 13:54, 15 October 2008 (UTC)
 * Yes. <font color="#66A7CC">i <font color="#9966CC">Alex  14:10, 15 October 2008 (UTC)

"No old version of the configuration available"
Hi, I have Installed this extention but dont get any of the options, all i get is a message with "No old version of the configuration available"... Any ideas? Im running the latest version of mediawiki Prom3th3an 12:11, 11 November 2008 (UTC)

Problem with $wgConfigureEditableSettings = array;
Interner Fehler

Value for $wgDBtype setting is not in permitted (given:, permitted: MySQL, PostreSQL)

Backtrace:


 * 1) 0 extensions/Configure/SpecialConfigure.php(23): ConfigurationPage->importFromRequest
 * 2) 1 extensions/Configure/Configure.page.php(107): SpecialConfigure->doSubmit
 * 3) 2 includes/SpecialPage.php(559): ConfigurationPage->execute(NULL)
 * 4) 3 includes/Wiki.php(229): SpecialPage::executePath(Object(Title))
 * 5) 4 includes/Wiki.php(59): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
 * 6) 5 index.php(116): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
 * 7) 6 {main}

Hello This program is good and in normal use, all is right. But if I want to include "$wgConfigureEditableSettings = array;", the script answers the message above. Now, I include the variable $wgDBtype but nothing changes.

Can you help me?

Thanks!

my LocalSettings.php

$wgDBtype = "MySQL"; $wgUserrightsInterwikiDelimiter = '@'; require_once( "$IP/extensions/Configure/Configure.php" ); efConfigureSetup; $wgConfigureEditableSettings = array; $wgConfigureWikis = true;

Problem after installation
I installed the extension, and it is shown on the Special:Version page. But when I try to access the Specialpages, I get an error message. On Sepcial:Extensions and Special:Configure I get

Fatal error: Call to undefined method WebConfiguration::loadFullData in G:\XAMPP\xampp\htdocs\wiki\extensions\Configure\Configure.obj.php on line 251

and on Special:ViewConfig I get

Fatal error: Call to undefined method OutputPage::addScriptClass in G:\XAMPP\xampp\htdocs\wiki\extensions\Configure\Configure.page.php on line 902

What can I do to fix this?

--Yandrak4ever 12:39, 25 October 2009 (UTC)