Mailing List Archive

[The Trac Project] #962: Customizable Default Wiki Text
#962: Customizable Default Wiki Text
---------------------+------------------------------------------------------
Id: 962 | Status: new
Component: general | Modified: Thu Nov 18 18:12:44 2004
Severity: normal | Milestone:
Priority: normal | Version: none
Owner: jonas | Reporter: ksmith@99hats.com
---------------------+------------------------------------------------------
It's handy to be able to change the default wiki text from "describe
!PageName here" to "= !PageName =", etc...

Possible implimentation could use configuration or search for a wiki page
called WikiDefaultText.

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/962>
The Trac Project <>
Re: [The Trac Project] #962: Customizable Default Wiki Text [ In reply to ]
#962: Customizable Default Wiki Text
-------------------------+--------------------------------------------------
Id: 962 | Status: new
Component: wiki | Modified: Sun Nov 21 07:02:52 2004
Severity: enhancement | Milestone:
Priority: normal | Version: none
Owner: jonas | Reporter: ksmith@99hats.com
-------------------------+--------------------------------------------------
Changes (by vittorio):

* component: general => wiki
* severity: normal => enhancement

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/962>
The Trac Project <>
Re: [The Trac Project] #962: Customizable Default Wiki Text [ In reply to ]
#962: Customizable Default Wiki Text
-------------------------+--------------------------------------------------
Id: 962 | Status: new
Component: wiki | Modified: Tue Feb 1 23:44:14 2005
Severity: enhancement | Milestone:
Priority: normal | Version: none
Owner: jonas | Reporter: ksmith@99hats.com
-------------------------+--------------------------------------------------
Comment (by sarahg@trouble.net.au):

I like this idea. I'd just like to add that multi-line text should be
possible. When I found this ticket I was originally going to suggest
adding a newline to the end of the standard "Describe WikiPage here" text
because often I'm about to paste something in and want what I paste to be
separate from the text that's already there (which I don't dare select
with the mouse when I'm about to paste something).

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/962>
The Trac Project <>
Re: [The Trac Project] #962: Customizable Default Wiki Text [ In reply to ]
#962: Customizable Default Wiki Text
-------------------------+--------------------------------------------------
Id: 962 | Status: new
Component: wiki | Modified: Wed Feb 9 11:34:10 2005
Severity: enhancement | Milestone:
Priority: normal | Version: none
Owner: jonas | Reporter: ksmith@99hats.com
-------------------------+--------------------------------------------------
Comment (by cmlenz):

#1193 has been marked as duplicate of this ticket.

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/962>
The Trac Project <>
Re: [The Trac Project] #962: Customizable Default Wiki Text [ In reply to ]
#962: Customizable Default Wiki Text
-------------------------+--------------------------------------------------
Id: 962 | Status: new
Component: wiki | Modified: Sat Apr 23 05:15:54 2005
Severity: enhancement | Milestone:
Priority: normal | Version: none
Owner: jonas | Reporter: ksmith@99hats.com
-------------------------+--------------------------------------------------
Comment (by cmlenz):

#1470 has been marked as duplicate of this ticket. It also provides a
patch.

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/962>
The Trac Project <>
Re: [The Trac Project] #962: Customizable Default Wiki Text [ In reply to ]
#962: Customizable Default Wiki Text
-------------------------+--------------------------------------------------
Id: 962 | Status: new
Component: wiki | Modified: Fri Jul 15 11:17:50 2005
Severity: enhancement | Milestone:
Priority: normal | Version: none
Owner: jonas | Reporter: ksmith@99hats.com
-------------------------+--------------------------------------------------
Comment (by anonymous):

I definitely prefer being able to select from one of several page
templates when creating pages.

Those templates would have to be customizable, of course. Some other
Wikis allow this simply by appending "Template" to the page name. Perhaps
a special PageTemplates wiki might be a better approach.

