Opened 16 months ago

Closed 16 months ago

Last modified 13 months ago

#20 closed defect (fixed)

Trac shows wiki links to the built-in help, even when the wiki module is disabled

Reported by: mbooth Owned by: mbooth
Priority: major Milestone: The Hand Wavy Future
Component: service: issues Keywords: upstream
Cc:

Description (last modified by mbooth)

You can probably see at the bottom of most pages, something like this:

Note: See TracTickets for help on using tickets.

But the link is broken because the help is stored in the built-in wiki, and the wiki is disabled because we are using mediawiki.

There is an option to disable these links in the user-preferences, but it's enabled by default, even when the wiki module is disabled.

And even if you do disable these links in the user-preferences, you still see the "You may use WikiFormatting here" help links next to text editing boxes, and that link is also broken.

Therefore Trac should be changed to either:

  • permanantly disable these links if the wiki is not available
  • allow them to be globally disabled in the trac.ini file
  • if the built-in wiki is not available, link to the external documentation at edgewall.org

I think I like the last option.

Change History (8)

comment:1 Changed 16 months ago by mbooth

Description: modified (diff)

comment:2 Changed 16 months ago by mbooth

Keywords: upstream added

comment:3 Changed 16 months ago by mbooth

Description: modified (diff)

comment:4 Changed 16 months ago by mbooth

Alternatively, is it possible to enable the wiki module in read only mode, just to allow the help to work?

comment:5 Changed 16 months ago by mbooth

Component: miscservice: issues

comment:6 in reply to:  4 Changed 16 months ago by mbooth

Replying to mbooth:

Alternatively, is it possible to enable the wiki module in read only mode, just to allow the help to work?

Yeah, did it this way, which was the easiest thing to do and has the benefit of keeping users on-site, as well as requiring only minimal configuration change

It feels like disabling the wiki module altogether is really going off-piste due to Trac's tight coupling with the wiki. It's really not designed for disabling it altogether.

So it should be fixed in this change: [992c4ad7]

And that at least disallows anyone from actually using Trac's built-in wiki as a wiki, while still allowing users to see the built-in Trac help/usage guide.

Last edited 13 months ago by mbooth (previous) (diff)

comment:7 Changed 16 months ago by mbooth

Owner: changed from somebody to mbooth
Status: newassigned

comment:8 Changed 16 months ago by mbooth

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.