Last modified: 2013-08-29 07:06:43 UTC
{% block personal-information country %} %donate_interface-amount-legend%: {% block donation-amount currency_code %} These are just some of the messages I get from MediaWiki when I try to load Special:GlobalCollectGateway with debug=true. Ideally debug=true would be a good way to find JavaScript bugs, but right now, it's impossible to see where JS errors are actually coming from.
Interesting. I've been worried about the inconsistent way "debug" is handled: in some places it is checked using getFuzzyBool, and in other places, simple equality. Can you try "debug=1" as a workaround?
That's a valid workaround, I guess. I can take a look at this for convenience (because a year of typing debug=true likely won't lend itself to overnight change...)
FWIW, it seems to be exclusively FuzzyBool in core (based on "git grep get.*Bool.*debug"), so that's probably how it should be here.
marktraceur: gross, I found the culprit, gateway_forms/RapidHtml.php line 256, in add_messages() <pre> if( $wgRequest->getText( 'debug', 'false' ) == 'true' ){ # do not replace tokens </pre> So, that's just terrible since it actually breaks debugging.