ID: 18403 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem -PHP Version: 4.5.0 +PHP Version: php/fi New Comment:
Some thoughts: a) A third column called 'type' that dictates what type the directive takes on (string,int,float..) b) A regex tweak is needed to allow settings such as url_rewriter.tags to work (note the commas) c) Currently $map is used to decide which test_ini.xml a setting goes into. Should we use it with $excludeitems too? d) Also generate a master list Regarding a big change, currently the description of many directives exist in the manual but are separate from this generated table. This is a little confusing as this information might go better together. This could include reciprocal links OR a fourth column for the description. Previous Comments: ------------------------------------------------------------------------ [2003-02-04 18:21:34] [EMAIL PROTECTED] keep this open then.. ------------------------------------------------------------------------ [2003-02-04 17:10:44] [EMAIL PROTECTED] The script is there. Had made some limited tests in my local copy of the phpdoc, and seems to be working. I would like someone involved in the manual build to test it and give some feedback. IIRC something along the lines of the script's output was in the PHPDOC todo list. ------------------------------------------------------------------------ [2003-02-04 16:45:51] [EMAIL PROTECTED] what's the status with this? ------------------------------------------------------------------------ [2003-01-19 21:01:30] [EMAIL PROTECTED] I have just commited the script: phpdoc/scripts/genPHP_INI_ENTRY.php which should replace my aging phpdoc/scripts/mk_ini_set_table.sh Test that script. By default it will generate files named 'test_ini.xml' in the appropriate dirs. If all looks OK, we can go ahead and remove the ini_set table, make the new script generate all the ini.xml files and change the manual files where appropriate (makefile, etc.) Also, look at the approach there. It might be useful for making replacements for the funcsummary and funclist scripts. ------------------------------------------------------------------------ [2003-01-18 05:00:51] [EMAIL PROTECTED] First, there should not be two places to change, so all ini information should be in reference/.../ini.xml files. For those ini settings that are global (not extension related), they should be at some common place (not ini_set). Much like the configure options. Second if you would like to make it automatically update all translations, the simlest thing is to put it out into its own file, and link it using an entity. The entity will be automatically created for the .xml file, so you only need to replace / with . in the path... Then if translators won't translate the file, it will automatically be up to date in all languages. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18403 -- Edit this bug report at http://bugs.php.net/?id=18403&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php