aude added a comment.

In https://phabricator.wikimedia.org/T85368#1833737, @daniel wrote:

> Tested this locally, with the following settings:
>
>   $wgMFNearby = true;
>   $wgMFQueryPropModules[] = 'pageterms';
>   $wgMFSearchAPIParams['wbptterms'] = array( 'label' );
>   $wgMFSearchGenerator = array(
>       'name' => 'wbsearch',
>       'prefix' => 'wbs'
>   );
>
>
> I tested with latest master of core, Wikibase, and MobileFrontend.
>
> I found the following:
>
> - In the search box, I get matches for labels, but labels are not used for 
> display. I just see IDs, no labels or descriptions.
> - On Special:Nearby, labels are used for display, but no descriptions are 
> shown.


Do you have the following settings?

  $wgMFUseWikibaseDescription = true;                                           
                      
  $wgMFDisplayWikibaseDescription = true;

descriptions are a separate, general feature that works on any client wiki, 
including wikidata.

alternatively:

  $wgMFSearchAPIParams['wbptterms'] = array( 'label', 'description' );

might work.

> - Also, I found https://phabricator.wikimedia.org/T119707


TASK DETAIL
  https://phabricator.wikimedia.org/T85368

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Bene, aude
Cc: Tobi_WMDE_SW, JanZerebecki, Bene, Liuxinyu970226, gerritbot, Florian, 
thiemowmde, adrianheine, aude, Snaterlicious, Aklapper, Lydia_Pintscher, 
Jdlrobson, daniel, Manybubbles, dpatrick, Wikidata-bugs, Bawolff, Deskana, 
Jalexander, Parent5446, Anomie, Grunny, MaxSem, csteipp, Mbch331, Krenair, 
Legoktm



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to