Extension:CreateVirtualPages
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
Create Virtual Pages Release status: unmaintained |
|
---|---|
Implementation | Special page |
Description | Create pages for all pages referenced by Semantic MediaWiki links. |
Author(s) | David Bu (dbutalk) |
Latest version | 1.0-beta1 (2010-03-12) |
MediaWiki | 1.11+ |
Database changes | No |
License | GPL |
Download | external source |
Requires Semantic MediaWiki to be installed | |
The CreateVirtualPages extension is a small extension for Semantic MediaWiki . It automatically creates pages if they have any semantic information. This is particularly useful together with the ShowIncomingRelations extension to show information about subjects not (yet) having their own real entry.
UsageEdit
The content of the created pages is defined by the template VirtualPage. I recommend to put into that template something like
''This article has been automatically created because it is referenced by semantic information.'' <includeonly>[[Category:VirtualPage]]</includeonly>
And create a category VirtualPage where you can put something along the line:
Articles in this category have been automatically created because they are referenced with semantic information. They contain no data, but show a factbox.
DownloadEdit
Download the zip file and extract it to the folder of your MediaWiki installation.
InstallationEdit
Note: This extension requires Semantic MediaWiki to be installed first. To install this extension, add the following to LocalSettings.php :
require_once "extensions/CreateVirtualPages/CreateVirtualPages.php";
DevelopersEdit
You can use this extension for delayed "touching" of other pages from your extension. Use the array $cvpgExternalTouchPages. See CreateVirtualPages.php file inline documentation on how to use that array.
See alsoEdit
It has been developed in conjunction with Extension:ShowIncomingRelations.