From: <var...@us...> - 2016-07-12 16:15:07
|
Revision: 9878 http://sourceforge.net/p/phpwiki/code/9878 Author: vargenau Date: 2016-07-12 16:15:03 +0000 (Tue, 12 Jul 2016) Log Message: ----------- Standard PhpWiki header Modified Paths: -------------- trunk/lib/ArchiveCleaner.php trunk/lib/CachedMarkup.php trunk/lib/Captcha.php trunk/lib/ExternalReferrer.php trunk/lib/HtmlParser.php trunk/lib/IniConfig.php trunk/lib/InlineParser.php trunk/lib/MailNotify.php trunk/lib/PagePerm.php trunk/lib/PageType.php trunk/lib/Request.php trunk/lib/RssParser.php trunk/lib/SemanticWeb.php trunk/lib/SpamBlocklist.php trunk/lib/WikiGroup.php trunk/lib/XmlParser.php trunk/lib/XmlRpcServer.php trunk/lib/config.php trunk/lib/diff.php trunk/lib/diff3.php trunk/lib/difflib.php trunk/lib/display.php trunk/lib/install.php trunk/lib/main.php trunk/lib/pdf.php trunk/lib/upgrade.php Modified: trunk/lib/ArchiveCleaner.php =================================================================== --- trunk/lib/ArchiveCleaner.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/ArchiveCleaner.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* Copyright (C) 2002 Geoffrey T. Dairiki <da...@da...> * * This file is part of PhpWiki. Modified: trunk/lib/CachedMarkup.php =================================================================== --- trunk/lib/CachedMarkup.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/CachedMarkup.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* Copyright (C) 2002 Geoffrey T. Dairiki <da...@da...> * Copyright (C) 2004-2010 $ThePhpWikiProgrammingTeam * Copyright (C) 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent Modified: trunk/lib/Captcha.php =================================================================== --- trunk/lib/Captcha.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/Captcha.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /** * Session Captcha v1.0 * by Gavin M. Roy <gm...@bt...> Modified: trunk/lib/ExternalReferrer.php =================================================================== --- trunk/lib/ExternalReferrer.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/ExternalReferrer.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /** * Detect external referrers * Currently only search engines, and highlight the searched item. Modified: trunk/lib/HtmlParser.php =================================================================== --- trunk/lib/HtmlParser.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/HtmlParser.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,10 +1,4 @@ <?php - -/** - * HtmlParser Class: Conversion HTML => wikimarkup - * Requires XmlParser, XmlElement and the expat (or now the libxml) library. This is all in core. - */ - /* * Copyright (C) 2004 Reini Urban * @@ -26,6 +20,11 @@ */ /** + * HtmlParser Class: Conversion HTML => wikimarkup + * Requires XmlParser, XmlElement and the expat (or now the libxml) library. This is all in core. + */ + +/** * Base class to implement html => wikitext converters, * extendable for various wiki syntax versions. * This is needed to be able to use htmlarea-alike editors, Modified: trunk/lib/IniConfig.php =================================================================== --- trunk/lib/IniConfig.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/IniConfig.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,17 +1,4 @@ <?php - -/** - * A configurator intended to read its config from a PHP-style INI file, - * instead of a PHP file. - * - * Pass a filename to the IniConfig() function and it will read all its - * definitions from there, all by itself, and proceed to do a mass-define - * of all valid PHPWiki config items. In this way, we can hopefully be - * totally backwards-compatible with the old index.php method, while still - * providing a much tastier on-going experience. - * - * @author: Joby Walker, Reini Urban, Matthew Palmer - */ /* * Copyright 2004,2005,2006,2007 $ThePhpWikiProgrammingTeam * Copyright 2008-2010 Marc-Etienne Vargenau, Alcatel-Lucent @@ -34,6 +21,19 @@ */ /** + * A configurator intended to read its config from a PHP-style INI file, + * instead of a PHP file. + * + * Pass a filename to the IniConfig() function and it will read all its + * definitions from there, all by itself, and proceed to do a mass-define + * of all valid PHPWiki config items. In this way, we can hopefully be + * totally backwards-compatible with the old index.php method, while still + * providing a much tastier on-going experience. + * + * @author: Joby Walker, Reini Urban, Matthew Palmer + */ + +/** * DONE: * - Convert the value lists to provide defaults, so that every "if * (defined())" and "if (!defined())" can fuck off to the dismal hole Modified: trunk/lib/InlineParser.php =================================================================== --- trunk/lib/InlineParser.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/InlineParser.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* Copyright (C) 2002 Geoffrey T. Dairiki <da...@da...> * Copyright (C) 2004-2010 Reini Urban * Copyright (C) 2008-2010 Marc-Etienne Vargenau, Alcatel-Lucent @@ -20,6 +19,7 @@ * with PhpWiki; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + /** * This is the code which deals with the inline part of the * wiki-markup. Modified: trunk/lib/MailNotify.php =================================================================== --- trunk/lib/MailNotify.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/MailNotify.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* Copyright (C) 2006-2007,2009 Reini Urban * Copyright (C) 2009 Marc-Etienne Vargenau, Alcatel-Lucent * Modified: trunk/lib/PagePerm.php =================================================================== --- trunk/lib/PagePerm.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/PagePerm.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* * Copyright 2004,2007 $ThePhpWikiProgrammingTeam * Copyright 2009-2010 Marc-Etienne Vargenau, Alcatel-Lucent Modified: trunk/lib/PageType.php =================================================================== --- trunk/lib/PageType.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/PageType.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* * Copyright 1999,2000,2001,2002,2003,2004,2005,2006 $ThePhpWikiProgrammingTeam * Modified: trunk/lib/Request.php =================================================================== --- trunk/lib/Request.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/Request.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* * Copyright (C) 2002,2004,2005,2006,2009 $ThePhpWikiProgrammingTeam * Modified: trunk/lib/RssParser.php =================================================================== --- trunk/lib/RssParser.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/RssParser.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,16 +1,4 @@ <?php - -/** - * Simple RSSParser Class - * Based on Duncan Gough RSSParser class - * Copyleft Arnaud Fontaine - * Licence : GPL - * See lib/plugin/RssFeed.php and lib/XmlParser.php - * - * The myth of RSS compatibility: - * http://diveintomark.org/archives/2004/02/04/incompatible-rss - */ - /* * This file is part of PhpWiki. * @@ -30,6 +18,17 @@ */ /** + * Simple RSSParser Class + * Based on Duncan Gough RSSParser class + * Copyleft Arnaud Fontaine + * Licence : GPL + * See lib/plugin/RssFeed.php and lib/XmlParser.php + * + * The myth of RSS compatibility: + * http://diveintomark.org/archives/2004/02/04/incompatible-rss + */ + +/** * 2004-04-09 16:30:50 rurban: * added fsockopen allow_url_fopen = Off workaround * 2004-04-12 20:04:12 rurban: Modified: trunk/lib/SemanticWeb.php =================================================================== --- trunk/lib/SemanticWeb.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/SemanticWeb.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,4 +1,24 @@ <?php +/* + * Copyright 2004,2007 Reini Urban + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with PhpWiki; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + /** * What to do on ?format=rdf What to do on ?format=owl * @@ -77,29 +97,8 @@ * http://www.ontoweb.org/ * http://www.semwebcentral.org/ (OWL on top of FusionForge) * - * * Author: Reini Urban <ru...@x-...> */ -/*============================================================================*/ -/* - * Copyright 2004,2007 Reini Urban - * - * This file is part of PhpWiki. - * - * PhpWiki is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * PhpWiki is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with PhpWiki; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ require_once 'lib/RssWriter.php'; require_once 'lib/TextSearchQuery.php'; Modified: trunk/lib/SpamBlocklist.php =================================================================== --- trunk/lib/SpamBlocklist.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/SpamBlocklist.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* Copyright (C) 2005 Reini Urban * * This file is part of PhpWiki. Modified: trunk/lib/WikiGroup.php =================================================================== --- trunk/lib/WikiGroup.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/WikiGroup.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* * Copyright (C) 2003, 2004 $ThePhpWikiProgrammingTeam * Copyright (C) 2010 Marc-Etienne Vargenau, Alcatel-Lucent Modified: trunk/lib/XmlParser.php =================================================================== --- trunk/lib/XmlParser.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/XmlParser.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,4 +1,21 @@ <?php +/* + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with PhpWiki; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ /** * Base XmlParser Class. @@ -20,24 +37,6 @@ * esp. $this->root is lost. So we have to this into a global. */ -/* - * This file is part of PhpWiki. - * - * PhpWiki is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * PhpWiki is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with PhpWiki; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - /** * class XmlParser - Parse into a tree of XmlElement nodes. * @@ -49,7 +48,6 @@ */ class XmlParser { - public $_parser, $root, $current, $previous, $parent; function XmlParser($encoding = '') Modified: trunk/lib/XmlRpcServer.php =================================================================== --- trunk/lib/XmlRpcServer.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/XmlRpcServer.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,10 +1,8 @@ <?php - -/* Copyright (C) 2002, Lawrence Akka <la...@us...> +/* + * Copyright (C) 2002, Lawrence Akka <la...@us...> * Copyright (C) 2004,2005,2006,2007 $ThePhpWikiProgrammingTeam * - * LICENCE - * ======= * This file is part of PhpWiki. * * PhpWiki is free software; you can redistribute it and/or modify @@ -20,7 +18,9 @@ * You should have received a copy of the GNU General Public License along * with PhpWiki; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - * + */ + +/* * LIBRARY USED - POSSIBLE PROBLEMS * ================================ * Modified: trunk/lib/config.php =================================================================== --- trunk/lib/config.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/config.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* * NOTE: The settings here should probably not need to be changed. * The user-configurable settings have been moved to IniConfig.php Modified: trunk/lib/diff.php =================================================================== --- trunk/lib/diff.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/diff.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,12 +1,28 @@ <?php +/* + * Copyright (C) 2000, 2001 Geoffrey T. Dairiki <da...@da...> + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with PhpWiki; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ // diff.php // // PhpWiki diff output code. // -// Copyright (C) 2000, 2001 Geoffrey T. Dairiki <da...@da...> -// You may copy this code freely under the conditions of the GPL. -// require_once 'lib/difflib.php'; Modified: trunk/lib/diff3.php =================================================================== --- trunk/lib/diff3.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/diff3.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,12 +1,27 @@ <?php +/* + * Copyright (C) 2001 Geoffrey T. Dairiki <da...@da...> + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with PhpWiki; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ // diff3.php // // A class for computing three way diffs -// -// Copyright (C) 2001 Geoffrey T. Dairiki <da...@da...> -// You may copy this code freely under the conditions of the GPL. -// require_once 'lib/difflib.php'; Modified: trunk/lib/difflib.php =================================================================== --- trunk/lib/difflib.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/difflib.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,12 +1,27 @@ <?php +/* + * Copyright (C) 2000, 2001 Geoffrey T. Dairiki <da...@da...> + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with PhpWiki; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ // difflib.php // // A PHP diff engine for phpwiki. -// -// Copyright (C) 2000, 2001 Geoffrey T. Dairiki <da...@da...> -// You may copy this code freely under the conditions of the GPL. -// abstract class _DiffOp { Modified: trunk/lib/display.php =================================================================== --- trunk/lib/display.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/display.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* Copyright (C) 2004-2011 $ThePhpWikiProgrammingTeam * * This file is part of PhpWiki. Modified: trunk/lib/install.php =================================================================== --- trunk/lib/install.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/install.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* * Copyright 2004 $ThePhpWikiProgrammingTeam * Modified: trunk/lib/main.php =================================================================== --- trunk/lib/main.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/main.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* * Copyright 1999-2008 $ThePhpWikiProgrammingTeam * Copyright (C) 2008-2010 Marc-Etienne Vargenau, Alcatel-Lucent Modified: trunk/lib/pdf.php =================================================================== --- trunk/lib/pdf.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/pdf.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* * Copyright (C) 2003 Olivier PLATHEY * Copyright (C) 200? Don Sebà Modified: trunk/lib/upgrade.php =================================================================== --- trunk/lib/upgrade.php 2016-07-12 08:17:25 UTC (rev 9877) +++ trunk/lib/upgrade.php 2016-07-12 16:15:03 UTC (rev 9878) @@ -1,5 +1,4 @@ <?php - /* * Copyright 2004,2005,2006,2007 $ThePhpWikiProgrammingTeam * Copyright 2008 Marc-Etienne Vargenau, Alcatel-Lucent This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |