Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal stack for integration in existing Mediawiki instances #58

Open
simontaurus opened this issue Nov 22, 2024 · 0 comments
Open

Minimal stack for integration in existing Mediawiki instances #58

simontaurus opened this issue Nov 22, 2024 · 0 comments

Comments

@simontaurus
Copy link
Collaborator

simontaurus commented Nov 22, 2024

@thomas-topway-it, @Duanoc, @osnard: FYI

- Work in progress -

Minimal requirements to get OpenSemanticLab running:

  • A modified mediawiki core No longer required
  • MwJson Extension with dependencies
  • OpenSemanticLab Extension with dependencies
  • OpenSemanticWorld-Packages world.opensemantic.core (required) and world.opensemantic.base (recommended)

How to

  1. make sure you have the List of enabled extensions below installed & enabled in you system. Sources are listed in the List of installed extensions
  2. make sure to configure all required slots, see here
  3. make sure Scribuntu is configured, see here
  4. make sure slot render results are displayed corrently by enabling the MwJson option, see here
  5. add https://raw.githubusercontent.com/OpenSemanticLab/PagePackages/main/package_index.txt to the PagePackages repo list, see here
  6. Navigate to Special:Packages and install world.opensemantic.core (required) and world.opensemantic.base (recommended)
  7. Wait until all pages are installed - this may take ~20 min
  8. With Skin:Citizen (recommended) you should be able to use OpenSemanticLab / MwJson features now. Other skins may not display the Edit slots and Edit data buttons and lack of support for display title search

List of enabled extensions

Note: This list contains both required and recommended extensions (plus some leftovers). Definition of required / recommended is work-in-progress

i name comment
0 Bootstrap # required; for UI in MwJson
1 Elastica # recommended; for fulltext search
2 VisualEditor # required; for additional editors in OSL extension
3 VEForAll # required; legacy for additional editors in MwJson extension
4 Math # recommended; for VE, bundled in REL1_39
5 DrawioEditor # required; for additional editors in OSL extension
6 PageForms # required; legancy for additional editors in OSL extension, can be removed
7 CategoryTree # recommended; for visualization
8 CiteThisPage # optional; can be removed
9 Gadgets # optional; can be removed
10 InputBox # optional; can be removed
11 MultimediaViewer # recommended; for visualization
12 Nuke # optional; can be removed
13 PageImages # recommended; for visualization
14 PdfHandler # recommended; for visualization
15 Renameuser # optional; can be removed
16 SecureLinkFixer # optional; can be removed
17 SyntaxHighlight_GeSHi # required; source code editors in MwJson extension
18 TemplateData # required; for additional editors in OSL extension
19 TitleBlacklist # optional; can be removed
20 WikiEditor # required; for additional editors in OSL extension
21 MyVariables # required; additional variables like USERLANGUAGECODE
22 SemanticMediaWiki # required;
23 SemanticResultFormats # required;
24 WSSlots # required; to interact with slots
25 Scribunto # required; bundled
26 SemanticScribunto # required; to store properties in lua
27 CommentStreams # optional; can be removed, not enabled by default
28 DisplayTitle # required; to replace UUID titles with labels
29 SimpleBatchUpload # required; for footer of fundamental Entity schema
30 FileApi # recommended; to download files with bot accounts
31 OpenSemanticLab # required;
32 SemanticProperties # recommended;
33 SvgEditor # required; for additional editors in OSL extension
34 ChemEditor # required; for additional editors in OSL extension
35 InteractiveSemanticGraph # required; for graph visualization
36 PageExchange # recommended; to install packages
37 MwJson # required;

Generated with [^#]wfLoadExtension\(\s*'(?<name>\S+)'\s*\);(?<comment>[^\n]*)\n on DockerSettings.min.php (see regex) and handelbars

List of installed extensions

Note: MW_VERSION=REL1_39

i type repo branch/version
0 git https://github.com/OpenSemanticLab/mediawiki.git $MW_VERSION-dev
1 git https://github.com/mediawiki/mediawiki.git $MW_VERSION
2 git https://github.com/OpenSemanticLab/mediawiki-skins-Citizen osw
3 composer mediawiki/bootstrap-components ~5.0
4 git https://github.com/wikimedia/mediawiki-extensions-MyVariables.git $MW_VERSION
5 git https://gerrit.wikimedia.org/r/p/mediawiki/extensions/CirrusSearch $MW_VERSION
6 git https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Elastica $MW_VERSION
7 git https://github.com/wikimedia/mediawiki-extensions-CommentStreams $MW_VERSION
8 git https://github.com/OpenSemanticLab/WSSlots.git
9 git https://github.com/OpenSemanticLab/mediawiki-extensions-PageExchange dev
10 composer mediawiki/semantic-media-wiki ^4.2.0
11 composer mediawiki/semantic-result-formats ^4.2.0
12 composer mediawiki/semantic-compound-queries ~2.2
13 composer mediawiki/semantic-scribunto ~2.2
14 git https://github.com/OpenSemanticLab/SemanticResultFormats.git dev
15 git https://github.com/wikimedia/mediawiki-extensions-PageForms.git $MW_VERSION
16 git https://github.com/Liquipedia/VariablesLua.git
17 git https://github.com/wikimedia/mediawiki-extensions-VEForAll.git $MW_VERSION
18 git https://github.com/wikimedia/mediawiki-extensions-CodeMirror.git $MW_VERSION
19 git https://github.com/wikimedia/mediawiki-extensions-DrawioEditor.git $MW_VERSION
20 git https://github.com/OpenSemanticLab/mediawiki-extensions-DrawioEditor dev
21 composer mediawiki/simple-batch-upload 1.8.2"
22 git https://github.com/OpenSemanticLab/mediawiki-extensions-SimpleBatchUpload.git mobile-camera-upload
23 git https://github.com/OpenSemanticLab/mediawiki-extensions-DisplayTitle.git REL1_35-dev
24 git https://github.com/simontaurus/WellplateEditor.git
25 git https://github.com/OpenSemanticLab/mediawiki-extensions-SvgEditor.git no-storage-prompt
26 git https://github.com/OpenSemanticLab/mediawiki-extensions-MwJson.git
27 git https://github.com/OpenSemanticLab/mediawiki-extensions-SpreadsheetEditor.git
28 git https://github.com/OpenSemanticLab/mediawiki-extensions-ChemEditor.git
29 git https://github.com/OpenSemanticLab/mediawiki-extensions-InteractiveSemanticGraph refactoring
30 git https://github.com/OpenSemanticLab/mediawiki-extensions-InteractiveSemanticGraph2
31 git https://github.com/OpenSemanticLab/mediawiki-extensions-SciFileHandler
32 git https://github.com/OpenSemanticLab/mediawiki-extensions-OpenSemanticLab.git
33 git https://github.com/OpenSemanticLab/mediawiki-extensions-SemanticProperties.git
34 git https://github.com/OpenSemanticWorld/mediawiki-extensions-Chatbot.git
35 git https://github.com/OpenSemanticLab/mediawiki-extensions-FileApi.git

generated with (git) clone( --depth 1)?( -b (?<gbranch>\S+))? (?<grepo>\S+)|(composer) require --no-update (?<crepo>[^\:]+):?(?<cversion>\S+)? on Dockerfile.min (see regex) and
handelbars

simontaurus added a commit that referenced this issue Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant