Last modified: 2012-12-08 17:19:20 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 T44225, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42225 - PHP Notice: Undefined offset: 0 in /www/translatewiki.net/w/languages/Language.php on line 2965
PHP Notice: Undefined offset: 0 in /www/translatewiki.net/w/languages/Langua...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
LiquidThreads (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Niklas Laxström
:
Depends on:
Blocks: 39480
  Show dependency treegraph
 
Reported: 2012-11-17 09:34 UTC by Niklas Laxström
Modified: 2012-12-08 17:19 UTC (History)
5 users (show)

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


Attachments

Description Niklas Laxström 2012-11-17 09:34:12 UTC
Don't have more info yet.
Comment 1 Niklas Laxström 2012-11-17 09:57:31 UTC
Language = pa;
Input = string(3) "੫"

Backtrace:
string(1681) "<ul>
<li>Language.php line 2965 calls wfBacktrace()</li>
<li>Language.php line 2896 calls Language->commafy()</li>
<li>Message.php line 617 calls Language->formatNum()</li>
<li>Message.php line 595 calls Message->extractParam()</li>
<li>Message.php line 451 calls Message->replaceParameters()</li>
<li>Message.php line 493 calls Message->toString()</li>
<li>View.php line 1827 calls Message->parse()</li>
<li>View.php line 2122 calls LqtView->getShowReplies()</li>
<li>View.php line 1918 calls LqtView->showThread()</li>
<li>View.php line 2113 calls LqtView->showThreadReplies()</li>
<li>View.php line 1918 calls LqtView->showThread()</li>
<li>View.php line 2113 calls LqtView->showThreadReplies()</li>
<li>View.php line 1918 calls LqtView->showThread()</li>
<li>View.php line 2113 calls LqtView->showThreadReplies()</li>
<li>View.php line 1918 calls LqtView->showThread()</li>
<li>View.php line 2113 calls LqtView->showThreadReplies()</li>
<li>View.php line 1918 calls LqtView->showThread()</li>
<li>View.php line 2113 calls LqtView->showThreadReplies()</li>
<li>TalkpageView.php line 352 calls LqtView->showThread()</li>
<li>Dispatch.php line 63 calls TalkpageView->show()</li>
<li>Dispatch.php line 217 calls LqtDispatch::talkpageMain()</li>
<li>- line - calls LqtDispatch::tryPage()</li>
<li>Hooks.php line 253 calls call_user_func_array()</li>
<li>GlobalFunctions.php line 3815 calls Hooks::run()</li>
<li>Wiki.php line 412 calls wfRunHooks()</li>
<li>Wiki.php line 305 calls MediaWiki->performAction()</li>
<li>Wiki.php line 555 calls MediaWiki->performRequest()</li>
<li>Wiki.php line 448 calls MediaWiki->main()</li>
<li>index.php line 59 calls MediaWiki->run()</li>
</ul>
"

Notice: Undefined offset: 0 in /www/dev.translatewiki.net/w/languages/Language.php on line 2966
Comment 2 Niklas Laxström 2012-12-08 17:04:03 UTC
I'd say LQT is passing invalid input to wfMessage which calls Language::formatNum
Comment 3 Niklas Laxström 2012-12-08 17:19:20 UTC
https://gerrit.wikimedia.org/r/37633

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


Navigation
Links