Modify

Opened 7 years ago

Closed 5 years ago

#7365 closed defect (fixed)

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

Reported by: Lucas Rangit MAGASWERAN Owned by: Álvaro Iradier
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 5 years ago by Álvaro Iradier

Status: newassigned

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 5 years ago by Álvaro Iradier

Resolution: fixed
Status: assignedclosed

(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.

Modify Ticket

Action
as closed The owner will remain Álvaro Iradier.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.