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: wikibugs-l@lists.wikimedia.org
        ReportedBy: hickse...@optusnet.com.au


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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to