/* Patches */ adjust to mediawiki head 2
This commit is contained in:
parent
132bad6ccd
commit
25c2a61d16
|
@ -56,6 +56,21 @@ Index: includes/Title.php
|
||||||
} else {
|
} else {
|
||||||
global $wgActionPaths;
|
global $wgActionPaths;
|
||||||
$url = false;
|
$url = false;
|
||||||
|
Index: includes/ChangesFeed.php
|
||||||
|
===================================================================
|
||||||
|
--- includes/ChangesFeed.php (revision 43703)
|
||||||
|
+++ includes/ChangesFeed.php (working copy)
|
||||||
|
@@ -47,7 +47,9 @@
|
||||||
|
self::generateFeed( $rows, $feed );
|
||||||
|
$cachedFeed = ob_get_contents();
|
||||||
|
ob_end_flush();
|
||||||
|
- $this->saveToCache( $cachedFeed, $timekey, $key );
|
||||||
|
+ if ( $wgFeedCacheTimeout > 0 ) {
|
||||||
|
+ $this->saveToCache( $cachedFeed, $timekey, $key );
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
==Erstellen einer Kopie von index.php für den internen Bereich==
|
==Erstellen einer Kopie von index.php für den internen Bereich==
|
||||||
|
|
Loading…
Reference in New Issue
Block a user