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
Switch some HTMLForms in special pages to OOUI
[lhc/web/wiklou.git]
/
includes
/
Status.php
diff --git
a/includes/Status.php
b/includes/Status.php
index
61a0047
..
fbb5daa
100644
(file)
--- a/
includes/Status.php
+++ b/
includes/Status.php
@@
-69,9
+69,9
@@
class Status {
* Succinct helper method to wrap a StatusValue
*
* This is is useful when formatting StatusValue objects:
* Succinct helper method to wrap a StatusValue
*
* This is is useful when formatting StatusValue objects:
- *
<code>
+ *
@code
* $this->getOutput()->addHtml( Status::wrap( $sv )->getHTML() );
* $this->getOutput()->addHtml( Status::wrap( $sv )->getHTML() );
- *
</code>
+ *
@endcode
*
* @param StatusValue|Status $sv
* @return Status
*
* @param StatusValue|Status $sv
* @return Status
@@
-437,7
+437,7
@@
class Status {
*/
function __get( $name ) {
if ( $name === 'ok' ) {
*/
function __get( $name ) {
if ( $name === 'ok' ) {
- return $this->sv->
get
OK();
+ return $this->sv->
is
OK();
} elseif ( $name === 'errors' ) {
return $this->sv->getErrors();
}
} elseif ( $name === 'errors' ) {
return $this->sv->getErrors();
}