Meeting 2024-10-30

From wiki
Jump to navigation Jump to search

Test mit Zeus

IP Playground-Server 188.245.193.223

Zeus-Wiki
http://playground-mw.bitplan.com/Zeus/
Sysop ***
neuen Benutzer über Admin links anlegen und diesem Admin-Rechte zuweisen

wikipush test

siehe Main_Page#WikiUser_Einrichtung https://www.semantic-mediawiki.org/wiki/Demo:Berlin Demo:Berlin existiert schon

hier gibt es alle Demo-Städte: https://www.semantic-mediawiki.org/wiki/Category:City

jetzt Tokyo als nächstes

wikipush -s smw -t Zeus -p Demo:Tokyo

Demo:Tokyo

ganze Kategorie und von lokalem Rechner aus

WikiUser anlegen: Main_Page#WikiUser_Einrichtung; vorher eventuell HOME, PATH und USER prüfen (sonst anlegen)

eventuell pip installieren: sudo apt install python3-pip

eventuell Py-3rdparty-mediawiki installieren: https://wiki.bitplan.com/index.php/Py-3rdparty-mediawiki

wikiquery -h
usage: wikiquery [-h] [-d] [-V] [-l] -s SOURCE [--format FORMAT] [--entityName ENTITYNAME] [--limit LIMIT] [--progress] [-q QUERY] [--queryFile QUERYFILE]
                 [-qf QUERYFIELD] [-p PAGES [PAGES ...]] [-ui] [-qd QUERYDIVISION] [--title TITLE]

wikipush

  Created by Wolfgang Fahl on 2020-10-31.
  Copyright 2020-2023 Wolfgang Fahl. All rights reserved.

  Licensed under the Apache License 2.0
  http://www.apache.org/licenses/LICENSE-2.0

  Distributed on an "AS IS" basis without warranties
  or conditions of any kind, either express or implied.

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           set debug level [default: False]
  -V, --version         show program's version number and exit
  -l, --login           login to source wiki for access permission
  -s SOURCE, --source SOURCE
                        source wiki id
  --format FORMAT       format to use for query result csv,json,lod or any of the tablefmt options of https://pypi.org/project/tabulate/
  --entityName ENTITYNAME
                        name of the entites that are queried - only needed for some output formats - default is 'data'
  --limit LIMIT         limit for query
  --progress            shows progress for query
  -q QUERY, --query QUERY
                        select pages with given SMW ask query
  --queryFile QUERYFILE
                        file the query should be read from
  -qf QUERYFIELD, --queryField QUERYFIELD
                        query result field which contains page
  -p PAGES [PAGES ...], --pages PAGES [PAGES ...]
                        list of page Titles to be pushed
  -ui, --withGUI        Pop up GUI for selection
  -qd QUERYDIVISION, --queryDivision QUERYDIVISION
                        divide query into equidistant subintervals to limit the result size of the individual queries
  --title TITLE         the title for the query