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
If you request LogEventList to display the combination of 2 log types, and one of
[lhc/web/wiklou.git]
/
includes
/
HTMLForm.php
diff --git
a/includes/HTMLForm.php
b/includes/HTMLForm.php
index
b781534
..
5c0d7db
100644
(file)
--- a/
includes/HTMLForm.php
+++ b/
includes/HTMLForm.php
@@
-186,7
+186,7
@@
class HTMLForm extends ContextSource {
* done already.
* @deprecated since 1.18 load modules with ResourceLoader instead
*/
* done already.
* @deprecated since 1.18 load modules with ResourceLoader instead
*/
- static function addJS() { }
+ static function addJS() {
wfDeprecated( __METHOD__, '1.18' );
}
/**
* Initialise a new Object for the field
/**
* Initialise a new Object for the field
@@
-493,7
+493,7
@@
class HTMLForm extends ContextSource {
$html = '';
if( $this->getMethod() == 'post' ){
$html = '';
if( $this->getMethod() == 'post' ){
- $html .= Html::hidden( 'wpEditToken', $this->getUser()->
e
ditToken(), array( 'id' => 'wpEditToken' ) ) . "\n";
+ $html .= Html::hidden( 'wpEditToken', $this->getUser()->
getE
ditToken(), array( 'id' => 'wpEditToken' ) ) . "\n";
$html .= Html::hidden( 'title', $this->getTitle()->getPrefixedText() ) . "\n";
}
$html .= Html::hidden( 'title', $this->getTitle()->getPrefixedText() ) . "\n";
}
@@
-891,7
+891,7
@@
abstract class HTMLFormField {
}
if ( isset( $this->mValidationCallback ) ) {
}
if ( isset( $this->mValidationCallback ) ) {
- return call_user_func( $this->mValidationCallback, $value, $alldata );
+ return call_user_func( $this->mValidationCallback, $value, $alldata
, $this->mParent
);
}
return true;
}
return true;
@@
-899,7
+899,7
@@
abstract class HTMLFormField {
function filter( $value, $alldata ) {
if ( isset( $this->mFilterCallback ) ) {
function filter( $value, $alldata ) {
if ( isset( $this->mFilterCallback ) ) {
- $value = call_user_func( $this->mFilterCallback, $value, $alldata );
+ $value = call_user_func( $this->mFilterCallback, $value, $alldata
, $this->mParent
);
}
return $value;
}
return $value;