In the hook code for hook `SpecialSearchSetupEngine` the display prefix for WikimediaIncubator is set on the special page SpecialSearch
```
public static function onSpecialSearchSetupEngine( $search, $profile, $engine ) {
if ( !isset( $search->prefix ) || !$search->prefix ) {
$search->prefix = self::displayPrefix();
}
return true;
}
```
The special page SpecialSearch $search declares a property $mPrefix.
The SearchEngine $engine declares a property $prefix
Is the prefix set on the wrong object or I am missing some magic between $mPrefix and $prefix in SpecialSearch?
I am unsure how to fix this. It looks like it is not working and dead code should be removed. Or it is better to fix and all are supprissed that things working other than before (but now right)?
```
<file name="includes\WikimediaIncubator.php">
<error line="951" severity="warning" message="Reference to undeclared property \SpecialSearch-&gt;prefix" source="PhanUndeclaredProperty"/>
<error line="952" severity="warning" message="Reference to undeclared property \SpecialSearch-&gt;prefix" source="PhanUndeclaredProperty"/>
</file>
```