Edgewall Software
Modify

Opened 18 years ago

Closed 14 years ago

Last modified 14 years ago

#3528 closed enhancement (fixed)

central InterMapTxt for a trac installation

Reported by: ThurnerRupert Owned by: Remy Blank
Priority: low Milestone: 1.0
Component: general Version: devel
Severity: minor Keywords: interwiki
Cc: leho@… Branch:
Release Notes:

Added a configuration section [interwiki] to define InterWiki prefixes in addition to InterMapTxt.

API Changes:
Internal Changes:

Description

if you have multiple trac instances the InterMapTxt is normally the same for all the instances. it would be nice to have a central one like you also have a central trac.ini.

Attachments (0)

Change History (10)

comment:1 by Christian Boos, 18 years ago

Owner: changed from Jonas Borgström to Christian Boos
Priority: normallow
Severity: normalminor

I wonder if it wouldn't be simpler to also have an [interwiki] section in TracIni, in addition to the InterMapTxt page. That would be handy:

  • for the use case you described
  • for Wiki-less Trac installations

comment:2 by anonymous, 18 years ago

it would be also favourable that a restart is not necessary after changing InterMap.

comment:3 by trac@…, 18 years ago

Regarding a restart, I agree. According to InterMapTxt, "New InterWiki links can be created by adding to that list, in real time." It doesn't seem to be so, although the new prefix appears after resetting the web server. I suppose this is a "mod_python" thing.

Could requiring a restart be classified as a defect?

comment:4 by Christian Boos, 18 years ago

The need for a restart in this case is a known issue, see TracDev/Proposals/Journaling.

comment:5 by Christian Boos, 18 years ago

Keywords: interwiki added
Milestone: 1.0

The InterMapTxt should be complemented by an [interwiki] section. Should be:

[interwiki]
prefix = url title for the link

The url stops at the first white space.

comment:6 by Christian Boos, 15 years ago

Milestone: 1.0unscheduled

Milestone 1.0 deleted

comment:7 by Remy Blank, 14 years ago

Milestone: triaging0.13
Owner: changed from Christian Boos to Remy Blank

Sounds useful and easy to implement. Mine!

comment:8 by Remy Blank, 14 years ago

The [interwiki] section has been added in [10324]. The current implementation has trac.ini override InterMapTxt, but that's easy to change if the opposite is deemed more useful.

On to updating the documentation…

comment:9 by Remy Blank, 14 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: newclosed

Documentation added in 0.13/InterWiki@2. We could also add a reference to TracIni, but it currently doesn't describe [intertrac] either, and I'd rather configuration section descriptions in the code (same as for Option). Do we have a ticket for that?

comment:10 by lkraav <leho@…>, 14 years ago

Cc: leho@… added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.