Create a new page called "new-page" that inherits Paulina's header and footer. Put some dummy text in it. The aim of this task is to practice the ability to create a new, generic page with Flask and Jinja.
Description
Related Objects
Event Timeline
I fixed this issue.
Here is the link to my merge request: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/92
hi @Nat_WDU
i made a merge request related this issue:-https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/93
changes made :-
- Added a new page: new-page.html
- Updated app.py to render the new page
Please kindly review, thank you!
Hello @Nat_WDU. I have implemented this task.
Kindly review the MR details: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/94
Thanks!
Hi @Nat_WDU
I worked on this task
After creating my merge request, I noticed that some unexpected changes appeared in the terms file, even though I only ran git add on the two files I actually worked on.
I suspect this might have happened when I updated my branch to avoid merge conflicts.
Please let me know if you’d like me to revert those unrelated changes or submit a clean branch.
Hello @Nat_WDU, @Pepe_piton,
I've submitted my first contribution - a new page as mentioned in the task. Would appreciate your feedback!
MR: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/100
This is my first time contributing to Paulina, so I'm eager to learn from your review. Thank you!
Hello @Pepe_piton , @Nat_WDU here is my contribution to the task. https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/106
Hi @Pepe_piton @Nat_WDU
I've made a merge request for this task: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/115
Please kindly review
Hi @Pepe_piton.
This is my attempt: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/129
Would appreciate your feedback. Thanks!
Hi @Pepe_piton @Nat_WDU,
I'd appreciate your feedback on this: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/132
Thanks!
I took it a step further by translating the dummy text into all languages supported by Paulina.
Sample:
Hi @Pepe_piton @Nat_WDU,
I'd appreciate your feedback on this: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/142
Add generic "new-page" template for practice
This patch creates a simple demonstration page to practice creating new pages in Paulina using Flask and Jinja templates.
Changes:
Created templates/new-page.html that extends Paulina's base layout
Added /new-page/ route in app.py
Page includes dummy content with multiple sections
Inherits header and footer from layout.html
@Oluwatumininu.m @Dipanshu1223 @Nurah_Wakili Perfect!
@Chumzine Very good! And very nice that you added the link on the site menu. One detail: if you set the variable wikidata_link with Jinja directly on the template, you don't need to create and pass the same variable from app.py.
@Rolalove Perfect! Don't worry about the minor changes on the term.html page.
@Adwivedii Thanks for joining. Perfect work!
@Afanyulionel You forgot to create a view function for the new page in app.py. View functions are how you tell Flask to display the corresponding template for a given route. You can see examples for existing pages, such as /about in the app.py file itself.
In the next few days I will leave feedback to the rest of the contributions.
Thanks for the feedback @Pepe_piton . I have made the updates and pushed.
Same request: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/106
@System625 Perfect! And thanks for detecting and coding a fix for the JavaScript errors!
@shreya-bhagat @Blegodwin @Atlas0007 @Raboyusuf2024 Excellent!
@Sopzy Excellent. And what you did with Flask-Babel to get the translations was impeccable.
@Afanyulionel Now it's all right. Nice page!
Thank you so much for the feedback @Pepe_piton. Yes I completely agree, thank you for pointing it out. I was trying something out with the wikidata_link variable and forget to correct it.




