Skip to content

PoC: Add reuse_prototype field to /wiki API endpoint#1082

Draft
outdooracorn wants to merge 1 commit intomainfrom
ollie/reuse-prototype
Draft

PoC: Add reuse_prototype field to /wiki API endpoint#1082
outdooracorn wants to merge 1 commit intomainfrom
ollie/reuse-prototype

Conversation

@outdooracorn
Copy link
Copy Markdown
Member

When ->with('wikiLatestProfile') is used in the PublicWikiController this change only results in 1 extra database query per API request.

Bug: T421877

@outdooracorn outdooracorn self-assigned this Apr 11, 2026
@ranyardm-wmde
Copy link
Copy Markdown
Contributor

ranyardm-wmde commented Apr 13, 2026

IMO given we don't have enough monitoring to predict how this will affect database load, this should ideally not be the accepted solution as it will create the multiple queries per search problem we discussed in ticket breakdown. Apparently I'm wrong here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants