[Bug 63365] Parsoid crashes on request (TypeError: undefined is not a function)

2014-05-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63365

--- Comment #3 from Gabriel Wicke gwi...@wikimedia.org ---
The recommended way to deal with private wikis is documented at

https://www.mediawiki.org/wiki/Extension:VisualEditor#Linking_with_Parsoid_in_private_wikis

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 63365] Parsoid crashes on request (TypeError: undefined is not a function)

2014-04-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63365

Karsten Priegnitz k...@petoria.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #2 from Karsten Priegnitz k...@petoria.de ---
ok, solved it by:

  if ( $_SERVER['REMOTE_ADDR'] == '127.0.0.1' ) {
   $wgGroupPermissions['*']['read'] = true;
   $wgGroupPermissions['*']['edit'] = true;
  } else {
   $wgGroupPermissions['*']['edit'] = false;
   $wgGroupPermissions['*']['read'] = false;
  }

and in localsettings.js

  parsoidConfig.setInterwiki( 'localhost',
'http://localhost/mediawiki/api.php' );

please add this to the documentation

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 63365] Parsoid crashes on request (TypeError: undefined is not a function)

2014-04-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63365

--- Comment #1 from Karsten Priegnitz k...@petoria.de ---
When I comment out these lines in LocalSettings.php - then it works. But then
my wiki isn't private anymore ...

$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['read'] = false;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 63365] Parsoid crashes on request (TypeError: undefined is not a function)

2014-04-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63365

Karsten Priegnitz k...@petoria.de changed:

   What|Removed |Added

 CC||k...@petoria.de
Web browser|--- |Firefox

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l