Mahefa Randimbisoa (DotMG)


Recently committed code

DotMG

  • refs #959 and [1679]: remove constants moved to wikka.php in [1679]
    Commit by DotMG :: r1712 /branches/1.3/lang/ (5 files in 5 dirs): (link)
    refs #959 and [1679]: remove constants moved to wikka.php in [1679]
  • refs #989 : little enhancement for [1672]
    Commit by DotMG :: r1711 /branches/1.3/handlers/processcomment/processcomment.php: (link)
    refs #989 : little enhancement for [1672]
  • refs #989 : little correction for [1672]
    Commit by DotMG :: r1710 /branches/1.3/actions/adminusers/adminusers.php: (link)
    refs #989 : little correction for [1672]
  • refs #519, #97 : language packs are dynamically checked upon install. the...
    Commit by DotMG :: r1685 /branches/1.3/setup/ (4 files in 2 dirs): (link)
    refs #519, #97 : language packs are dynamically checked upon install.
    the installer will give the ability to choose one from the language packs present as default lang.
  • refs #959, 3 constants are used before the lang file is loaded in case of...
    Commit by DotMG :: r1679 /branches/1.3/ (wikka.php lang/en/en.inc.php): (link)
    refs #959, 3 constants are used before the lang file is loaded in case of critical problems. These constants should not be placed in lang file, but in top of wikka.php which uses them.
  • Now that update_default_page() is available, we can safely replace long SQL...
    Commit by DotMG :: r1665 /branches/1.3/setup/ (install.php inc/functions.inc.php): (link)
    Now that update_default_page() is available, we can safely replace long SQL insert in setup/install.php with a simple call to update_default_page().
    I've added a parameter $note to setup/inc/functions.inc.php#update_default_page() to which we would pass "Upgrading from 1.2 to 1.3"
    This commit also adds WikkaConfig page in case of an upgrade.
    And some merging of ACLS setting was also performed to simplify the install process.
  • refs #38 I made a script to detect all possible constant used in the Wikka but...
    Commit by DotMG :: r1643 /branches/1.3/ (4 files in 4 dirs): (link)
    refs #38
    
    I made a script to detect all possible constant used in the Wikka but not defined anywhere. It showed that the following constants aren't defined :
    
     * RFC_MAX_EMAIL_LINE_LENGTH (libs/Compatibilily.lib.php)
     * NO_PAGES_FOUND_MESSAGE (actions/category/category.php)
     * STATUS_NO_PAGES_EDITED (actions/mychanges/mychanges.php)
    
    For RFC_MAX_EMAIL_LINE_LENGTH, I don't know if it should be defined by PHP, a Web search returned no result explaining the use of this constant. For the other 2, I could make the fix.
    
    In comments.xml and recentchanges.xml handlers, just modified VALID_FORMATS in comments to reflect FEED_VALID_FORMATS.
  • refs #38. Suppressing Notices
    Commit by DotMG :: r1642 /branches/1.3/ (2 files in 2 dirs): (link)
    refs #38. Suppressing Notices
  • refs #830 For code blocks (%% ... %%) containing backticks comments (`` ... ``),...
    Commit by DotMG :: r1641 /branches/1.3/formatters/wakka.php: (link)
    refs #830

    For code blocks (%% ... %%) containing backticks comments (`` ... ``), the whole content of the code block is discarded. Added ^ and $ anchors to the preg patter for backticks.
  • refs #826 Added substr() to limit length of editnote
    Commit by DotMG :: r1640 /branches/1.3/handlers/edit/edit.php: (link)
    refs #826

    Added substr() to limit length of editnote
  • acls: phpDoc + suppression Notice backlinks: replace tag with page_tag (result...
    Commit by DotMG :: r1639 /branches/1.3/ (5 files in 5 dirs): (link)
    acls: phpDoc + suppression Notice
    backlinks: replace tag with page_tag (result of LoadPagesLinkingTo)
    claim: phpDoc
    Wakka.class.php: uninitialized variable $username in method SavePage
    comments.xml: Avoid double escaping of ampersands

    refs #452
  • backlinks: $this->getPageTag() returns page_tag as key in the array and not tag....
    Commit by DotMG :: r1638 /branches/1.3/ (17 files in 17 dirs): (link)
    backlinks: $this->getPageTag() returns page_tag as key in the array and not tag.
    calendar: parameters month and year on the action not properly processed
    colour: include_once should be just include, otherwise, {{colour}} after a first use of {{color}} or {{colour}} would fail.
    contact: phpDoc changes
    feedback: fatal error (syntax error)
    files: replace $this->method with $this->handler
    highscores.php: removed notice
    lastedit.php: removed notices
    lastusers.php: removed notices
    ownedpages.php: Use of Wakka:$reg_username which is not initialized to the user currently registered. Reverting to use of method GetUserName()
    rss.php: config('onyx_rss') not defined
    wantedpages: replace tag with page_tag as a result of LoadPagesLinkingTo()


    textsearch: SEARCH_TIPS messed up
  • refs #398 [928] not correctly ported into 1.3 : added creation of index...
    Commit by DotMG :: r1637 /branches/1.3/setup/install.php: (link)
    refs #398

    [928] not correctly ported into 1.3 : added creation of index idx_owner on column `owner' of table _pages
  • Refs #398 - In libs/Wakka.class.php, a proper initialization of...
    Commit by DotMG :: r1636 /branches/1.3/ (3 files in 3 dirs): (link)
    Refs #398
    
     - In libs/Wakka.class.php, a proper initialization of $this->registered was needed.
     - In actions/mypages/mypages.php : Removed test with $page[owner] , because actually, all items returned by LoadPagesByOwner are pages owned by the user.
     - In lang/en/en.inc.php : Changed "You" to "%s", because MyPages now can list pages owned by a given user (for admin). This change shoud be propagated to other lang.
  • Refs #250 - Removes Notices and error messages to avoid that the resulting XML...
    Commit by DotMG :: r1635 /branches/1.3/handlers/recentchanges.xml/recentchanges.xml.php: (link)
    Refs #250
    
     - Removes Notices and error messages to avoid that the resulting XML feed is invalid, done in double step
     (Fixed FEED_IMAGE_URL not defined, replaced $this->method with $this->handler)
     (Added ob_start() and ob_end_clean() to catch all other possible error messages
     - Fixed double escaping of ampersands in URL
  • ### STOP REFERRER SPAM SetEnvIfNoCase Referer...
    Commit by DotMG :: r1634 /branches/1.3/ (4 files in 4 dirs): (link)
    ### STOP REFERRER SPAM
    SetEnvIfNoCase Referer ".*(adultsite|picturesplace|learnthebiz|pi-o|erotica|ghettoinc|port5|bulk-email|camgirls|paris-hilton|modelos|kredit|handyflirt24|versicherung|wwww|erotower|krank|x-1000|flirtnet|blowjob|agedwife|in-the-vip|boysfirsttime|milf|captain-stabbin|tranny|Kontakt|erotik|fetish|frauen|hardcore|fick|krankenversicherung|jinnan-cross|8thstreet|xxx|XXX|ficken|fuck).*" BadReferrer
    
    order deny,allow
    deny from env=BadReferrer
    
    <IfModule mod_rewrite.c>
            # turn on rewrite engine
            RewriteEngine on
    
            # if request is a directory, make sure it ends with a slash
            RewriteCond %{REQUEST_FILENAME} -d
            RewriteRule ^(.*/[^/]+)$ $1/
    
            # if not rewritten before, AND requested file is wikka.php
            # turn request into a query for a default (unspecified) page
            RewriteCond %{QUERY_STRING} !wakka=
            RewriteCond %{REQUEST_FILENAME} wikka.php
            RewriteRule ^(.*)$ wikka.php?wakka= [QSA,L]
    
            # if not rewritten before, AND requested file is a page name
            # turn request into a query for that page name for wikka.php
            RewriteCond %{QUERY_STRING} !wakka=
            RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
    </IfModule>
  • refs #816, #575 porting [1237] to trunk: applying htmlspecialchars_ent to...
    Commit by DotMG :: r1238 /trunk/templates/header.php: (link)
    refs #816, #575

    porting [1237] to trunk: applying htmlspecialchars_ent to GetConfigValue(meta_keywords) and GetConfigValue(meta_description).
  • refs #816 applying htmlspecialchars_ent to GetConfigValue(meta_keywords) and...
    Commit by DotMG :: r1237 /branches/1.1.6.6/templates/header.php: (link)
    refs #816

    applying htmlspecialchars_ent to GetConfigValue(meta_keywords) and GetConfigValue(meta_description). To be ported in trunk.
  • refs #811 Applied code in [http://wush.net/trac/wikka/ticket/811#comment:6...
    Commit by DotMG :: r1236 /branches/1.1.6.6/libs/Wakka.class.php: (link)
    refs #811

    Applied code in [http://wush.net/trac/wikka/ticket/811#comment:6 #811#comment:6]
  • refs #793 credits Kyanh [http://kyanh.net]
    Commit by DotMG :: r1230 /trunk/lang/vn/vn.inc.php: (link)
    refs #793

    credits Kyanh [http://kyanh.net]

DotMG's avatar
Some of my contributions




My blog
DotMG's joblog

Skills
ohloh profile for dotmg

Other projects
I'm working with a malagasy spell checker at the moment. The source is actually closed but when I think I'm ready, this program will be opensource.
Actually, what I do is collecting all possible correct words, with a myspell-like files.

Softwares and tools I use

Open source

http://www.ohloh.net/stacks/2732

Freewares


 


CategoryUsers
There is one comment on this page. [Display comment]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki