Page MenuHomeMiraheze

Database error by certain search word
Closed, DeclinedPublic

Description

On the wiki Christipedia a search in the search field for 'groot-' produces a database error. 'groot' without '-' goes without error.

Screenshot of the error:

image.png (138×791 px, 35 KB)

Search field is on the homepage and on: https://christipedia.miraheze.org/w/index.php?search

Event Timeline

John claimed this task.
John subscribed.

This is an error which is caused by MySQL itself, the use of characters such as '-' are not allowed in SELECTs and there's no reasonable replacement for them either unfortunately.

In T4952#94204, @John wrote:

This is an error which is caused by MySQL itself, the use of characters such as '-' are not allowed in SELECTs and there's no reasonable replacement for them either unfortunately.

Im sure someone mentioned theres been an open Upstream task for a while about this in mediawiki discord

John triaged this task as Normal priority.Apr 16 2020, 20:48