Edgewall Software

Ticket #3730 (closed task: fixed)

Opened 2 years ago

Last modified 3 weeks ago

Remove "- Trac" suffix from the HTML head title

Reported by: ilias@… Owned by: rblank
Priority: normal Milestone: 0.11.2
Component: general Version:
Severity: major Keywords:
Cc: coderanger@…

Description

Every page generated by trac contains "- Trac" at the end of the html title (hard-coded in header.cs).

Trac is not the central part of a project (and thus of the projects documents). The project is the central part, thus the project name should be the last part in the titles.

This woul would increase additionally the quality of search-engine results which subject trac itself (i'm hitting permanently on non-relevant stuff due to the "Trac" in the headers.

This is true for the trac.edgewall.org site, too. I'm currently on the page

New Ticket - The Trac Project - Trac

Attachments

Change History

  Changed 2 years ago by anonymous

  • milestone 0.10 deleted

This is not urgent for 0.10.

follow-up: ↓ 3   Changed 2 years ago by ilias@…

  • milestone set to 0.10

I think it is.

Please do not change a milestone as "anonymous".

in reply to: ↑ 2 ; follow-up: ↓ 4   Changed 2 years ago by mgood

  • milestone 0.10 deleted

Replying to ilias@lazaridis.com:

I think it is. Please do not change a milestone as "anonymous".

I agree with anonymous. Ilias, please don't set 0.10 for new tickets. One of the developers will change the milestone if we feel like it's important, but we need to get 0.10 wrapped up.

in reply to: ↑ 3   Changed 2 years ago by ilias@…

  • summary changed from Please verify removing "- Trac" from HTML head to "- Trac" Suffix does not belong into the HTML head
  • type changed from task to defect
  • milestone set to 0.10.1

Replying to mgood:

Replying to ilias@lazaridis.com:

I think it is. Please do not change a milestone as "anonymous".

I agree with anonymous.

possibly. but in context 'workflow', an anonymous should not touch the milestone.

Ilias, please don't set 0.10 for new tickets.

ok - see #3734

One of the developers will change the milestone if we feel like it's important,

I've changed the ticket, as it's basicly it's a defect.

but we need to get 0.10 wrapped up.

Solving this ticket is non-intrusive.

As for getting 0.10 out, I'm interested in this, too.

Is there any "help for 0.10 needed" document?

follow-up: ↓ 6   Changed 2 years ago by coderanger@…

This is trivial to override yourself, just edit the template, or if you want to avoid that, copy header.cs to the env's templates folder, and edit it there.

in reply to: ↑ 5   Changed 2 years ago by ilias@…

Replying to coderanger@yahoo.com:

This is trivial to override yourself, just edit the template, or if you want to avoid that, copy header.cs to the env's templates folder, and edit it there.

yes, of course. But I'm intrested in getting the relevant modifications into the original sources of trac.

follow-up: ↓ 10   Changed 2 years ago by Noah Kantrowitz (coderanger) <coderanger@…>

Why?

follow-up: ↓ 9   Changed 2 years ago by moisei

what happens if the project is renamed? what happens if the project name contains a characters not allowed as a part of the file name?

in reply to: ↑ 8   Changed 2 years ago by Noah Kantrowitz (coderanger) <coderanger@…>

  • cc coderanger@… added

Replying to moisei:

what happens if the project is renamed? what happens if the project name contains a characters not allowed as a part of the file name?

I'm not sure I see the relavance of this. I don't think there is much risk of Trac being renamed in the near future.

in reply to: ↑ 7   Changed 2 years ago by ilias@…

Replying to Noah Kantrowitz (coderanger) <coderanger@yahoo.com>:

Why?

please, I don't like to discuss essentials of Open Source Collaboration within a ticket system.

I've given the arguments subjecting this ticket, the team can decide now. (to me it's not critical, as I've now a flexible mechanism to alter the templates).

  Changed 2 years ago by ilias@…

  • summary changed from "- Trac" Suffix does not belong into the HTML head to "- Trac" Suffix does not belong into the HTML head title

changing title

  Changed 2 years ago by sid

  • summary changed from "- Trac" Suffix does not belong into the HTML head title to Remove "- Trac" suffix from the HTML head title

-1 on this. It's easy enough to hack the template if this is important to you. I don't mind it on our sites at all, especially if it drives more people to check out this project.

  Changed 2 years ago by omry

So, will this be addressed?

  Changed 2 years ago by ilias@…

  • milestone changed from 0.10.3 to 0.11

defect verification:

visit a project which uses trac (and the original templates)

visit a project which uses modified templates (without the "- Trac" suffix)

Print out a document from both sites.

Then ask yourself honestly:

what does "Trac" has to do on the title of the document.

follow-up: ↓ 16   Changed 2 years ago by anonymous

Alternate solution:

Use this JavaScript snippet.

$(function() {document.title = document.title.substr(0, document.title.length-7)});

Enjoy.

in reply to: ↑ 15   Changed 2 years ago by ilias@…

Replying to anonymous:

Alternate solution: Use this JavaScript snippet. {{{ $(function() {document.title = document.title.substr(0, document.title.length-7)}); }}} Enjoy.

This ticket is not about workarounds, but about removing the defect within the trac code base.

  Changed 2 years ago by ilias@…

  • priority changed from normal to high

defect verification:

  • visit a project which uses trac (and the original templates)
  • Print out a document
  • Ask yourself honestly:
    • what does "Trac" has to do on the title of the document?

  Changed 20 months ago by hyuga <hyugaricdeau@…>

Can this ticket be closed yet? The original reporter seems to have dropped their argument, which didn't make a lot of sense to begin with.

  Changed 20 months ago by mgood

  • priority changed from high to normal
  • status changed from new to closed
  • resolution set to wontfix
  • milestone 0.11 deleted

Yeah, I agree that this seems fine as-is.

  Changed 11 months ago by ilias@…

similar #6628

  Changed 7 months ago by anonymous

  • status changed from closed to reopened
  • severity changed from normal to blocker
  • type changed from defect to task
  • component changed from general to attachment
  • version devel deleted
  • milestone set to not applicable
  • resolution wontfix deleted

  Changed 7 months ago by Sam Hocevar

#7162 is similar, too.

follow-up: ↓ 25   Changed 5 months ago by WouterBolsterlee

  • component changed from attachment to general

The reasons outlined in the duplicates of this issue are pretty clear: having the title pollutes search engine indexes, makes searching for Trac-related stuff harder, and adds unnecessary branding to projects running a Trac instance.

So, a +1 from me to remove the '- Trac' suffix from the page titles. Please, please, pretty please?

(Note that upcoming Debian packages patch this suffix out by default, fwiw.)

in reply to: ↑ 24   Changed 5 months ago by eblot

Replying to WouterBolsterlee:

So, a +1 from me to remove the '- Trac' suffix from the page titles. Please, please, pretty please?

I agree: +1 to remove them

  Changed 5 months ago by ilias@…

  • severity changed from blocker to major
  • milestone not applicable deleted

Any action here?

  Changed 3 months ago by anonymous

+1

  Changed 3 months ago by rblank

FWIW, I'd be +1 on this as well. I've been bitten several times by "Google poisoning" due to this issue.

  Changed 2 months ago by rblank

  • status changed from reopened to closed
  • resolution set to fixed
  • milestone set to 0.11.2

Fixed in [7536].

follow-up: ↓ 31   Changed 6 weeks ago by Jason Winnebeck <jpwasp@…>

FWIW, I'm glad to see this fixed, it is annoying that any time I want to search about how to do something with Trac and I include "trac" in my search results that I basically get a nice list of everyone with a public Trac environment, and no results on "building trac plugin," which can bring up a page about Pidgin plugins. I'm surprised that there was resistance to this because I would think that not having Trac in the page title would help prevent users from believing that there is an association between Edgewall Trac and a project:

New ticket says:

Also, if you have an issue with some other software (Pidgin, MacPorts, VirtualBox, etc.) for which the development is managed using Trac, be careful to create a ticket on their instance of Trac, not here (which is the Trac for Trac itself).

in reply to: ↑ 30   Changed 6 weeks ago by ilias@…

Replying to Jason Winnebeck <jpwasp@…>:

I'm surprised that there was resistance to this

That's mostly because of the person (me) which filed the ticket, and some developers which played "Design by Egoism". Sad thing that users suffer from this kind of games.

http://case.lazaridis.com/wiki/TracAudit

  Changed 3 weeks ago by cboos

  • owner changed from jonas to rblank

Add/Change #3730 (Remove "- Trac" suffix from the HTML head title)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from rblank. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.