MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250324155409|46",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 56,
                "ns": 0,
                "title": "Laravel Apache",
                "pageid": 52,
                "logpage": 52,
                "revid": 152,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-04-07T06:26:06Z",
                "comment": "Created page with \"== Install Apache2 == <syntaxhighlight lang=\"bash\" line highlight=\"\" copy> sudo apt install apache2 sudo systemctl start apache2 sudo systemctl enable apache2  sudo systemctl status apache2 </syntaxhighlight>\""
            },
            {
                "logid": 55,
                "ns": 0,
                "title": "Laravel - mongodb",
                "pageid": 51,
                "logpage": 51,
                "revid": 141,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-04-05T13:38:43Z",
                "comment": "Created page with \"== Install mongodb dependency == <syntaxhighlight lang=\"bash\" copy line highlight=\"0\"> composer require mongodb/laravel-mongodb </syntaxhighlight>  == Settings in .env == <syntaxhighlight lang=\"yaml\" copy line highlight=\"0\"> MONGODB_URI=\"mongodb+srv://...\" MONGODB_DATABASE=\"demo\" DB_CONNECTION=mongodb  </syntaxhighlight>\""
            },
            {
                "logid": 54,
                "ns": 0,
                "title": "PHP configuration",
                "pageid": 50,
                "logpage": 50,
                "revid": 137,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-03-29T18:44:55Z",
                "comment": "Created page with \"== Turn of X-Powered-BY header == <syntaxhighlight lang=\"ini\" copy line highlight=\"0\"> # php.ini expose_php = Off </syntaxhighlight>aText Premium\""
            },
            {
                "logid": 53,
                "ns": 0,
                "title": "Httpie",
                "pageid": 49,
                "logpage": 49,
                "revid": 135,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-03-29T18:32:03Z",
                "comment": "Created page with \"== Installation == <syntaxhighlight lang=\"bash\" copy line highlight=\"0\"> curl -SsL https://packages.httpie.io/deb/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/httpie.gpg echo \"deb [arch=amd64 signed-by=/usr/share/keyrings/httpie.gpg] https://packages.httpie.io/deb ./\" | sudo tee /etc/apt/sources.list.d/httpie.list > /dev/null sudo apt update sudo apt install httpie </syntaxhighlight>\""
            },
            {
                "logid": 52,
                "ns": 0,
                "title": "Laravel logger",
                "pageid": 48,
                "logpage": 48,
                "revid": 133,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-03-29T16:38:16Z",
                "comment": "Created page with \"== Custom logger == <syntaxhighlight lang=\"php\" copy line highlight=\"0\"> <?php  namespace App\\Util;  use Illuminate\\Support\\Facades\\Log;  class Logger {     public static function info(...$args): void     {         $trace = collect(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS))             ->first(fn ($t) => isset($t['file']) && str_contains($t['file'], base_path('app')));          $location = $trace             ? basename($trace['file']) . ':' . ($trace['line'] ?? '') ....\""
            },
            {
                "logid": 51,
                "ns": 0,
                "title": "Laravel middleware",
                "pageid": 47,
                "logpage": 47,
                "revid": 132,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-03-29T16:16:04Z",
                "comment": "Created page with \"== Create middleware == <syntaxhighlight lang=\"php\" copy line highlight=\"0\"> php artisan make:middleware EnsureTokenIsValid </syntaxhighlight>  == Middleware == <syntaxhighlight lang=\"php\" copy line highlight=\"0\"> <?php  namespace App\\Http\\Middleware;  use Closure; use Illuminate\\Http\\Request; use Illuminate\\Support\\Facades\\Log; use Symfony\\Component\\HttpFoundation\\Response;  class EnsureTokenIsValid {     /**      * Handle an incoming request.      *      * @param  \\Clo...\""
            },
            {
                "logid": 50,
                "ns": 0,
                "title": "Laravel nginx",
                "pageid": 46,
                "logpage": 46,
                "revid": 127,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-03-29T12:28:15Z",
                "comment": "Created page with \"== Create config file == <syntaxhighlight lang=\"php\" copy line highlight=\"0\">  </syntaxhighlight>\""
            },
            {
                "logid": 49,
                "ns": 0,
                "title": "Laravel web.php",
                "pageid": 45,
                "logpage": 45,
                "revid": 126,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-03-29T11:26:39Z",
                "comment": "Created page with \"== web.php == <syntaxhighlight lang=\"php\" copy line highlight=\"0\"> <?php  use Illuminate\\Support\\Facades\\Route; use App\\Http\\Controllers\\IndexController;  Route::resource('/', IndexController::class);  </syntaxhighlight>\""
            },
            {
                "logid": 48,
                "ns": 0,
                "title": "Laravel template",
                "pageid": 44,
                "logpage": 44,
                "revid": 125,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-03-29T10:22:40Z",
                "comment": "Created page with \"== Generate app key == <syntaxhighlight lang=\"bash\" copy line highlight=\"0\"> php artisan key:generate </syntaxhighlight>  == Set database settings == <syntaxhighlight lang=\"php\" copy line highlight=\"0\"> DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=mydb DB_USERNAME=root DB_PASSWORD= </syntaxhighlight>  == Set rotating log files == <syntaxhighlight lang=\"ini\" copy line highlight=\"0\"> # .env LOG_CHANNEL=daily LOG_DAILY_DAYS=1 </syntaxhighlight>\""
            },
            {
                "logid": 47,
                "ns": 6,
                "title": "File:Install tools.sh",
                "pageid": 43,
                "logpage": 43,
                "revid": 112,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-03-24T15:54:09Z",
                "comment": ""
            }
        ]
    }
}