Last modified: 2013-09-30 10:04:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53114, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51114 - LinkTitles extension does not work with sqlite
LinkTitles extension does not work with sqlite
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://www.mediawiki.org/wiki/Extens...
:
Depends on:
Blocks: sqlite
  Show dependency treegraph
 
Reported: 2013-07-10 16:06 UTC by Pontus.welin
Modified: 2013-09-30 10:04 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Pontus.welin 2013-07-10 16:06:28 UTC
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.
Comment 1 Sam Reed (reedy) 2013-07-10 16:14:45 UTC
I would suggest you file an issue on the projects github repo. I don't recognise the author and I can't see a bugzilla account that looks to belong to them

https://github.com/bovender/LinkTitles/
Comment 2 Pontus.welin 2013-07-10 16:19:53 UTC
Ok. I will do that.
Thanks!
Comment 3 Andre Klapper 2013-07-11 08:47:16 UTC
Plus asking the extension author to define a place where to file bug reports, and adding that to http://www.mediawiki.org/wiki/Extension:LinkTitles , would be really helpful to avoid future confusion.
Comment 4 This, that and the other (TTO) 2013-09-30 10:04:50 UTC
The issue was seemingly fixed: https://github.com/bovender/LinkTitles/issues/1

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links