Page MenuHomePhabricator

Anchors produce empty pl_title values in pagelinks table
Closed, ResolvedPublic

Description

Some anchor links produce a bad row in the pagelinks table (empty pl_title value) and the error "Invalid title in result set;" on Special:WantedPages.

Here is a simple test case. Create a wiki article containing these two lines:

#test

test

In the pagelinks table, you get:

mysql> select * from pagelinks where pl_title = '';
+---------+--------------+----------+

pl_frompl_namespacepl_title

+---------+--------------+----------+

7170

+---------+--------------+----------+
1 row in set (0.01 sec)

This happens in 1.14.0 but not in 1.13.2. In my 1.13.2 wiki, the pagelinks table has zero rows with an empty pl_title, so I assume this new behavior is a bug.


Version: 1.14.x
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz17713

Event Timeline

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

How serious (or not) is this bug? Invalid database rows worry me....

fixed in r47983, but this seems to be the same issue as bug 16965.

  • Bug 17751 has been marked as a duplicate of this bug. ***
  • Bug 18071 has been marked as a duplicate of this bug. ***