title: Adding Leaflet to a Mediawiki-Page
body: <p>so I made a map using leaflet and want to add it into a Wikipage on my Mediawiki. Via the "MediaWiki:Common.js"-File I can load the HTML of my map into the page, as explained <a href="https://www.mediawiki.org/wiki/Adding_javascript_to_wiki_pages" rel="nofollow noreferrer">here</a>. 
  But Leaflet requires me to add there css-File and there Javascript in the header like so:</p>
  
  <pre><code> &lt;link rel="stylesheet" href="https://unpkg.com/leaflet@1.5.1/dist/leaflet.css"
     integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
     crossorigin=""/&gt;
   &lt;!-- Make sure you put this AFTER Leaflet's CSS --&gt;
   &lt;script src="https://unpkg.com/leaflet@1.5.1/dist/leaflet.js"
     integrity="sha512-GffPMF3RvMeYyc1LWMHtK8EbPv0iNZ8/oTtHPx9/cc2ILxQ+u905qIwdpULaqDkyBKgOaB57QTMg7ztg8Jm2Og=="
     crossorigin=""&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Is there a way to load them through the Common.js?</p>