Page MenuHomePhabricator

Users able to watch pages get a script error, breaking LiquidThreads
Closed, ResolvedPublic

Description

Author: dasch

Description:
When beeing logged in JavaScript of
LiquidThreads and SemanticMaps does not work anymore
The HTML does not change extremly, I compared the version from beeing logged in and beeing logged out

Example:
http://www.wecowi.de/wiki/WeCoWi:Spielwiese
http://www.wecowi.de/wiki/Benutzer_Diskussion:DaSch (lqt-thread-toolbar-command-list ist displayed inline, thats really ugly)


Version: 1.20.x
Severity: normal

Details

Reference
bz30372

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:51 PM
bzimport set Reference to bz30372.
bzimport added a subscriber: Unknown Object (MLST).

Can you be more specific ? I dont see any abnormalities on either of those links.

dasch wrote:

You have to compare the pages when you are logged in and when you are not logged in

Try the Testuser
User: Test1
Pwd: test

When logged in I see the following error:

[mediawiki.action.watch.ajax.js:101] Uncaught TypeError: Cannot call method 'replace' of null

I see your wiki is running trunk MediaWiki 1.19alpha. This bug was fixed a little while ago. Please update your repository check out to r94024 or later.

Marking as duplicate of bug 30259. Please re-open if updating your SVN did not fix it.

  • This bug has been marked as a duplicate of bug 30259 ***

dasch wrote:

I've updated to latest from revision and nothing has changed.
I restarted apache and cleared Cache of my browser

somehow vector and monobook give other JavaScript errors
but with all skins the JavaScript does not work

dasch wrote:

setting
$wgAjaxWatch = false;
solves all problems

I see no errors in any of these skins on the provided links when either logged in or out

  • cavendish
  • vector
  • monobook

(In reply to comment #6)

setting
$wgAjaxWatch = false;
solves all problems

No it hides the problem.

matmarex set Security to None.
matmarex removed a subscriber: Unknown Object (MLST).