HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/Wikibase…

Authored by jenkins-bot <jenkins-bot@gerrit.wikimedia.org>.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/Wikibase 7604feddd801446b34406e4fb7eb8675d332a5d8

Add heading before sitelinks section

This patch adds a <h2> heading before the sitelinks section
and makes all site link group <h2> headings <h3> headings.
The styling of these headings looks a bit different but
the semantics are correct this way.

The <h2> section is required for semantic reasons and also
to display a collapsible "Site links" section on mobile wikidata.

Furthermore, the <h2> tag got the class section-heading so that
MobileFrontend will recognize it should be collapsed although
it is not a direct descendant of #content.

Because MobileFrontend won't recognize the heading otherwise,
a <span> is inserted with the id of the heading containing the
actual text.

The <h2> is not shown on desktops but is visible on mobile view.

Bug: T95889
Change-Id: I64d91e2f3b24b6fe03feae51d54ddd02a9c62fa3

Details

Committed
Gerrit Code ReviewJun 12 2015, 7:19 AM
Parents
rMEXTb94a7f6b337a: Updated mediawiki/extensions Project: mediawiki/extensions/Graph…
Branches
Unknown
Tags
Unknown
ChangeId
I64d91e2f3b24b6fe03feae51d54ddd02a9c62fa3

Event Timeline

Gerrit Code Review <gerrit@wikimedia.org> committed rMEXT54af8666c9fa: Updated mediawiki/extensions Project: mediawiki/extensions/Wikibase… (authored by jenkins-bot <jenkins-bot@gerrit.wikimedia.org>).Jun 12 2015, 7:19 AM