MediaWiki provides a "SiteNotice" feature that can be edited and set up by project admins without requiring to change the code.
As we often made use of this feature on Lingua Libre Legacy (to warn about known issues, request answers to surveys or announce some achievements), we should find a way to somehow replicate it.
Textual content should be fetched from https://commons.wikimedia.org/wiki/Commons:Lingua_Libre/SiteNotice.
Installation
Ensure you can :
- clone the repository
- find your way in the project's code
- make minor modification
- create a PR.
Mission
- Ask ChatGPT : Using JS, how to fech wikipage raw text content by url.
- Find the right Wikimedia Codex block for such ribbon.
- Add JS such as : If (Commons:Lingua_Libre/SiteNotice has content) { style = "display:block" } else { style="display:none" }
|----------------------------------------------| | Sitenotice | |----------------------------------------------| | | | | | | | | | REST OF SITE | | | | | | | | | |----------------------------------------------|
Repository access
If you do not have access to Lingualibre Gitlab, please request access to Wikimedia Gitlab : https://phabricator.wikimedia.org/maniphest/task/edit/form/117/
Please also ping @hugolpz.

