You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Add Link: Difference between revisions
Jump to navigation
Jump to search
imported>Kosta Harlan |
imported>Kosta Harlan No edit summary |
||
Line 11: | Line 11: | ||
** the maintenance script caches the results in the MySQL table, then sends an event to [[Event_Platform/EventGate]], where the [[Search]] pipeline ensures that the index is updated with the links/nolinks metadata for the article. | ** the maintenance script caches the results in the MySQL table, then sends an event to [[Event_Platform/EventGate]], where the [[Search]] pipeline ensures that the index is updated with the links/nolinks metadata for the article. | ||
** on page edit and deletion, link recommendations are regenerated via the job queue and the same code and APIs that are utilized in the maintenance script | ** on page edit and deletion, link recommendations are regenerated via the job queue and the same code and APIs that are utilized in the maintenance script | ||
== Updates == | |||
=== 5 -9 October 2020 === | |||
* Growth: Exploring with Editing ways to bring link recommendation data into VisualEditor | |||
* Growth / Research: Discussing repository structures in preparation for deployment pipeline setup | |||
* Growth / SRE / Research: Discussing how to get mwaddlink-query / mwaddlink into production | |||
== Teams / Contact == | == Teams / Contact == | ||
* [[mw:Growth|Growth]] (primary stakeholder, technical contact for project is [[mw:User:KHarlan_(WMF)|Kosta Harlan]]) | * [[mw:Growth|Growth]] (primary stakeholder, technical contact for project is [[mw:User:KHarlan_(WMF)|Kosta Harlan]], product owner is [[mw:User:MMiller_(WMF)|Marshall Miller]]) | ||
* [[mw:Wikimedia_Search_Platform|Search Platform]] | * [[mw:Wikimedia_Search_Platform|Search Platform]] | ||
* [[mw:Wikimedia_Site_Reliability_Engineering|SRE]] | * [[mw:Wikimedia_Site_Reliability_Engineering|SRE]] | ||
* [[mw:Wikimedia_Research|Research]] | * [[mw:Wikimedia_Research|Research]] | ||
* Editing | |||
* Parsing | |||
== Background reading == | == Background reading == | ||
* [https://docs.google.com/document/d/1aX19lWCDz-oP4Nl0CcdpYC-0_C4ipo_24_opMBx-hDA/edit?usp=sharing Engineering notes (public for view only)] ([https://docs.google.com/document/d/1aX19lWCDz-oP4Nl0CcdpYC-0_C4ipo_24_opMBx-hDA/edit?usp=sharing WMF link for edit access]) | |||
* [https://docs.google.com/document/d/1LAvfF-mQ2VfH-mTylGgDAeG6vNEwODuu5azAM-v4OJg/edit# Summary of project architecture] | * [https://docs.google.com/document/d/1LAvfF-mQ2VfH-mTylGgDAeG6vNEwODuu5azAM-v4OJg/edit# Summary of project architecture] | ||
* [https://docs.google.com/document/d/1Y0Jt2N20e7-H83MMAqVYcSB-UIGba1YoSQE39z2dlds/edit# Link Recommendation Project Architecture] | * [https://docs.google.com/document/d/1Y0Jt2N20e7-H83MMAqVYcSB-UIGba1YoSQE39z2dlds/edit# Link Recommendation Project Architecture] | ||
* [https://docs.google.com/document/d/187LPs2c5j13O8dlemwsWMEkn4__LgaN7TcXwEkakxYY/edit# Technical Plan for Productization of "Add a Link"] | * [https://docs.google.com/document/d/187LPs2c5j13O8dlemwsWMEkn4__LgaN7TcXwEkakxYY/edit# Technical Plan for Productization of "Add a Link"] |
Revision as of 19:16, 6 October 2020
This page is currently a draft. More information and discussion about changes to this draft on the talk page. |
This page contains information about the infrastructure used for the Add a Link structured task project (task T252822)
High-level summary
- The Link Recommendation Service is accessible via HTTP (see task T258978) which accepts an article ID and wiki ID and returns raw wikitext of an article with annotated wikitext containing link recommendations. It does not have caching or storage; the client is responsible for doing that.
- The search index stores metadata about which articles have link recommendations via a field we set per article
- A MySQL table per wiki is used for caching the actual link recommendations (format to be determined task T261411)
- A maintenance script regularly generates link recommendations by iterating over each Search/articletopic and calling the Link Recommendation Service
- the maintenance script caches the results in the MySQL table, then sends an event to Event_Platform/EventGate, where the Search pipeline ensures that the index is updated with the links/nolinks metadata for the article.
- on page edit and deletion, link recommendations are regenerated via the job queue and the same code and APIs that are utilized in the maintenance script
Updates
5 -9 October 2020
- Growth: Exploring with Editing ways to bring link recommendation data into VisualEditor
- Growth / Research: Discussing repository structures in preparation for deployment pipeline setup
- Growth / SRE / Research: Discussing how to get mwaddlink-query / mwaddlink into production
Teams / Contact
- Growth (primary stakeholder, technical contact for project is Kosta Harlan, product owner is Marshall Miller)
- Search Platform
- SRE
- Research
- Editing
- Parsing