r77356 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77355‎ | r77356 | r77357 >
Date:14:55, 27 November 2010
Author:vasilievvv
Status:ok
Tags:
Comment:
Fix r77309 per CR: use appropriate function in ResourceLoaderWikiModule to check the validity of CSS user subpage.
Modified paths:
  • /trunk/phase3/includes/resourceloader/ResourceLoaderWikiModule.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/resourceloader/ResourceLoaderWikiModule.php
@@ -47,7 +47,7 @@
4848 return wfEmptyMsg( $page ) ? '' : wfMsgExt( $page, 'content' );
4949 }
5050 $title = Title::newFromText( $page, $ns );
51 - if ( !$title || !$title->isValidCssJsSubpage() ) {
 51+ if ( !$title || !$title->isCssJsSubpage() ) {
5252 return null;
5353 }
5454 $revision = Revision::newFromTitle( $title );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77309* Show "skin does not exist error" only when the skin is inputted in the wron...vasilievvv23:12, 25 November 2010

Status & tagging log