Development:Index: Difference between revisions
From COMP15212 Wiki
pc>Yuron No edit summary |
Yuron [PHRhYmxlIGNsYXNzPSJ0d3BvcHVwIj48dHI+PHRkIGNsYXNzPSJ0d3BvcHVwLWVudHJ5dGl0bGUiPkdyb3Vwczo8L3RkPjx0ZD51c2VyPGJyIC8+YnVyZWF1Y3JhdDxiciAvPmludGVyZmFjZS1hZG1pbjxiciAvPnN5c29wPGJyIC8+PC90ZD48L3RyPjwvdGFibGU+] (talk | contribs) m (1 revision imported) |
||
Line 1: | Line 1: | ||
This page details information related to the development of this Mediawiki-driven website | This page details information related to the development of this Mediawiki-driven website. | ||
== Extensions == | == Extensions == | ||
*Semantic Mediawiki is used to provide: | *Semantic Mediawiki is used to provide: | ||
Line 5: | Line 5: | ||
**Priority levels | **Priority levels | ||
**Paths | **Paths | ||
*Scribunto (Lua scripting) is used to provide: | *Scribunto (Lua scripting) is used to provide: | ||
**Article dependencies (Lua is needed to support | **Article dependencies (Lua is needed to support an arbitrary and unlimited number of dependencies) | ||
*Widgets is used to provide: | *Widgets is used to provide: | ||
**Page demonstrations ([ | **Page demonstrations ([[Widget:BarrierDemo |Barrier demo]], [[Widget:PageTableDemo|Page Table Demo]], etc) | ||
== Migration == | == Migration == | ||
*Step 1: Export content from old wiki: | |||
**Export all pages with <code> php maintenance/dumpBackup.php --current > name-of-output-file.xml </code> | |||
**Export all images with (bespoke) <code> exportImage.sh </code> | |||
*Step 2: Import content to new wiki | |||
**Import all pages using Special:Import | |||
**Import all images with (bespoke) <code> importImage.sh </code> | |||
** Refresh Semantic Mediawiki with <code> php extensions/SemanticMediaWiki/maintenance/rebuildData.php </code> | |||
Revision as of 12:47, 26 July 2019
This page details information related to the development of this Mediawiki-driven website.
Extensions
- Semantic Mediawiki is used to provide:
- Page summaries
- Priority levels
- Paths
- Scribunto (Lua scripting) is used to provide:
- Article dependencies (Lua is needed to support an arbitrary and unlimited number of dependencies)
- Widgets is used to provide:
- Page demonstrations (Barrier demo, Page Table Demo, etc)
Migration
- Step 1: Export content from old wiki:
- Export all pages with
php maintenance/dumpBackup.php --current > name-of-output-file.xml
- Export all images with (bespoke)
exportImage.sh
- Export all pages with
- Step 2: Import content to new wiki
- Import all pages using Special:Import
- Import all images with (bespoke)
importImage.sh
- Refresh Semantic Mediawiki with
php extensions/SemanticMediaWiki/maintenance/rebuildData.php