https://bugzilla.wikimedia.org/show_bug.cgi?id=27935

Dan Delaney <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #5 from Dan Delaney <[email protected]> 2011-03-08 
18:25:22 UTC ---
It happened again on a different Wikipedia page, and now I know how to recreate
it at will in all browsers.

I clicked on a link on one Wikipedia page that took me to this URL:
http://en.wikipedia.org/wiki/Steve_Fuller_(social_epistemologist)

Notice the one common factor with the URL I submitted this bug with: the
parentheses

So check this out. This happens in Firefox, Safari, and IE:

The page displays CORRECTLY if you enter that URL with the parentheses
URL-ENCODED, as in
"http://en.wikipedia.org/wiki/Steve_Fuller_%28social_epistemologist%29";.

BUT, put it in with the parentheses as literal characters, as in
"http://en.wikipedia.org/wiki/Steve_Fuller_(social_epistemologist)", and the
page does NOT display correctly.

What happens is a slew of Javascript errors.

Here are the errors displayed by IE7:

Runtime error: Line 11: 'mw' is undefined
Runtime error: Line 10: 'jQuery' is undefined
Runtime error: Line 2: Object expected
Runtime error: Line 28: 'jQuery' is undefined
Runtime error: Line 159: 'mediaWiki' is undefined
Runtime error: Line 184: Object doesn't support this property or method
Runtime error: Line 1047: Object expected
Runtime error: Line 572: Object doesn't support this property or method


And here are the errors displayed in Firefox error console:

Error: mw is not defined, Line: 11
Source File: http://bits.wikimedia.org/skins-1.5/common/mwsuggest.js?283-19
Error: jQuery is not defined, Line: 22
Source File:
http://bits.wikimedia.org/w/extensions/UsabilityInitiative/js/plugins.combined.min.js?283-19
Error: $j is not defined, Line: 2
Source File:
http://bits.wikimedia.org/w/extensions/UsabilityInitiative/Vector/Vector.combined.min.js?283-19
Error: jQuery is not defined, Line: 112
Source File:
http://en.wikipedia.org/w/index.php?title=Special:BannerController&cache=/cn.js&283-19
Error: mediaWiki is not defined, Line: 159
Source File: http://bits.wikimedia.org/skins-1.5/common/wikibits.js?283-19
Error: jQuery is not defined, Line: 1047
Source File: http://bits.wikimedia.org/skins-1.5/common/wikibits.js?283-19


And here's what we get in the Safari error console:

Failed to load resource: the server responded with a status of 404 (Not Found),
bits.wikimedia.org/skins-1.5/vector/main-ltr.css?283-19
Failed to load resource: the server responded with a status of 404 (Not Found),
bits.wikimedia.org/skins-1.5/common/jquery.min.js?283-19
ReferenceError: Can't find variable: mw,
bits.wikimedia.org/skins-1.5/common/mwsuggest.js?283-19:11
ReferenceError: Can't find variable: jQuery,
bits.wikimedia.org/w/extensions/UsabilityInitiative/js/plugins.combined.min.js?283-19:22
ReferenceError: Can't find variable: $j,
bits.wikimedia.org/w/extensions/UsabilityInitiative/Vector/Vector.combined.min.js?283-19:2
ReferenceError: Can't find variable: jQuery,
/w/index.php?title=Special:BannerController&cache=/cn.js&283-19:112
ReferenceError: Can't find variable: mediaWiki,
bits.wikimedia.org/skins-1.5/common/wikibits.js?283-19:159
ReferenceError: Can't find variable: jQuery,
bits.wikimedia.org/skins-1.5/common/wikibits.js?283-19:1047

(Thank you Firefox and Safari developers for letting us know what FILE the line
errors are occurring in! Would that the IE devs had been so considerate.)

--Dan

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to