Tech:RDF embedded in page alters page title on subpages

From Wikitravel Shared
Jump to: navigation, search

What happens[edit]

The page title changes from the full page name to the subpage page name. For example Sydney/City changes to just City. Chicago/Loop changes to just Loop.

Unless I'm misunderstanding, this doesn't seem to affect the subpage name? If you mean the name as it appears in the breadcrumb trail, then yes, the Chicago/ part is suppressed, but isn't that desirable? --Peter Talk 17:05, 28 July 2009 (EDT)
I mean the page title - as in the html title of the page (that title usually displays in the browser title bar). This changes between the full page name and just the bare subpage name depending on whether there is any RDF or an RDF based template on the page. I guess an argument could be made for having the subpage name as the page title, or equally an argument for having the full page name. But it really shouldn't change just because you put some entirely unrelated RDF on a page. If on Chicago/Loop you put a template with RDF - say districtguide, the page title will be Loop. If you remove the template (and any other RDF templates) the title will be Chicago/Loop. Odd. --Inas 21:32, 30 July 2009 (EDT)
Makes sense. I would, then, support changing this. It's nice to suppress the "City" part of City/District in the breadcrumb trail, but that's not terribly important. --Peter Talk 17:26, 1 August 2009 (EDT)

When it happens[edit]

Whenever any RDF is added to a page, including a template containing RDF.

Is this true? If I'm not mistaken, en:template:related contains RDF, but pages using it (like) don't seem to be experiencing this bug. --Peter 22:56, 17 September 2009 (EDT)

What should happen[edit]

The page title should be unaffected by any RDF on the page.

How to fix it[edit]

Additional comments[edit]

Sign below, please[edit]

--Inas 02:26, 28 July 2009 (EDT)