From: Krinkle Date: Wed, 5 Oct 2011 18:45:27 +0000 (+0000) Subject: Adding fixme comment above an old piece of code that I'd rather not change right now X-Git-Tag: 1.31.0-rc.0~27255 X-Git-Url: http://git.cyclocoop.org/data/modifier.php?a=commitdiff_plain;h=e485f741d32d15d20b6ee280eddd3e62c355ba73;p=lhc%2Fweb%2Fwiklou.git Adding fixme comment above an old piece of code that I'd rather not change right now --- diff --git a/includes/Title.php b/includes/Title.php index 6d1cfec232..39a1c4adf9 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2022,6 +2022,8 @@ class Title { public function getSkinFromCssJsSubpage() { $subpage = explode( '/', $this->mTextform ); $subpage = $subpage[ count( $subpage ) - 1 ]; + // FIXME: Should only match endings + // Consider 'Foo/.js.monobook' or 'Foo/mon.js.obook.css' return( str_replace( array( '.css', '.js' ), array( '', '' ), $subpage ) ); }