The licensing state of the content is rather unclear I think. probably cc-by-sa-3.0 and GPL ?
|Resolved||debt||T136877 Wikipedia.org Portal: add license information for page code|
|Resolved||debt||T135903 Wikimedia/portals repo should have a LICENSE file|
This page is available under the Creative Commons Attribution-ShareAlike License.
What is content and what is code may be blurry and messed up here, since all of the code was put into the page when it was on Meta, necessitating backwards compatibility with the licence used there. CC BY-SA and GFDL really sucks as a code licence, but we might not have much choice here. :-(