dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34ac7db
)
Adding fixme comment above an old piece of code that I'd rather not change right now
author
Krinkle
<krinkle@users.mediawiki.org>
Wed, 5 Oct 2011 18:45:27 +0000
(18:45 +0000)
committer
Krinkle
<krinkle@users.mediawiki.org>
Wed, 5 Oct 2011 18:45:27 +0000
(18:45 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
6d1cfec
..
39a1c4a
100644
(file)
--- 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 ) );
}