Page MenuHomePhabricator

Javascript error in Catalan Wikisource
Closed, DeclinedPublic

Description

Author: aleator_wiki

Description:
Hello! Since 1 April one javascript error appear at ca.wikisource.org that doesn't allow to work with Proofread pages.

It happens with Mozilla Firefox 19.0.2 and IE 8, when browsing any page.

Recent changes on Mediawikis in local wiki seems irrelevant and/or too previous to the problem appearing.

At 9:00 UTC one user made good contributions and there was no problem. So something happened after 9:00.

Details from IE:

Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729)
Fecha: Mon, 1 Apr 2013 15:17:26 UTC

Mensaje: Expected ';'
Línea: 172
Carácter: 150
Código: 0
URI: http://bits.wikimedia.org/ca.wikisource.org/load.php?debug=false&lang=ca&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20130326T181133Z

Mensaje: 'mw' is undefined
Línea: 269
Carácter: 1
Código: 0
URI: http://ca.wikisource.org/wiki/P%C3%A0gina:Iliada_%281879%29.djvu/54

Mensaje: Object expected
Línea: 2
Carácter: 84
Código: 0
URI: http://bits.wikimedia.org/ca.wikisource.org/load.php?debug=false&lang=ca&modules=site&only=scripts&skin=vector&*

I show the code line that brings the problem:

(function($){
$.uniqueArray=function(arr){

if(arr.length==0||!!arr[0].nodeType){
 return $.unique attrs)this,arguments);} //Line 172-150 is between "unique" and "attrs"
else{...

http://urlquery.net/report.php?id=1734551 shows all javascripts loaded and they all seem OK.

I don't know what else to look at. Any help will be wellcomed! Thanks.


Version: unspecified
Severity: normal

Details

Reference
bz46755

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:33 AM
bzimport set Reference to bz46755.
bzimport added a subscriber: Unknown Object (MLST).

aleator_wiki wrote:

Well. I don't understand it. I've closed Firefox, opened, and then it works. ANd the same for IE! Sorry. That's all OK. :S Let's close the bug, please.