The default bug view has changed. See this FAQ.

Create new RDF-based title-override mechanism

RESOLVED INVALID

Status

Mozilla Developer Network
General
--
major
RESOLVED INVALID
10 years ago
5 years ago

People

(Reporter: sheppy, Unassigned)

Tracking

Details

(Reporter)

Description

10 years ago
Since we're not using RDF for our upcoming breadcrumb system, we should look at leveraging that to implement title-override.

This new title-override should also be able to override the main article title, not just the one in the breadcrumbs.

Adding a template of the form {{titleOverride|new title here}} should insert an RDF entry for the page; then, when rendering pages, we should check for that entry and use it for the page title and breadcrumbs as applicable.

Comment 1

10 years ago
> Since we're not using RDF for our upcoming breadcrumb system
Since we _are_ using RDF... got me confused for a bit.
(In reply to comment #0)
> Since we're not using RDF for our upcoming breadcrumb system

"now using"?

> Adding a template of the form {{titleOverride|new title here}} should insert an
> RDF entry for the page; then, when rendering pages, we should check for that
> entry and use it for the page title and breadcrumbs as applicable.

We need to take care that we don't end up with the ghost-override problem we had before, where removing the TO indicator doesn't remove the TO entry in the database. I don't know how the RDF arc management works; removing the TO arc at the very beginning of the save process would likely work.

(As long as the TO template is processed at save time, and not just parse time, that is!)
(Reporter)

Comment 3

10 years ago
Oops.  That was supposed to be "now using," yes.

The RDF gets updated automatically any time you save an edit to a page (this is done already), so if you remove a T-O, saving the page will remove the RDF from the database.
Severity: normal → major
(Reporter)

Comment 4

8 years ago
Invalid now that we're on Deki.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INVALID
(Assignee)

Updated

5 years ago
Component: Deki Infrastructure → Other
Product: Mozilla Developer Network → Mozilla Developer Network
You need to log in before you can comment on or make changes to this bug.