Skip to content

Commit

Permalink
Doc blocks, don't import legacy libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babker committed Jan 1, 2014
1 parent 72e4a5f commit 822c9f7
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions build/mediawiki.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php
// We are a valid entry point.
/**
* @package Joomla.Build
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

// Set flag that this is a parent file.
const _JEXEC = 1;

// Load system defines
Expand All @@ -14,8 +21,8 @@
require_once JPATH_BASE . '/includes/defines.php';
}

// Get the framework.
require_once JPATH_LIBRARIES . '/import.legacy.php';
// Get the Platform without legacy libraries.
require_once JPATH_LIBRARIES . '/import.php';

// Bootstrap the CMS libraries.
require_once JPATH_LIBRARIES . '/cms.php';
Expand All @@ -28,7 +35,10 @@
JFactory::getLanguage()->load('joomla', JPATH_ADMINISTRATOR, null, false, false);

/**
* Utility CLI to retrieve data via JMediawiki
* Utility CLI to retrieve the list of help screens from the docs wiki and create an index for the admin help view
*
* @package Joomla.Build
* @since 3.0
*/
class MediawikiCli extends JApplicationCli
{
Expand Down

0 comments on commit 822c9f7

Please sign in to comment.