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

Daniel Werner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #4650|0                           |1
        is obsolete|                            |

--- Comment #9 from Daniel Werner <[email protected]> 2011-11-08 17:35:20 UTC ---
Created attachment 9380
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9380
wfRunHooks() return value no longer implies whether variable value was found.
Only $ret is important.

returning false within hook call will improve performance since it will prevent
wfRunHooks() to do any other calls, returning true still works with old
extensions and has no specific meaning. This wil primarily fix extensions which
have followed the old description on
http://www.mediawiki.org/wiki/Manual:Hooks/ParserGetVariableValueSwitch
It allows to improve performance for extensions which do not want to keep
compatibility with previous MW versions by returning false when value found.

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