Jens Frank wrote:
On Tue, Sep 14, 2004 at 07:57:06AM +0200, Ashar Voultoiz wrote:
Lo JeLuF,
Salut,
Probably better to get one row per setting, that will allow us to sort settings per categories and define the type of data.
Ex: category | setting | value | type
General | ScriptPath | | string General | UploadDir | /mnt/upload | string Tidy | UseTidy | 0 | boolean
Then we can get different administrations pages.
I already have different pages, much like the User Preferences page. Also grouping and sorting them in the single pages, I think hardcoding this in PHP is fine, no real need to get the layout of the forms from the DB.
For older versions, we probably just want to diff changes and saves them directly in the new log system.
Good idea. Visible to sysops and developers only. Special:Sitesettings for developers only.
Draft is at http://mediawiki.mormo.org/index.php/Special:Sitesettings
Not all messages are defined yet. Prototype. Save not implemented.
Regards,
JeLuF
Hello,
Looks good JeLuF. My idea of a "category" field is to allow developpers to add new options easily and get the interface to update itself automaticly. This way we will just care about the code and can forget the interface.
With a new user right system, we can even have different administrators, with some being able to access the "general" changes but not the "tidy" or "memcached" settings.
cheers,