Try to output editsection markers instead of rendered editsection links and defer...
authorDaniel Friesen <dantman@users.mediawiki.org>
Mon, 3 Jan 2011 20:17:20 +0000 (20:17 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Mon, 3 Jan 2011 20:17:20 +0000 (20:17 +0000)
commit969561ae3c9051eb408626e9b6debb6c0f210b71
treea1bb2e308caa9b1148fe50d30598568fa9501a9d
parent49aa485313aa7f1fc9eb7ac0772fafe400bf29ee
Try to output editsection markers instead of rendered editsection links and defer the rendering to a point where the markup does not need to be stored in the cache.
Doing this allows skins to override doEditSectionLinks without poluting the parser cache or fragmenting the parser cache more.
As a side effect it eliminates the primary cause of user language based parser cache fragmentation.
Because this makes most old parser cache entries invalid $wgUseEditSectionTokens is provided so that large installations like Wikipedia can keep their old parser cache entries.
RELEASE-NOTES
includes/DefaultSettings.php
includes/parser/Parser.php
includes/parser/ParserOptions.php
includes/parser/ParserOutput.php