Last modified: 2011-11-08 22:06:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34057, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32057 - PHP Fatal error: Call to a member function getPrefixedDBkey() on a non-object in /www/w/includes/parser/Preprocessor_DOM.php
PHP Fatal error: Call to a member function getPrefixedDBkey() on a non-objec...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.20.x
All All
: Highest major (vote)
: 1.18.0 release
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-30 21:00 UTC by Niklas Laxström
Modified: 2011-11-08 22:06 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2011-10-30 21:00:55 UTC
Happens on http://translatewiki.net/wiki/FAQ
Comment 1 John Du Hart 2011-10-30 21:01:38 UTC
Got a line number?
Comment 2 Niklas Laxström 2011-10-31 06:27:54 UTC
Oops, it is on line 1122.
Comment 3 Antoine "hashar" Musso (WMF) 2011-11-01 10:13:24 UTC
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.
Comment 5 Platonides 2011-11-08 20:19:18 UTC
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. :)
Comment 6 Niklas Laxström 2011-11-08 20:28:43 UTC
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?
Comment 7 Platonides 2011-11-08 21:03:04 UTC
Just {{int:Edittoolbar-help-content-heading1-syntax}} was crashing translatewiki.
Fixed in r102440.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links