Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Refactors an existing API or subsystem for consistency, performance, modularization, flexibility, third-party integration, etc. May imply an API change. Frequently used during the Code Slush phase of the release cycle.
This patch also changed the tab label on taxonomy/term/1, so the tabs are no longer labeled “View” and “Edit term” but “View” and “foo” (with foo being the term name). I assume this wasn't intentional?
I'm not sure what the best way is to fix this, though. I guess using drupal_set_title() in taxonomy_form_term is a hack (because it is a form builder function, not a page callback).
BTW, if we want consistency with node.module, the tab title should be “Edit” (not “Edit term”) and the page title should be “Edit term foo”.
Historically, the tab was (re)named “Edit term” not "Edit" due to conflicts with views. Term listing page taxonomy/term/n may commonly be owned by a view, which had also claimed a tab labelled 'Edit".
I imagine the same issue still applies?
Comments
Comment #1
catchSexy.
Comment #2
dries commentedCommitted to CVS HEAD. Thanks sun!
Comment #4
c960657 commentedThis patch also changed the tab label on taxonomy/term/1, so the tabs are no longer labeled “View” and “Edit term” but “View” and “foo” (with foo being the term name). I assume this wasn't intentional?
I'm not sure what the best way is to fix this, though. I guess using drupal_set_title() in taxonomy_form_term is a hack (because it is a form builder function, not a page callback).
BTW, if we want consistency with node.module, the tab title should be “Edit” (not “Edit term”) and the page title should be “Edit term foo”.
Comment #5
sunThe same issue exists on user/% and a couple of other pages.
Hence, let's move this to a dedicated issue. If you find an existing or create a new one, linking to it from here would be highly appreciated.
Comment #6
dman commentedHistorically, the tab was (re)named “Edit term” not "Edit" due to conflicts with views. Term listing page taxonomy/term/n may commonly be owned by a view, which had also claimed a tab labelled 'Edit".
I imagine the same issue still applies?
Neat tidy-up btw sun.
Comment #7
c960657 commentedI just filed #635378: Wrong local task titles for taxonomy term and user account pages.