https://bugzilla.wikimedia.org/show_bug.cgi?id=10081
--- Comment #9 from ✓ <[email protected]> 2011-02-10 17:52:02 UTC --- > if ( $enclose === GESHI_HEADER_NONE ) { > $attribs = self::addAttribute( $attribs, 'class', 'mw-geshi ' . $lang . > ' source-' . $lang ); > } else { - $attribs = self::addAttribute( $attribs, 'dir', 'ltr' ); + $attribs['dir'] = $attribs['dir'] || 'ltr'; > $attribs = self::addAttribute( $attribs, 'class', 'mw-geshi' ); > $attribs = self::addAttribute( $attribs, 'style', 'text-align: left;' ); > } Im not sure whether PHP handles this automatic typecasting right, a more detailed version would be + if ( is_null($attribs['dir']) ) $attribs['dir'] = 'ltr'; -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
