vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - vbMediaWiki Vector (https://vborg.vbsupport.ru/showthread.php?t=247279)

Wayne@R32oc 08-21-2010 01:07 PM

brilliant bepe. Installed flawlessly. You can view at http://www.r32oc.com

Im a mediawiki noob, never used it before. But whats the quickest and easiest way for members to contribute?

bepe 08-21-2010 01:54 PM

Every forum member is allowed to change the content of the wiki and I'm sure many of them know how to do it from using http://en.wikipedia.org (it's really the same wiki software).

Just search for a word like "test" in your wiki (left search bar!), if it's not in your wiki already, then you will get a page telling you that you can create that article:
Quote:

Create the page "Test" on this wiki!
Click on that "Test" link -> so you can write the content of that page.

You should make a start and setup some content on the main page by using the "Edit" link above the page content... how too? ... I cannot explain that, you need to do some research about that.
For a start: Help:Contents User's Guide

There are many MediaWiki's out there, and you can look into the source code of the main pages to get some examples.

The wiki syntax is easy to learn and you'll create soon nice articles.

Another thing, you should download/install the Extension:UsabilityInitiative
Your search field will look nicer and you will get a nicer page editor toolbar.
- download the file from that link and extract the "UsabilityInitiative" folder to the "wiki\extensions" folder.
- Add the following code to the very end of your LocalSettings.php:
PHP Code:

# Some lines to add to LocalSettings.php to get these extensions up and running:

# Vector enhancements (CollapsibleTabs, SimpleSearch, EditWarning)
require_once( "$IP/extensions/UsabilityInitiative/Vector/Vector.php" );

# Vector enhancements config
# global: Enabled for everyone, users can't disable in preferences (FIXME this behavior should change)
# user: Disabled by default, users can enable in preferences
# Shown values are defaults
$wgVectorModules = array(
    
'collapsibletabs' => array( 'global' => true'user' => false ), // Doesn't have a user pref
    
'editwarning' => array( 'global' => false'user' => true ),
    
'simplesearch' => array( 'global' => true'user' => false ), // Doesn't have a user pref
);
# To really enable SimpleSearch (FIXME)
$wgVectorUseSimpleSearch true;

# WikiEditor (Toolbar, Toc, Preview, Highlight)
require_once( "$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php" );

# WikiEditor config
$wgWikiEditorModules = array(
    
'highlight' => array( 'global' => true'user' => true ),
    
'preview' => array( 'global' => true'user' => true ),
    
'toc' => array( 'global' => true'user' => true ),
    
'toolbar' => array( 'global' => true'user' => true ),
); 

done :)

sapphiremagus 08-21-2010 05:47 PM

Found a couple other things that don't play nice with certain wiki setups.

My wiki uses short urls (/wiki/Page Name). A lot of the functionality of this product seems to want to use (/wiki/index.php?title=Page Name). This causes the link to try to access (/wiki/Index.php) as a new wiki page.

This occurs primarily in the user profile links and the wiki BB code.

bepe 08-21-2010 05:50 PM

Quote:

Originally Posted by sapphiremagus (Post 2087458)
Found a couple other things that don't play nice with certain wiki setups.

My wiki uses short urls (/wiki/Page Name). A lot of the functionality of this product seems to want to use (/wiki/index.php?title=Page Name). This causes the link to try to access (/wiki/Index.php) as a new wiki page.

This occurs primarily in the user profile links and the wiki BB code.

you need to set the "Path" in the vbMediaWiki options to '../w', that will solve the problem.

sapphiremagus 08-21-2010 06:46 PM

Quote:

Originally Posted by bepe (Post 2087460)
you need to set the "Path" in the vbMediaWiki options to '../w', that will solve the problem.

... I'm a moron :eek:, thank you :p

bferrell 08-21-2010 11:36 PM

OK, so I reverted that template, and now the Wiki tab and navbar are OK, but for some reason I still don't get the edit option even though I'm an admin and admins have all YES in WIKI usergroup perms.

Brett

Wayne@R32oc 08-22-2010 08:26 PM

awesome Bepe, worked a charm thank you! Voted, great support!

Bossland 08-22-2010 11:52 PM

Cant create any articles as i dont see any option for create ... even i am am admin and everything is set to "YES"

what i dont understand is that setting:

Can Login
No Wiki account will be created, so the user cannot edit or create pages ....

So IF "Can Login" IS == YES i am not able to create any page ?!?!?! how can i then even create something

AfterWorldForum 08-23-2010 07:15 AM

bepe was a big help in figuring out why the mod was not working correctly on my board (turned out another mod was causing trouble). I'm truly impressed with his servive :)

linuxwhy 08-23-2010 11:39 AM

it`s fantastic,great!


All times are GMT. The time now is 05:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02459 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete