Page MenuHomePhabricator

Listing Editor in Hebrew Wikivoyage
Closed, InvalidPublic

Description

Author: dekeleinidekel

Description:
The Listing Editor in the Hebrew Wikivoyage don't work Although It is written in the common.js page

see in this page: https://he.wikivoyage.org/wiki/מדיה_ויקי:Common.js
"importScript('MediaWiki:ListingEditor.js');"

Thanks, Dekel


Version: 1.22.0
Severity: normal

Details

Reference
bz54099

Event Timeline

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

Going to https://he.wikivoyage.org/wiki/מדיה_ויקי:Common.js and taking a look at the error console of Firefox I get:

Timestamp: 09/16/2013 10:48:16 AM
Error: Error: JavaScript parse error: Parse error: Syntax error in file 'MediaWiki:Common.js' on line 44
Source File: https://bits.wikimedia.org/he.wikivoyage.org/load.php?debug=false&lang=he&modules=site&only=scripts&skin=vector&*
Line: 1

Your numbers of opening and closing brackets don't match:

$:andre\> echo $((tr -d "\n" < MW.he.js | sed 's/{/\n/g' | wc -l))
14
$:andre\> echo $((tr -d "\n" < MW.he.js | sed 's/}/\n/g' | wc -l))
16
$:andre\> echo $((tr -d "\n" < MW.he.js | sed 's/(/\n/g' | wc -l))
44
$:andre\> echo $((tr -d "\n" < MW.he.js | sed 's/)/\n/g' | wc -l))
45

Issue is in a user-script on the wiki and needs to be fixed on the wiki by any admin who can edit that script, hence closing as INVALID in Bugzilla because this is neither in MediaWiki code nor in Wikimedia server configuration.