Revision: 43693
Author:   aaron
Date:     2008-11-19 00:02:23 +0000 (Wed, 19 Nov 2008)

Log Message:
-----------
* Remove incomplete isFileCacheable(), the parent one is fine
* Break long line

Modified Paths:
--------------
    trunk/phase3/includes/Category.php
    trunk/phase3/includes/CategoryPage.php

Modified: trunk/phase3/includes/Category.php
===================================================================
--- trunk/phase3/includes/Category.php  2008-11-18 23:55:39 UTC (rev 43692)
+++ trunk/phase3/includes/Category.php  2008-11-19 00:02:23 UTC (rev 43693)
@@ -1,6 +1,8 @@
 <?php
 /**
- * Category objects are immutable, strictly speaking.  If you call methods 
that change the database, like to refresh link counts, the objects will be 
appropriately reinitialized.  Member variables are lazy-initialized.
+ * Category objects are immutable, strictly speaking. If you call methods that 
change the database, 
+ * like to refresh link counts, the objects will be appropriately 
reinitialized.
+ * Member variables are lazy-initialized.
  *
  * TODO: Move some stuff from CategoryPage.php to here, and use that.
  *

Modified: trunk/phase3/includes/CategoryPage.php
===================================================================
--- trunk/phase3/includes/CategoryPage.php      2008-11-18 23:55:39 UTC (rev 
43692)
+++ trunk/phase3/includes/CategoryPage.php      2008-11-19 00:02:23 UTC (rev 
43693)
@@ -37,19 +37,6 @@
                }
        }
 
-       /**
-        * This page should not be cached if 'from' or 'until' has been used
-        * @return bool
-        */
-       function isFileCacheable() {
-               global $wgRequest;
-
-               return ( ! Article::isFileCacheable()
-                               || $wgRequest->getVal( 'from' )
-                               || $wgRequest->getVal( 'until' )
-               ) ? false : true;
-       }
-
        function openShowCategory() {
                # For overloading
        }



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

Reply via email to