Main Page: Difference between revisions

From wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by one other user not shown)
Line 11: Line 11:
<source lang='bash' highlight=1>
<source lang='bash' highlight=1>
cd $HOME/.mediawiki-japi
cd $HOME/.mediawiki-japi
cat $USER_smw.ini  
cat ${USER}_smw.ini  
#Mediawiki JAPI credentials for smw
#Mediawiki JAPI credentials for smw
#Tue Oct 06 13:20:42 CEST 2020
#Tue Oct 06 13:20:42 CEST 2020
Line 18: Line 18:
wikiId=smw
wikiId=smw
version=MediaWiki 1.31.10
version=MediaWiki 1.31.10
</pre>
</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 =

Latest revision as of 08:55, 30 October 2024

CompGen e.V. Semantic MediaWiki Playgrounds

Discourse-Thema

Discourse - mediawiki-playgrounds

Wiki-Migration

Wiki-Migration 2024-10-23

Auswahl der Namen

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?:❌
✅