Skip to content

Commit

Permalink
Merge branch 'SemanticMediaWiki:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoruaFox authored Oct 31, 2024
2 parents 6b2520e + 1c518d8 commit ac9e86d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
31 changes: 19 additions & 12 deletions docs/COMPATIBILITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,44 +17,51 @@ minimum requirements are indicated in bold.
<th>Semantic MediaWiki</th>
<th>Release status</th>
</tr>
<tr>
<th>5.0.x</th>
<td><strong>8.0</strong> - 8.3+</td>
<td><strong>1.39</strong> - 1.43+</td>
<td><strong>4.0.0</strong> - 4.2+</td>
<td>Future release</td>
<tr>
<tr>
<th>4.2.x</th>
<td>7.3.0 - 8.0.x+</td>
<td>1.35 - 1.37+</td>
<td>3.2.x - 4.0+</td>
<td>7.3 - 8.1</td>
<td>1.35 - 1.39+</td>
<td>3.2.x - 4.2+</td>
<td><strong>Stable release</strong></td>
<tr>
<tr>
<th>4.1.x</th>
<td>7.3.0 - 8.0.x+</td>
<td>1.35 - 1.37+</td>
<td>3.2.x - 4.0+</td>
<td>7.3 - 8.0</td>
<td>1.35 - 1.37</td>
<td>3.2.x - 4.2</td>
<td>Obsolete release, no support</td>
<tr>
<tr>
<th>4.0.x</th>
<td><strong>7.3.0</strong> - 8.0.x+</td>
<td><strong>1.35</strong> - 1.37+</td>
<td><strong>3.2.x</strong> - 4.0+</td>
<td><strong>7.3</strong> - 8.0</td>
<td><strong>1.35</strong> - 1.37</td>
<td><strong>3.2.x</strong> - 4.0</td>
<td>Obsolete release, no support</td>
<tr>
<tr>
<th>3.2.x</th>
<td><strong>7.1.0</strong> - 7.4.x</td>
<td><strong>7.1</strong> - 7.4</td>
<td>1.31 - 1.35</td>
<td>3.0.x - 3.2.x</td>
<td>Obsolete release, no support</td>
<tr>
<tr>
<th>3.1.x</th>
<td><strong>7.0.0</strong> - 7.3.x</td>
<td><strong>7.0</strong> - 7.3</td>
<td><strong>1.31</strong> - 1.33</td>
<td>3.0.x - 3.1.x</td>
<td>Obsolete release, no support</td>
<tr>
<tr>
<th>3.0.x</th>
<td><strong>5.6.0</strong> - 7.1.x</td>
<td><strong>5.6</strong> - 7.1</td>
<td><strong>1.27</strong> - 1.33</td>
<td><strong>3.0.x</strong></td>
<td>Obsolete release, no support</td>
Expand Down
5 changes: 3 additions & 2 deletions src/ResourceFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace SRF;

use MediaWiki\ResourceLoader\ResourceLoader;
use RequestContext;
use SMW\Query\PrintRequest;
use SMWOutputs as ResourceManager;
Expand Down Expand Up @@ -64,8 +65,8 @@ public static function placeholder() {
public static function encode( $id, $data ) {
ResourceManager::requireHeadItem(
$id,
\ResourceLoader::makeInlineScript(
\ResourceLoader::makeConfigSetScript(
ResourceLoader::makeInlineScript(
ResourceLoader::makeConfigSetScript(
[
$id => json_encode( $data )
]
Expand Down

0 comments on commit ac9e86d

Please sign in to comment.