MediaWiki master
ContentSecurityPolicyDefaultSourceHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
26 public function onContentSecurityPolicyDefaultSource( &$defaultSrc,
27 $policyConfig, $mode
28 );
29}
onContentSecurityPolicyDefaultSource(&$defaultSrc, $policyConfig, $mode)
Use this hook to modify the allowed CSP load sources.

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant