From e485f741d32d15d20b6ee280eddd3e62c355ba73 Mon Sep 17 00:00:00 2001 From: Krinkle Date: Wed, 5 Oct 2011 18:45:27 +0000 Subject: [PATCH] Adding fixme comment above an old piece of code that I'd rather not change right now --- includes/Title.php | 2 ++ 1 file changed, 2 insertions(+) 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 ) ); } -- 2.20.1