I have created a frontend module with HTML-CSS which is a "call now" sticky button.
index.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" href="./css/mobile_general_structure.css"></link> <link rel="stylesheet" href="./css/nonmobile_general_structure.css"></link> </head> <body> <div dir="rtl" class="camowb_main_box"> <div class="camowb_phone_box"> <a class="camowb_phone_link" href="https://wa.me/NUMBER"> <img class="camowb_phone_icon" src="./images/whatsapp.svg"></img> <span class="camowb_phone_text">WhatsApp</span> </a> </div> </div> </body> </html>
- The module's files are located in a directory on top of the web application root (
example.com/call_now
).
What would be a reasonable way to initiate/boot the module in every MediaWiki webpage?