Page MenuHomePhabricator

Allow Semantic Properties to be set without being displayed inline.
Closed, DeclinedPublic

Description

At times, it may be useful, not to show attribute values or relation targets at the place where they are defined.

This may be desirable in case of repetitions, or repetitive data in varying formats, or for a wealth of other reasons.

Examples:
Say, you have an article about a city. You want to list a series of places of interest for tourists. You put an address template call next to each of them, which generally includes street address, ZIP, City, geo-coordinates, and the like. In the list, you would not want to repeat the ZIP code and city name in the all the time, but you want them to be semantic properties which can be referred to elsewhere.

You probably would not want geo coordinates shown in the defining articles, but you do want them used e.g. in an automatically generated map.

Currently, we can resort to CSS display:none, which has several drawbacks, though.

Conclusion:
As we have it with categories, which are shown inline only if an initial colon [[:...]] is being used, we ought to have a way to not show semantic properties inline.

If have no suggestion as to how this should be signalled syntactically. One could argue to maybe systematically use the same approach that categories, or images do. I do not like that way anyways, thus I do not suggest it.


Version: unspecified
Severity: enhancement

Details

Reference
bz11910

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:55 PM
bzimport set Reference to bz11910.
bzimport added a subscriber: Unknown Object (MLST).

info wrote:

I think Mediawiki's support for alternate text, e.g.
[[Address line 1::1600 Pennsylvania Avenue | ]

, takes care of this.