php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64256 Update RFC default template
Submitted: 2013-02-20 21:46 UTC Modified: 2013-03-03 00:31 UTC
From: sixd@php.net Assigned: bjori (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2013-02-20 21:46 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-02-21 03:38 UTC] 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-24 21:57 UTC] 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-03-03 00:31 UTC] bjori@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: bjori
 [2013-03-03 00:31 UTC] bjori@php.net
Not an elegant solution, but the best we can do for now => closing
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 03:02:51 2024 UTC