Difference between revisions of "Get your own copy of openresearch"

From Openresearch
Jump to: navigation, search
(Extensions)
(Extensions)
Line 55: Line 55:
 
  [https://www.mediawiki.org/wiki/Extension:Header_Tabs Header Tabs]
 
  [https://www.mediawiki.org/wiki/Extension:Header_Tabs Header Tabs]
  
*Semantic Cite
+
*[https://www.mediawiki.org/wiki/Extension:Semantic_Cite Semantic_Cite
 
*Semantic MediaWiki
 
*Semantic MediaWiki
 
*Semantic Result Formats
 
*Semantic Result Formats
*Nuke
+
*[https://www.mediawiki.org/wiki/Extension:Nuke Nuke]
*Page Forms
+
*[https://www.mediawiki.org/wiki/Extension:Page_Forms Page Forms]
*Renameuser
+
*[https://www.mediawiki.org/wiki/Extension:Renameuser Renameuser]
*Replace Text
+
*[https://www.mediawiki.org/wiki/Extension:Replace_Text Replace Text]
*Cite
+
*[https://www.mediawiki.org/wiki/Extension:Cite Cite]
*Header Tabs
+
*[https://www.mediawiki.org/wiki/Extension:Header_Tabs Header_Tabs]
*ImageLink
+
*[https://www.mediawiki.org/wiki/Extension:ImageLink ImageLink]
*ImageMap
+
*[https://www.mediawiki.org/wiki/Extension:ImageMap ImageMap]
*MagicNoCache
+
*[https://www.mediawiki.org/wiki/Extension:MagicNoCache MagicNoCache]
*Maps
+
*[https://www.mediawiki.org/wiki/Extension:Maps Maps]
*MsUpload
+
*[https://www.mediawiki.org/wiki/Extension:MsUpload MsUpload]
*ParserFunctions
+
*[https://www.mediawiki.org/wiki/Extension:ParserFunctions ParserFunctions]
*PDFEmbed
+
 
*SyntaxHighlight
 
  
  
 
===== Necessary Admin Extensions =====
 
===== Necessary Admin Extensions =====
 
*{{Link|target=Admin_Links}}
 
*{{Link|target=Admin_Links}}
 +
*[https://www.mediawiki.org/wiki/Extension:SyntaxHighlight SyntaxHighlight]
 
*UserFunctions
 
*UserFunctions
 
*WikiEditor
 
*WikiEditor
Line 82: Line 82:
 
==== Optional Extensions ====
 
==== Optional Extensions ====
 
*[https://www.mediawiki.org/wiki/Extension:Diagrams Diagrams]
 
*[https://www.mediawiki.org/wiki/Extension:Diagrams Diagrams]
*
+
*[https://www.mediawiki.org/wiki/Extension:PDFEmbed PDFEmbed]
  
 
=== wikipush toolkit ===
 
=== wikipush toolkit ===

Revision as of 09:05, 19 March 2021

Is OPENRESEARCH open source?

YES, the software is open source and the data as well.

Software

LAMP

A LAMP stack: Linux, Apache, mySQL, PHP is needed as a basis. See https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_or_Ubuntu#Install_LAMP_Stack

Linux

e.g. Ubuntu 20.04 / Debian or similar Operating System. Could also be a virtual machine or a docker environment.

Apache

apt-get install apache2

mySQL

apt install mariadb-server
sudo mysql_secure_installation
root@confident02:~# mysql
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 55
Server version: 10.3.22-MariaDB-0+deb10u1 Debian 10

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
+--------------------+
3 rows in set (0.000 sec)

PHP

apt-get install php7.3
apt-get install php7.4 ✔

MediaWiki

Semantic Media wiki

Extensions

see https://rq.bitplan.com/index.php/List_of_Extensions

Necessary Extensions

Header Tabs


Necessary Admin Extensions


Optional Extensions

wikipush toolkit

Prerequirements

Installation

Install py-3rdparty-mediawiki/

pip install py-3rdparty-mediawiki

Usage

py-3rdparty-mediawiki provides tools to push wiki pages to a new/existing wiki. A documentation of py-3rdparty-mediawiki can be found here.

To create a copy of OPENRESEARCH you must first register OPENRESEARCH to the py-3rdparty-mediawiki toolkit.

$ wikiuser
email: john@doe.com
scriptPath: /mediawiki
user: jd
url: https://www.openresearch.org
version: Mediawiki 1.31.7
wikiId: or
password: *****
shall i store jd smw? yes/no y/ny

You will have to do the same for the wiki you want to push the copy. In the following the target wiki will be referenced with the id wikiId After you registered the wiki you can create a copy with the following command:

$ wikipush -s or -t wikiId -q "[[Modification date::+]]"

What is the copyright?