I noticed in the DB structure there are some tables related to extensions for VW.
Is there some sort of extension guidelines available?
I noticed in the DB structure there are some tables related to extensions for VW.
Is there some sort of extension guidelines available?
That depends on the kind of extension you want to build, but the DB extensions table is used only to store description/author information about the extension for Special:Version.
There are not currently any public guidelines. Let me know what kind of extension you want to build and I'll try to describe what you need to do.
- lead developer for VaultWiki
I am currently rewriting the mediwaiki DPL extension (dynamicPageListing)
(if i knew up front what i was getting into...)
I have converted the most common features of DPL that i use on birthright.net
- 2 files in extension (dpl.php and dpl_handle.php)
- 1 new BBcode [dpl] [/dpl]
- 1 plugin
- 2 templates (category style listing/ unordered list)
this all works, but the BBcode is not listed on the Special:Version page (under BB-Code Parser Tags)
And i would like it to have it listed under Extensions on that same page as well
I'm not sure what the functionality of DPL is exactly. Make sure it won't bog down your server if the user decides to repeat it 10,000 times in 1 post (if it queries the database, e.g. ignore the tag if it was already used 3 times). Also make sure the user input is clean.
To list on Special:Version, you have to create 2 entries in the vault_extension table.
For the tag, just:
For the full extension:Code:name = 'dpl', `type` = 'tag'
Code:name = 'Name of your extension', author = 'your name or site', authurl = 'your site', description = 'a brief description of your extension', `type` = 'parser', product = 'productid from vbulletin product manager', version = 'product version number'
- lead developer for VaultWiki
hmm dont think there is a limit in the mediawiki one.. good to have a max number of DPL tags on one page..
here is a link to the mediawiki one
http://www.mediawiki.org/wiki/Extens...28Wikimedia%29
Bookmarks