Page MenuHomePhabricator

Bugs in debug mode on simple wikipedia
Closed, ResolvedPublic

Description

There is a problem with collapsible tabs and collapsible nav. What's interesting is that they show up only when debug is true.

Putting this exact errors aside - is it an expected behaviour that they weren't shown without debugging mode? Are all scripts in try catch or something?

Or maybe this is some weird problem with RL?


Version: 1.17.x
Severity: normal
URL: http://simple.wikipedia.org/wiki/Main_Page?debug=true

Details

Reference
bz27372

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:14 PM
bzimport set Reference to bz27372.
Nux created this task.Feb 12 2011, 10:03 PM

(In reply to comment #0)

There is a problem with collapsible tabs and collapsible nav. What's
interesting is that they show up only when debug is true.

Putting this exact errors aside - is it an expected behaviour that they weren't
shown without debugging mode? Are all scripts in try catch or something?

Or maybe this is some weird problem with RL?

It's probably a JS error. In debug mode, scripts aren't combined, so I guess a JS error in one script doesn't stop another script in that case.

This was indeed caused by some modules not being loaded in debug mode.

This has been fixed now and is deployed on test2.wikipedia.org.
It will soon be live on other wikis as well (or perhaps already is)

  • This bug has been marked as a duplicate of bug 27321 ***