https://bugzilla.wikimedia.org/show_bug.cgi?id=17225
--- Comment #1 from Mikel Maron <[email protected]> 2009-03-06 14:41:47 UTC --- FYI, I've found the source of this bug and applied this patch. Looks like some php installations will set switch-mode even if it's submitted empty. @@ -705,7 +707,7 @@ * pressing the "switch mode" button, then * set a global to do some jiggery-pokery * in the displayEditPage function, later */ - if ( isset( $data['switch-mode'] ) ) + if ( isset( $data['switch-mode'] ) and strlen( $data['switch-mode']) > 0) $wgSwitchMode = true; -- 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
