- <div class="config-input">
- <label class='column'>External API:</label>
-
- <ul class="plain">
- <li><?php aField( $conf, "Api", "Enabled for Reading and Writing", "radio", "api_enabled_readwrite" ); ?></li>
- <li><?php aField( $conf, "Api", "Enabled for Reading only", "radio", "api_enabled_readonly" ); ?></li>
- <li><?php aField( $conf, "Api", "Disabled", "radio", "api_disabled" ); ?></li>
- </ul>
- </div>
- <p class="config-desc">
- API allows programs and scripts to directly access MediaWiki data in computer-readable formats.
- Once enabled, it will be accessible through
- <?php echo htmlspecialchars( $conf->ScriptPath ); ?>/api.php
- </p>