Alec Thomas wrote:
>On Tue, Mar 02, 2004 at 02:09:29PM +0100, Reini Urban wrote:
>
>
>>Yes,
>>please try to write such a feature and post it at the sf.net website
>>under RFE (Request Feature Enhancement)
>>
>>
>
>Okay, I will do so.
>
>
>
>>http://sourceforge.net/projects/phpwiki/
>>
>>Can you specify exactly your feature request?
>>Automatically add a certain CategoryWord to the bottom of some pages?
>>
>>
>
>Actually, the opposite of that. If I add a wikiword to a page in the
>form CategoryFoo, I would like PhpWiki to automatically create a page
>called CategoryFoo, listing all the backlinks to it. Similarly with
>TopicBar, etc.
>
>
In other words, topic names that start with "Category" are special? This
feels unfortunate to me. It is a semi-hidden behavior.
What if you had a "Create Category page" button where you type in the
name of the category, and it creates the page with the BackLinks plug-in
on it? Or more generally, if you have a page you want to start with a
certain pattern or template, a "Create Page" plug-in that can take a
template argument? Then you just make a CategoryTemplate page with the
"Backlinks" goo on it, make a Wiki page with the "CreatePage"
plugin-form with a template=CategoryTemplate parameter. What do you say?
I made a CreatePage plug-in, because I consider less confusing for a new
user (who doesn't know wikis) to have an explicit interface as an
option. However, my CreatePage doesn't currently grab a template from
anywhere.
I attach the CreatePage plug-in, which can be used with "<?plugin-form
CreatePage?>". In my wiki, I also put CreatePage at the bottom of every
search form, so people can create the page if it is not found if they want.
Dan F
|