Page MenuHomePhabricator

[Bug] different display of items with no label on Special:Nearby
Closed, ResolvedPublic

Description

On Wikidata's Special:Nearby items with no label are not shown consistently. Some how up with just the QId and others with "No label defined (QId)". They should always be shown consistently. I'd prefer the version with "No label defined" text.

kian1.png (430×302 px, 34 KB)

Event Timeline

Lydia_Pintscher raised the priority of this task from to Medium.
Lydia_Pintscher updated the task description. (Show Details)
Lydia_Pintscher added subscribers: Lydia_Pintscher, aude.

"No label defined" is display title, when we have it. I'm not sure we can always have or should have display title. I think just displaying the title (Q##) would be more simple here.

also having language fallback is a possibility

Ok.
Language fallback is in another ticket. We should have it.

Change 268182 had a related patch set uploaded (by Aude):
Put $wgMFQueryPropModules and $wgMFSearchApiModules in InitialiseSettings.php

https://gerrit.wikimedia.org/r/268182

Change 268182 merged by jenkins-bot:
Put $wgMFQueryPropModules and $wgMFSearchApiModules in InitialiseSettings.php

https://gerrit.wikimedia.org/r/268182

aude set Security to None.

Change 268208 had a related patch set uploaded (by Aude):
Don't request pageprops for mobile search/nearby on wikidata

https://gerrit.wikimedia.org/r/268208

we are still requesting pageprops and without specifying which one we want, then we still get displaytitle along with all the others.

Change 268208 merged by jenkins-bot:
Don't request pageprops for mobile search/nearby on wikidata

https://gerrit.wikimedia.org/r/268208

Change 282144 had a related patch set uploaded (by Aude):
Set only title text in ParserOutput (and not display title property)

https://gerrit.wikimedia.org/r/282144

Change 282144 merged by jenkins-bot:
Set only title text in ParserOutput (and not display title property)

https://gerrit.wikimedia.org/r/282144

Change 269258 abandoned by Jdlrobson:
Introduce $wgMFSearchUseDisplayTitle

Reason:
Given the bug was resolved I can only assume this is no longer needed. Apologies if I'm wrong - by all means feel free to reopen it in that case.

https://gerrit.wikimedia.org/r/269258