https://bugzilla.wikimedia.org/show_bug.cgi?id=71479

--- Comment #5 from Aude <[email protected]> ---
it seems to make a difference if FingerprintView::getHtmlForLabel is called
(via EntityView::getHtmlForFingerprint) before ClaimsView::getHtml.  If
FingerprintView::getHtmlForLabel called, then we get the exception on Q72.

if calling ClaimsView::getHtml (on Q72) with
$entityRevision->getEntity()->getClaims() directly, then no exception, no
problem.

with more debugging, it seems the problem is:

$idInParentheses = wfMessage( 'parentheses', $id ) in
FingerprintView::getHtmlForLabel and then it is passed to wfTemplate as a
Message.  Looking at the code, it might work via magic in the Template class
(which itself extends Message) and suppose it does work on other items!  but
not on Q72.

if we convert this to a string before passing to the template, then the
exception does not occur.

it still seems like something else weird is going on and think we should
further investigate.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to