How does one deprecate a page on Trac wiki?

20 views
Skip to first unread message

Michele Dorigatti

unread,
Feb 10, 2020, 9:24:21 AM2/10/20
to Trac Users
Some wiki have a feature to deprecate pages and sections, for example by using templates. Is there anything similar in Trac, or how could I achieve the same effect (marking a page as obsolete without deleting it)?

Ryan Ollos

unread,
Feb 10, 2020, 11:10:53 AM2/10/20
to Trac Users
On Mon, Feb 10, 2020 at 6:24 AM Michele Dorigatti <michele0...@gmail.com> wrote:
Some wiki have a feature to deprecate pages and sections, for example by using templates. Is there anything similar in Trac, or how could I achieve the same effect (marking a page as obsolete without deleting it)?

What are the features of a deprecated page? Hidden from title index? Not shown in search results?


- Ryan 

Michele Dorigatti

unread,
Feb 10, 2020, 11:14:25 AM2/10/20
to trac-...@googlegroups.com
The page/section is shown displayed with a strikethrough and there is a (customizable) message that explain why the page is deprecated. Example:

https://www.mediawiki.org/wiki/Template:Deprecated

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CA%2BBGpn-oy5eP-Rn3KOMMQoJmVbFzkxNKUfTUxBJUTnpcqPyqUw%40mail.gmail.com.


--
Michele Dorigatti
Skype: michele.dorigatti
Mobile phone: +46 72 201 74 68
LinkedIn: www.linkedin.com/in/michele-dorigatti-92b09551

RjOllos

unread,
Feb 10, 2020, 10:34:46 PM2/10/20
to Trac Users
On Monday, February 10, 2020 at 8:14:25 AM UTC-8, Michele Dorigatti wrote:
The page/section is shown displayed with a strikethrough and there is a (customizable) message that explain why the page is deprecated. Example:

https://www.mediawiki.org/wiki/Template:Deprecated

There are currently no plugins that implement the feature as far as I know, but it would be fairly straightforward to implement. On trac-hacks.org we use a WikiExtras box macro and tag the page as deprecated. Example:

- Ryan 
Reply all
Reply to author
Forward
0 new messages