2017 © Pedro Peláez
 

mediawiki-extension semantic-forms-select

Allows to generate a select field in a form whose values are retrieved from a query

image

mediawiki/semantic-forms-select

Allows to generate a select field in a form whose values are retrieved from a query

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 9 Open issues
  • 8 Versions
  • 5 % Grown

The README.md

Semantic Forms Select

CI codecov, (*1)

Semantic Forms Select (a.k.a. SFS) can generate a select form element with values retrieved from a #ask query or a parser function., (*2)

Requirements

Installation

The recommended way to install Semantic Forms Select is using Composer with MediaWiki's built-in support for Composer., (*3)

Note that the required extensions Semantic MediaWiki and Page Forms must be installed first according to the installation instructions provided for them., (*4)

Step 1

Change to the base directory of your MediaWiki installation. This is where the "LocalSettings.php" file is located. If you have not yet installed Composer do it now by running the following command in your shell:, (*5)

wget https://getcomposer.org/composer.phar

Step 2

If you do not have a "composer.local.json" file yet, create one and add the following content to it:, (*6)

{
    "require": {
        "mediawiki/semantic-forms-select": "~4.0"
    }
}

If you already have a "composer.local.json" file add the following line to the end of the "require" section in your file:, (*7)

"mediawiki/semantic-forms-select": "~4.0"

Remember to add a comma to the end of the preceding line in this section., (*8)

Step 3

Run the following command in your shell:, (*9)

php composer.phar update --no-dev

Note if you have Git installed on your system add the --prefer-source flag to the above command. Also note that it may be necessary to run this command twice. If unsure do it twice right away., (*10)

Step 4

Add the following line to the end of your "LocalSettings.php" file:, (*11)

wfLoadExtension( 'SemanticFormsSelect' );

Verify installation success

As final step, you can verify SFS got installed by looking at the "Special:Version" page on your wiki and check that it is listed in the semantic extensions section., (*12)

Usage

Please consult the help page for more information and examples., (*13)

Contribution and support

If you want to contribute work to the project please subscribe to the developers mailing list and have a look at the contribution guideline., (*14)

Original code from https://code.google.com/p/semanticformsselect/downloads/list, (*15)

Tests

This extension provides PHP and JavaScript tests that are run by continues integration platform but can also be executed using composer phpunit and npm ci && npm test from the extension base directory., (*16)

License

GNU General Public License, version 2 or later., (*17)

The Versions

25/06 2018

dev-master

9999999-dev https://www.mediawiki.org/wiki/Extension:SemanticFormsSelect

Allows to generate a select field in a form whose values are retrieved from a query

  Sources   Download

GPL-2.0+ GPL-2.0-or-later

The Requires

 

The Development Requires

by Toni Hermoso Pulido
by Thomas Mulhall

mediawiki smw semantic mediawiki page forms

27/06 2017

2.1.1

2.1.1.0 https://www.mediawiki.org/wiki/Extension:SemanticFormsSelect

Allows to generate a select field in a form whose values are retrieved from a query

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Toni Hermoso Pulido
by Thomas Mulhall

mediawiki smw semantic mediawiki page forms

08/05 2017

dev-upreadme

dev-upreadme https://www.mediawiki.org/wiki/Extension:SemanticFormsSelect

Allows to generate a select field in a form whose values are retrieved from a query

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Toni Hermoso Pulido
by Thomas Mulhall

mediawiki smw semantic mediawiki page forms

19/01 2017

2.1.0

2.1.0.0 https://www.mediawiki.org/wiki/Extension:SemanticFormsSelect

Allows to generate a select field in a form whose values are retrieved from a query

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Toni Hermoso Pulido
by Thomas Mulhall

mediawiki smw semantic mediawiki page forms

19/12 2016

2.0.0

2.0.0.0 https://www.mediawiki.org/wiki/Extension:SemanticFormsSelect

Allows to generate a select field in a form whose values are retrieved from a query

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Toni Hermoso Pulido
by Thomas Mulhall

mediawiki smw semantic mediawiki page forms

30/11 2015

1.3

1.3.0.0 https://www.mediawiki.org/wiki/Extension:SemanticFormsSelect

Generate a select field in Semantic Form which values are from query

  Sources   Download

GPL-2.0+

The Requires

 

by Toni Hermoso Pulido
by Jasonzhang

mediawiki smw semantic mediawiki semantic forms

18/09 2015

1.2.1

1.2.1.0 https://www.mediawiki.org/wiki/Extension:SemanticFormsSelect

Generate a select field in Semantic Form which values are from query

  Sources   Download

GPL-2.0+

The Requires

 

by Toni Hermoso Pulido
by Jasonzhang

mediawiki smw semantic mediawiki semantic forms

10/09 2015

1.2

1.2.0.0 https://www.mediawiki.org/wiki/Extension:SemanticFormsSelect

Generate a select field in Semantic Form which values are from query

  Sources   Download

GPL-2.0+

The Requires

 

by Toni Hermoso Pulido
by Jasonzhang

mediawiki smw semantic mediawiki semantic forms