SourceForge logo
SourceForge logo
Menu

phpwiki-checkins — Automatic notification of CVS checkins on PhpWiki.

You can subscribe to this list here.

2000 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(43)
Nov
(73)
Dec
(10)
2001 Jan
(34)
Feb
(110)
Mar
(24)
Apr
(44)
May
(37)
Jun
(22)
Jul
(20)
Aug
(28)
Sep
(50)
Oct
(11)
Nov
(132)
Dec
(595)
2002 Jan
(1099)
Feb
(579)
Mar
(63)
Apr
May
Jun
Jul
Aug
(125)
Sep
(101)
Oct
(25)
Nov
(34)
Dec
(47)
2003 Jan
(82)
Feb
(182)
Mar
(71)
Apr
(3)
May
(1)
Jun
(3)
Jul
Aug
Sep
(14)
Oct
(6)
Nov
(124)
Dec
(68)
2004 Jan
(64)
Feb
(191)
Mar
(199)
Apr
(298)
May
(252)
Jun
(426)
Jul
(134)
Aug
(13)
Sep
(96)
Oct
(75)
Nov
(232)
Dec
(171)
2005 Jan
(205)
Feb
(165)
Mar
(8)
Apr
(74)
May
(21)
Jun
(19)
Jul
(37)
Aug
(69)
Sep
(141)
Oct
(118)
Nov
(31)
Dec
(7)
2006 Jan
(5)
Feb
(10)
Mar
(35)
Apr
(24)
May
(34)
Jun
(29)
Jul
(5)
Aug
(38)
Sep
(30)
Oct
(37)
Nov
(30)
Dec
(86)
2007 Jan
(414)
Feb
(40)
Mar
(18)
Apr
(10)
May
(66)
Jun
(60)
Jul
(105)
Aug
(55)
Sep
(64)
Oct
(7)
Nov
(11)
Dec
(5)
2008 Jan
(26)
Feb
(28)
Mar
(79)
Apr
(34)
May
(61)
Jun
(24)
Jul
(29)
Aug
(160)
Sep
(62)
Oct
(70)
Nov
(32)
Dec
(14)
2009 Jan
(140)
Feb
(135)
Mar
(153)
Apr
(53)
May
(24)
Jun
(138)
Jul
(90)
Aug
(46)
Sep
(72)
Oct
(84)
Nov
(32)
Dec
(4)
2010 Jan
(13)
Feb
(7)
Mar
(14)
Apr
(55)
May
(89)
Jun
(131)
Jul
(41)
Aug
(38)
Sep
(42)
Oct
(11)
Nov
(27)
Dec
(54)
2011 Jan
(127)
Feb
(16)
Mar
(71)
Apr
(52)
May
(32)
Jun
(31)
Jul
(4)
Aug
Sep
(45)
Oct
(26)
Nov
(36)
Dec
(10)
2012 Jan
(23)
Feb
(6)
Mar
(13)
Apr
(18)
May
(1)
Jun
(4)
Jul
(3)
Aug
(12)
Sep
(57)
Oct
(96)
Nov
(163)
Dec
(124)
2013 Jan
(11)
Feb
(17)
Mar
(7)
Apr
(48)
May
(15)
Jun
(29)
Jul
(12)
Aug
Sep
(9)
Oct
Nov
Dec
(3)
2014 Jan
(4)
Feb
(1)
Mar
(2)
Apr
(1)
May
(8)
Jun
(90)
Jul
(104)
Aug
(12)
Sep
(81)
Oct
(139)
Nov
(111)
Dec
(64)
2015 Jan
(46)
Feb
(74)
Mar
(56)
Apr
(61)
May
(3)
Jun
(7)
Jul
(11)
Aug
(5)
Sep
(15)
Oct
(1)
Nov
(1)
Dec
(15)
2016 Jan
(25)
Feb
(33)
Mar
(24)
Apr
(4)
May
(24)
Jun
(3)
Jul
(75)
Aug
Sep
(2)
Oct
(38)
Nov
(4)
Dec
(18)
2017 Jan
(8)
Feb
(1)
Mar
(1)
Apr
May
(14)
Jun
Jul
(5)
Aug
(9)
Sep
Oct
(23)
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
(2)
Jul
Aug
Sep
Oct
Nov
Dec
2019 Jan
Feb
Mar
(9)
Apr
(60)
May
(1)
Jun
Jul
(13)
Aug
Sep
(11)
Oct
Nov
Dec
2020 Jan
Feb
Mar
(15)
Apr
(4)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
(47)
2021 Jan
(24)
Feb
(33)
Mar
(1)
Apr
May
(1)
Jun
(64)
Jul
(71)
Aug
(114)
Sep
(82)
Oct
(32)
Nov
(76)
Dec
(86)
2022 Jan
(162)
Feb
(41)
Mar
(11)
Apr
(9)
May
Jun
Jul
(1)
Aug
(2)
Sep
Oct
Nov
Dec
(7)
2023 Jan
Feb
(1)
Mar
(2)
Apr
May
Jun
Jul
(25)
Aug
Sep
Oct
Nov
(7)
Dec
2024 Jan
(7)
Feb
(3)
Mar
(3)
Apr
(1)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
Feb
(90)
Mar
(19)
Apr
May
(6)
Jun
Jul
(1)
Aug
Sep
Oct
Nov
Dec
S M T W T F S


