Bug #64256 [Opn->Csd]: Update RFC default template
| From: | bjori@php.net | Date: | Sun, 03 Mar 2013 00:31:33 +0000 |
| Subject: | Bug #64256 [Opn->Csd]: Update RFC default template | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-15630@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64256&edit=1
ID: 64256
Updated by: bjori@php.net
Reported by: sixd@php.net
Summary: Update RFC default template
-Status: Open
+Status: Closed
Type: Bug
Package: Website problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: bjori
Block user comment: N
Private report: N
New Comment:
Not an elegant solution, but the best we can do for now => closing
Previous Comments:
------------------------------------------------------------------------
[2013-02-24 21:57:56] bjori@php.net
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...
------------------------------------------------------------------------
[2013-02-21 03:38:35] tyrael@php.net
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] sixd@php.net
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