Index: trunk/extensions/Preloader/Preloader.php |
— | — | @@ -44,6 +44,7 @@ |
45 | 45 | if( $stx ) |
46 | 46 | $text = $stx; |
47 | 47 | } |
| 48 | + return true; |
48 | 49 | } |
49 | 50 | |
50 | 51 | /** Hook function for the parser */ |
Index: trunk/extensions/MathStatFunctions/MathStatFunctions.php |
— | — | @@ -421,6 +421,8 @@ |
422 | 422 | foreach( $wgMathStatFunctionsMessages as $key => $value ) { |
423 | 423 | $wgMessageCache->addMessages( $value, $key ); |
424 | 424 | } |
| 425 | + |
| 426 | + return true; |
425 | 427 | } |
426 | 428 | |
427 | 429 | function wfMathStatFunctionsLanguageGetMagic( &$magicWords, $langCode ) { |
Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php |
— | — | @@ -1615,7 +1615,7 @@ |
1616 | 1616 | //They already with us? If so, quit this function. |
1617 | 1617 | if( $tmpuser->isLoggedIn() ) { |
1618 | 1618 | $wgAuth->printDebug( "User is already logged in.", 1 ); |
1619 | | - return; |
| 1619 | + return false; |
1620 | 1620 | } |
1621 | 1621 | |
1622 | 1622 | //Let regular authentication plugins configure themselves for auto |
— | — | @@ -1629,7 +1629,7 @@ |
1630 | 1630 | //If the user doesn't exist in LDAP, there isn't much reason to |
1631 | 1631 | //go any further. |
1632 | 1632 | $wgAuth->printDebug("User wasn't found in LDAP, exiting.", 1 ); |
1633 | | - return; |
| 1633 | + return false; |
1634 | 1634 | } |
1635 | 1635 | |
1636 | 1636 | //We need the username that MediaWiki will always use, *not* the one we |
— | — | @@ -1643,7 +1643,7 @@ |
1644 | 1644 | |
1645 | 1645 | if ( $tmpuser == null ) { |
1646 | 1646 | $wgAuth->printDebug( "Username is not a valid MediaWiki username.", 1 ); |
1647 | | - return; |
| 1647 | + return false; |
1648 | 1648 | } |
1649 | 1649 | |
1650 | 1650 | //If exists, log them in |
— | — | @@ -1653,7 +1653,7 @@ |
1654 | 1654 | $wgAuth->updateUser( $wgUser ); |
1655 | 1655 | $wgUser->setCookies(); |
1656 | 1656 | $wgUser->setupSession(); |
1657 | | - return; |
| 1657 | + return false; |
1658 | 1658 | } |
1659 | 1659 | $wgAuth->printDebug( "User does not exist in local database; creating.", 1 ); |
1660 | 1660 | |
— | — | @@ -1687,5 +1687,7 @@ |
1688 | 1688 | //Initialize the user |
1689 | 1689 | $wgUser->setupSession(); |
1690 | 1690 | $wgUser->setCookies(); |
| 1691 | + |
| 1692 | + return true; |
1691 | 1693 | } |
1692 | 1694 | ?> |
Index: trunk/extensions/UserRightsNotif/UserRightsNotif.php |
— | — | @@ -38,7 +38,8 @@ |
39 | 39 | $subject = wfMsg( 'userrightsnotifysubject', $wgSitename ); |
40 | 40 | $message = wfMsg( 'userrightsnotifybody', $user->getName(), $wgSitename, $wgUser->getName(), $wgContLang->timeAndDate( wfTimestampNow() ), $added, $removed ); |
41 | 41 | $user->sendMail( $subject, $message, $wgUserRightsNotif['sender'] ); |
42 | | - } |
| 42 | + } |
| 43 | + return true; |
43 | 44 | } |
44 | 45 | |
45 | 46 | } else { |
Index: trunk/extensions/LatexDoc/LatexDoc.php |
— | — | @@ -18,6 +18,8 @@ |
19 | 19 | |
20 | 20 | $this->workingDir = "$wgUploadDirectory/latexdoc"; |
21 | 21 | $this->workingPath = "$wgUploadPath/latexdoc"; |
| 22 | + |
| 23 | + return true; |
22 | 24 | } |
23 | 25 | |
24 | 26 | function onUnknownAction( $action, &$article ) { |
Index: trunk/extensions/Contributors/Contributors.php |
— | — | @@ -53,6 +53,8 @@ |
54 | 54 | function efContributorsInvalidateCache( &$article ) { |
55 | 55 | global $wgMemc; |
56 | 56 | $wgMemc->delete( wfMemcKey( 'contributors', $article->getId() ) ); |
| 57 | + |
| 58 | + return true; |
57 | 59 | } |
58 | 60 | |
59 | 61 | /** |
Index: trunk/extensions/BookInformation/BookInformation.php |
— | — | @@ -64,6 +64,8 @@ |
65 | 65 | */ |
66 | 66 | function efBookInformation( $isbn, $output ) { |
67 | 67 | BookInformation::show( $isbn, $output ); |
| 68 | + |
| 69 | + return true; |
68 | 70 | } |
69 | 71 | |
70 | 72 | /** |
Index: trunk/extensions/Multilang/Multilang.class.php |
— | — | @@ -91,6 +91,7 @@ |
92 | 92 | public function clearState() { |
93 | 93 | $this->text = array(); |
94 | 94 | $this->fallback = ''; |
| 95 | + return true; |
95 | 96 | } |
96 | 97 | |
97 | 98 | } |
Index: trunk/extensions/RegexBlock/regexBlockCore.php |
— | — | @@ -42,6 +42,7 @@ |
43 | 43 | wfGetRegexBlocked ($blocker, $current_user, $ip_to_check) ; |
44 | 44 | } |
45 | 45 | } |
| 46 | + return true; |
46 | 47 | } |
47 | 48 | |
48 | 49 | /* |
Index: trunk/extensions/CheckUser/CheckUser.php |
— | — | @@ -81,6 +81,8 @@ |
82 | 82 | $sql = "DELETE FROM $recentchanges WHERE cuc_timestamp < '{$cutoff}'"; |
83 | 83 | $dbw->query( $sql ); |
84 | 84 | } |
| 85 | + |
| 86 | + return true; |
85 | 87 | } |
86 | 88 | |
87 | 89 | /** |