Page MenuHomePhabricator

In-page links (e.g. [[#foo]]) currently register a NS_MAIN null-title missing entry in the link table
Closed, ResolvedPublic

Description

Author: herd

Description:
<ref>anything</ref> causes <page ns="0" title="" missing="" />

See also bug 16964 - prop=links returns a title=""

This may not be a problem with this extension. If so, please change component to 'MediaWiki'.

There have been several linking irregularities, that may be related to this bug, or may have caused this bug while being fixed:

bug 16162 - namespace -1 and -2 links were possible
bug 16837 - escaped file links were not being registered


Version: 1.15.x
Severity: normal
URL: http://en.wikipedia.org/w/api.php?action=query&generator=links&titles=1985_Kokkilai_Offensive

Details

Reference
bz16965

Event Timeline

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

It has nothing to do with Cite in particular, it's just that MediaWiki:Cite_reference_link contains a link of the form #foo. That type of link is being parsed as a link to the page with title "" instead of being ignored (or parsed as a self-link).

Works in r45265, broken in r45266.

  • Bug 16964 has been marked as a duplicate of this bug. ***
  • Bug 21841 has been marked as a duplicate of this bug. ***