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

Siebrand Mazeland <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|[email protected],   |
                   |[email protected],      |
                   |[email protected],    |
                   |[email protected],      |
                   |[email protected],           |
                   |[email protected] |
                   |om                          |

--- Comment #6 from Siebrand Mazeland <[email protected]> ---
This is a live hack by Niklas.

 siebrand@v220131064414794:/www/translatewiki.net/w$ git diff
 diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php
 index e5b8872..d9b4340 100644
 --- a/includes/SkinTemplate.php
 +++ b/includes/SkinTemplate.php
 @@ -1825,6 +1825,9 @@ abstract class BaseTemplate extends QuickTemplate {
         * @return string
         */
        function makeListItem( $key, $item, $options = array() ) {
 +               if ( !is_array( $item ) ) {
 +                       throw new MWException( "Who is eating my carrots?" );
 +               }
                if ( isset( $item['links'] ) ) {
                        $html = '';
                        foreach ( $item['links'] as $linkKey => $link ) {

I don't know what he's trying to debug.

Removed some people from CC.

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