Semantic structure, forms and templates for extendable resource annotation and browsing.
- Extension:SemanticMediaWiki
- Extension:PageForms
- Extension:Arrays
- Extension:PageExchange or Extension:PagePort
- Extension:PdfHandler
- Download the repository
- Run
php extensions/PagePort/maintenance/importPages.php --source ~/mediawiki-pages-ResourceDirectory
- Add the following line to your LocalSettings.php:
$wgPageExchangePackageFiles[] = 'https://raw.githubusercontent.com/WikiTeq/mediawiki-pages-ResourceDirectory/master/page-exchange.json';
- Navigate to Special:Packages and install the package
Navigate to Form:Resource
to start adding resources. Necessary links for data query and filtering will be added automatically.
- Resource URL
- Resource type
- Resource name
- Resource author
- Resource author info
- Resource description
- Resource category
- Resource keyword
The semantic structure and the data input form can be easily extended to use custom sets of values (dropdowns).
- First create desired properties of type
Text
and define allowed values using[[Allows value::...]]
built-in property. - Then create
Project:Resource custom lists
and put names of your custom properties there, delimited with a semicolon (;
), for example:
MyPropertyName; MyOtherPropertyName