Page MenuHomePhabricator

Patch for template backlinks AKA easy template editing/viewing
Closed, ResolvedPublic

Description

Author: hunterp

Description:
Its currently cumbersome to edit templates since we have to find the template
name from the source of a current page, then type Template:name_found.

SO:

Off 1.3.4 in includes/Parser.php line 1754

-$articleContent = $article->getContentWithoutUsingSoManyDamnGlobals();

+$articleContent =
$article->getContentWithoutUsingSoManyDamnGlobals().'[['.$title->getPrefixedText().']]';

This is a most basic patch. Maybe some formatting would be done
-like having a border around all templates and placing the link to the template
outside the border


Version: 1.3.x
Severity: normal

Details

Reference
bz607

Event Timeline

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

It seems to me that bug 143 already covers this without breaking page layout for
inline templates.

Provisionally resolving as WONTFIX.

rowan.collins wrote:

reopening to mark as dupe of bug 229, which discusses some of the disadvantages
of this approach

rowan.collins wrote:

*** This bug has been marked as a duplicate of 229 ***