Make Wikitools page creation work with /

lxpk - March 23, 2007 - 22:37
Project:Wikitools
Version:5.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:cwgordon7
Status:postponed (maintainer needs more info)
Description

Hi Julian!
1. I suggest that we make Wikitools' "page not found" page creation replace all 404s, not just pages within a certain subpath. That way I could use them with any short clean url alias path.

2. Also, could it set a default clean url path based on the path?

That way I could use it with tinymce to create pages just by writing a link as [linkname] and it would bring up the create page option and the page would already have its title and clean url set to "linkname".

#1

cwgordon7 - November 12, 2007 - 01:26
Assigned to:Anonymous» cwgordon7
Status:active» postponed (maintainer needs more info)

1) What would it even mean for a "page not found" page outside of the wikitools subpath had a link to page creation? Where would the new page be created? What would the title of the new page be? These are the questions involved, and if they are resolved, an option could easily be provided to have the wikitools page not found page replace all 404 errors.

2) I'm not even sure what you're question is here. If you could elaborate, that would be very helpful.

Thanks,
cwgordon7

#2

SamL - June 23, 2008 - 18:54

RE: 1 - For a site where you do not want a wiki subpath but want the whole site to act like a wiki, this would be very useful.

#3

kkaefer - July 31, 2008 - 15:15

When the wikitools path prefix is set to "", it appears as if wikitools isn't working. That means you can't have a wiki at the root of your Drupal installation.

#4

kkaefer - July 31, 2008 - 15:18

That might be a limitation of the menu system. From my experiments, it's not possible to have a menu path "".

#5

chx - July 31, 2008 - 15:22

As Drupal will translate the incomign empty q into front page setting there is no point in supporting it.

#6

kkaefer - July 31, 2008 - 15:23

hmm, a way this could work is by setting the 404 handler to a wikitools function and somehow hijacking the frontpage.

#7

cwgordon7 - July 31, 2008 - 16:36

Suggestion in #6 should (probably) work for 5.x, but this will probably remain impossible for 6.x. Patches welcome. :)

 
 

Drupal is a registered trademark of Dries Buytaert.