https://bugzilla.wikimedia.org/show_bug.cgi?id=20012
Summary: Glossary: Don't parse empty content
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
From
http://www.mediawiki.org/wiki/Extension:Glossary#Don.27t_parse_empty_content
Glossary will attempt to parse zero length content and as a result, it may
cause everything to fail. The simple fix is to open Glossary.php and find:
if ($rev) {
And replace with:
if ($rev && $text) {
To think about this in a wider context, is there any reason why the parser hook
is being called on zero length content in the first place?
--
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