For example, if we created PageTemplates/MeetingMinutes,
PageTemplates/Requirement, and PageTemplates/Blog in our Wiki instance,
"MeetingMinutes", "Requirement", and "Blog" would appear in our page
template list whenever we edit a page for the first time.

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/962>
The Trac Project <>
Re: [The Trac Project] #962: Customizable Default Wiki Text [ In reply to ]
#962: Customizable Default Wiki Text
-------------------------------+--------------------------------------------
Reporter: ksmith@99hats.com | Owner: jonas
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: wiki | Version: none
Severity: normal | Resolution:
Keywords: |
-------------------------------+--------------------------------------------
Comment (by anonymous):

#2179 has been marked as a duplicate of this ticket. It also provides a
patch.

--
Ticket URL: <http://trac.edgewall.org/ticket/962#comment:6>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #962: Customizable Default Wiki Text [ In reply to ]
#962: Customizable Default Wiki Text
-------------------------------+--------------------------------------------
Reporter: ksmith@99hats.com | Owner: cboos
Type: enhancement | Status: assigned
Priority: normal | Milestone: 0.11
Component: wiki | Version: none
Severity: normal | Resolution:
Keywords: page templates |
-------------------------------+--------------------------------------------
Changes (by cboos):

* keywords: => page templates
* owner: jonas => cboos
* status: new => assigned
* milestone: => 0.11

Comment:

#3859 was also marked as duplicate... I guess it's about time to implement
this ;)

=== Proposal ===

If no PageTemplates/... page exist, simply behave as usual.
If there are some, there will be a select field to pick one of those next
to the Edit button for a non-existing page. We'd need some mechanism to
specify the default template too, maybe just picking PageTemplates/Default
if it exists, otherwise selecting the empty option, which would mean start
with a blank page.

Implementation follows...

--
Ticket URL: <http://trac.edgewall.org/ticket/962#comment:7>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #962: Customizable Default Wiki Text [ In reply to ]
#962: Customizable Default Wiki Text
-------------------------------+--------------------------------------------
Reporter: ksmith@99hats.com | Owner: cboos
Type: enhancement | Status: assigned
Priority: normal | Milestone: 0.11
Component: wiki | Version: none
Severity: normal | Resolution:
Keywords: page templates |
-------------------------------+--------------------------------------------
Comment (by cboos):

Please try out attachment:wiki_page_templates-r3886.patch

One thing that could be changed is to make configurable the name of the
default template, as !PageTemplates/Default is perhaps not that obvious
(could as well have been !PageTemplates/WikiPage).

Anyway, I guess a new !PagesTemplates explaining the feature would have to
be added.

Note that the user interface is not changed at all from the former one if
there are no !PageTemplates/... pages.

Finally, the `WikiPage.select_names` could be reused in a few places
(!PageIndexMacro and !WikiSystem come to mind).

--
Ticket URL: <http://trac.edgewall.org/ticket/962#comment:8>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #962: Customizable Default Wiki Text [ In reply to ]
#962: Customizable Default Wiki Text
-------------------------------+--------------------------------------------
Reporter: ksmith@99hats.com | Owner: cboos
Type: enhancement | Status: assigned
Priority: normal | Milestone: 0.11
Component: wiki | Version: none
Severity: normal | Resolution:
Keywords: page templates |
-------------------------------+--------------------------------------------
Comment (by mgood):

Replying to [comment:8 cboos]:
> Please try out attachment:wiki_page_templates-r3886.patch
>
> One thing that could be changed is to make configurable the name of the
default template, as !PageTemplates/Default is perhaps not that obvious
(could as well have been !PageTemplates/WikiPage).

I don't see a reason to configure it, though !PageTemplates/DefaultPage
would be CamelCase, so it's easier to link to. I think adding the
!PageTemplates page with a link to the default template would be fine.

--
Ticket URL: <http://trac.edgewall.org/ticket/962#comment:9>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---