http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96715

Revision: 96715
Author:   demon
Date:     2011-09-10 06:47:37 +0000 (Sat, 10 Sep 2011)
Log Message:
-----------
Add a comment about something I noticed while spelunking the code

Modified Paths:
--------------
    trunk/phase3/api.php

Modified: trunk/phase3/api.php
===================================================================
--- trunk/phase3/api.php        2011-09-10 05:50:42 UTC (rev 96714)
+++ trunk/phase3/api.php        2011-09-10 06:47:37 UTC (rev 96715)
@@ -103,6 +103,9 @@
 
 // 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


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to