Index: trunk/phase3/includes/Title.php |
— | — | @@ -2022,6 +2022,8 @@ |
2023 | 2023 | public function getSkinFromCssJsSubpage() { |
2024 | 2024 | $subpage = explode( '/', $this->mTextform ); |
2025 | 2025 | $subpage = $subpage[ count( $subpage ) - 1 ]; |
| 2026 | + // FIXME: Should only match endings |
| 2027 | + // Consider 'Foo/.js.monobook' or 'Foo/mon.js.obook.css' |
2026 | 2028 | return( str_replace( array( '.css', '.js' ), array( '', '' ), $subpage ) ); |
2027 | 2029 | } |
2028 | 2030 | |