Skip to content

PagePort/PageExchange package for extendable resource annotation and browsing

Notifications You must be signed in to change notification settings

WikiTeq/mediawiki-pages-ResourceDirectory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mediawiki-pages-ResourceDirectory

Semantic structure, forms and templates for extendable resource annotation and browsing.

Requirements

  • Extension:SemanticMediaWiki
  • Extension:PageForms
  • Extension:Arrays
  • Extension:PageExchange or Extension:PagePort

Recommended

  • Extension:PdfHandler

Setup

via PagePort

  • Download the repository
  • Run
php extensions/PagePort/maintenance/importPages.php --source ~/mediawiki-pages-ResourceDirectory

via PageExchange

  • 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

Usage

Navigate to Form:Resource to start adding resources. Necessary links for data query and filtering will be added automatically.

Main data structure

  • Resource URL
  • Resource type
  • Resource name
  • Resource author
    • Resource author info
  • Resource description
  • Resource category
  • Resource keyword

Custom dropdowns

The semantic structure and the data input form can be easily extended to use custom sets of values (dropdowns).

  1. First create desired properties of type Text and define allowed values using [[Allows value::...]] built-in property.
  2. Then create Project:Resource custom lists and put names of your custom properties there, delimited with a semicolon (;), for example:
MyPropertyName; MyOtherPropertyName

About

PagePort/PageExchange package for extendable resource annotation and browsing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published