r20368 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r20367‎ | r20368 | r20369 >
Date:15:57, 12 March 2007
Author:brion
Status:old
Tags:
Comment:
* (bug 9256) Add a quick note to index.php header comments
References documentation and main site, explains that web server is misconfigured if you're reading it, and lists copyright/license info.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/index.php (modified) (history)

Diff [purge]

Index: trunk/phase3/index.php
@@ -1,5 +1,39 @@
22 <?php
33
 4+/**
 5+ * This is the main web entry point for MediaWiki.
 6+ *
 7+ * If you are reading this in your web browser, your server is probably
 8+ * not configured correctly to run PHP applications!
 9+ *
 10+ * See the README, INSTALL, and UPGRADE files for basic setup instructions
 11+ * and pointers to the online documentation.
 12+ *
 13+ * http://www.mediawiki.org/
 14+ *
 15+ * ----------
 16+ *
 17+ * Copyright (C) 2001-2007 Magnus Manske, Brion Vibber, Lee Daniel Crocker,
 18+ * Tim Starling, Erik Möller, Gabriel Wicke, Ævar Arnfjörð Bjarmason,
 19+ * Niklas Laxström, Domas Mituzas, Rob Church and others.
 20+ *
 21+ * This program is free software; you can redistribute it and/or modify
 22+ * it under the terms of the GNU General Public License as published by
 23+ * the Free Software Foundation; either version 2 of the License, or
 24+ * (at your option) any later version.
 25+ *
 26+ * This program is distributed in the hope that it will be useful,
 27+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 28+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 29+ * GNU General Public License for more details.
 30+ *
 31+ * You should have received a copy of the GNU General Public License along
 32+ * with this program; if not, write to the Free Software Foundation, Inc.,
 33+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 34+ * http://www.gnu.org/copyleft/gpl.html
 35+ */
 36+
 37+
438 # Initialise common code
539 require_once( './includes/WebStart.php' );
640
Index: trunk/phase3/RELEASE-NOTES
@@ -262,7 +262,9 @@
263263 * Fix fallback implementation of mb_strlen so it works and isn't insanely
264264 slow for large strings, since it's used for page edit lengths
265265 * (bug 8815) Setting password in initUser() breaks LdapAuthentication plugin
 266+* (bug 9256) Add a quick note to index.php header comments
266267
 268+
267269 == Languages updated ==
268270
269271 * Arabic (ar)