Results 1 to 9 of 9

optimize html text - problem mediawiki - preformatted text

This is a discussion on optimize html text - problem mediawiki - preformatted text within the General Discussion forums, part of the vBSEO SEO Plugin category; When I configure vbseo to optimize html text by wiping out spaces ... then I get a problem with mediawiki. ...

  1. #1
    Senior Member
    Real Name
    Admin
    Join Date
    Nov 2006
    Posts
    247
    Liked
    0 times

    optimize html text - problem mediawiki - preformatted text

    When I configure vbseo to optimize html text by wiping out spaces ...
    then I get a problem with mediawiki.

    It is about the mediawiki feature <preformatted text>

    Help:Formatting - MediaWiki
    preformatted text is done with
    a '''space''' at the ''beginning'' of the line
    This way of preformatting only applies to section formatting, and character formatting markups are still effective.
    Now, I've got the problem, that those passages are all wrapped one into another (getting more an more an the right side)

    Do you know this issue?

    Thanks!

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    There is no fix for this. <pre> tags rely on physical linebreaks in code.

    Either use another formatting option in your wiki posts,
    disable the code whitespace removal cleanup,
    or disable vbseo from processing the wiki by adding it to the excluded pages list.

  3. #3
    Senior Member
    Real Name
    Admin
    Join Date
    Nov 2006
    Posts
    247
    Liked
    0 times
    None of the above is good for me
    What about telling vbseo, on which pages not to do the white space removal?
    Could I do this in my vbseo progs?

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Those are your only 3 options. You have to pick one. The best thing to do is to just write your articles with other markup instead of pre tags.

  5. #5
    Senior Member
    Real Name
    Admin
    Join Date
    Nov 2006
    Posts
    247
    Liked
    0 times
    having problems to find another tag ;-)

    So I just analyzed the situation a little closer

    I know, it's about mediawiki syntax in combination with vbseo. But could worth it to ask here ....

    Take this in mediawiki:
    == Title 1 ==

    <pre>
    a
    b
    c
    d
    </pre>

    == Title 2 ==
    With hmtl whitespace removal I get this:

    title="Abschnitt bearbeiten: Title 1">Bearbeiten</a>]</span> <span class="mw-headline"> Title 1 </span></h2> <pre>
    a
    b
    c
    d

    <a name="Title_2" id="Title_2"></a><h2><span class="editsection">[<a rel="nofollow" ...
    where's </pre>?

    and without white space removal I get this ... correctly:

    title="Abschnitt bearbeiten: Title 1">Bearbeiten</a>]</span> <span class="mw-headline"> Title 1 </span></h2>
    <pre>
    a
    b
    c
    d
    </pre>
    <a name="Title_2" id="Title_2"></a><h2><span class="editsection">[<a rel="nofollow" ...

  6. #6
    Senior Member
    Real Name
    Marvin Hlavac
    Join Date
    Oct 2007
    Posts
    254
    Liked
    15 times
    Symptome, have you solved your issue? I'm in a similar situation. Here's a (temporary) work-around that seems to work for me: 'Cleanup HTML Code' feature removes </pre> from bbcode_code template

  7. #7
    Senior Member
    Real Name
    Admin
    Join Date
    Nov 2006
    Posts
    247
    Liked
    0 times
    yes, two days ago

    I don't use <pre> anymore ... but the following:


    [.code]{|
    |
    Text der mit Leeranschlag beginnt...
    Text der mit Leeranschlag beginnt...
    Text der mit Leeranschlag beginnt...
    Leerzeilen müssen auch einen Leeranschlage enthalten (WICHTIG!)
    Text der mit Leeranschlag beginnt...
    Text der mit Leeranschlag beginnt...
    |}[/.code]



    .code = code

  8. #8
    Senior Member
    Real Name
    Marvin Hlavac
    Join Date
    Oct 2007
    Posts
    254
    Liked
    15 times
    Oleg just found a fix for the above issue. Revisit the thread I linked in my previous post.

  9. #9
    Senior Member
    Real Name
    Admin
    Join Date
    Nov 2006
    Posts
    247
    Liked
    0 times
    Thanks for the hint

Similar Threads

  1. Link text colour & Changing text from green to blue
    By Big-Pete in forum vBSEO.com Styles
    Replies: 3
    Last Post: 08-20-2009, 05:46 AM
  2. No Text and <!--VBSEO_RR_2_NOHTML--> Problem
    By aktifforum in forum vBSEO.com Styles
    Replies: 2
    Last Post: 06-15-2009, 02:29 PM
  3. In-Text Ads
    By nfn in forum Ad Networks
    Replies: 0
    Last Post: 01-10-2009, 06:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •