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

           Summary: Check return value of hook
                    SpecialContributionsBeforeMainOutput in
                    SpecialContributions
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: Normal
         Component: Special pages
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The return value of hook SpecialContributionsBeforeMainOutput in
SpecialContributions is not checked. This means, that external users using this
hook can currently not return a false value in order to abort the main
processing (rendering the form and list of contribution).

I added an if() statement - see patch - in conformity to similar hooks in other
modules.

With the patch, "false" stopps the processing.


-- 
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

Reply via email to