Temporary Disabled. :) please Go back ⚓ T143396 Display translated page title in search results www.fgks.org » Address: [go: up one dir, main page] Include Form Remove Scripts Accept Cookies Show Images Show Referer Rotate13 Base64 Strip Meta Strip Title Session Cookies Page MenuHomePhabricatorSearchConfigure Global SearchLog InCreate Task Maniphest T143396 Display translated page title in search resultsOpen, MediumPublicActionsEdit TaskEdit Related Tasks...Create SubtaskEdit Parent TasksEdit SubtasksMerge Duplicates InClose As DuplicateEdit Related Objects...Edit CommitsEdit MocksSubscribeMute NotificationsProtect as security issueAward TokenFlag For LaterAssigned ToNoneAuthored ByTuxxicAug 19 2016, 9:01 AM2016-08-19 09:01:41 (UTC+0)TagsMediaWiki-extensions-Translate (cross projects)Discovery-ARCHIVEDMediaWiki-Search (Backlog)Discovery-Search (Feature Requests)Patch-Needs-ImprovementReferenced FilesF41488743: image.pngNov 11 2023, 1:25 PM2023-11-11 13:25:19 (UTC+0)F41488271: image.pngNov 11 2023, 11:47 AM2023-11-11 11:47:43 (UTC+0)SubscribersAklapperdespensEBernhardsongerritbotKghbln• NikerabbitOettererView All 9 SubscribersDescriptionHi, We discussed with one user on this topic : https://www.mediawiki.org/wiki/Topic:T309ediwdcwhm1nn, and we couldn't find how to do this : When using Translate extension, we have the possibility to translate page title. But when you try to search for this title, you only have "Nom page/en" for instance for a page translated in English, instead of the page name. Is it possible to have an option to display translated title in the search results ?DetailsSubjectRepoBranchLines +/-Include display title in search resultsmediawiki/coremaster+37 -3 [WIP] Search against the display_title propertymediawiki/extensions/CirrusSearchmaster+47 K -337Add display_title to mappingsmediawiki/extensions/CirrusSearchmaster+101 -2Customize query in gerritEvent TimelineTuxxic created this task.Aug 19 2016, 9:01 AM2016-08-19 09:01:41 (UTC+0)Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 19 2016, 9:01 AM2016-08-19 09:01:41 (UTC+0)Aklapper edited projects, added CirrusSearch; removed MediaWiki-General.Aug 19 2016, 10:49 AM2016-08-19 10:49:02 (UTC+0)Restricted Application added projects: Discovery-ARCHIVED, Discovery-Search. · View Herald TranscriptAug 19 2016, 10:49 AM2016-08-19 10:49:02 (UTC+0)Tuxxic moved this task from Inbox to User interface and experience on the CirrusSearch board.Aug 19 2016, 2:32 PM2016-08-19 14:32:59 (UTC+0)Glaisher edited projects, added MediaWiki-Special-pages; removed CirrusSearch.Aug 21 2016, 12:41 PM2016-08-21 12:41:57 (UTC+0)Glaisher moved this task from To triage to Special:LinkSearch on the MediaWiki-Special-pages board.debt triaged this task as Medium priority.Sep 1 2016, 10:21 PM2016-09-01 22:21:50 (UTC+0)debt added a parent task: T125944: Allow to search pages in a specific language, e.g. without translations.debt moved this task from needs triage to This Quarter on the Discovery-Search board.Tuxxic added a comment.Oct 24 2016, 8:19 AM2016-10-24 08:19:33 (UTC+0)Comment ActionsI saw something interesting in this post, for whoever might be interested in implementing this: https://www.mediawiki.org/wiki/Topic:Sriim4n0ku6apszw You can use the {{Translations:Page name/Page display title{{#translation:}}}} model, to get the translated page title if it exists.Krinkle edited projects, added MediaWiki-Search; removed MediaWiki-Special-pages.Aug 14 2018, 8:33 PM2018-08-14 20:33:19 (UTC+0)EBernhardson subscribed.Sep 14 2018, 3:25 PM2018-09-14 15:25:27 (UTC+0)Comment ActionsWhile mostly a hack, the most direct method to deal with this would be some integration to make redirects from the translated name to the actual page.• Nikerabbit subscribed.Edited · Sep 14 2018, 3:43 PM2018-09-14 15:43:37 (UTC+0)Comment ActionsThe display title is also available in the database in page props. Doing redirects has the usual issue of name conflicts between languages and possible "violations" of doing cross namespace redirects if the namespaces names are also translated.gerritbot subscribed.Sep 17 2018, 7:36 PM2018-09-17 19:36:24 (UTC+0)Comment ActionsChange 460958 had a related patch set uploaded (by EBernhardson; owner: EBernhardson): [mediawiki/core@master] [WIP] Include display title in search results https://gerrit.wikimedia.org/r/460958gerritbot added a project: Patch-For-Review.Sep 17 2018, 7:36 PM2018-09-17 19:36:26 (UTC+0)Comment ActionsChange 460959 had a related patch set uploaded (by EBernhardson; owner: EBernhardson): [mediawiki/extensions/CirrusSearch@master] Add display_title to mappings and start indexing it https://gerrit.wikimedia.org/r/460959gerritbot added a comment.Sep 17 2018, 7:37 PM2018-09-17 19:37:17 (UTC+0)Comment ActionsChange 460960 had a related patch set uploaded (by EBernhardson; owner: EBernhardson): [mediawiki/extensions/CirrusSearch@master] [WIP] Search against the display_title property https://gerrit.wikimedia.org/r/460960gerritbot added a comment.Sep 17 2018, 9:35 PM2018-09-17 21:35:00 (UTC+0)Comment ActionsChange 460991 had a related patch set uploaded (by EBernhardson; owner: EBernhardson): [mediawiki/extensions/CirrusSearch@master] Add display_title to mappings https://gerrit.wikimedia.org/r/460991EBernhardson claimed this task.Sep 18 2018, 5:17 PM2018-09-18 17:17:25 (UTC+0)EBernhardson edited projects, added Discovery-Search (Current work); removed Discovery-Search.EBernhardson moved this task from Incoming to not in use - please delete on the Discovery-Search (Current work) board.EBernhardson moved this task from not in use - please delete to Waiting on the Discovery-Search (Current work) board.Sep 20 2018, 5:27 PM2018-09-20 17:27:01 (UTC+0)Comment ActionsThis is now blocked until roughly december waiting for data to populate the indices before it can be usedEBernhardson added a comment.Dec 3 2018, 7:44 PM2018-12-03 19:44:31 (UTC+0)Comment ActionsThis should be about ready to be unblocked (timeline is right, we can't actually check how many pages have display_title currently, since it's not in the mappings). Deploying this requires an in-place reindex across all wikis which can take a week to run. For this reason we should try and coordinate this with any other mapping changes that need to go out. Last step before deploy: Finish https://gerrit.wikimedia.org/r/460960 Deployment: Merge and deploy https://gerrit.wikimedia.org/r/460991 from above in-place reindex all wikis Merge and deploy https://gerrit.wikimedia.org/r/460960 EBernhardson moved this task from Waiting to Incoming on the Discovery-Search (Current work) board.Dec 3 2018, 7:44 PM2018-12-03 19:44:43 (UTC+0)debt removed a project: Patch-For-Review.Jan 15 2019, 6:36 PM2019-01-15 18:36:42 (UTC+0)TJones edited projects, added Discovery-Search; removed Discovery-Search (Current work).Jan 29 2019, 11:42 PM2019-01-29 23:42:28 (UTC+0)TJones moved this task from This Quarter to elastic / cirrus on the Discovery-Search board.Gehel moved this task from elastic / cirrus to Feature Requests on the Discovery-Search board.Aug 28 2020, 9:07 AM2020-08-28 09:07:50 (UTC+0)despens subscribed.Nov 26 2020, 3:50 PM2020-11-26 15:50:03 (UTC+0)Comment ActionsIs there any progress on searching and displaying the displaytitle in Cirrus? Over here, we're dealing with page titles that cannot be represented in a regular wiki page title, like Gl=v, 1+1+1+1+1+1+1+1+1+1+1+1, about: Saint Luke Drawing the Virgin, or ]...[world]...[ — just your regular titles for digital artworks. 😉 If users cannot search for those, or on the search results page the titles are different, much confusion can be expected.Aklapper added a project: Patch-Needs-Improvement.Nov 28 2020, 3:03 PM2020-11-28 15:03:09 (UTC+0)Aklapper removed a parent task: T125944: Allow to search pages in a specific language, e.g. without translations.Dec 11 2020, 9:21 AM2020-12-11 09:21:34 (UTC+0)Aklapper removed EBernhardson as the assignee of this task.Dec 19 2020, 11:34 AM2020-12-19 11:34:00 (UTC+0)Comment ActionsRemoving task assignee due to inactivity, as this open task has been assigned to the same person for more than two years (see the emails sent to the task assignee on Oct27 and Nov23). Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome. (See https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator.)gerritbot added a comment.Jul 26 2022, 5:11 PM2022-07-26 17:11:35 (UTC+0)Comment ActionsChange 460958 abandoned by Ebernhardson: [mediawiki/core@master] Include display title in search results Reason: from 2018, not mergable any more. If desired should be redone https://gerrit.wikimedia.org/r/460958• Nikerabbit moved this task from Backlog to cross projects on the MediaWiki-extensions-Translate board.Sep 12 2022, 11:33 AM2022-09-12 11:33:37 (UTC+0)Physikerwelt added a project: NFDI.Nov 11 2023, 11:03 AM2023-11-11 11:03:46 (UTC+0)Physikerwelt subscribed.This comment was removed by Physikerwelt.Physikerwelt added a comment.Nov 11 2023, 11:47 AM2023-11-11 11:47:43 (UTC+0)This comment was removed by Physikerwelt.Physikerwelt added a comment.Nov 11 2023, 1:25 PM2023-11-11 13:25:19 (UTC+0)This comment was removed by Physikerwelt.Physikerwelt removed a project: NFDI.Nov 12 2023, 7:11 PM2023-11-12 19:11:27 (UTC+0)Physikerwelt unsubscribed.Kghbln subscribed.Mar 26 2024, 2:06 PM2024-03-26 14:06:52 (UTC+0)Kghbln added a subscriber: Oetterer.Mar 26 2024, 2:09 PM2024-03-26 14:09:54 (UTC+0)Comment ActionsSee also the Search Suggestion using DisplayTitle topic Here it is about the ability to search for Page ID123654789 with the display title John Doe. Yeah, this will indeed be nice to have.Varnent subscribed.Edited · Mar 29 2024, 5:49 AM2024-03-29 05:49:53 (UTC+0)Comment Actions In T143396#9661661, @Kghbln wrote: See also the Search Suggestion using DisplayTitle topic Here it is about the ability to search for Page ID123654789 with the display title John Doe. Yeah, this will indeed be nice to have. Related - we should make sure if there is a translated DisplayTitle, search defers to that vs. non-translated PageTitle of a page otherwise setup for translation. Examples: https://foundation.wikimedia.org/wiki/Policy:Privacy_policy https://foundation.wikimedia.org/wiki/Resolution:Licensing_policy https://foundation.wikimedia.org/wiki/Home Log In to Comment
Hi,
We discussed with one user on this topic : https://www.mediawiki.org/wiki/Topic:T309ediwdcwhm1nn, and we couldn't find how to do this :
When using Translate extension, we have the possibility to translate page title. But when you try to search for this title, you only have "Nom page/en" for instance for a page translated in English, instead of the page name.
Is it possible to have an option to display translated title in the search results ?
I saw something interesting in this post, for whoever might be interested in implementing this: https://www.mediawiki.org/wiki/Topic:Sriim4n0ku6apszw
You can use the
{{Translations:Page name/Page display title{{#translation:}}}}
model, to get the translated page title if it exists.
While mostly a hack, the most direct method to deal with this would be some integration to make redirects from the translated name to the actual page.
The display title is also available in the database in page props. Doing redirects has the usual issue of name conflicts between languages and possible "violations" of doing cross namespace redirects if the namespaces names are also translated.
Change 460958 had a related patch set uploaded (by EBernhardson; owner: EBernhardson): [mediawiki/core@master] [WIP] Include display title in search results
https://gerrit.wikimedia.org/r/460958
Change 460959 had a related patch set uploaded (by EBernhardson; owner: EBernhardson): [mediawiki/extensions/CirrusSearch@master] Add display_title to mappings and start indexing it
https://gerrit.wikimedia.org/r/460959
Change 460960 had a related patch set uploaded (by EBernhardson; owner: EBernhardson): [mediawiki/extensions/CirrusSearch@master] [WIP] Search against the display_title property
https://gerrit.wikimedia.org/r/460960
Change 460991 had a related patch set uploaded (by EBernhardson; owner: EBernhardson): [mediawiki/extensions/CirrusSearch@master] Add display_title to mappings
https://gerrit.wikimedia.org/r/460991
This is now blocked until roughly december waiting for data to populate the indices before it can be used
This should be about ready to be unblocked (timeline is right, we can't actually check how many pages have display_title currently, since it's not in the mappings). Deploying this requires an in-place reindex across all wikis which can take a week to run. For this reason we should try and coordinate this with any other mapping changes that need to go out.
Last step before deploy:
Deployment:
Is there any progress on searching and displaying the displaytitle in Cirrus? Over here, we're dealing with page titles that cannot be represented in a regular wiki page title, like Gl=v, 1+1+1+1+1+1+1+1+1+1+1+1, about: Saint Luke Drawing the Virgin, or ]...[world]...[ — just your regular titles for digital artworks. 😉 If users cannot search for those, or on the search results page the titles are different, much confusion can be expected.
Removing task assignee due to inactivity, as this open task has been assigned to the same person for more than two years (see the emails sent to the task assignee on Oct27 and Nov23). Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome. (See https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator.)
Change 460958 abandoned by Ebernhardson:
[mediawiki/core@master] Include display title in search results
Reason:
from 2018, not mergable any more. If desired should be redone
See also the Search Suggestion using DisplayTitle topic Here it is about the ability to search for Page ID123654789 with the display title John Doe. Yeah, this will indeed be nice to have.
In T143396#9661661, @Kghbln wrote: See also the Search Suggestion using DisplayTitle topic Here it is about the ability to search for Page ID123654789 with the display title John Doe. Yeah, this will indeed be nice to have.
Related - we should make sure if there is a translated DisplayTitle, search defers to that vs. non-translated PageTitle of a page otherwise setup for translation.
Examples: