Skip to:
Content
Pages
Categories
Search
Top
Bottom

Edited MediaWiki Extension for BP and WP 3.0


  • LPH2005
    Participant

    @lph2005

    OK. My php is lousy – but I’m trying with an edit of Boone’s earlier work.

    http://pastebin.com/Qq3dqgfq

    This aligns the database fields properly so the insert will work with WP 3.0 single.

    My only concern is the apostrophe escape. This is the string replace that is working – simply escape the apostrophe. However, this isn’t really perfect. I know using &#039 is preferred but it causes a problem later in the code

    $rawtitle = str_replace(“‘”, “‘”, $rawtitle);

    Maybe an array would be better – but that is beyond my skills right now – and at least this works.

    SiteURL: http://www.thechembook.com

  • The topic ‘Edited MediaWiki Extension for BP and WP 3.0’ is closed to new replies.
Skip to toolbar