https://bugzilla.wikimedia.org/show_bug.cgi?id=23468
Summary: Special:AllMessages broken by custom system messages
Product: MediaWiki
Version: 1.15.3
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: Special pages
AssignedTo: [email protected]
ReportedBy: [email protected]
Yesterday, after long debugging, I found out that creating custom system
messages (that is, new ones, not those lists by Special:AllMessages before)
breaks that very special page -- it will then result in a 500 "internal server
error". The Apache error log merely states "Permature end of script headers in
index.php".
Because I had made more than one change when I actually noticed that the page
was not working anymore, I set out to debug what I had done wrong (I had
written a skin based on monobook as well as installed some extensions).
I tracked the error down so far that I can say it disappears when I comment out
lines 196-200 in file /includes/specials/SpecialAllmessages.php (that is the
if-statement creating the appropriate Talk link for each message); to suppress
error messages complaining about an empty $talkLink variable you'll have to
initialize it to an empty value instead of the if-statement.
My debugging also revealed that in the compound array used to create the
messages list, all my custom (new) system messages were not included -- curious
that they should still crash the script.
Playing around more with it revealed that the error is either hidden in this
file directly, or something more deeper in the language/messages/i18n
framework.
If someone could look into this, I'd be really grateful, because even though
the rest of the wiki works fine, that error is a thorn in my side (and also, my
skin is based on several custom messages).
Regards,
Patrick
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l