Extension:CreateVirtualPages
Check usage(experimental)
|
Create Virtual Pages Release status: beta |
|
|---|---|
| Implementation | Special page |
| Description | Create pages for all pages referenced by Semantic MediaWiki links. |
| Author(s) | dbuTalk |
| Last version | 1.0-beta1 |
| MediaWiki | 1.11 |
| License | GPL |
| Download | http://davidbu.ch/mann/blog/2010-03-12/mediawiki-extensions.html In the ZIP download |
|
Requires Semantic MediaWiki to be installed |
|
Contents |
[edit] What can this extension do?
CreateVirtualPages is a small extension for Extension:SemanticMediaWiki. It automatically creates pages if they have any semantic information. This is particularly useful together with the Extension:ShowIncomingRelations extension to show information about subjects not (yet) having their own real entry.
[edit] Usage
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.
[edit] Download instructions
Download the zip file from http://davidbu.ch/mann/blog/2010-03-12/mediawiki-extensions.html and extract it into the extensions folder of your MediaWiki installation.
[edit] Installation
To install this extension, add the following to LocalSettings.php:
require_once("$IP/extensions/CreateVirtualPages/CreateVirtualPages.php");
[edit] Developpers
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.
[edit] See also
This extension requires the Extension:SemanticMediaWiki. It has been developped in conjunction with Extension:ShowIncomingRelations.
