Opened 14 years ago
Last modified 4 years ago
#9487 closed enhancement
Control the default wiki page through trac.ini — at Version 1
Reported by: | a-h | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.3.2 |
Component: | wiki system | Version: | 0.12 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Hello,
Here's a way to change the default wiki page:
-
web_ui.
old new 107 107 108 108 def process_request(self, req): 109 109 action = req.args.get('action', 'view') 110 pagename = req.args.get('page', 'WikiStart') 110 pagename = req.args.get('page', 111 self.env.config['wiki'].get('default_page') 112 or 'WikiStart') 111 113 version = req.args.get('version') 112 114 old_version = req.args.get('old_version')
Change History (1)
comment:1 by , 14 years ago
Description: | modified (diff) |
---|---|
Milestone: | → unscheduled |
Note:
See TracTickets
for help on using tickets.
Unfortunately, it's not quite that simple. The name "WikiStart" is hard-coded at various locations, e.g. for re-directing after deleting a page. I think there was even a more complete patch for this, but my search-fu seems to be severely lacking lately. I thought it was part of #1106, but no luck.