Adding fixme comment above an old piece of code that I'd rather not change right now
authorKrinkle <krinkle@users.mediawiki.org>
Wed, 5 Oct 2011 18:45:27 +0000 (18:45 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Wed, 5 Oct 2011 18:45:27 +0000 (18:45 +0000)
includes/Title.php

index 6d1cfec..39a1c4a 100644 (file)
@@ -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 ) );
        }