Page MenuHomePhabricator

WikiEditor edit controls gone from test2wiki in IEs
Closed, DeclinedPublic

Description

Seen as of Apr 9 on test2wiki

Using IE8/9 Type a URL of a page to be created and click Create e.g. http://test2.wikipedia.org/w/index.php?title=Some_page_randomly&action=edit.

Editing tool bar should appear but does not.


Version: unspecified
Severity: major
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=47064

Details

Reference
bz47065

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:25 AM
bzimport set Reference to bz47065.
bzimport added a subscriber: Unknown Object (MLST).

Adding Max and Timo and Greg per email discussion yesterday

(In case nobody can investigate within the next days, we should test on mw.org after deploying 1.22wmf2 next Monday.)

  • Bug 47224 has been marked as a duplicate of this bug. ***

Browser: IE8, Windows 7

Location: http://test2.wikipedia.org/w/index.php?title=Some_page_randomly&action=edit

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Tue, 16 Apr 2013 01:18:35 UTC

Message: Could not set the href property. Invalid property value.
Line: 10391
Char: 6
Code: 0
URI: https://bits.wikimedia.org/test2.wikipedia.org/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20130415T141616Z

Message: Could not set the href property. Invalid property value.
Line: 10391
Char: 6
Code: 0
URI: https://bits.wikimedia.org/test2.wikipedia.org/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20130415T141616Z

It only happens on test2.wikipedia.org, which suggest an extension might be tampering with the ResourceLoader registry there and causing mw.loader to try and load a stylesheet from an invalid url.

(In reply to comment #6)

It only happens on test2.wikipedia.org [..]

At least not on test.wikipedia.org, only test2.

(In reply to comment #7)

(In reply to comment #6)

It only happens on test2.wikipedia.org [..]

At least not on test.wikipedia.org, only test2.

It seems to only happen on test2 because test2 has ResourceLoader debug mode enabled by default, and the other wikis don't. Adding &debug=true to an en.wikipedia.org edit page URL produces the same error in IE 8.

The odd part is that the URLs seem to be valid protocol-relative URLs, and that my local test wiki (having only a few extensions installed) has no such problem. So I think the cause of this is IE's 31 stylesheet limit, and that debug mode loads each stylesheet separately, even in IE < 10.

I have filed bug 47277 to track this.

Lowering priority as root issue has been identified (bug 47277) as a test2 config issue, so deployment to production servers should not be affected.

Arthur Richards was able to trigger a very similar error but a) not in IE, b) not in debug mode, c) not on test2wiki

(03:09:57 PM) awjr: just noticed a js error on what looks like pages with tables
(03:10:02 PM) awjr: Exception thrown by mediawiki.page.ready: Unknown dependency: jquery.tablesorter
(03:10:02 PM) awjr: https://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20130412T014541Z
(03:10:03 PM) awjr: . Error {} https://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20130412T014541Z
(03:10:03 PM) awjr: . loghttps://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20130412T014541Z
(03:10:04 PM) awjr: . executehttps://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20130412T014541Z
(03:10:06 PM) awjr: . mw.loader.implementhttps://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20130412T014541Z