|
27 | 27 | <meta name="keywords" |
28 | 28 | content="MediaWiki, code search, semantic search, AI, neural retrieval, SWH, Software Heritage, open source, Wikipedia"> |
29 | 29 | <meta name="author" content="Francesco Tosoni"> |
| 30 | + <meta http-equiv="X-Content-Type-Options" content="nosniff"> |
| 31 | + <meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin"> |
30 | 32 |
|
31 | | - <!-- Open Graph --> |
| 33 | + <!-- Social Media (Open Graph) --> |
32 | 34 | <meta property="og:type" content="website"> |
33 | 35 | <meta property="og:url" content="https://code2codesearch.toolforge.org/"> |
34 | 36 | <meta property="og:title" content="MediaWiki Code2Code Search | Semantic Neural Retrieval"> |
35 | 37 | <meta property="og:description" |
36 | 38 | content="Advanced AI-powered semantic search for MediaWiki source code. Search by meaning, not just keywords."> |
37 | 39 | <meta property="og:image" content="https://code2codesearch.toolforge.org/icon.png"> |
38 | 40 |
|
| 41 | + <!-- Icons & Canonical --> |
39 | 42 | <link rel="canonical" href="https://code2codesearch.toolforge.org/"> |
40 | 43 | <link rel="icon" type="image/svg+xml" href="assets/branding/logo-minimal.svg"> |
41 | 44 | <link rel="alternate icon" type="image/x-icon" href="assets/branding/favicon.ico"> |
42 | 45 | <link rel="preconnect" href="https://tools-static.wmflabs.org" crossorigin> |
43 | 46 |
|
| 47 | + <!-- Structured Data (JSON-LD) --> |
44 | 48 | <script type="application/ld+json"> |
45 | 49 | { |
46 | 50 | "@context": "https://schema.org", |
|
97 | 101 | } |
98 | 102 | </script> |
99 | 103 |
|
100 | | - <!-- React (Toolforge Mirror) --> |
| 104 | + <!-- External Libraries (Toolforge Mirror) --> |
101 | 105 | <script src="https://tools-static.wmflabs.org/cdnjs/ajax/libs/react/18.3.1/umd/react.production.min.js"></script> |
102 | 106 | <script |
103 | 107 | src="https://tools-static.wmflabs.org/cdnjs/ajax/libs/react-dom/18.3.1/umd/react-dom.production.min.js"></script> |
104 | 108 |
|
105 | | - |
106 | | - <!-- Three.js (Toolforge Mirror) --> |
107 | 109 | <script src="https://tools-static.wmflabs.org/cdnjs/ajax/libs/three.js/r128/three.min.js"></script> |
108 | 110 |
|
109 | | - <!-- Toolforge Font CDN: Ubuntu & JetBrains Mono for open-source compliance & premium look --> |
| 111 | + <!-- Font Assets --> |
110 | 112 | <link href='https://tools-static.wmflabs.org/fontcdn/css?family=Ubuntu|JetBrains+Mono' rel='stylesheet' |
111 | 113 | type='text/css'> |
112 | 114 |
|
113 | | - <!-- External Styles --> |
| 115 | + <!-- Application Styles --> |
114 | 116 | <link rel="stylesheet" href="css/style.css"> |
115 | 117 | </head> |
116 | 118 |
|
117 | 119 | <body> |
118 | | - |
| 120 | + <!-- App Containers --> |
119 | 121 | <div id="canvas-container"></div> |
120 | | - |
121 | 122 | <div id="root"></div> |
122 | 123 |
|
123 | | - <!-- External Application Logic (Pre-compiled by Babel) --> |
| 124 | + <!-- Application Logic --> |
124 | 125 | <script src="js/app.js"></script> |
125 | 126 | </body> |
126 | 127 |
|
|
0 commit comments