-<?
+<?php
# This is the MySQL fulltext search stoplist, copied from the
# source file "myisam/ft_static.c" in the MySQL source distribution.
/* static */ function inList( $word )
{
global $wgFulltextStoplist;
-
+ # FIXME: this will fail badly in many circumstances
$w = strtolower( $word );
$w = preg_replace( "/[^a-z']+/", "", $w );
return in_array( $w, $wgFulltextStoplist );