X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=blobdiff_plain;f=includes%2FDefines.php;h=fc39af569814abea4bc473acd195b9dbd9090b94;hb=586aeca9cf0843fe0877bac51ec9eeccac67389f;hp=a9b2e56512b17446e0e429cc2407220f32b892ec;hpb=519d5427e28ced4b9b5d710a74b81fb79e89efb3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Defines.php b/includes/Defines.php index a9b2e56512..fc39af5698 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -2,7 +2,7 @@ /** * A few constants that might be needed during LocalSettings.php. * - * Note: these constants must all be resolvable at compile time by HipHop, + * Note: these constants must all be resolvable at compile time by HipHop, * since this file will not be executed during request startup for a compiled * MediaWiki. * @@ -85,16 +85,6 @@ define( 'NS_IMAGE', NS_FILE ); define( 'NS_IMAGE_TALK', NS_FILE_TALK ); /**@}*/ -/** - * Available feeds objects - * Should probably only be defined when a page is syndicated ie when - * $wgOut->isSyndicated() is true - */ -$wgFeedClasses = array( - 'rss' => 'RSSFeed', - 'atom' => 'AtomFeed', -); - /**@{ * Cache type */ @@ -159,13 +149,12 @@ define( 'MW_DATE_ISO', 'ISO 8601' ); /**@{ * RecentChange type identifiers - * This may be obsolete; log items are now used for moves? */ define( 'RC_EDIT', 0); define( 'RC_NEW', 1); -define( 'RC_MOVE', 2); +define( 'RC_MOVE', 2); // obsolete define( 'RC_LOG', 3); -define( 'RC_MOVE_OVER_REDIRECT', 4); +define( 'RC_MOVE_OVER_REDIRECT', 4); // obsolete /**@}*/ /**@{ @@ -250,3 +239,13 @@ define( 'APCOND_AGE_FROM_EDIT', 7 ); define( 'APCOND_BLOCKED', 8 ); define( 'APCOND_ISBOT', 9 ); /**@}*/ + +/** + * Protocol constants for wfExpandUrl() + */ +define( 'PROTO_HTTP', 'http://' ); +define( 'PROTO_HTTPS', 'https://' ); +define( 'PROTO_RELATIVE', '//' ); +define( 'PROTO_CURRENT', null ); +define( 'PROTO_CANONICAL', 1 ); +define( 'PROTO_INTERNAL', 2 );