1
2
3
4
5
6
7
8
9
10
(9)
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31


Showing 9 results of 9

From: <var...@us...> - 2017年08月10日 15:47:29
Revision: 10032
 http://sourceforge.net/p/phpwiki/code/10032
Author: vargenau
Date: 2017年08月10日 15:47:27 +0000 (2017年8月10日)
Log Message:
-----------
Align PDO code with Pear
Modified Paths:
--------------
 trunk/lib/WikiUser/PdoDb.php
Modified: trunk/lib/WikiUser/PdoDb.php
===================================================================
--- trunk/lib/WikiUser/PdoDb.php	2017年08月10日 15:46:30 UTC (rev 10031)
+++ trunk/lib/WikiUser/PdoDb.php	2017年08月10日 15:47:27 UTC (rev 10032)
@@ -45,11 +45,13 @@
 global $request;
 
 if (!$this->_prefs and is_a($this, "_PdoDbPassUser")) {
- if ($prefs) $this->_prefs = $prefs;
+ if ($prefs) {
+ $this->_prefs = $prefs;
+ }
 }
- if (!isset($this->_prefs->_method))
+ if (!isset($this->_prefs->_method)) {
 _PassUser::__construct($UserName);
- elseif (!$this->isValidName($UserName)) {
+ } elseif (!$this->isValidName($UserName)) {
 trigger_error(_("Invalid username."), E_USER_WARNING);
 return false;
 }
@@ -67,7 +69,7 @@
 _AnonUser::getPreferences();
 $this->getAuthDbh();
 if (isset($this->_prefs->_select)) {
- $dbh =& $this->_auth_dbi;
+ $dbh = &$this->_auth_dbi;
 $db_result = $dbh->query(sprintf($this->_prefs->_select, $dbh->quote($this->_userid)));
 // patched by fre...@pa...
 $prefs = $db_result->fetch(PDO::FETCH_BOTH);
@@ -77,7 +79,7 @@
 return $this->_prefs;
 }
 }
