From: Antoine Musso Date: Sat, 10 Jun 2006 18:28:50 +0000 (+0000) Subject: having some fun with doxygen error log X-Git-Tag: 1.31.0-rc.0~56811 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=5a5cc201b17adf87602b487a8b385008495ef391;p=lhc%2Fweb%2Fwiklou.git having some fun with doxygen error log --- diff --git a/includes/MagicWord.php b/includes/MagicWord.php index e72e5bfff5..030b52801b 100644 --- a/includes/MagicWord.php +++ b/includes/MagicWord.php @@ -168,7 +168,7 @@ if ( ! defined( 'MEDIAWIKI_INSTALL' ) ) */ class MagicWord { /**#@+ - * @access private + * @private */ var $mId, $mSynonyms, $mCaseSensitive, $mRegex; var $mRegexStart, $mBaseRegex, $mVariableRegex; @@ -213,7 +213,7 @@ class MagicWord { /** * Preliminary initialisation - * @access private + * @private */ function initRegex() { #$variableClass = Title::legalChars(); @@ -422,7 +422,7 @@ class MagicWord { /** * Used in matchAndRemove() - * @access private + * @private **/ function pregRemoveAndRecord( $match ) { global $wgMagicFound; diff --git a/includes/Metadata.php b/includes/Metadata.php index d78ef66b23..af40ab212d 100644 --- a/includes/Metadata.php +++ b/includes/Metadata.php @@ -68,7 +68,7 @@ function wfCreativeCommonsRdf($article) { } /** - * @access private + * @private */ function rdfSetup() { global $wgOut, $_SERVER; @@ -87,7 +87,7 @@ function rdfSetup() { } /** - * @access private + * @private */ function dcPrologue($url) { global $wgOutputEncoding; @@ -104,7 +104,7 @@ function dcPrologue($url) { } /** - * @access private + * @private */ function dcEpilogue() { print " @@ -114,7 +114,7 @@ function dcEpilogue() { } /** - * @access private + * @private */ function dcBasics($article) { global $wgContLanguageCode, $wgSitename; @@ -146,7 +146,7 @@ function dcBasics($article) { } /** - * @access private + * @private */ function ccPrologue() { global $wgOutputEncoding; @@ -160,7 +160,7 @@ function ccPrologue() { } /** - * @access private + * @private */ function ccSubPrologue($type, $url) { $url = htmlspecialchars( $url ); @@ -168,14 +168,14 @@ function ccSubPrologue($type, $url) { } /** - * @access private + * @private */ function ccSubEpilogue($type) { echo " \n"; } /** - * @access private + * @private */ function ccLicense($terms) { @@ -202,21 +202,21 @@ function ccLicense($terms) { } /** - * @access private + * @private */ function ccTerm($term, $name) { print " \n"; } /** - * @access private + * @private */ function ccEpilogue() { echo "\n"; } /** - * @access private + * @private */ function dcElement($name, $value) { $value = htmlspecialchars( $value ); @@ -224,7 +224,7 @@ function dcElement($name, $value) { } /** - * @access private + * @private */ function dcDate($timestamp) { return substr($timestamp, 0, 4) . '-' @@ -233,14 +233,14 @@ function dcDate($timestamp) { } /** - * @access private + * @private */ function dcReallyFullUrl($title) { return $title->getFullURL(); } /** - * @access private + * @private */ function dcPageOrString($name, $page, $str) { $nt = Title::newFromText($page); @@ -253,14 +253,14 @@ function dcPageOrString($name, $page, $str) { } /** - * @access private + * @private */ function dcPage($name, $title) { dcUrl($name, dcReallyFullUrl($title)); } /** - * @access private + * @private */ function dcUrl($name, $url) { $url = htmlspecialchars( $url ); @@ -268,7 +268,7 @@ function dcUrl($name, $url) { } /** - * @access private + * @private */ function dcPerson($name, $id, $user_name='', $user_real_name='') { global $wgContLang; @@ -289,7 +289,7 @@ function dcPerson($name, $id, $user_name='', $user_real_name='') { /** * Takes an arg, for future enhancement with different rights for * different pages. - * @access private + * @private */ function dcRights($article) { @@ -307,7 +307,7 @@ function dcRights($article) { } /** - * @access private + * @private */ function ccGetTerms($url) { global $wgLicenseTerms; @@ -321,7 +321,7 @@ function ccGetTerms($url) { } /** - * @access private + * @private */ function getKnownLicenses() { diff --git a/includes/Namespace.php b/includes/Namespace.php index 54dba25c25..ab7511d03e 100644 --- a/includes/Namespace.php +++ b/includes/Namespace.php @@ -6,7 +6,7 @@ /** * Definitions of the NS_ constants are in Defines.php - * @access private + * @private */ $wgCanonicalNamespaceNames = array( NS_MEDIA => 'Media', diff --git a/includes/SearchEngine.php b/includes/SearchEngine.php index 0175210782..ae44e20a6a 100644 --- a/includes/SearchEngine.php +++ b/includes/SearchEngine.php @@ -48,7 +48,7 @@ class SearchEngine { * @static * @param string $term * @return Title - * @access private + * @private */ function getNearMatch( $term ) { # Exact match? No need to look further. @@ -187,7 +187,7 @@ class SearchEngine { * active database backend, and return a configured instance. * * @return SearchEngine - * @access private + * @private */ function create() { global $wgDBtype, $wgSearchType; diff --git a/includes/SearchMySQL.php b/includes/SearchMySQL.php index 80bddbddeb..1551595236 100644 --- a/includes/SearchMySQL.php +++ b/includes/SearchMySQL.php @@ -54,7 +54,7 @@ class SearchMySQL extends SearchEngine { /** * Return a partial WHERE clause to exclude redirects, if so set * @return string - * @access private + * @private */ function queryRedirect() { if( $this->showRedirects ) { @@ -67,7 +67,7 @@ class SearchMySQL extends SearchEngine { /** * Return a partial WHERE clause to limit the search to the given namespaces * @return string - * @access private + * @private */ function queryNamespaces() { $namespaces = implode( ',', $this->namespaces ); @@ -80,7 +80,7 @@ class SearchMySQL extends SearchEngine { /** * Return a LIMIT clause to limit results on the query. * @return string - * @access private + * @private */ function queryLimit() { return $this->db->limitResult( '', $this->limit, $this->offset ); @@ -90,7 +90,7 @@ class SearchMySQL extends SearchEngine { * Does not do anything for generic search engine * subclasses may define this though * @return string - * @access private + * @private */ function queryRanking( $filteredTerm, $fulltext ) { return ''; @@ -101,7 +101,7 @@ class SearchMySQL extends SearchEngine { * The guts shoulds be constructed in queryMain() * @param string $filteredTerm * @param bool $fulltext - * @access private + * @private */ function getQuery( $filteredTerm, $fulltext ) { return $this->queryMain( $filteredTerm, $fulltext ) . ' ' . @@ -130,7 +130,7 @@ class SearchMySQL extends SearchEngine { * @param string $filteredTerm * @param bool $fulltext * @return string - * @access private + * @private */ function queryMain( $filteredTerm, $fulltext ) { $match = $this->parseQuery( $filteredTerm, $fulltext ); diff --git a/includes/SpecialImport.php b/includes/SpecialImport.php index f814efab0c..07ba40a415 100644 --- a/includes/SpecialImport.php +++ b/includes/SpecialImport.php @@ -328,7 +328,7 @@ class WikiImporter { /** * Default per-revision callback, performs the import. * @param WikiRevision $revision - * @access private + * @private */ function importRevision( &$revision ) { $dbw =& wfGetDB( DB_MASTER ); @@ -338,7 +338,7 @@ class WikiImporter { /** * Alternate per-revision callback, for debugging. * @param WikiRevision $revision - * @access private + * @private */ function debugRevisionHandler( &$revision ) { $this->debug( "Got revision:" ); @@ -356,7 +356,7 @@ class WikiImporter { /** * Notify the callback function when a new is reached. * @param Title $title - * @access private + * @private */ function pageCallback( $title ) { if( is_callable( $this->mPageCallback ) ) { diff --git a/includes/SpecialLog.php b/includes/SpecialLog.php index f67330677a..dae0ce7afa 100644 --- a/includes/SpecialLog.php +++ b/includes/SpecialLog.php @@ -56,7 +56,7 @@ class LogReader { /** * Basic setup and applies the limiting factors from the WebRequest object. * @param WebRequest $request - * @access private + * @private */ function setupQuery( $request ) { $page = $this->db->tableName( 'page' ); @@ -78,7 +78,7 @@ class LogReader { /** * Set the log reader to return only entries of the given type. * @param string $type A log type ('upload', 'delete', etc) - * @access private + * @private */ function limitType( $type ) { if( empty( $type ) ) { @@ -92,7 +92,7 @@ class LogReader { /** * Set the log reader to return only entries by the given user. * @param string $name (In)valid user name - * @access private + * @private */ function limitUser( $name ) { if ( $name == '' ) @@ -116,7 +116,7 @@ class LogReader { * Set the log reader to return only entries affecting the given page. * (For the block and rights logs, this is a user page.) * @param string $page Title name as text - * @access private + * @private */ function limitTitle( $page ) { $title = Title::newFromText( $page ); @@ -133,7 +133,7 @@ class LogReader { * Set the log reader to return only entries in a given time range. * @param string $time Timestamp of one endpoint * @param string $direction either ">=" or "<=" operators - * @access private + * @private */ function limitTime( $time, $direction ) { # Direction should be a comparison operator @@ -147,7 +147,7 @@ class LogReader { /** * Build an SQL query from all the set parameters. * @return string the SQL query - * @access private + * @private */ function getQuery() { $logging = $this->db->tableName( "logging" ); @@ -299,7 +299,7 @@ class LogViewer { /** * @param Object $s a single row from the result set * @return string Formatted HTML list item - * @access private + * @private */ function logLine( $s ) { global $wgLang; @@ -339,7 +339,7 @@ class LogViewer { /** * @param OutputPage &$out where to send output - * @access private + * @private */ function showHeader( &$out ) { $type = $this->reader->queryType(); @@ -351,7 +351,7 @@ class LogViewer { /** * @param OutputPage &$out where to send output - * @access private + * @private */ function showOptions( &$out ) { global $wgScript; @@ -369,7 +369,7 @@ class LogViewer { /** * @return string Formatted HTML - * @access private + * @private */ function getTypeMenu() { $out = "