Modify

Opened 4 years ago

Closed 3 years ago

#7365 closed defect (fixed)

Option to append "?format=printhtml" to links in printed HTML

Reported by: lucasrangit Owned by: airadier
Priority: normal Component: TracWikiPrintPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I would like to embed printed HTML Trac Wiki pages in a iframe on another website (SharePoint to be exact) and would like to links to point to the printed HTML version. Can an option be added to accommodate this?

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by airadier

  • Status changed from new to assigned

Added a link_format option in the query string, so you can link in an iframe like:

http://yourtrac/project/wiki/yourpage?format=printhtml&link_format=printhtml

That will make that all wiki links in the page are linked as format printhtml too.

Commiting the fix soon.

comment:2 Changed 3 years ago by airadier

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [10675]) * Added link_format=xxx option to make links in the output link pages in the same export format. Closes #7365.

  • Added options omit_links and rebase_links. Closes #7151.

Add Comment

Modify Ticket

Action
as closed The owner will remain airadier.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.