Hi,
Does Vaultwiki support raw html when creating or editing a wiki page?
More specifically can it be similarly turned on like in media wiki? : $wgRawHtml = true;
Thank you!
Hi,
Does Vaultwiki support raw html when creating or editing a wiki page?
More specifically can it be similarly turned on like in media wiki? : $wgRawHtml = true;
Thank you!
Yes it does, but you would have to turn on HTML for the wiki forum which means you'll need to pay extra careful attention to permissions so only admins are able to post or edit wiki pages and discussions.
An alternative to this which a number of users employ is creating wiki templates that use HTML (and are only edited by admins), and allows users to use those templates in pages that otherwise don't accept HTML.
- lead developer for VaultWiki
Thank you. How would one go about allowing only admins to edit in these html wiki templates? I tried searching online, but I'd be grateful if you can steer me in a better direction.An alternative to this which a number of users employ is creating wiki templates that use HTML (and are only edited by admins), and allows users to use those templates in pages that otherwise don't accept HTML.
Last edited by Jainic; November 21, 2011 at 11:45 AM.
In the AdminCP, go to Forum Permissions and locate your Template forum (or a sub-forum of it for admin-defined templates). For every Usergroup except admins, edit the permissions so that each group:
- Cannot post new threads
- Cannot post replies
- Cannot post polls
- Cannot post attachments
- Cannot edit wiki pages
- Cannot revert wiki pages
In the Forum settings for the same forum, you can now Allow HTML.
Keep in mind whenever creating new usergroups that you need to be careful to update these custom permissions for each new group as well.
- lead developer for VaultWiki
I'm sorry, I don't think I asked that clearly.In the AdminCP, go to Forum Permissions and locate your Template forum (or a sub-forum of it for admin-defined templates). For every Usergroup except admins, edit the permissions so that each group:
My question is, I would like normal users to edit wiki without HTML (just normal wiki language). But I would like to have the admins (or usergroups with permission) able to input HTML.
Since the wiki is a collaborative effort, you can't do this unless you create separate sections for regular users and admins. If you did that, you would still have to turn off posting/editing for everyone except admins in the admin area.
- lead developer for VaultWiki
Right I understand. That's what I thought as well. Although this is not a bridge for MediaWiki, I was browsing on here :
http://www.mediawiki.org/wiki/Extension:SecureHTML
This is a MW extension that allows admins to protect the wiki pages hence allowing HTML. Non-protected pages would not be HTML accessible.
I was just curious if this is something we could add to VW. Having the ability the open HTML for only admins would be a substantial difference to a wiki product.
The script is really easy to install, you just add StubManager files and SecureHTML files in corresponding directory. And add 2 lines into LocalSettings.php.
The only downside is that the script only works with 1.15.5 MW. Current MW is 1.17. I would really like to get this feature into VW and would like to know the devs take on it. Thanks for reading.
As I mentioned earlier, you can already add a Template that uses HTML to a page that doesn't allow HTML. This works. There are not HTML permissions on a per-page basis.
The problem I see with an extension like you mentioned is that if protection is ever lifted, the HTML on the page would stop working. Also, vBulletin has quite a large number of special parser cases where it will be difficult to properly override the permissions for them all. This is why I recommend just having a whole part of the wiki where HTML will always work.
- lead developer for VaultWiki
I'm a bit new with forums so please bear with my questionsAn alternative to this which a number of users employ is creating wiki templates that use HTML (and are only edited by admins)
As I mentioned earlier, you can already add a Template that uses HTML to a page that doesn't allow HTML. This works. There are not HTML permissions on a per-page basis.
Do you mean to create a new page similar to a wiki styling and allow permissions in the vbulletin settings for specific user/groups to edit?
Or,
Did you mean that there's a setting in VW to add a template that can include html?
Sorry! I'm just really new to this.
1. In the Admin panel, create a forum "A" under the Template namespace. In "A"'s Forum Settings, turn HTML on.
2. In the Forum Permissions for forum "A", control which groups can post/edit (ideally, only admins).
3. An admin visits forum "A" and creates a new template "B" which uses HTML.
Now, a regular user visits the main namespace (where HTML is turned off) and creates a regular wiki page. The user can use template "B" in their page, but they still cannot edit that template directly. If the user tries to put HTML directly into the page, it will not work because HTML is turned off. However, they have included template "B" which does allow HTML, so only the HTML in the template itself works.
- lead developer for VaultWiki
Awesome. I understand exactly what you mean now. Thank you kindly for explaining it thoroughly.
Bookmarks