dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "rebuildLocalisationCache: Implement --lang option"
[lhc/web/wiklou.git]
/
includes
/
Init.php
diff --git
a/includes/Init.php
b/includes/Init.php
index
a8540f2
..
835ffdb
100644
(file)
--- a/
includes/Init.php
+++ b/
includes/Init.php
@@
-120,7
+120,7
@@
class MWInit {
*
* require( MWInit::extSetupPath( 'ParserFunctions/ParserFunctions.php' ) );
*
*
* require( MWInit::extSetupPath( 'ParserFunctions/ParserFunctions.php' ) );
*
- * @param
$extRel string
The path relative to the extensions directory, as defined by
+ * @param
string $extRel
The path relative to the extensions directory, as defined by
* $wgExtensionsDirectory.
*
* @return string
* $wgExtensionsDirectory.
*
* @return string
@@
-166,14
+166,14
@@
class MWInit {
static function classExists( $class ) {
try {
$r = new ReflectionClass( $class );
static function classExists( $class ) {
try {
$r = new ReflectionClass( $class );
- } catch( ReflectionException $r ) {
+ } catch
( ReflectionException $r ) {
$r = false;
}
return $r !== false;
}
/**
$r = false;
}
return $r !== false;
}
/**
- * Determine wether a method exists within a class, using a method which works
+ * Determine w
h
ether a method exists within a class, using a method which works
* under HipHop.
*
* Note that under HipHop when method_exists is given a string for it's class
* under HipHop.
*
* Note that under HipHop when method_exists is given a string for it's class
@@
-187,7
+187,7
@@
class MWInit {
static function methodExists( $class, $method ) {
try {
$r = new ReflectionMethod( $class, $method );
static function methodExists( $class, $method ) {
try {
$r = new ReflectionMethod( $class, $method );
- } catch( ReflectionException $r ) {
+ } catch
( ReflectionException $r ) {
$r = false;
}
return $r !== false;
$r = false;
}
return $r !== false;
@@
-204,7
+204,7
@@
class MWInit {
static function functionExists( $function ) {
try {
$r = new ReflectionFunction( $function );
static function functionExists( $function ) {
try {
$r = new ReflectionFunction( $function );
- } catch( ReflectionException $r ) {
+ } catch
( ReflectionException $r ) {
$r = false;
}
return $r !== false;
$r = false;
}
return $r !== false;