Received: from rlpowell by stodi.digitalkingdom.org with local (Exim 4.76) (envelope-from ) id 1UXEzw-0006pw-4e; Tue, 30 Apr 2013 11:09:52 -0700 Date: Tue, 30 Apr 2013 11:09:52 -0700 From: Robin Lee Powell To: Daeldir Cc: lojban@lojban.org Subject: Re: Cannot link translations on the wiki Message-ID: <20130430180951.GF10220@stodi.digitalkingdom.org> Mail-Followup-To: Daeldir , lojban@lojban.org References: <20130430081248.aceed89b9cbe92a084191e70@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130430081248.aceed89b9cbe92a084191e70@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) I believe I've fixed this. -Robin On Tue, Apr 30, 2013 at 08:12:48AM +0200, Daeldir wrote: > .coi > > I did not post this on the mailing list, as it is not a mail related to lojban, but to a bug in the wiki. > > I cannot link translations. In fact, some javascript doesn't work (I had problems with a little button under the “box” plugin, too). > > I tested this in firefox (gecko), chromium (webkit+v8), and midori (webkit). No browser get around this bug. > > Let's take this page as an example: > > http://lojban.org/tiki/Translating+Tiki+Pages > > If I click on the language button, then select “translate”, nothing happens. > > When openning firebug, I get this error: > > > ReferenceError: quick_switch_language is not defined > > In fact, if we look at the source of the page, at the end of the page, we have this: > > > > > (I “indented” the buggy part some more) > > It seems that a script is inserted into a script when generating the page, which make all subsequent javascript fail. When loading the page, firebug says: > > > SyntaxError: syntax error > >