Page MenuHomePhabricator

Allow transclusion from the beginning of the page to a certain section.
Closed, ResolvedPublic

Description

Author: beau

Description:
LST allows currently {{#lst:articleX|sectionY|}}, which transcludes from articleX sectionY and everything after it.

There should be a counterpart for it - {{#lst:articleZ||sectionU}}, which transcludes from articleZ sectionU and everything before it.

LST is used in ProofreadPage extension, and this enhancement allows to fix bug 23049.


Version: unspecified
Severity: enhancement

Details

Reference
bz23407

Event Timeline

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

mystic_sonic wrote:

"Seriously, that would make this extension work wonders for dynamic articles. But, Steve Sanbeg hasn't been around for a while, maybe somebody should try to edit the extension themselves. I honestly wouldn't know where to begin though." http://www.mediawiki.org/wiki/Extension_talk:Labeled_Section_Transclusion#Templates - Smile Lee 19:47, 28 November 2010 (UTC)

beau wrote:

Patch for the missing feature

Attached:

john wrote:

Applied in r95343 with a minor change.