logo       


CVS: phpwiki/lib PageType.php,1.35,1.36 TextSearchQuery.php,1.12,1.13: msg#00195

Subject: CVS: phpwiki/lib PageType.php,1.35,1.36 TextSearchQuery.php,1.12,1.13
Update of /cvsroot/phpwiki/phpwiki/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21999

Modified Files:
        PageType.php TextSearchQuery.php 
Log Message:
Optimize PearDB _extract_version_data and _extract_page_data.



Index: PageType.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/PageType.php,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -2 -b -p -d -r1.35 -r1.36
--- PageType.php        28 Nov 2004 19:57:56 -0000      1.35
+++ PageType.php        28 Nov 2004 20:42:18 -0000      1.36
@@ -128,6 +128,4 @@ class PageType_interwikimap extends Page
 {
     function PageType_interwikimap($pagetext = false) {
-        $intermap = false;
-
         if (!$pagetext) {
             $dbi = $GLOBALS['request']->getDbh();
@@ -139,5 +137,8 @@ class PageType_interwikimap extends Page
             } else {
                 trigger_error(_("WARNING: InterWikiMap page is unlocked, so 
not using those links."));
+                $intermap = false;
             }
+        } else {
+            $intermap = $this->_getMapFromWikiText($pagetext);
         }
         if (!$intermap && defined('INTERWIKI_MAP_FILE'))

Index: TextSearchQuery.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/TextSearchQuery.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -2 -b -p -d -r1.12 -r1.13
--- TextSearchQuery.php 27 Nov 2004 14:39:04 -0000      1.12
+++ TextSearchQuery.php 28 Nov 2004 20:42:18 -0000      1.13
@@ -12,5 +12,6 @@
  *   <dd> Match strings containing the substring 'wiki' and either the 
substring
  *        'word' or the substring 'page'.
- * <dt> detects regex hints, glob-style or regex-style, and converts them to 
PCRE or SQL matchers
+ * <dt> auto-detect regex hints, glob-style or regex-style, and converts them 
+ *      to PCRE or SQL matchers
  *   <dd> "^word$" => EXACT(word)
  *   <dd> "^word"  => STARTS_WITH(word)



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe