Edgewall Software
Modify

Ticket #3528 (closed enhancement: fixed)

Opened 6 years ago

Last modified 14 months ago

central InterMapTxt for a trac installation

Reported by: ThurnerRupert Owned by: rblank
Priority: low Milestone: 0.13
Component: general Version: devel
Severity: minor Keywords: interwiki
Cc: leho@…
Release Notes:

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

API 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

Change History

comment:1 Changed 6 years ago by cboos

  • Owner changed from jonas to cboos
  • Priority changed from normal to low
  • Severity changed from normal to minor

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 Changed 6 years ago by anonymous

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

comment:3 Changed 5 years ago by trac@…

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 Changed 5 years ago by cboos

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

comment:5 Changed 5 years ago by cboos

  • Keywords interwiki added
  • Milestone set to 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 Changed 22 months ago by cboos

  • Milestone changed from 1.0 to unscheduled

Milestone 1.0 deleted

comment:7 Changed 19 months ago by rblank

  • Milestone changed from triaging to 0.13
  • Owner changed from cboos to rblank

Sounds useful and easy to implement. Mine!

comment:8 Changed 15 months ago by rblank

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 Changed 15 months ago by rblank

  • Release Notes modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

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 Changed 14 months ago by lkraav <leho@…>

  • Cc leho@… added
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from rblank. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.