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".

Comments

cwgordon7’s picture

Assigned: Unassigned » 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

SamL-1’s picture

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.

kkaefer’s picture

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.

kkaefer’s picture

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

chx’s picture

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

kkaefer’s picture

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

cwgordon7’s picture

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

jpmckinney’s picture

Can probably be done in 6.x using the same strategy as the search404 module.

Luen Warneke’s picture

Version: 5.x-1.0 » 7.x-1.0-alpha1

I would like to make the root of my website a wiki (instead of pages under a subpath "/wiki")
so when a person navigates to '/test' it will come up with an option to create a page. currently only '/wiki/'test works.
Is this possible?
Thanks