Ticket #7365 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

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

Reported by: lucasrangit Assigned to: 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

Change History

09/23/11 13:20:39 changed 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.

09/23/11 14:14:13 changed by airadier

  • status changed from assigned to closed.
  • resolution set to fixed.

(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/Change #7365 (Option to append "?format=printhtml" to links in printed HTML)




Change Properties
Action