Page MenuHomePhabricator

PHP Fatal error: Call to a member function getPrefixedDBkey() on a non-object in /www/w/includes/parser/Preprocessor_DOM.php
Closed, ResolvedPublic

Description

Happens on http://translatewiki.net/wiki/FAQ


Version: 1.20.x
Severity: major

Details

Reference
bz32057

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 12:01 AM
bzimport set Reference to bz32057.
bzimport added a subscriber: Unknown Object (MLST).

On the FAQ page the following wikitext crash the parser:

{{msg-mw|Edittoolbar-help-content-heading1-syntax}}

With the additional parameter 'notext=Yes' it is fine:

{{msg-mw|Edittoolbar-help-content-heading1-syntax|notext=Yes}}

I have uploaded the test cases as subpages of http://translatewiki.net/wiki/User:Hashar/bug32057 . Clicking the /crash results in a blank page.

Importing User:Hashar/bug32057{,/crash,/nocrash} into trunk, it doesn't fail.
Seems dependant of {{UILANGCODE}}, which I'm told it's a propietary modification by translatewiki. :)

I've offered access for debugging, I have identified the revision which causes it. UILANGCODE is involved, but like with the previous bug it is not mandatory for causing the bug. What more can I do?

Just {{int:Edittoolbar-help-content-heading1-syntax}} was crashing translatewiki.
Fixed in r102440.