Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modularization of article treatment #1881

Closed
VadimKovalenkoSNF opened this issue Aug 15, 2023 · 1 comment · Fixed by #1886
Closed

Modularization of article treatment #1881

VadimKovalenkoSNF opened this issue Aug 15, 2023 · 1 comment · Fixed by #1886
Assignees
Milestone

Comments

@VadimKovalenkoSNF
Copy link
Collaborator

While saving articles there are multiple article transformations and treatments that apply to multimedia and text content. Considering there will be different kinds of API calls for regular articles (WikimediaMobile for Wikimedia Projects) and the main page (WikimediaDesktop or VisualEditor, see here) there should be created different treatments.

These treatments should be modularized depending on the type of functionality and purpose.
#1839 partly solves this by dividing treatments by articles (usually text content) and multimedia (images, video etc).

@kelson42
Copy link
Collaborator

The most important is to move from a dedicated monolit treatment to treatments integreated in the modularises renderer. So, just extend the render() method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants