Either of those would work reasonably well.
To show on editsection all templates on the page, on editpage.php lines
1152-1153 replace
$templates = ($this->preview || $this->section != '') ?
$this->mPreviewTemplates : $this->mArticle->getUsedTemplates();
$formattedtemplates = $sk->formatTemplates( $templates, $this->preview,
$this->section != '');
by
$templates = ($this->preview || $this->mPreviewTemplates != '') ?
$this->mPreviewTemplates : $this->mArticle->getUsedTemplates();
$formattedtemplates = $sk->formatTemplates( $templates, $this->preview,
$this->section != '' && $this->mPreviewTemplates != '');
Also, if you have enabled on your preferences Show preview on first
edit, you will get the correct section templates even without this patch.