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
(1)
11
12
13
14
15
16
17
18
19
(1)
20
(2)
21
22
(1)
23
(1)
24
25
26
27
28
(1)
29
30
31






Showing 2 results of 2

From: <var...@us...> - 2013年03月20日 21:10:11
Revision: 8735
 http://sourceforge.net/p/phpwiki/code/8735
Author: vargenau
Date: 2013年03月20日 21:10:08 +0000 (2013年3月20日)
Log Message:
-----------
Remove unused variables
Modified Paths:
--------------
 trunk/lib/editpage.php
 trunk/lib/plugin/CreatePage.php
 trunk/lib/plugin/Diff.php
 trunk/lib/plugin/HtmlConverter.php
 trunk/lib/plugin/PreferenceApp.php
 trunk/lib/plugin/RecentChanges.php
 trunk/lib/plugin/SemanticSearch.php
 trunk/lib/plugin/SemanticSearchAdvanced.php
 trunk/lib/plugin/SiteMap.php
 trunk/lib/plugin/SyncWiki.php
 trunk/lib/plugin/UserPreferences.php
 trunk/lib/plugin/VisualWiki.php
 trunk/lib/plugin/WikiAdminDeleteAcl.php
 trunk/lib/plugin/WikiAdminSelect.php
 trunk/lib/plugin/WikiAdminSetExternal.php
 trunk/lib/plugin/WikiFormRich.php
