Edit report at https://bugs.php.net/bug.php?id=64256&edit=1
ID: 64256 Updated by: [email protected] Reported by: [email protected] Summary: Update RFC default template Status: Open Type: Bug Package: Website problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: oot@nirvana:/var/www/wiki.php.net/data/pages/rfc# ls -la *templ* -rwxrwxr-x 1 www-data 7110 3226 2013-02-24 22:55 _template.txt lrwxrwxrwx 1 root root 13 2013-02-24 22:53 template.txt -> _template.txt -rwxrwxr-x 1 www-data 7110 1170 2011-04-06 12:59 template.txt-ORIGINAL Moved the original _template.txt to template.txt-ORIGINAL and created the symlink to the wiki editable template. I don't know how we can reflect this in git as creating that dir and a single symlink feels a bit risky considering this is all coming from rsync and we need to be able to delete stale files when upgrading dokuwiki... Previous Comments: ------------------------------------------------------------------------ [2013-02-21 03:38:35] [email protected] after reading through https://www.dokuwiki.org/namespace_templates I think it isn't possible to edit the skeleton/template file of a namespace using the wiki editor. I expect the actually used skeleton file to be at dokuwiki/data/rfc/_template.txt on the server. We could add that to the repo so it can be edited through the VCS but be should be careful about the rsync script to not delete missing files, otherwise we could end up in a situation where everything but the skeleton remains. Btw. we have backups, right? :) ------------------------------------------------------------------------ [2013-02-20 21:46:06] [email protected] Description: ------------ New wiki pages in the RFC namespace are being created with the original (?) template. They should use the updated template at https://wiki.php.net/rfc/template. The location of the incorrectly used template page/file is not obvious in the http://git.php.net/?p=web/wiki.git source. Test script: --------------- Create a new wiki page like https://wiki.php.net/rfc/test_rfc and click "Create this page" Expected result: ---------------- The RFC template from https://wiki.php.net/rfc/template is used for the new page. Actual result: -------------- The RFC template from 2008-03-06 is used. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64256&edit=1 -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
