* @param string $from -- return only sort keys from this item on
* @param string $until -- don't return keys after this point.
* @return string HTML output
- * @access private
+ * @private
*/
function doCategoryMagic( $from = '', $until = '' ) {
global $wgContLang,$wgUser, $wgCategoryMagicGallery, $wgCategoryPagingLimit;
* @param array $articles
* @param string $message
* @return string
- * @access private
+ * @private
*/
function formatCount( $articles, $message ) {
global $wgContLang;
* @param array $articles_start_char
* @param int $cutoff
* @return string
- * @access private
+ * @private
*/
function formatList( $articles, $articles_start_char, $cutoff = 6 ) {
if ( count ( $articles ) > $cutoff ) {
* @param array $articles
* @param array $articles_start_char
* @return string
- * @access private
+ * @private
*/
function columnList( $articles, $articles_start_char ) {
// divide list into three equal chunks
* @param array $articles
* @param array $articles_start_char
* @return string
- * @access private
+ * @private
*/
function shortList( $articles, $articles_start_char ) {
$r = '<h3>' . htmlspecialchars( $articles_start_char[0] ) . "</h3>\n";
* @param int $limit
* @param array $query - additional query options to pass
* @return string
- * @access private
+ * @private
*/
function pagingLinks( $title, $first, $last, $limit, $query = array() ) {
global $wgUser, $wgLang;
* Wrapper object for MediaWiki's localization functions,
* to be passed to the template engine.
*
- * @access private
+ * @private
* @package MediaWiki
*/
class MediaWiki_I18N {
*/
class SkinTemplate extends Skin {
/**#@+
- * @access private
+ * @private
*/
/**
* @param string $repository subdirectory where we keep template files
* @param string $cache_dir
* @return object
- * @access private
+ * @private
*/
function setupTemplate( $classname, $repository=false, $cache_dir=false ) {
return new $classname();
* initialize various variables and generate the template
*
* @param OutputPage $out
- * @access public
+ * @public
*/
function outputPage( &$out ) {
global $wgTitle, $wgArticle, $wgUser, $wgLang, $wgContLang, $wgOut;
* For the base class, assume strings all around.
*
* @param mixed $str
- * @access private
+ * @private
*/
function printOrError( &$str ) {
echo $str;
/**
* build array of urls for personal toolbar
* @return array
- * @access private
+ * @private
*/
function buildPersonalUrls() {
global $wgTitle, $wgShowIPinHeader;
/**
* an array of edit links by default used for the tabs
* @return array
- * @access private
+ * @private
*/
function buildContentActionUrls () {
global $wgContLang;
/**
* build array of common navigation links
* @return array
- * @access private
+ * @private
*/
function buildNavUrls () {
global $wgUseTrackbacks, $wgTitle, $wgArticle;
/**
* Generate strings used for xml 'id' names
* @return string
- * @access private
+ * @private
*/
function getNameSpaceKey () {
return $this->mTitle->getNamespaceKey();
}
/**
- * @access private
+ * @private
*/
function setupUserCss() {
$fname = 'SkinTemplate::setupUserCss';
}
/**
- * @access private
+ * @private
*/
function setupUserJs() {
$fname = 'SkinTemplate::setupUserJs';
* Code for extensions to hook into to provide per-page CSS, see
* extensions/PageCSS/PageCSS.php for an implementation of this.
*
- * @access private
+ * @private
*/
function setupPageCss() {
$fname = 'SkinTemplate::setupPageCss';
/**
* returns css with user-specific options
- * @access public
+ * @public
*/
function getUserStylesheet() {
}
/**
- * @access public
+ * @public
*/
function getUserJs() {
$fname = 'SkinTemplate::getUserJs';
*/
class QuickTemplate {
/**
- * @access public
+ * @public
*/
function QuickTemplate() {
$this->data = array();
}
/**
- * @access public
+ * @public
*/
function set( $name, $value ) {
$this->data[$name] = $value;
}
/**
- * @access public
+ * @public
*/
function setRef($name, &$value) {
$this->data[$name] =& $value;
}
/**
- * @access public
+ * @public
*/
function setTranslator( &$t ) {
$this->translator = &$t;
}
/**
- * @access public
+ * @public
*/
function execute() {
echo "Override this function.";
/**
- * @access private
+ * @private
*/
function text( $str ) {
echo htmlspecialchars( $this->data[$str] );
}
/**
- * @access private
+ * @private
*/
function html( $str ) {
echo $this->data[$str];
}
/**
- * @access private
+ * @private
*/
function msg( $str ) {
echo htmlspecialchars( $this->translator->translate( $str ) );
}
/**
- * @access private
+ * @private
*/
function msgHtml( $str ) {
echo $this->translator->translate( $str );
/**
* An ugly, ugly hack.
- * @access private
+ * @private
*/
function msgWiki( $str ) {
global $wgParser, $wgTitle, $wgOut;
}
/**
- * @access private
+ * @private
*/
function haveData( $str ) {
return $this->data[$str];
}
/**
- * @access private
+ * @private
*/
function haveMsg( $str ) {
$msg = $this->translator->translate( $str );