Main Page: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(12 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[http://playground-mw.bitplan.com/ CompGen e.V. Semantic MediaWiki Playgrounds] | [http://playground-mw.bitplan.com/ CompGen e.V. Semantic MediaWiki Playgrounds] | ||
= Discourse-Thema = | |||
[https://discourse.genealogy.net/t/mediawiki-playgrounds/826785 Discourse - mediawiki-playgrounds] | |||
= Wiki-Migration = | |||
[[Wiki-Migration 2024-10-23]] | |||
= Auswahl der Namen = | = Auswahl der Namen = | ||
* [https://cr.bitplan.com/index.php/GreekGodsList Greek Gods List] basierend auf [https://cr.bitplan.com/index.php/GreekGods Greek Gods SPARQL Abfrage in Wikidata] | * [https://cr.bitplan.com/index.php/GreekGodsList Greek Gods List] basierend auf [https://cr.bitplan.com/index.php/GreekGods Greek Gods SPARQL Abfrage in Wikidata] | ||
= Wikipush Experimente = | |||
== WikiUser Einrichtung == | |||
Beispiel für https://www.semantic-mediawiki.org | |||
<source lang='bash' highlight=1> | |||
cd $HOME/.mediawiki-japi | |||
cat ${USER}_smw.ini | |||
#Mediawiki JAPI credentials for smw | |||
#Tue Oct 06 13:20:42 CEST 2020 | |||
scriptPath=/w | |||
url=https://www.semantic-mediawiki.org | |||
wikiId=smw | |||
version=MediaWiki 1.31.10 | |||
</source> | |||
== Wikipush Test == | |||
<source lang='bash' highlight='1'> | |||
wikipush -s smw -t Zeus -p Demo:Berlin Property:Has_Wikidata_item_ID Berlin | |||
copying 2 pages from smw to Zeus | |||
1/2 ( 50%): copying ... Property:Has_Wikidata_item_ID✅ | |||
2/2 ( 100%): copying ... Berlin✅ | |||
</source> | |||
siehe | |||
* [[Demo:Berlin]] | |||
* [[Property:Has_Wikidata_item_ID]] | |||
= Installation = | = Installation = | ||
== Setup == | == Setup == | ||
siehe [[Setup]] | siehe [[Setup]] | ||
[[Special:Version]] | |||
== setup_wikis script == | == setup_wikis script == | ||
Line 12: | Line 40: | ||
<source lang='bash' highlight='1'> | <source lang='bash' highlight='1'> | ||
./setup_wikis -h | ./setup_wikis -h | ||
Usage: | setup_wikis -h | ||
Usage: setup_wikis [OPTIONS] | |||
Options: | Options: | ||
-h, --help Show this help message | -h, --help Show this help message | ||
-c, --clean | -c, --clean Clean the Docker environment | ||
--check Check the status of selected wikis | |||
-d, --debug Enable debug output | -d, --debug Enable debug output | ||
--patch | --patch Patch all wikis | ||
-p, --passwords Show the sysop passwords of the wikis | -p, --passwords Show the sysop passwords of the wikis | ||
-s, --setup Setup the selected wikis | |||
-v, --version Show version information | -v, --version Show version information | ||
-w, --wiki NAME Specify the wiki to operate on (use 'all' for all wikis) | |||
</source> | |||
=== check === | |||
<source lang='bash' highlight='1'> | |||
setup_wikis -w Zeus --check | |||
Checking Zeus wiki on ports 9186/9187: | |||
checking docker access for mediawiki versions ['1.39.10'] | |||
1:checking 1.39.10 ... | |||
mediawiki webserver container Zeus-mw:✅ | |||
mediawiki database container Zeus-db:✅ | |||
port binding 9186= expected port 9186?:✅ | |||
Checking http://playground-mw.bitplan.com/Zeus/index.php?title=Special:Version ... | |||
Special Version accessible ...:✅ | |||
Mediawiki Version 1.39.8= expected 1.39.10?:❌ | |||
✅ | |||
</source> | </source> |
Latest revision as of 08:55, 30 October 2024
CompGen e.V. Semantic MediaWiki Playgrounds
Discourse-Thema
Discourse - mediawiki-playgrounds
Wiki-Migration
Auswahl der Namen
- Greek Gods List basierend auf Greek Gods SPARQL Abfrage in Wikidata
Wikipush Experimente
WikiUser Einrichtung
Beispiel für https://www.semantic-mediawiki.org
cd $HOME/.mediawiki-japi
cat ${USER}_smw.ini
#Mediawiki JAPI credentials for smw
#Tue Oct 06 13:20:42 CEST 2020
scriptPath=/w
url=https://www.semantic-mediawiki.org
wikiId=smw
version=MediaWiki 1.31.10
Wikipush Test
wikipush -s smw -t Zeus -p Demo:Berlin Property:Has_Wikidata_item_ID Berlin
copying 2 pages from smw to Zeus
1/2 ( 50%): copying ... Property:Has_Wikidata_item_ID✅
2/2 ( 100%): copying ... Berlin✅
siehe
Installation
Setup
siehe Setup Special:Version
setup_wikis script
Usage
./setup_wikis -h
setup_wikis -h
Usage: setup_wikis [OPTIONS]
Options:
-h, --help Show this help message
-c, --clean Clean the Docker environment
--check Check the status of selected wikis
-d, --debug Enable debug output
--patch Patch all wikis
-p, --passwords Show the sysop passwords of the wikis
-s, --setup Setup the selected wikis
-v, --version Show version information
-w, --wiki NAME Specify the wiki to operate on (use 'all' for all wikis)
check
setup_wikis -w Zeus --check
Checking Zeus wiki on ports 9186/9187:
checking docker access for mediawiki versions ['1.39.10']
1:checking 1.39.10 ...
mediawiki webserver container Zeus-mw:✅
mediawiki database container Zeus-db:✅
port binding 9186= expected port 9186?:✅
Checking http://playground-mw.bitplan.com/Zeus/index.php?title=Special:Version ...
Special Version accessible ...:✅
Mediawiki Version 1.39.8= expected 1.39.10?:❌
✅