https://bugzilla.wikimedia.org/show_bug.cgi?id=59233
Web browser: --- Bug ID: 59233 Summary: Database error when moving protection settings with pages when SQLite is used as a backend Product: MediaWiki Version: 1.23-git Hardware: All OS: All Status: NEW Severity: major Priority: Unprioritized Component: Database Assignee: wikibugs-l@lists.wikimedia.org Reporter: jackmcbarn+w...@gmail.com Classification: Unclassified Mobile Platform: --- Using a SQLite backend, when a page with protection settings is moved, the following error occurs: Query: INSERT IGNORE INTO page_restrictions (pr_page,pr_type,pr_level,pr_cascade,pr_user,pr_expiry) SELECT 47,pr_type,pr_level,pr_cascade,pr_user,pr_expiry FROM page_restrictions WHERE pr_page = '20' Function: Title::moveTo Error: 1 near "IGNORE": syntax error Backtrace: #0 C:\xampp\htdocs\core\includes\db\Database.php(1077): DatabaseBase->reportQueryError('near "IGNORE": ...', 1, 'INSERT IGNORE I...', 'Title::moveTo', false) #1 C:\xampp\htdocs\core\includes\db\Database.php(2907): DatabaseBase->query('INSERT IGNORE I...', 'Title::moveTo') #2 C:\xampp\htdocs\core\includes\Title.php(3805): DatabaseBase->insertSelect('page_restrictio...', 'page_restrictio...', Array, Array, 'Title::moveTo', Array) #3 C:\xampp\htdocs\core\includes\specials\SpecialMovepage.php(528): Title->moveTo(Object(Title), true, '', true) #4 C:\xampp\htdocs\core\includes\specials\SpecialMovepage.php(100): MovePageForm->doSubmit() #5 C:\xampp\htdocs\core\includes\specialpage\SpecialPage.php(679): MovePageForm->execute(NULL) #6 C:\xampp\htdocs\core\includes\SpecialPageFactory.php(487): SpecialPage->run(NULL) #7 C:\xampp\htdocs\core\includes\Wiki.php(298): SpecialPageFactory::executePath(Object(Title), Object(RequestContext)) #8 C:\xampp\htdocs\core\includes\Wiki.php(596): MediaWiki->performRequest() #9 C:\xampp\htdocs\core\includes\Wiki.php(460): MediaWiki->main() #10 C:\xampp\htdocs\core\index.php(49): MediaWiki->run() #11 {main} -- You are receiving this mail because: You are the assignee for the bug. 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