- if ($this->_HomePagehandle) {
+ if (isset($this->_HomePagehandle) && $this->_HomePagehandle) {
 if ($restored_from_page = $this->_prefs->retrieve
 ($this->_HomePagehandle->get('pref'))
 ) {
@@ -106,11 +108,11 @@
 return false;
 }
 //delete pageprefs:
- if ($this->_HomePagehandle and $this->_HomePagehandle->get('pref'))
+ if (isset($this->_HomePagehandle) && $this->_HomePagehandle and $this->_HomePagehandle->get('pref'))
 $this->_HomePagehandle->set('pref', '');
 } else {
 //store prefs in homepage, not in cookie
- if ($this->_HomePagehandle and !$id_only)
+ if (isset($this->_HomePagehandle) && $this->_HomePagehandle and !$id_only)
 $this->_HomePagehandle->set('pref', $packed);
 }
 return $count;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <var...@us...> - 2017年08月10日 15:46:33
Revision: 10031
 http://sourceforge.net/p/phpwiki/code/10031
Author: vargenau
Date: 2017年08月10日 15:46:30 +0000 (2017年8月10日)
Log Message:
-----------
Remove commented code
Modified Paths:
--------------
 trunk/lib/WikiUser/PearDb.php
Modified: trunk/lib/WikiUser/PearDb.php
===================================================================
--- trunk/lib/WikiUser/PearDb.php	2017年08月10日 15:44:36 UTC (rev 10030)
+++ trunk/lib/WikiUser/PearDb.php	2017年08月10日 15:46:30 UTC (rev 10031)
@@ -98,11 +98,6 @@
 
 // if the prefs are changed
 if ($count = _AnonUser::setPreferences($prefs, 1)) {
- //global $request;
- //$user = $request->_user;
- //unset($user->_auth_dbi);
- // this must be done in $request->_setUser, not here!
- //$request->setSessionVar('wiki_user', $user);
 $this->getAuthDbh();
 $packed = $this->_prefs->store();
 if (!$id_only and isset($this->_prefs->_update)) {
@@ -134,7 +129,7 @@
 if (isset($this->_HomePagehandle) && $this->_HomePagehandle and !$id_only)
 $this->_HomePagehandle->set('pref', $packed);
 }
- return $count; //count($this->_prefs->unpack($packed));
+ return $count;
 }
 return 0;
 }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 10030
 http://sourceforge.net/p/phpwiki/code/10030
Author: vargenau
Date: 2017年08月10日 15:44:36 +0000 (2017年8月10日)
Log Message:
-----------
PHP Doc
Modified Paths:
--------------
 trunk/lib/WikiDB/backend/dumb/AllRevisionsIter.php
Modified: trunk/lib/WikiDB/backend/dumb/AllRevisionsIter.php
===================================================================
--- trunk/lib/WikiDB/backend/dumb/AllRevisionsIter.php	2017年08月10日 15:01:53 UTC (rev 10029)
+++ trunk/lib/WikiDB/backend/dumb/AllRevisionsIter.php	2017年08月10日 15:44:36 UTC (rev 10030)
@@ -34,8 +34,8 @@
 extends WikiDB_backend_iterator
 {
 /**
- * @param $backend object A WikiDB_backend.
- * @param $pagename string Page whose revisions to get.
+ * @param WikiDB_backend $backend
+ * @param string $pagename Page whose revisions to get.
 */
 function __construct($backend, $pagename)
 {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 10029
 http://sourceforge.net/p/phpwiki/code/10029
Author: vargenau
Date: 2017年08月10日 15:01:53 +0000 (2017年8月10日)
Log Message:
-----------
Align PDO code with Pear
Modified Paths:
--------------
 trunk/lib/WikiDB/backend/PDO.php
Modified: trunk/lib/WikiDB/backend/PDO.php
===================================================================
--- trunk/lib/WikiDB/backend/PDO.php	2017年08月10日 14:27:11 UTC (rev 10028)
+++ trunk/lib/WikiDB/backend/PDO.php	2017年08月10日 15:01:53 UTC (rev 10029)
@@ -225,9 +225,9 @@
 $dbh = &$this->_dbh;
 extract($this->_table_names);
 $sth = $dbh->prepare("SELECT $page_tbl.id AS id"
- . " FROM $nonempty_tbl, $page_tbl"
- . " WHERE $nonempty_tbl.id=$page_tbl.id"
- . " AND pagename=?");
+ . " FROM $nonempty_tbl, $page_tbl"
+ . " WHERE $nonempty_tbl.id=$page_tbl.id"
+ . " AND pagename=?");
 $sth->bindParam(1, $pagename, PDO::PARAM_STR, 100);
 if ($sth->execute())
 return $sth->fetchColumn();
@@ -426,10 +426,10 @@
 $dbh = &$this->_dbh;
 extract($this->_table_names);
 $sth = $dbh->prepare("SELECT latestversion"
- . " FROM $page_tbl, $recent_tbl"
- . " WHERE $page_tbl.id=$recent_tbl.id"
- . " AND pagename=?"
- . " LIMIT 1");
+ . " FROM $page_tbl, $recent_tbl"
+ . " WHERE $page_tbl.id=$recent_tbl.id"
+ . " AND pagename=?"
+ . " LIMIT 1");
 $sth->bindParam(1, $pagename, PDO::PARAM_STR, 100);
 $sth->execute();
 return $sth->fetchColumn();
