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:
b70eeef
)
Revert r96715 per committer's (Chad's) CR comment
author
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 14 Sep 2011 13:43:06 +0000
(13:43 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 14 Sep 2011 13:43:06 +0000
(13:43 +0000)
api.php
patch
|
blob
|
history
diff --git
a/api.php
b/api.php
index
154e168
..
5318aea
100644
(file)
--- a/
api.php
+++ b/
api.php
@@
-105,9
+105,6
@@
if ( $wgCrossSiteAJAXdomains && isset( $_SERVER['HTTP_ORIGIN'] ) ) {
// Set a dummy $wgTitle, because $wgTitle == null breaks various things
// In a perfect world this wouldn't be necessary
-//
-// @todo @fixme Ummmm, doesn't this line make the PHP4 check at the top completely
-// useless? Suggest moving more stuff out of api.php like we did with index.php
$wgTitle = Title::makeTitle( NS_MAIN, 'API' );
/* Construct an ApiMain with the arguments passed via the URL. What we get back