|Create Virtual Pages
Release status: unmaintained
|Description||Create pages for all pages referenced by Semantic MediaWiki links.|
|Author(s)||David Bu (dbutalk)|
|Latest version||1.0-beta1 (2010-03-12)|
|Requires Semantic MediaWiki to be installed|
|Translate the CreateVirtualPages extension if it is available at translatewiki.net|
|Check usage and version matrix.|
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.
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.
Download the zip file and extract it to the folder of your MediaWiki installation.
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.
It has been developed in conjunction with Extension:ShowIncomingRelations.