https://bugzilla.wikimedia.org/show_bug.cgi?id=35628
Krinkle <krinklem...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krinklem...@gmail.com --- Comment #14 from Krinkle <krinklem...@gmail.com> --- https://gerrit.wikimedia.org/r/#/c/113518/ (Mormegil Jul 11 18:04) > Patch Set 8: > This change broke all inline coordinates on cswiki (until I fixed the > template) because of a small wikitext interpretation change. Formerly, > “{{#switch:x|y=z|#default}}” would render empty, while currently, it > renders as “#default”. The input wikitext is arguably wrong (an equal sign > is missing there, it should be “...|#default=}}”), and it is debatable > what is _better_ behavior in that case. However, forgetting an equal sign is > an easy error to make, especially when it used to work fine. > The original behavior was more or less a random byproduct, I’d say. (Keeping > $test from “$mwDefault->matchStartAndRemove( $test )” to be used in the > final “return $test;”.) The current behavior is arguably more logical, but > in the name of backwards (bug-for-bug?) compatibility, we might want to do > “$lastItem = $decodedTest” next to “$defaultFound = true;”... Dunno. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l