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 - [obsolete!] vbMediaWiki 4.0.2 RC 3 (https://vborg.vbsupport.ru/showthread.php?t=235342)

milaszewski 03-17-2010 05:54 AM

Quote:

Originally Posted by BRotondi (Post 2005288)
@milaszewski: I'm not sure about that, but would say that at the moment only UTF-8 (wiki) -> latin (vB) is suported. You need UTF-8 -> ISO-8852-2.

ISO-8852-2 is latin

milaszewski 03-17-2010 06:41 AM

The problem is even more serious - usernames containing Polish characters are unable to access Wiki. For example Kołtun username is seen as Ko - it doesn't recognize ł letter.

quantic 03-17-2010 07:19 AM

Quote:

Originally Posted by quantic (Post 2001322)
I have the same problem when using another skin, for example monobook... I don't know if it was happening before installing this module.

I'm using latest versions, but it's not a fresh install but an upgrade from an older one.

I'm looking for people with the same problem (using this module or not), as I can create now a page 'Content' and another one named 'content', that is not right.

Note: I have $wgCapitalLinks set to true.

Thank you.

Ok, more on this... The problem appears when saving a page.

- If I save a page with the module working, links don't work at all and the effect is the same as if set $wgCapitalLinks to false ( [[content]] doesn't link to the page named 'Content' ).

- If I comment "require_once( "$IP/includes/AuthPlugin_vbMediaWiki.php" );" so the module is not loaded, the links works perfectly after I save the page.

I will appreciate any help on this.
Ty :)

BRotondi 03-17-2010 07:49 AM

Quote:

Originally Posted by milaszewski (Post 2005301)
ISO-8852-2 is latin

My fault. To be clear: German and English vBulletins use ISO-8859-1 (Latin alphabet No. 1), but your polish version ISO-8852-2 (Latin alphabet No. 2)...

Have a look at ACP > Language Manger > Edit Settings > HTML Character Set German and English will show ISO-8859-1, but Polish ISO-8859-2

I think, this affects only the Language Pack. vBulletin itself should be the same.


Back to the code: bepe uses
Code:

iconv( "UTF-8", $vbulletin->userinfo['lang_charset']
which should convert the right way, but obviously doesn't...

Perhaps also a problem with
Code:

        // Check an additional blacklist of troublemaker characters.
        // Should these be merged into the title char list?
        $unicodeBlacklist = '/[' .
            '\x{0080}-\x{009f}' . # iso-8859-1 control chars
            '\x{00a0}' .          # non-breaking space
            '\x{2000}-\x{200f}' . # various whitespace
            '\x{2028}-\x{202f}' . # breaks and control chars
            '\x{3000}' .          # ideographic space
            '\x{e000}-\x{f8ff}' . # private use
            ']/u';

Well... but we cannot cover bepe with issues and issues as long it is a one man show...

LbR 03-17-2010 08:47 AM

Is there any option that it replaces up FAQ then it will be great

quantic 03-17-2010 10:53 AM

Quote:

Originally Posted by quantic (Post 2005331)
Ok, more on this... The problem appears when saving a page.

- If I save a page with the module working, links don't work at all and the effect is the same as if set $wgCapitalLinks to false ( [[content]] doesn't link to the page named 'Content' ).

- If I comment "require_once( "$IP/includes/AuthPlugin_vbMediaWiki.php" );" so the module is not loaded, the links works perfectly after I save the page.

I will appreciate any help on this.
Ty :)

Ok, I found '$wgCapitalLinks = false;' on the file 'includes/AuthPlugin_vbMediaWiki.php'

I tried to comment this line and now links are working as expected, so I can write 'This is some [[content]] as example' and the link points to the page 'Content'.

Now I have a problem with usernames as they are expected with the first letter uppercase, even after uploading the 'User.php' provided with the module.

Am I the only one with this problem?

Ty in advance.

BRotondi 03-17-2010 12:14 PM

Quote:

Originally Posted by quantic (Post 2005416)
Ok, I found '$wgCapitalLinks = false;' on the file 'includes/AuthPlugin_vbMediaWiki.php'

I tried to comment this line and now links are working as expected

Thanks for the Info! Seems like things are not perfect for people using $wgCapitalLinks = true; ...

Eruantien 03-17-2010 12:27 PM

Are those using this Wiki integration for english boards having any major issues? I love this project so much that I want to start using it now ;)

jo8jo 03-17-2010 01:17 PM

Quote:

It means that users are registered on the both systems at the same time, and when they log-in, they're logged to both systems at the same time.
I'm using wikimedia version 1.15.2 ? 2010-03-08, it works fine but when i'm clicking on "wiki"-tab i'm always getting logged off.
Is it necessary to install mediawiki into the same database as vbulletin? Or are there any other settings?

Hopefully someone can help me fix this login-problem .... :(

BRotondi 03-17-2010 01:58 PM

Hello!

It works nice here with
  • MW1.15.1, UTF-8, ENGINE=InnoDB, DEFAULT CHARSET=binary
  • VB4.0.2, ISO-8852-1
  • separate databases but on the same Server, no prefixes
  • installed on //server/path/forum and //server/path/w
  • Wiki: short URL, vB: CEO-URL with Rewrite
Greetings, Bruno


All times are GMT. The time now is 07:46 PM.

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.01571 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (6)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