r48631 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48630‎ | r48631 | r48632 >
Date:12:00, 20 March 2009
Author:ialex
Status:ok
Tags:
Comment:
* Added "@file" so that doxygen doesn't attribute the comment to the first instruction
* whitespaces fixes
Modified paths:
  • /trunk/phase3/index.php (modified) (history)

Diff [purge]

Index: trunk/phase3/index.php
@@ -32,6 +32,8 @@
3333 * with this program; if not, write to the Free Software Foundation, Inc.,
3434 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
3535 * http://www.gnu.org/copyleft/gpl.html
 36+ *
 37+ * @file
3638 */
3739
3840
@@ -47,7 +49,7 @@
4850 OutputPage::setEncodings(); # Not really used yet
4951
5052 $maxLag = $wgRequest->getVal( 'maxlag' );
51 -if( !is_null($maxLag) && !$mediaWiki->checkMaxLag( $maxLag ) ) {
 53+if( !is_null( $maxLag ) && !$mediaWiki->checkMaxLag( $maxLag ) ) {
5254 exit;
5355 }
5456
@@ -73,7 +75,7 @@
7476 exit;
7577 }
7678
77 -if( $wgUseFileCache && isset($wgTitle) ) {
 79+if( $wgUseFileCache && isset( $wgTitle ) ) {
7880 wfProfileIn( 'main-try-filecache' );
7981 // Raw pages should handle cache control on their own,
8082 // even when using file cache. This reduces hits from clients.

Follow-up revisions

RevisionCommit summaryAuthorDate
r48658Same as r48631; added "@file" when needed, also added doc in redirect.php and...ialex16:48, 21 March 2009

Status & tagging log