From 445896b395a2ce530bfef645936500b0b9938ef5 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 25 Oct 2005 23:26:14 +0000 Subject: [PATCH] * (bug 3735) Fix to run under MySQL 5's strict mode --- RELEASE-NOTES | 1 + includes/Article.php | 1 + 2 files changed, 2 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 57debda03f..beef6cb52c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -166,6 +166,7 @@ fully support the editing toolbar, but was found to be too confusing. * Fix wfMsg*() replacements; args containing literal $[2-9] were wiped * Added @import for [[MediaWiki:Common.css]] to all skins * Removed hardcoded Norwegian (no) project namespaces +* (bug 3735) Fix to run under MySQL 5's strict mode === Caveats === diff --git a/includes/Article.php b/includes/Article.php index df9589c34b..51c2c9970a 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -934,6 +934,7 @@ class Article { 'page_random' => wfRandom(), 'page_touched' => $dbw->timestamp(), 'page_latest' => 0, # Fill this in shortly... + 'page_len' => 0, # Fill this in shortly... ), $fname ); $newid = $dbw->insertId(); -- 2.20.1