From: <var...@us...> - 2016-10-10 12:26:46
|
Revision: 9949 http://sourceforge.net/p/phpwiki/code/9949 Author: vargenau Date: 2016-10-10 12:26:44 +0000 (Mon, 10 Oct 2016) Log Message: ----------- Add standard file header Modified Paths: -------------- trunk/lib/DbSession.php trunk/lib/DbaDatabase.php trunk/lib/DbaPartition.php trunk/lib/ErrorManager.php trunk/lib/ExternalReferrer.php trunk/lib/FileFinder.php trunk/lib/Google.php trunk/lib/HtmlElement.php trunk/lib/HttpClient.php trunk/lib/RssWriter.php trunk/lib/RssWriter091.php trunk/lib/RssWriter2.php trunk/lib/Template.php trunk/lib/TextSearchQuery.php trunk/lib/Units.php trunk/lib/WikiCallback.php trunk/lib/WikiDB.php trunk/lib/WikiPlugin.php trunk/lib/XmlElement.php trunk/lib/XmlRpcClient.php trunk/lib/config.php trunk/lib/editpage.php trunk/lib/fortune.php trunk/lib/mimelib.php trunk/lib/prepend.php trunk/lib/purgepage.php trunk/lib/removepage.php trunk/lib/spam_babycart.php Modified: trunk/lib/DbSession.php =================================================================== --- trunk/lib/DbSession.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/DbSession.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,27 @@ <?php +/** + * Copyright © 2002,2004-2005 Reini Urban + * Copyright © 2003 Jeff Dairiki + * + * 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ /** * Store sessions data in Pear DB / ADODB / dba / PDO, .... Modified: trunk/lib/DbaDatabase.php =================================================================== --- trunk/lib/DbaDatabase.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/DbaDatabase.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,28 @@ <?php +/** + * Copyright © 2001 Jeff Dairiki + * Copyright © 2001-2002 Carsten Klapp + * Copyright © 2004-2006,2009-2010 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ require_once 'lib/ErrorManager.php'; Modified: trunk/lib/DbaPartition.php =================================================================== --- trunk/lib/DbaPartition.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/DbaPartition.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,27 @@ <?php +/** + * Copyright © 2001 Jeff Dairiki + * Copyright © 2004 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ class DbaPartition { Modified: trunk/lib/ErrorManager.php =================================================================== --- trunk/lib/ErrorManager.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/ErrorManager.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,28 @@ <?php +/** + * Copyright © 2001-2003 Jeff Dairiki + * Copyright © 2001-2002 Carsten Klapp + * Copyright © 2002,2004-2008 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ if (isset($GLOBALS['ErrorManager'])) return; Modified: trunk/lib/ExternalReferrer.php =================================================================== --- trunk/lib/ExternalReferrer.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/ExternalReferrer.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,5 +1,28 @@ <?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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + +/** * Detect external referrers * Currently only search engines, and highlight the searched item. * Modified: trunk/lib/FileFinder.php =================================================================== --- trunk/lib/FileFinder.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/FileFinder.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,28 @@ <?php +/** + * Copyright © 2001-2003 Jeff Dairiki + * Copyright © 2001-2003 Carsten Klapp + * Copyright © 2002,2004-2005,2007,2010 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ require_once(dirname(__FILE__) . '/stdlib.php'); Modified: trunk/lib/Google.php =================================================================== --- trunk/lib/Google.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/Google.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,36 +1,41 @@ <?php /** + * Copyright © 2002 Intercept Vector + * Copyright © 2004 Reini Urban + * + * This file is part of PhpWiki. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1+ + * + */ + +/** * Google API * * @author: Chris Petersen, Reini Urban - */ -/* - Copyright (c) 2002 Intercept Vector - Copyright (c) 2004 Reini Urban - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - - If you have any questions or comments, please email: - - Chris Petersen - ad...@in... - Intercept Vector - http://www.interceptvector.com -*/ - -/* + * + * If you have any questions or comments, please email: + * + * Chris Petersen + * ad...@in... + * Intercept Vector + * http://www.interceptvector.com + * * @seealso: http://scripts.incutio.com/google/ */ Modified: trunk/lib/HtmlElement.php =================================================================== --- trunk/lib/HtmlElement.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/HtmlElement.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,5 +1,29 @@ <?php /** + * Copyright © 2010 Reini Urban + * Copyright © 2014 Marc-Etienne Vargenau, Alcatel-Lucent + * + * 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + +/** * Code for writing the HTML subset of XML. * @author: Jeff Dairiki * Modified: trunk/lib/HttpClient.php =================================================================== --- trunk/lib/HttpClient.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/HttpClient.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,12 +1,32 @@ <?php +/** + * Copyright © 2003 Simon Willison, Incutio Limited + * Copyright © 2004,2006-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. + * + * SPDX-License-Identifier: Artistic-1.0+ + * + */ /** Version 0.9, 6th April 2003 - Simon Willison ( http://simon.incutio.com/ ) Manual: http://scripts.incutio.com/httpclient/ -Copyright © 2003 Incutio Limited -License: http://www.opensource.org/licenses/artistic-license.php - File upload and xmlrpc support by Reini Urban for PhpWiki, 2006-12-28 18:12:47 Todo: proxy support */ Modified: trunk/lib/RssWriter.php =================================================================== --- trunk/lib/RssWriter.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/RssWriter.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,29 @@ <?php +/** + * Copyright © 2001-2002 Jeff Dairiki + * Copyright © 2002 Carsten Klapp + * Copyright © 2004,2007,2009 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + /* * Code for creating RSS 1.0. */ Modified: trunk/lib/RssWriter091.php =================================================================== --- trunk/lib/RssWriter091.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/RssWriter091.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,21 +1,30 @@ <?php +/** + * Copyright © 2002 Lawrence Akka + * Copyright © 2002-2003 Jeff Dairiki + * Copyright © 2004 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + // ---------------------------------------------------------------------- -// phpWiki -// ---------------------------------------------------------------------- -// LICENSE -// -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License (GPL) -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// -// This program 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. -// -// To read the license please visit http://www.gnu.org/copyleft/gpl.html -// ---------------------------------------------------------------------- // Original Author of file: Lawrence Akka // Purpose of file: Plugin and associated classes // for outputting RecentChanges in RSS 0.91 format Modified: trunk/lib/RssWriter2.php =================================================================== --- trunk/lib/RssWriter2.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/RssWriter2.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,27 @@ <?php +/** + * Copyright © 2004-2005 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + /* * Code for creating RSS 2.0 * Author: Reini Urban for PhpWiki Modified: trunk/lib/Template.php =================================================================== --- trunk/lib/Template.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/Template.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,28 @@ <?php +/** + * Copyright © 2001-2003 Jeff Dairiki + * Copyright © 2001-2003 Carsten Klapp + * Copyright © 2002,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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ require_once 'lib/ErrorManager.php'; Modified: trunk/lib/TextSearchQuery.php =================================================================== --- trunk/lib/TextSearchQuery.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/TextSearchQuery.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,5 +1,29 @@ <?php /** + * Copyright © 2001-2002 Jeff Dairiki + * Copyright © 2004-2009 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + +/** * A text search query, converting queries to PCRE and SQL matchers. * * This represents an enhanced "Google-like" text search query: Modified: trunk/lib/Units.php =================================================================== --- trunk/lib/Units.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/Units.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,6 +1,29 @@ <?php /** + * Copyright © 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + +/** + * * Interface to man units(1), /usr/share/units.dat * * $ units "372.0 mi2" Modified: trunk/lib/WikiCallback.php =================================================================== --- trunk/lib/WikiCallback.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/WikiCallback.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,27 @@ <?php +/** + * Copyright © 2001 Jeff Dairiki + * Copyright © 2004 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ /** * A callback Modified: trunk/lib/WikiDB.php =================================================================== --- trunk/lib/WikiDB.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/WikiDB.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,30 @@ <?php +/** + * Copyright © 2001-2002 Jeff Dairiki + * Copyright © 2002 Lawrence Akka + * Copyright © 2003 Carsten Klapp + * Copyright © 2002,2004-2010 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + require_once 'lib/PageType.php'; /** Modified: trunk/lib/WikiPlugin.php =================================================================== --- trunk/lib/WikiPlugin.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/WikiPlugin.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,28 @@ <?php +/** + * Copyright © 2001-2003 Jeff Dairiki + * Copyright © 2002-2003 Carsten Klapp + * Copyright © 2002,2004-2005,2007-2008 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ abstract class WikiPlugin { Modified: trunk/lib/XmlElement.php =================================================================== --- trunk/lib/XmlElement.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/XmlElement.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,5 +1,31 @@ <?php /** + * Copyright © 2002 Carsten Klapp + * Copyright © 2002-2003 Jeff Dairiki + * Copyright © 2002,2004-2008,2010 Reini Urban + * Copyright © 2010 Marc-Etienne Vargenau, Alcatel-Lucent + * + * 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + +/** * Code for writing XML. * @package Markup * @author: Jeff Dairiki, Modified: trunk/lib/XmlRpcClient.php =================================================================== --- trunk/lib/XmlRpcClient.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/XmlRpcClient.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,7 +1,28 @@ <?php +/* Copyright © 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ -/* Copyright (C) 2002, Lawrence Akka <la...@us...> - * Copyright (C) 2004,2005,2006 $ThePhpWikiProgrammingTeam +/* Copyright © 2002, Lawrence Akka <la...@us...> + * Copyright © 2004,2005,2006 $ThePhpWikiProgrammingTeam */ // All these global declarations that this file // XmlRpcClient.php can be included within a function body Modified: trunk/lib/config.php =================================================================== --- trunk/lib/config.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/config.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,33 @@ <?php +/** + * Copyright © 2000-2001 Arno Hollosi + * Copyright © 2000-2001 Steve Wainstead + * Copyright © 2001-2003 Jeff Dairiki + * Copyright © 2002-2002 Carsten Klapp + * Copyright © 2002-2002 Lawrence Akka + * Copyright © 2002,2004-2009 Reini Urban + * Copyright © 2008-2014 Marc-Etienne Vargenau, Alcatel-Lucent + * + * 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + /* * NOTE: The settings here should probably not need to be changed. * The user-configurable settings have been moved to IniConfig.php Modified: trunk/lib/editpage.php =================================================================== --- trunk/lib/editpage.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/editpage.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,35 @@ <?php +/** + * Copyright © 2000 Steve Wainstead + * Copyright © 2000-2001 Arno Hollosi + * Copyright © 2001 Joel Uckelman + * Copyright © 2001-2003 Jeff Dairiki + * Copyright © 2001-2003 Carsten Klapp + * Copyright © 2002 Lawrence Akka + * Copyright © 2004-2009 Reini Urban + * Copyright © 2007 Sabri Labbenes + * Copyright © 2008-2015 Marc-Etienne Vargenau, Alcatel-Lucent + * + * 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + require_once 'lib/Template.php'; require_once 'lib/WikiUser.php'; Modified: trunk/lib/fortune.php =================================================================== --- trunk/lib/fortune.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/fortune.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,30 @@ <?php +/** + * Copyright © 2004 Henrik Aasted Sørensen + * Copyright © 2004,2007 Reini Urban + * Copyright © 2014 Marc-Etienne Vargenau, Alcatel-Lucent + + * + * 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + // PHP Fortune - Made by he...@aa.... HP: http://www.aasted.org /* Modified: trunk/lib/mimelib.php =================================================================== --- trunk/lib/mimelib.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/mimelib.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,31 @@ <?php +/** + * Copyright © 2000 Steve Wainstead + * Copyright © 2001 Arno Hollosi + * Copyright © 2001-2003 Jeff Dairiki + * Copyright © 2001-2003 Carsten Klapp + * Copyright © 2004-2008 Reini Urban + * Copyright © 2009-2015 Marc-Etienne Vargenau, Alcatel-Lucent + * + * 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ /** * Routines for Mime mailification of pages. Modified: trunk/lib/prepend.php =================================================================== --- trunk/lib/prepend.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/prepend.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,6 +1,31 @@ <?php -/* lib/prepend.php +/** + * Copyright © 2001-2003 Jeff Dairiki + * Copyright © 2001-2002 Carsten Klapp + * 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + +/* + * * Things which must be done and defined before anything else. */ Modified: trunk/lib/purgepage.php =================================================================== --- trunk/lib/purgepage.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/purgepage.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,26 @@ <?php +/** + * Copyright © 2008-2009,2011 Marc-Etienne Vargenau, Alcatel-Lucent + * + * 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ require_once 'lib/Template.php'; Modified: trunk/lib/removepage.php =================================================================== --- trunk/lib/removepage.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/removepage.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,4 +1,28 @@ <?php +/** + * Copyright © 2001-2003 Jeff Dairiki + * Copyright © 2001-2002 Carsten Klapp + * Copyright © 2004 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ require_once 'lib/Template.php'; Modified: trunk/lib/spam_babycart.php =================================================================== --- trunk/lib/spam_babycart.php 2016-10-07 16:41:52 UTC (rev 9948) +++ trunk/lib/spam_babycart.php 2016-10-10 12:26:44 UTC (rev 9949) @@ -1,13 +1,36 @@ <?php +/** + * Copyright © 2004 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. + * + * SPDX-License-Identifier: GPL-2.0+ + * + */ + /* -* Author: Bob Apthorpe <apt...@cy...> -* Proof-of-concept PHP fragment to flag blog/wiki spam -* -* URL: <http://www.cynistar.net/~apthorpe/code/babycart/babycart.html> -* INSTALL: -* cpan Blog::SpamAssassin -* copy contrib/babycart to /usr/local/bin/ -*/ + * Author: Bob Apthorpe <apt...@cy...> + * Proof-of-concept PHP fragment to flag blog/wiki spam + * + * URL: <http://www.cynistar.net/~apthorpe/code/babycart/babycart.html> + * INSTALL: + * cpan Blog::SpamAssassin + * copy contrib/babycart to /usr/local/bin/ + */ function check_babycart(&$text, $ip) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |