Skip to content

Commit e072092

Browse files
authored
Merge pull request #18 from OpenSemanticLab/main
add schema_template slot
2 parents da2afc7 + 91e843e commit e072092

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ docker cp mediawiki/config/pub/* osl-wiki_mediawiki_1:/var/www/html/w/pub/
139139
```
140140

141141
### Push with tag
142-
triggers CI/CD workflow and pushes image with tags to docker registry
142+
triggers CI/CD workflow and pushes image with tags to docker registry (see also [stackoverflow: push-git-commits-tags-simultaneously](https://stackoverflow.com/questions/3745135/push-git-commits-tags-simultaneously/57842917#57842917) )
143143
```
144144
git tag <tag>
145-
git push origin --tags
145+
git push --atomic origin main --tags
146146
```

mediawiki/config/DockerSettings.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@
445445
$wgWSSlotsDefinedSlots = [
446446
"jsonschema" => ["content_model" => "json", "slot_role_layout" => [ "region" => "footer", "display" => "details"]],
447447
"jsondata" => ["content_model" => "json", "slot_role_layout" => [ "region" => "footer", "display" => "details"]],
448+
"schema_template" => ["content_model" => "text", "slot_role_layout" => [ "display" => "none"]],
448449
"data_template" => ["content_model" => "wikitext", "slot_role_layout" => [ "display" => "none"]],
449450
"header_template" => ["content_model" => "wikitext", "slot_role_layout" => [ "display" => "none"]],
450451
"footer_template" => ["content_model" => "wikitext", "slot_role_layout" => [ "display" => "none"]],

0 commit comments

Comments
 (0)