https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112189

Revision: 112189
Author:   wikinaut
Date:     2012-02-23 07:47:41 +0000 (Thu, 23 Feb 2012)
Log Message:
-----------
changed the extension's version string constant name (back) to a unique value, 
so that it hoepfully never again conflicts with the already defined wiki-global 
VERSION constant.

Modified Paths:
--------------
    trunk/extensions/WikiArticleFeeds/WikiArticleFeeds.php
    trunk/extensions/WikiArticleFeeds/WikiArticleFeeds_body.php

Modified: trunk/extensions/WikiArticleFeeds/WikiArticleFeeds.php
===================================================================
--- trunk/extensions/WikiArticleFeeds/WikiArticleFeeds.php      2012-02-23 
06:36:28 UTC (rev 112188)
+++ trunk/extensions/WikiArticleFeeds/WikiArticleFeeds.php      2012-02-23 
07:47:41 UTC (rev 112189)
@@ -4,7 +4,7 @@
  * @author Jim R. Wilson, Thomas Gries
  * @maintainer Thomas Gries
  *
- * @version 0.700
+ * @version 0.701
  * @copyright Copyright (C) 2007 Jim R. Wilson
  * @copyright Copyright (C) 2012 Thomas Gries
  * @license The MIT License - 
http://www.opensource.org/licenses/mit-license.php
@@ -56,6 +56,7 @@
  *
  * Versions
  *
+ * 0.701   version string constant renamed to make it wiki-unique
  * 0.700   rewritten into a four-file version with class
  *         auto-discovery rss feedlinks come with the page title in it
  * 0.672   changed certain !empty() to isset()
@@ -122,7 +123,7 @@
        die( "This is not a valid entry point.\n" );
 }
 
-define( 'VERSION', '0.700 20120222' );
+define( 'EXTENSION_WIKIARTICLEFEEDS_VERSION', '0.701 20120223' );
 
 # Bring in supporting classes
 require_once( "$IP/includes/Feed.php" );
@@ -135,7 +136,7 @@
        'author' => array( 'Jim Wilson', 'Thomas Gries' ),
        'url' => '//www.mediawiki.org/wiki/Extension:WikiArticleFeeds',
        'descriptionmsg' => 'wikiarticlefeeds-desc',
-       'version' => VERSION,
+       'version' => EXTENSION_WIKIARTICLEFEEDS_VERSION,
 );
 
 $dir = dirname( __FILE__ ) . '/';

Modified: trunk/extensions/WikiArticleFeeds/WikiArticleFeeds_body.php
===================================================================
--- trunk/extensions/WikiArticleFeeds/WikiArticleFeeds_body.php 2012-02-23 
06:36:28 UTC (rev 112188)
+++ trunk/extensions/WikiArticleFeeds/WikiArticleFeeds_body.php 2012-02-23 
07:47:41 UTC (rev 112189)
@@ -450,7 +450,7 @@
 
                # Push feed header
                $tempWgVersion = $wgVersion;
-               $wgVersion .= ' via WikiArticleFeeds ' . VERSION;
+               $wgVersion .= ' via WikiArticleFeeds ' . 
EXTENSION_WIKIARTICLEFEEDS_VERSION;
                $feed->outHeader();
                $wgVersion = $tempWgVersion;
 


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to