Now SemanticTitle sets only DISPLAYTITLE in SMW?
> Consequently, Semantic Title will now work with display titles set with that magic word.
Without $wgSemanticTitleProperties ?
Now SemanticTitle sets only DISPLAYTITLE in SMW?
> Consequently, Semantic Title will now work with display titles set with that magic word.
Without $wgSemanticTitleProperties ?
In version 3.0, if you use DISPLAYTITLE to set the page title, that value will be used as the default link text on links to the page. This was not the case before.
You can continue to use $wgSemanticTitleProperties, but it is no longer necessary if you use DISPLAYTITLE. In fact, the implementation of DISPLAYTITLE is preferable to that of $wgSemanticTitleProperties, since the storing of the value happens at a better point during parsing of the page. I am actually considering phasing out $wgSemanticTitleProperties and the new corresponding Cargo variant in a future SemanticTitle release for those reasons. I welcome feedback on this decision.
Cindy,
I am experiencing an unexpected behaviour for categories.
When I use DISPLAYTITLE: xxx in category:Yyy, the category name is rendered correctly both in the page and when the category is linked, e.g. [[:Category:Yyy]] renders as xxx.
However, when using {{#categorytree:Yyy}} the category tree is rendered using the Page name (also used as URL) instead of the Display Title.
Is it a feature of Semantic Title, Category Tree or there is a particular setting that I need to add to LocalSettings.php to activate the functionality?
Thank you
Category Tree would need to be updated to use the display title rather than the page name.
Cindy,
Please can you expand on the "Category Tree would need to be updated" part, does it mean I need to install a newer version for it to work or does it mean the author of Category Tree needs to modify its extension to use semantic title?
In the latter case, can you provide a summary description of the mechanism used by semantic title e.g. if one needs to replace calls to Title::makeTitle(...) with SemanticTitle::makeTitle() or alike and a pointer to likely functions that need to be updated, as Category Tree does not appear to be maintained, at least in recent time.
Thank you.
Sorry - I meant the latter. It looks like this is now addressed with the patch https://gerrit.wikimedia.org/r/#/c/307332/.