r81512 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81511‎ | r81512 | r81513 >
Date:13:32, 4 February 2011
Author:krinkle
Status:deferred
Tags:
Comment:
adding a license in wordpress meta head + GPL header in core class
Modified paths:
  • /trunk/tools/wp-photocommons/inc/class-photocommons.php (modified) (history)
  • /trunk/tools/wp-photocommons/index.php (modified) (history)

Diff [purge]

Index: trunk/tools/wp-photocommons/inc/class-photocommons.php
@@ -1,4 +1,22 @@
22 <?php
 3+/*
 4+ Copyright 2011
 5+ @author Husky <huskyr@gmail.com>
 6+ @author Krinkle <krinklemail@gmail.com>
 7+
 8+ This program is free software; you can redistribute it and/or modify
 9+ it under the terms of the GNU General Public License, version 2, as
 10+ published by the Free Software Foundation.
 11+
 12+ This program is distributed in the hope that it will be useful,
 13+ but WITHOUT ANY WARRANTY; without even the implied warranty of
 14+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 15+ GNU General Public License for more details.
 16+
 17+ You should have received a copy of the GNU General Public License
 18+ along with this program; if not, write to the Free Software
 19+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 20+*/
321 class PhotoCommons {
422 const PLUGIN_PATH = '/wp-photocommons/';
523 const FILEPATH_PATTERN = 'http://commons.wikimedia.org/w/index.php?title=Special:FilePath&file=%s&width=%s';
Index: trunk/tools/wp-photocommons/index.php
@@ -1,11 +1,12 @@
22 <?php
33 /*
44 Plugin Name: Photocommons
5 -Plugin URI: http://www.mediawiki.org/wiki/Photocommons
 5+Plugin URI: http://www.mediawiki.org/wiki/PhotoCommons
66 Description: Search and add free images from Wikimedia Commons directly in your blog
77 Author: Hay Kranen, Timo Tijhof
88 Version: 0.1-alpha
9 -Author URI: http://www.mediawiki.org/wiki/Photocommons
 9+Author URI: http://www.mediawiki.org/wiki/PhotoCommons
 10+License: GPL2
1011 */
1112
1213 require 'inc/class-photocommons.php';

Status & tagging log