@@ -473,8 +473,9 @@
 
 // FIXME: optimization: sometimes don't get page data?
 if ($want_content) {
- $fields = $this->page_tbl_fields . ", $page_tbl.pagedata AS pagedata"
- . ', ' . $this->version_tbl_fields;
+ $fields = $this->page_tbl_fields
+ . ",$page_tbl.pagedata AS pagedata,"
+ . $this->version_tbl_fields;
 } else {
 $fields = $this->page_tbl_fields . ", '' AS pagedata"
 . ", $version_tbl.version AS version, $version_tbl.mtime AS mtime, "
@@ -482,11 +483,11 @@
 . "$version_tbl.versiondata as versiondata";
 }
 $sth = $dbh->prepare("SELECT $fields"
- . " FROM $page_tbl, $version_tbl"
- . " WHERE $page_tbl.id=$version_tbl.id"
- . " AND pagename=?"
- . " AND version=?"
- . " LIMIT 1");
+ . " FROM $page_tbl, $version_tbl"
+ . " WHERE $page_tbl.id=$version_tbl.id"
+ . " AND pagename=?"
+ . " AND version=?"
+ . " LIMIT 1");
 $sth->bindParam(1, $pagename, PDO::PARAM_STR, 100);
 $sth->bindParam(2, $version, PDO::PARAM_INT);
 $sth->execute();
