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

Reply via email to