Page MenuHomePhabricator

Implement HTML5 <aside> tag
Closed, DuplicatePublicFeature

Description

Feature summary
The summary in the article preview is not always correct. Information in braces (e. g. birth date) are omitted, which is fine, but sometime, the wrong information is shown or more information than required. Also, sometimes the wrong preview image is displayed.

Use case(s)
Templates like info boxes, foreign language spellings, etc. can use the <aside> tag to mark information as less important information which should be omitted in the page preview.

Benefits (why should this be implemented?):
More control about the article summary and the preview image.

Event Timeline

Content with class noexcerpt is stripped from content

https://m.mediawiki.org/wiki/Extension:Popups#How_can_I_remove_content_from_a_page_preview?

Is this what you mean?

This sounds good. Thank you for pointing it out. However, this class is non-standard and not recognized by search engines, screen readers and other software.

Understood. Unfortunately most of this content comes from editors and templates so we have little control over changing these to aside. We'd have to edit every single template across all our projects. Momentum for this would most likely need to come from editors moving in that direction.

Is marking up content such as date of birth in brackets an appropriate use of aside? The spec seems to suggest not ("It's not appropriate to use the aside element just for parentheticals, since those are part of the main flow of the document")

Regarding the preview image, that's a different concern together with a whole host of complexity. See https://m.mediawiki.org/wiki/Special:MyLanguage/Extension:PageImages#Image_choice for information on that subject.

This needs discussion on wiki. It's not something page previews itself can address.