@@ -691,9 +692,9 @@
 
 $this->lock(array('version', 'recent', 'nonempty', 'page', 'link'));
 if (($id = $this->_get_pageid($pagename, false))) {
+ $dbh->query("DELETE FROM $nonempty_tbl WHERE id=$id");
+ $dbh->query("DELETE FROM $recent_tbl WHERE id=$id");
 $dbh->query("DELETE FROM $version_tbl WHERE id=$id");
- $dbh->query("DELETE FROM $recent_tbl WHERE id=$id");
- $dbh->query("DELETE FROM $nonempty_tbl WHERE id=$id");
 $this->set_links($pagename, array());
 $sth = $dbh->prepare("SELECT COUNT(*) FROM $link_tbl WHERE linkto=$id");
 $sth->execute();
@@ -837,13 +838,14 @@
 extract($this->_table_names);
 $orderby = $this->sortby($sortby, 'db');
 if ($orderby) $orderby = ' ORDER BY ' . $orderby;
- if ($exclude) // array of pagenames
+ if ($exclude) { // array of pagenames
 $exclude = " AND $page_tbl.pagename NOT IN " . $this->_sql_set($exclude);
- else
+ } else {
 $exclude = '';
+ }
 $limit = $this->_limit_sql($limit);
 
- if (strstr($orderby, 'mtime ')) { // was ' mtime'
+ if (strstr($orderby, 'mtime ')) { // multiple columns possible
 if ($include_empty) {
 $sql = "SELECT "
 . $this->page_tbl_fields
@@ -885,7 +887,7 @@
 }
 
 /*
- * Title and fulltext search.
+ * Text search (title or full text)
 */
 public function text_search($search, $fulltext = false,
 $sortby = '', $limit = '', $exclude = '')
@@ -958,9 +960,10 @@
 } else {
 $where = " AND hits > 0";
 }
+ $orderby = '';
 if ($sortby != '-hits') {
- if ($order = $this->sortby($sortby, 'db')) $orderby = " ORDER BY " . $order;
- else $orderby = "";
+ if ($order = $this->sortby($sortby, 'db'))
+ $orderby = " ORDER BY " . $order;
 } else {
 $orderby = " ORDER BY hits $order";
 }
@@ -1108,13 +1111,13 @@
 // Cludge Alert!
 // This page does not exist (already verified before), but exists in the page table.
 // So we delete this page.
- $dbh->query("DELETE FROM $page_tbl WHERE id=$new");
+ $dbh->query("DELETE FROM $nonempty_tbl WHERE id=$new");
+ $dbh->query("DELETE FROM $recent_tbl WHERE id=$new");
 $dbh->query("DELETE FROM $version_tbl WHERE id=$new");
- $dbh->query("DELETE FROM $recent_tbl WHERE id=$new");
- $dbh->query("DELETE FROM $nonempty_tbl WHERE id=$new");
 // We have to fix all referring tables to the old id
 $dbh->query("UPDATE $link_tbl SET linkfrom=$id WHERE linkfrom=$new");
 $dbh->query("UPDATE $link_tbl SET linkto=$id WHERE linkto=$new");
+ $dbh->query("DELETE FROM $page_tbl WHERE id=$new");
 }
 $sth = $dbh->prepare("UPDATE $page_tbl SET pagename=? WHERE id=?");
 $sth->bindParam(1, $to, PDO::PARAM_STR, 100);
@@ -1137,11 +1140,11 @@
 $backend_type = $this->backendType();
 if (substr($backend_type, 0, 5) == 'mysql') {
 $sth = $dbh->prepare("REPLACE INTO $recent_tbl"
- . " (id, latestversion, latestmajor, latestminor)"
- . " SELECT id, $maxversion, $maxmajor, $maxminor"
- . " FROM $version_tbl"
- . ($pageid ? " WHERE id=$pageid" : "")
- . " GROUP BY id");
+ . " (id, latestversion, latestmajor, latestminor)"
+ . " SELECT id, $maxversion, $maxmajor, $maxminor"
+ . " FROM $version_tbl"
+ . ($pageid ? " WHERE id=$pageid" : "")
+ . " GROUP BY id");
 $sth->execute();
 } else {
 $this->lock(array('recent'));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <var...@us...> - 2017年08月10日 14:27:13
Revision: 10028
 http://sourceforge.net/p/phpwiki/code/10028
Author: vargenau
Date: 2017年08月10日 14:27:11 +0000 (2017年8月10日)
Log Message:
-----------
Use __construct
Modified Paths:
--------------
 trunk/lib/DbaPartition.php
Modified: trunk/lib/DbaPartition.php
===================================================================
--- trunk/lib/DbaPartition.php	2017年08月10日 14:23:31 UTC (rev 10027)
+++ trunk/lib/DbaPartition.php	2017年08月10日 14:27:11 UTC (rev 10028)
@@ -25,7 +25,7 @@
 
 class DbaPartition
 {
- function DbaPartition(&$dbm, $prefix)
+ function __construct(&$dbm, $prefix)
 {
 $this->_h = &$dbm;
 $this->_p = $prefix;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <var...@us...> - 2017年08月10日 14:23:34
Revision: 10027
 http://sourceforge.net/p/phpwiki/code/10027
Author: vargenau
Date: 2017年08月10日 14:23:31 +0000 (2017年8月10日)
Log Message:
-----------
No self-closing <div>
Modified Paths:
--------------
 trunk/lib/display.php
Modified: trunk/lib/display.php
===================================================================
--- trunk/lib/display.php	2017年08月10日 14:22:04 UTC (rev 10026)
+++ trunk/lib/display.php	2017年08月10日 14:23:31 UTC (rev 10027)
@@ -260,7 +260,7 @@
 $request->finish();
 } else {
 $request->cacheControl();
- echo('<div style="display:none;" />');
+ echo('<div style="display:none;"></div>');
 $request->_is_buffering_output = false; // avoid wrong Content-Length with errors
 $request->finish();
 exit();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <var...@us...> - 2017年08月10日 14:22:07
Revision: 10026
 http://sourceforge.net/p/phpwiki/code/10026
Author: vargenau
Date: 2017年08月10日 14:22:04 +0000 (2017年8月10日)
Log Message:
-----------
Remove $Id
Modified Paths:
--------------
 trunk/doc/HISTORY
 trunk/locale/README
Modified: trunk/doc/HISTORY
===================================================================
--- trunk/doc/HISTORY	2017年08月10日 14:13:16 UTC (rev 10025)
+++ trunk/doc/HISTORY	2017年08月10日 14:22:04 UTC (rev 10026)
@@ -595,5 +595,3 @@
 
 Prior to 0.02, there were no numbered releases, and in fact there
 was only one release, so I guess that would be 0.01 :-)
-
-$Id: HISTORY 7665 2010年08月31日 15:54:37Z vargenau $
Modified: trunk/locale/README
===================================================================
--- trunk/locale/README	2017年08月10日 14:13:16 UTC (rev 10025)
+++ trunk/locale/README	2017年08月10日 14:22:04 UTC (rev 10026)
@@ -371,5 +371,3 @@
 Arno Hollosi <aho...@ma...>
 Carsten Klapp <car...@us...>
 Reini Urban <ru...@x-...>
-
-$Id: README 7001 2009年07月06日 14:23:30Z vargenau $
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 10025
 http://sourceforge.net/p/phpwiki/code/10025
Author: vargenau
Date: 2017年08月10日 14:13:16 +0000 (2017年8月10日)
Log Message:
-----------
Use __construct
Modified Paths:
--------------
 trunk/themes/Hawaiian/lib/random.php
Modified: trunk/themes/Hawaiian/lib/random.php
===================================================================
--- trunk/themes/Hawaiian/lib/random.php	2017年08月10日 14:12:30 UTC (rev 10024)
+++ trunk/themes/Hawaiian/lib/random.php	2017年08月10日 14:13:16 UTC (rev 10025)
@@ -30,7 +30,7 @@
 * $imgSet = new randomImage($WikiTheme->file("images/pictures"));
 * $imgFile = "pictures/" . $imgSet->filename;
 */
- function randomImage($dirname)
+ function __construct($dirname)
 {
 
 $this->filename = ""; // Pick up your filename here.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 10024
 http://sourceforge.net/p/phpwiki/code/10024
Author: vargenau
Date: 2017年08月10日 14:12:30 +0000 (2017年8月10日)
Log Message:
-----------
Remove commented code
Modified Paths:
--------------
 trunk/lib/wikilens/PageListColumns.php
Modified: trunk/lib/wikilens/PageListColumns.php
===================================================================
--- trunk/lib/wikilens/PageListColumns.php	2017年07月11日 13:47:03 UTC (rev 10023)
+++ trunk/lib/wikilens/PageListColumns.php	2017年08月10日 14:12:30 UTC (rev 10024)
@@ -391,7 +391,6 @@
 $html->pushContent(_("None"));
 }
 
- //return $top3list;
 return $html;
 }
 }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

Showing 9 results of 9

Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /