Add clickable link for section headers
authorVivek Ghaisas <v.a.ghaisas@gmail.com>
Tue, 17 Feb 2015 16:24:26 +0000 (21:54 +0530)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 19 Feb 2015 21:53:57 +0000 (22:53 +0100)
commit6c7480e5f03eabbea79059b70b83fe9b681a4ab9
tree3a3086de8499ba48d3ddf489d53f2ddfbfbde920
parente2011f50dbff9188003fe1708c7444f34728aa01
Add clickable link for section headers

Changed the Linker::makeHeadline function to additionally generate an
anchor that uses a section symbol. Created mediawiki.sectionAnchor
module to style the anchors and included it in SkinTemplate so that
other skins automatically get those styles.

Bug: T18691
Change-Id: I562e437ec0bd337c9db0406f5dcab504dfa37034
RELEASE-NOTES-1.25
includes/Linker.php
includes/skins/SkinTemplate.php
languages/i18n/en.json
resources/Resources.php
resources/src/mediawiki/mediawiki.sectionAnchor.css [new file with mode: 0644]
resources/src/mediawiki/mediawiki.sectionAnchor.hide.css [new file with mode: 0644]
tests/parser/parserTests.txt