Modified: trunk/lib/editpage.php
===================================================================
--- trunk/lib/editpage.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/editpage.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -69,7 +69,6 @@
 
 function editPage()
 {
- global $WikiTheme;
 $saveFailed = false;
 $tokens = &$this->tokens;
 $tokens['PAGE_LOCKED_MESSAGE'] = '';
Modified: trunk/lib/plugin/CreatePage.php
===================================================================
--- trunk/lib/plugin/CreatePage.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/CreatePage.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -78,7 +78,6 @@
 $msg = _("Do you really want to create the page "%s"?");
 }
 if (isSubPage($s)) {
- $main = subPageSlice(0);
 if (!$dbi->isWikiPage(subPageSlice(0))) {
 $msg .= "\n" . _("The new page you want to create will be a subpage.")
 . "\n" . _("Subpages cannot be created unless the parent page exists.");
Modified: trunk/lib/plugin/Diff.php
===================================================================
--- trunk/lib/plugin/Diff.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/Diff.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -128,7 +128,6 @@
 $others = array('major', 'minor');
 break;
 case 'minor':
- $previous = 'minor';
 $old = $page->getRevisionBefore($new);
 $old_version = _("previous revision");
 $others = array('major', 'author');
Modified: trunk/lib/plugin/HtmlConverter.php
===================================================================
--- trunk/lib/plugin/HtmlConverter.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/HtmlConverter.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -138,9 +138,6 @@
 $file = file_get_contents($file_name);
 $file = html_entity_decode($file);
 
- $ascii = '[\x00-\x7F]';
- $euc = '[\xA1-\xFE][\xA1-\xFE]';
-
 $this->_processA($file);
 $this->_processIMG($file);
 $this->_processUL($file);
Modified: trunk/lib/plugin/PreferenceApp.php
===================================================================
--- trunk/lib/plugin/PreferenceApp.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/PreferenceApp.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -93,7 +93,6 @@
 $NEUTRAL_RATING = (int)$neutralRating;
 
 $active_user = $request->getUser();
- $active_userid = $active_user->_userid;
 $html = HTML();
 $html->pushContent("");
 
Modified: trunk/lib/plugin/RecentChanges.php
===================================================================
--- trunk/lib/plugin/RecentChanges.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/RecentChanges.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -620,7 +620,6 @@
 
 function format_revision($rev)
 {
- $args = &$this->_args;
 $class = 'rc-' . $this->importance($rev);
 $time = $this->time($rev);
 if (!$rev->get('is_minor_edit'))
Modified: trunk/lib/plugin/SemanticSearch.php
===================================================================
--- trunk/lib/plugin/SemanticSearch.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/SemanticSearch.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -446,8 +446,6 @@
 
 function _getValue(&$page, $revision_handle)
 {
- if (is_object($page)) $text = $page->getName();
- else $text = $page;
 $link = $this->_pagelist->_links[$this->current_row];
 return WikiLink($link['linkname'], 'if_known');
 }
@@ -458,8 +456,6 @@
 {
 function _getValue(&$page, $revision_handle)
 {
- if (is_object($page)) $text = $page->getName();
- else $text = $page;
 $link = $this->_pagelist->_links[$this->current_row];
 if ($this->_field != 'value')
 return WikiLink($link['linkvalue'], 'if_known');
Modified: trunk/lib/plugin/SemanticSearchAdvanced.php
===================================================================
--- trunk/lib/plugin/SemanticSearchAdvanced.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/SemanticSearchAdvanced.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -85,7 +85,6 @@
 
 function showForm(&$dbi, &$request, $args, $allrelations)
 {
- global $WikiTheme;
 $action = $request->getPostURL();
 $hiddenfield = HiddenInputs($request->getArgs(), '',
 array('action', 'page', 's'));
@@ -132,8 +131,6 @@
 
 function run($dbi, $argstr, &$request, $basepage)
 {
- global $WikiTheme;
-
 $this->_supported_operators = array(':=', '<', '<=', '>', '>=', '!=', '==', '=~');
 $args = $this->getArgs($argstr, $request);
 $posted = $request->getArg('semsearch');
Modified: trunk/lib/plugin/SiteMap.php
===================================================================
--- trunk/lib/plugin/SiteMap.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/SiteMap.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -167,7 +167,6 @@
 $limit = '***';
 }
 //Fixme: override given arg
- $description = $this->getDescription();
 if (!$noheader) {
 $out = $this->getDescription() . " " . sprintf(_("(max. recursion level: %d)"),
 $reclimit) . ":\n\n";
Modified: trunk/lib/plugin/SyncWiki.php
===================================================================
--- trunk/lib/plugin/SyncWiki.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/SyncWiki.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -94,7 +94,6 @@
 if (!function_exists('wiki_xmlrpc_post')) {
 include_once 'lib/XmlRpcClient.php';
 }
- $userid = $request->_user->_userid;
 $dbh = $request->getDbh();
 $merge_point = $dbh->get('mergepoint');
 if (empty($merge_point)) {
Modified: trunk/lib/plugin/UserPreferences.php
===================================================================
--- trunk/lib/plugin/UserPreferences.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/UserPreferences.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -48,7 +48,6 @@
 function getDefaultArguments()
 {
 global $request;
- $pagename = $request->getArg('pagename');
 $user = $request->getUser();
 if (isset($user->_prefs) and
 isset($user->_prefs->_prefs) and
Modified: trunk/lib/plugin/VisualWiki.php
===================================================================
--- trunk/lib/plugin/VisualWiki.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/VisualWiki.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -367,8 +367,6 @@
 unset($allpages);
 $this->names = array_keys($pages);
 
- $countpages = count($pages);
-
 // now select each page matching to given parameters
 $all_selected = array_unique(array_merge(
 $this->findbest($recent_nb, 'age', true),
@@ -388,8 +386,6 @@
 unset($newpages);
 unset($all_selected);
 
- $countpages = count($pages);
-
 // remove dead links and collect links
 reset($pages);
 while (list($name, $page) = each($pages)) {
@@ -438,7 +434,6 @@
 
 $fillstring = ($fillnodes == 'on') ? 'style=filled,' : '';
 
- $ok = true;
 $names = &$this->names;
 $pages = &$this->pages;
 if ($names)
Modified: trunk/lib/plugin/WikiAdminDeleteAcl.php
===================================================================
--- trunk/lib/plugin/WikiAdminDeleteAcl.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/WikiAdminDeleteAcl.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -55,7 +55,6 @@
 foreach ($pages as $pagename) {
 // check if unchanged? we need a deep array_equal
 $page = $dbi->getPage($pagename);
- $oldperm = getPagePermissions($page);
 setPagePermissions($page, $perm);
 $result->setAttr('class', 'feedback');
 $result->pushContent(HTML::p(fmt("ACL deleted for page "%s"", $pagename)));
Modified: trunk/lib/plugin/WikiAdminSelect.php
===================================================================
--- trunk/lib/plugin/WikiAdminSelect.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/WikiAdminSelect.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -125,11 +125,6 @@
 
 $info = $args['info'];
 
- // array_multisort($this->_list, SORT_NUMERIC, SORT_DESC);
- $pagename = $request->getArg('pagename');
- // GetUrlToSelf() with all given params
- //$uri = $GLOBALS['HTTP_SERVER_VARS']['REQUEST_URI']; // without s would be better.
- //$uri = $request->getURLtoSelf();//false, array('verify'));
 $form = HTML::form(array('action' => $request->getPostURL(), 'method' => 'post'));
 if ($request->getArg('WikiAdminSelect') == _("Go"))
 $p = false;
Modified: trunk/lib/plugin/WikiAdminSetExternal.php
===================================================================
--- trunk/lib/plugin/WikiAdminSetExternal.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/WikiAdminSetExternal.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -70,7 +70,6 @@
 $result->pushContent(HTML::p(fmt("Access denied to change page "%s".",
 WikiLink($name))));
 } else {
- $version = $current->getVersion();
 $page->set('external', (bool)1);
 $ul->pushContent(HTML::li(fmt("change page "%s" to external.", WikiLink($name))));
 $count++;
Modified: trunk/lib/plugin/WikiFormRich.php
===================================================================
--- trunk/lib/plugin/WikiFormRich.php	2013年03月20日 20:53:15 UTC (rev 8734)
+++ trunk/lib/plugin/WikiFormRich.php	2013年03月20日 21:10:08 UTC (rev 8735)
@@ -127,7 +127,6 @@
 // no editbox[] = array(...) allowed (space)
 $arg_array = preg_split("/\n/", $argstr);
 // for security we should check this better
- $arg = '';
 for ($i = 0; $i < count($arg_array); $i++) {
 //TODO: we require an name=value pair here, but submit may go without also.
 if (preg_match("/^\s*(" . join("|", $allowed) . ")\[\](.*)$/", $arg_array[$i], $m)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <var...@us...> - 2013年03月20日 20:53:19
Revision: 8734
 http://sourceforge.net/p/phpwiki/code/8734
Author: vargenau
Date: 2013年03月20日 20:53:15 +0000 (2013年3月20日)
Log Message:
-----------
Remove unused variables
Modified Paths:
--------------
 trunk/lib/WikiDB/backend/PDO_mysql.php
 trunk/lib/WikiDB/backend/PDO_oci8.php
 trunk/lib/plugin/BlogArchives.php
 trunk/lib/plugin/BlogJournal.php
 trunk/lib/plugin/Calendar.php
 trunk/lib/plugin/CalendarList.php
 trunk/lib/plugin/Diff.php
 trunk/lib/plugin/DynamicIncludePage.php
 trunk/lib/plugin/FullTextSearch.php
 trunk/lib/plugin/GraphViz.php
 trunk/lib/plugin/HtmlConverter.php
 trunk/lib/plugin/LinkSearch.php
 trunk/lib/plugin/PhpWeather.php
 trunk/lib/plugin/RandomPage.php
 trunk/lib/plugin/RecentChanges.php
 trunk/lib/plugin/SearchHighlight.php
 trunk/lib/plugin/SemanticSearch.php
 trunk/lib/plugin/SyncWiki.php
 trunk/lib/plugin/VisualWiki.php
 trunk/themes/MacOSX/themeinfo.php
 trunk/themes/Portland/themeinfo.php
 trunk/themes/Wordpress/themeinfo.php
 trunk/themes/alphatest.php
 trunk/themes/blog/themeinfo.php
Modified: trunk/lib/WikiDB/backend/PDO_mysql.php
===================================================================
--- trunk/lib/WikiDB/backend/PDO_mysql.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/WikiDB/backend/PDO_mysql.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -87,7 +87,6 @@
 */
 function optimize()
 {
- $dbh = &$this->_dbh;
 $this->_timeout();
 foreach ($this->_table_names as $table) {
 $this->query("OPTIMIZE TABLE $table");
Modified: trunk/lib/WikiDB/backend/PDO_oci8.php
===================================================================
--- trunk/lib/WikiDB/backend/PDO_oci8.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/WikiDB/backend/PDO_oci8.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -65,7 +65,6 @@
 
 function write_accesslog(&$entry)
 {
- global $request;
 $dbh = &$this->_dbh;
 $log_tbl = $entry->_accesslog->logtable;
 $sth = $dbh->prepare("INSERT INTO $log_tbl"
Modified: trunk/lib/plugin/BlogArchives.php
===================================================================
--- trunk/lib/plugin/BlogArchives.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/BlogArchives.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -87,7 +87,6 @@
 //if (!is_array('pagename'), explode(',', $info))
 // unset($pagelist->_columns['pagename']);
 
- $sp = HTML::Raw('&middot; ');
 if (!empty($args['month'])) {
 $prefix = $parent . $this->_blogPrefix('wikiblog') . SUBPAGE_SEPARATOR . $args['month'];
 $pages = $dbi->titleSearch(new TextSearchQuery("^" . $prefix, true, 'posix'));
Modified: trunk/lib/plugin/BlogJournal.php
===================================================================
--- trunk/lib/plugin/BlogJournal.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/BlogJournal.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -79,7 +79,6 @@
 }
 $parent = (empty($args['user']) ? '' : $args['user'] . SUBPAGE_SEPARATOR);
 
- $sp = HTML::Raw('&middot; ');
 $prefix = $base = $parent . $this->_blogPrefix('wikiblog');
 if ($args['month'])
 $prefix .= (SUBPAGE_SEPARATOR . $args['month']);
Modified: trunk/lib/plugin/Calendar.php
===================================================================
--- trunk/lib/plugin/Calendar.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/Calendar.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -194,7 +194,6 @@
 1, // mday (1-31)
 $args['year']);
 
- $colnum = $args['display_weeknum'] ? 8 : 7;
 $cal = HTML::table(array('cellspacing' => 0,
 'cellpadding' => 2,
 'class' => 'cal'),
Modified: trunk/lib/plugin/CalendarList.php
===================================================================
--- trunk/lib/plugin/CalendarList.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/CalendarList.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -126,10 +126,7 @@
 $date_string = strftime($args['date_format'], $time);
 
 $page_for_date = $args['prefix'] . SUBPAGE_SEPARATOR . $date_string;
- $t = localtime($time, 1);
 
- $td = HTML::td(array('align' => 'center'));
-
 if ($dbi->isWikiPage($page_for_date)) {
 // Extract the page contents for this date
 $p = $dbi->getPage($page_for_date);
Modified: trunk/lib/plugin/Diff.php
===================================================================
--- trunk/lib/plugin/Diff.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/Diff.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -57,7 +57,7 @@
 function PageInfoRow($label, $rev, &$request)
 {
 
- global $WikiTheme, $WikiNameRegexp;
+ global $WikiTheme;
 
 $row = HTML::tr(HTML::td(array('align' => 'right'), $label));
 if ($rev) {
Modified: trunk/lib/plugin/DynamicIncludePage.php
===================================================================
--- trunk/lib/plugin/DynamicIncludePage.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/DynamicIncludePage.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -66,7 +66,6 @@
 } else {
 $html = WikiPlugin_IncludePage::run($dbi, $argstr, $request, $basepage);
 }
- $header = $html->_content[0];
 $body = $html->_content[1];
 $id = 'DynInc-' . MangleXmlIdentifier($page);
 $body->setAttr('id', $id . '-body');
Modified: trunk/lib/plugin/FullTextSearch.php
===================================================================
--- trunk/lib/plugin/FullTextSearch.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/FullTextSearch.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -79,7 +79,6 @@
 
 $query = new TextSearchQuery($s, $case_exact, $regex);
 $pages = $dbi->fullSearch($query, $sortby, $limit, $exclude);
- $lines = array();
 $hilight_re = $hilight ? $query->getHighlightRegexp() : false;
 $count = 0;
 
@@ -166,7 +165,6 @@
 
 function _getValue(&$page, $revision_handle)
 {
- $html = false;
 $pagename = $page->getName();
 $count = count($this->parentobj->_wpagelist[$pagename]);
 return LinkURL(WikiURL($page, array('action' => 'BackLinks'), false),
Modified: trunk/lib/plugin/GraphViz.php
===================================================================
--- trunk/lib/plugin/GraphViz.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/GraphViz.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -283,7 +283,6 @@
 if (empty($source))
 return $this->error(fmt("No dot graph given"));
 if (isWindows()) {
- $ok = $tempfiles;
 $dotfile = $this->createDotFile($tempfiles . '.dot', $argarray);
 $args = "-T$gif $dotfile -o $outfile";
 $cmdline = "$dotbin $args";
Modified: trunk/lib/plugin/HtmlConverter.php
===================================================================
--- trunk/lib/plugin/HtmlConverter.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/HtmlConverter.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -140,7 +140,6 @@
 
 $ascii = '[\x00-\x7F]';
 $euc = '[\xA1-\xFE][\xA1-\xFE]';
- $character = "$ascii|$euc";
 
 $this->_processA($file);
 $this->_processIMG($file);
Modified: trunk/lib/plugin/LinkSearch.php
===================================================================
--- trunk/lib/plugin/LinkSearch.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/LinkSearch.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -130,7 +130,6 @@
 
 function run($dbi, $argstr, &$request, $basepage)
 {
- global $WikiTheme;
 $args = $this->getArgs($argstr, $request);
 
 if (empty($args['page']))
Modified: trunk/lib/plugin/PhpWeather.php
===================================================================
--- trunk/lib/plugin/PhpWeather.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/PhpWeather.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -71,7 +71,6 @@
 
 function getDefaultArguments()
 {
- global $LANG;
 return array('icao' => 'EKAH',
 'cc' => 'DK',
 'language' => 'en',
Modified: trunk/lib/plugin/RandomPage.php
===================================================================
--- trunk/lib/plugin/RandomPage.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/RandomPage.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -66,7 +66,6 @@
 // fix deprecated arg
 if (is_integer($pages)) {
 $numpages = $pages;
- $pages = false;
 // fix new pages handling in arg preprozessor.
 } elseif (is_array($pages)) {
 $numpages = (int)$pages[0];
Modified: trunk/lib/plugin/RecentChanges.php
===================================================================
--- trunk/lib/plugin/RecentChanges.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/RecentChanges.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -111,7 +111,7 @@
 
 function authorHasPage($author)
 {
- global $WikiNameRegexp, $request;
+ global $request;
 $dbi = $request->getDbh();
 return isWikiWord($author) && $dbi->isWikiPage($author);
 }
@@ -438,7 +438,6 @@
 extract($this->_args);
 $pagetitle = $show_minor ? _("RecentEdits") : _("RecentChanges");
 
- global $request;
 $sidebarurl = WikiURL($pagetitle, array('format' => 'sidebar'), 'absurl');
 
 $addsidebarjsfunc =
@@ -801,10 +800,7 @@
 function format($changes)
 {
 include_once 'lib/InlineParser.php';
- $last_date = '';
 $first = true;
- $html = HTML::ul();
- $counter = 1;
 while ($rev = $changes->next()) {
 // enforce view permission
 if (mayAccessPage('view', $rev->_pagename)) {
@@ -1039,12 +1035,7 @@
 // "channel" is called "feed" in atom
 $rc_url = WikiURL($request->getArg('pagename'), false, 'absurl');
 extract($this->_args);
- $title = WIKI_NAME;
 $description = $this->title();
- if ($category)
- $title = $category;
- elseif ($pagematch)
- $title = $pagematch;
 $feed_props = array('title' => $description,
 'link' => array('rel' => "alternate",
 'type' => "text/html",
Modified: trunk/lib/plugin/SearchHighlight.php
===================================================================
--- trunk/lib/plugin/SearchHighlight.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/SearchHighlight.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -77,7 +77,6 @@
 }
 if ($hits) {
 $query = new TextSearchQuery($s, $case_exact, $regex);
- $lines = array();
 $hilight_re = $query->getHighlightRegexp();
 $page = $request->getPage();
 $html->pushContent($this->showhits($page, $hilight_re));
Modified: trunk/lib/plugin/SemanticSearch.php
===================================================================
--- trunk/lib/plugin/SemanticSearch.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/SemanticSearch.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -88,7 +88,6 @@
 
 function showForm(&$dbi, &$request, $args)
 {
- global $WikiTheme;
 $action = $request->getPostURL();
 $hiddenfield = HiddenInputs($request->getArgs(), '',
 array('action', 'page', 's', 'semsearch',
@@ -275,8 +274,6 @@
 
 function run($dbi, $argstr, &$request, $basepage)
 {
- global $WikiTheme;
-
 $this->_supported_operators = array(':=', '<', '<=', '>', '>=', '!=', '==', '=~');
 $this->_text_operators = array(':=', '==', '=~', '!=');
 $args = $this->getArgs($argstr, $request);
Modified: trunk/lib/plugin/SyncWiki.php
===================================================================
--- trunk/lib/plugin/SyncWiki.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/SyncWiki.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -89,7 +89,6 @@
 
 function _do_syncwiki(&$request, $args)
 {
- global $charset;
 longer_timeout(240);
 
 if (!function_exists('wiki_xmlrpc_post')) {
@@ -289,7 +288,6 @@
 // TODO: store log or checkpoint for restauration?
 function _import($args, $our, $extdate = null)
 {
- global $request;
 $reaction = 'import ';
 if ($args['noimport']) return ($reaction . _("skipped"));
 //$userid = $request->_user->_userid;
@@ -343,7 +341,6 @@
 // TODO: store log or checkpoint for restauration?
 function _upload($args, $path, $timeout)
 {
- global $request;
 $reaction = 'upload ';
 if ($args['noupload']) return ($reaction . _("skipped"));
 
Modified: trunk/lib/plugin/VisualWiki.php
===================================================================
--- trunk/lib/plugin/VisualWiki.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/lib/plugin/VisualWiki.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -463,7 +463,6 @@
 $dot .= "node [fontname=$fontname,shape=$shape,fontsize=$fontsize];\n";
 }
 $dot .= "\n";
- $i = 0;
 foreach ($names as $name) {
 
 $url = rawurlencode($name);
Modified: trunk/themes/MacOSX/themeinfo.php
===================================================================
--- trunk/themes/MacOSX/themeinfo.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/themes/MacOSX/themeinfo.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -64,8 +64,6 @@
 
 function linkUnknownWikiWord($wikiword, $linktext = '')
 {
- global $request;
-
 // Get rid of anchors on unknown wikiwords
 if (isa($wikiword, 'WikiPageName')) {
 $default_text = $wikiword->shortName;
Modified: trunk/themes/Portland/themeinfo.php
===================================================================
--- trunk/themes/Portland/themeinfo.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/themes/Portland/themeinfo.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -17,7 +17,6 @@
 
 function linkUnknownWikiWord($wikiword, $linktext = '')
 {
- global $request;
 if (isa($wikiword, 'WikiPageName')) {
 $default_text = $wikiword->shortName;
 $wikiword = $wikiword->name;
Modified: trunk/themes/Wordpress/themeinfo.php
===================================================================
--- trunk/themes/Wordpress/themeinfo.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/themes/Wordpress/themeinfo.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -19,7 +19,6 @@
 
 function linkUnknownWikiWord($wikiword, $linktext = '')
 {
- global $request;
 if (isa($wikiword, 'WikiPageName')) {
 $default_text = $wikiword->shortName;
 $wikiword = $wikiword->name;
Modified: trunk/themes/alphatest.php
===================================================================
--- trunk/themes/alphatest.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/themes/alphatest.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -29,7 +29,6 @@
 
 function find_pngs($dir)
 {
- $file_list = '';
 $stack[] = $dir;
 while ($stack) {
 $current_dir = array_pop($stack);
Modified: trunk/themes/blog/themeinfo.php
===================================================================
--- trunk/themes/blog/themeinfo.php	2013年02月15日 16:26:30 UTC (rev 8733)
+++ trunk/themes/blog/themeinfo.php	2013年03月20日 20:53:15 UTC (rev 8734)
@@ -97,7 +97,6 @@
 /* TODO: use the blog summary as label instead of the pagename */
 function linkExistingWikiWord($wikiword, $linktext = '', $version = false)
 {
- global $request;
 if ($version !== false and !$this->HTML_DUMP_SUFFIX)
 $url = WikiURL($wikiword, array('version' => $version));
 else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
5 messages has been excluded from this view by a project administrator.

Showing 2 results of 2

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
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 によって変換されたページ (->オリジナル) /