This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20163 - internal links need better default display text
Summary: internal links need better default display text
Status: NEW
Alias: None
Product: webplatform.org
Classification: Unclassified
Component: infrastructure (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Doug Schepers
QA Contact: public-webplatform-bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-29 18:30 UTC by Mike Sierra
Modified: 2012-11-30 19:25 UTC (History)
2 users (show)

See Also:


Attachments

Description Mike Sierra 2012-11-29 18:30:54 UTC
If I link internally to [[apis/css-regions/NamedFlow/overset]], the display output is the entire pathname, which doesn't seem that useful, & forces you to customize ([[apis/css-regions/NamedFlow/overset|'''overset''']]). Preferably the link should display the target's stub or custom title by default.
Comment 1 David Kirstein (Frozenice) 2012-11-29 18:41:54 UTC
That's standard MediaWiki behavior. I'm not sure if that's configurable, but I don't think so. 

Also, I wouldn't change it, as it's the way people working with wikis are used to.
Comment 2 Jonathan Garbee 2012-11-29 18:55:30 UTC
I concur with frozenice.  It is standard MediaWiki behavior and should be kept.  Editors know to override the link with a piped name.
Comment 3 Mike Sierra 2012-11-30 15:55:31 UTC
OK, am just logging things that might lead to unnecessary work for authors.

But see the list of pseudo-classes on this page:
tutorials/using_selectors
Is the template's display of the pathname in each link a reflection of this default link behavior, or can it be customized?
Comment 4 David Kirstein (Frozenice) 2012-11-30 18:18:47 UTC
That's because the following transclusion is used, which prints the full path:
  {{Special:PrefixIndex/css/selectors/pseudo-classes/}}

An alternative is:
  <subpages page="css/selectors/pseudo-classes" />

That one displays only the subpage's name by default. Check [1] for more information.


[1] http://www.mediawiki.org/wiki/Extension:SubPageList#Usage
Comment 5 Mike Sierra 2012-11-30 19:25:11 UTC
Thanks, new to these markup conventions