Download the PHP package open-csp/w-s-spaces without Composer

On this page you can find all versions of the php package open-csp/w-s-spaces. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package w-s-spaces

WSSpaces

WSSpaces is a comprehensive space management system developed for MediaWiki. It enables users to dynamically define namespaces. This document describes the extensions capabilities, options and usage.

Configuration

WSSpaces has two configuration variable.

To enable Semantic MediaWiki for the created namespace, place the following code in between the initialization of Semantic MediaWiki and WSSpaces in LocalSettings.php:

Parser functions

Retrieving defined spaces

You can use the {{#spaces:}} parser function to get a comma-separated list of spaces defined by WSSpaces.

Hooks

WSSpaces defines several hooks to alter or extend its behaviour.

WSSpacesAfterCreateSpace

Gets called once directly after a space has been created. NOTE: The space has not been initialized with the Wiki at this point. Therefore, you cannot create a page in this namespace (use a job instead). Similarly, this space is at this point unaware of the admins that it has as they are only set after this hook is called.

WSSpacesCustomApiExceptionHandler

Gets called whenever an ApiUsageException occurs when using the WSSpaces API. Allows for custom handling of the exception.

Rights

WSSpaces defines several rights.

Please note that administrators of a space are always able to edit the details of that space, regardless of whether or not they have been assigned any of the rights below.

wss-edit-all-spaces

Whether the user can edit all spaces or not, regardless of whether or not they are a space administrator of those spaces.

wss-add-space

Whether the user can add new spaces to the wiki or not.

wss-archive-space

Whether the user can archive existing spaces or not. This right does not affect the behaviour or $wgWSSpacesEnableSpaceArchiving.

wss-view-space-admins

Whether the user is able to view the admins for a space or not.

wss-view-spaces-overview

Whether the user is able to view the overview of spaces or not.

API modules

WSSpaces defines several API modules. The documentation of these API modules can be found through the API sandbox or by going to /api.php on the wiki. For your reference, the following API modules are available:

Furthermore, the following API list (?action=query) modules are available:


All versions of w-s-spaces with dependencies

PHP Build Version
Package Version
Requires ext-openssl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package open-csp/w-s-spaces contains the following files

Loading the files please wait ....