Last modified: 2011-06-01 16:30:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31201, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29201 - Javascript Error Log full of warning messages "important" expected, but "ie" gefunden. ";" oder "}" expected but "ie" found ...load.php?debug=false&lang=en&modules=mediawiki.legacy.commonPrint%2Cshared%7Cskins.vector&only=styles&skin=vector&* line: 1
Javascript Error Log full of warning messages "important" expected, but "ie" ...
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-29 16:01 UTC by T. Gries
Modified: 2011-06-01 16:30 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description T. Gries 2011-05-29 16:01:29 UTC
Warnung: 'important' erwartet, aber 'ie' gefunden.  ';' oder '}' zum Beenden der Deklaration erwartet, aber 'ie' gefunden.  Deklaration ignoriert.

Quelldatei: http://www.myserver.org/phase3/load.php?debug=false&lang=en&modules=mediawiki.legacy.commonPrint%2Cshared%7Cskins.vector&only=styles&skin=vector&*
Zeile: 1
Comment 1 Derk-Jan Hartman 2011-05-29 19:29:16 UTC
They are only warnings, and they are for css rules that should only be applied to certain Intern Explorer versions. It behaves as intended.
Comment 2 T. Gries 2011-05-29 19:35:02 UTC
(In reply to comment #1)
> They are only warnings, and they are for css rules that should only be applied
> to certain Intern Explorer versions. It behaves as intended.

usually, these warnings do make sense. And there are many. They often indicate, that a spurious "," or ";" can break or broke the process flow somehow. I don't like css or js warnings.
Comment 3 Roan Kattouw 2011-06-01 16:30:03 UTC
(In reply to comment #2)
> usually, these warnings do make sense. And there are many. They often indicate,
> that a spurious "," or ";" can break or broke the process flow somehow. I don't
> like css or js warnings.

This is part of a hack we use to apply certain CSS rules only on IE. The rule looks something like foo: bar !ie; . In all non-IE browsers (and IE 8 and higher), if an exclamation mark (!) is not followed by 'important', the rule is considered invalid and ignored (and a warning thrown, apparently; these are the warnings you're seeing). IE 7 and below, on the other hand, don't care and just apply these rules anyway.

Sometimes, we use CSS hacks that cause warnings in compliant browsers. That's a fact of life, and we're not gonna spend a lot of time trying to keep warning logs clean.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links