https://bugzilla.wikimedia.org/show_bug.cgi?id=51114
Web browser: ---
Bug ID: 51114
Summary: LinkTitles extension does not work with sqlite
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: [other]
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
After LinkTitles was installed on a wiki that uses sqlite.
Whenever a (non-minor) edit is made to a page, I get the following error:
A database error has occurred. Did you forget to run maintenance/update.php
after upgrading? See:
https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT page_title FROM page WHERE (page_namespace = 0) AND
(CHAR_LENGTH(page_title) >= 3) AND (page_title NOT IN ("")) ORDER BY
CHAR_LENGTH(page_title) DESC
Function: LinkTitles::parseContent
Error: 1 no such function: CHAR_LENGTH
Looks to me like the code assumes that the wiki uses mysql and therefor uses
CHAR_LENGTH function. A function that doesn't exist in sqlite.
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l