Page MenuHomePhabricator

Wikitech: Performing content actions results in PHP strict warning by MWSearch outputted on the page
Closed, ResolvedPublic

Description

After adding a user to Tools at https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools&member=Klortho, the result page said inter alia:

Strict Standards: Declaration of LuceneResult::getTitleSnippet() should be compatible with that of SearchResult::getTitleSnippet() in /usr/local/apache/common-local/php-1.24wmf15/extensions/MWSearch/MWSearch_body.php on line 153

(Also, it said:

Successfully added Klortho to tools.

And, indeed, the user was added to the Tools project.)


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=70628

Details

Reference
bz70436

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:51 AM
bzimport set Reference to bz70436.
bzimport added a subscriber: Unknown Object (MLST).

Got the same warning just now when deleting a page.

Created attachment 16385
Screenshot of error.

Attached:

Screen_Shot_2014-09-05_at_18.46.52.png (192×462 px, 73 KB)

This would be fixed by https://gerrit.wikimedia.org/r/#/c/158390/, but let's fix the actual warning first!

Chad says this is already fixed on master. So, I'll try to get 158390 rolled out shortly.