having some fun with doxygen error log
authorAntoine Musso <hashar@users.mediawiki.org>
Sat, 10 Jun 2006 18:28:50 +0000 (18:28 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sat, 10 Jun 2006 18:28:50 +0000 (18:28 +0000)
12 files changed:
includes/MagicWord.php
includes/Metadata.php
includes/Namespace.php
includes/SearchEngine.php
includes/SearchMySQL.php
includes/SpecialImport.php
includes/SpecialLog.php
includes/SpecialWhatlinkshere.php
includes/Title.php
languages/LanguageConverter.php
languages/LanguageEt.php
languages/LanguageLi.php

index e72e5bf..030b528 100644 (file)
@@ -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;
index d78ef66..af40ab2 100644 (file)
@@ -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 "  </cc:{$type}>\n";
 }
 
 /**
- * @access private
+ * @private
  */
 function ccLicense($terms) {
 
@@ -202,21 +202,21 @@ function ccLicense($terms) {
 }
 
 /**
- * @access private
+ * @private
  */
 function ccTerm($term, $name) {
        print "    <cc:{$term} rdf:resource=\"http://web.resource.org/cc/{$name}\" />\n";
 }
 
 /**
- * @access private
+ * @private
  */
 function ccEpilogue() {
        echo "</rdf:RDF>\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() {
 
index 54dba25..ab7511d 100644 (file)
@@ -6,7 +6,7 @@
 
 /**
  * Definitions of the NS_ constants are in Defines.php
- * @access private
+ * @private
  */
 $wgCanonicalNamespaceNames = array(
        NS_MEDIA            => 'Media',
index 0175210..ae44e20 100644 (file)
@@ -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;
index 80bddbd..1551595 100644 (file)
@@ -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 );
index f814efa..07ba40a 100644 (file)
@@ -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 <page> is reached.
         * @param Title $title
-        * @access private
+        * @private
         */
        function pageCallback( $title ) {
                if( is_callable( $this->mPageCallback ) ) {
index f673306..dae0ce7 100644 (file)
@@ -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 = "<select name='type'>\n";
@@ -384,7 +384,7 @@ class LogViewer {
 
        /**
         * @return string Formatted HTML
-        * @access private
+        * @private
         */
        function getUserInput() {
                $user = htmlspecialchars( $this->reader->queryUser() );
@@ -393,7 +393,7 @@ class LogViewer {
 
        /**
         * @return string Formatted HTML
-        * @access private
+        * @private
         */
        function getTitleInput() {
                $title = htmlspecialchars( $this->reader->queryTitle() );
@@ -402,7 +402,7 @@ class LogViewer {
 
        /**
         * @param OutputPage &$out where to send output
-        * @access private
+        * @private
         */
        function showPrevNext( &$out ) {
                global $wgContLang,$wgRequest;
index 7f072bd..cedf604 100644 (file)
@@ -70,7 +70,7 @@ class WhatLinksHerePage {
         * @param int       $limit      Number of entries to display
         * @param Title     $from       Display from this article ID
         * @param string    $dir        'next' or 'prev', whether $fromTitle is the start or end of the list
-        * @access private
+        * @private
         */
        function showIndirectLinks( $level, $target, $limit, $from = 0, $dir = 'next' ) {
                global $wgOut;
index 75acdec..de971d5 100644 (file)
@@ -38,7 +38,7 @@ class Title {
         */
 
         /**#@+
-        * @access private
+        * @private
         */
 
        var $mTextform;           # Text form (spaces not underscores) of the main part
@@ -61,7 +61,7 @@ class Title {
 
        /**
         * Constructor
-        * @access private
+        * @private
         */
        /* private */ function Title() {
                $this->mInterwiki = $this->mUrlform =
@@ -996,7 +996,7 @@ class Title {
         * Can $wgUser perform $action this page?
         * @param string $action action that permission needs to be checked for
         * @return boolean
-        * @access private
+        * @private
         */
        function userCan($action) {
                $fname = 'Title::userCan';
@@ -1350,7 +1350,7 @@ class Title {
         *
         * @param string $name the text
         * @return string the prefixed text
-        * @access private
+        * @private
         */
        /* private */ function prefix( $name ) {
                global $wgContLang;
@@ -1374,7 +1374,7 @@ class Title {
         * namespace prefixes, sets the other forms, and canonicalizes
         * everything.
         * @return bool true on success
-        * @access private
+        * @private
         */
        /* private */ function secureAndSplit() {
                global $wgContLang, $wgLocalInterwiki, $wgCapitalLinks;
@@ -1808,7 +1808,7 @@ class Title {
         *
         * @param Title &$nt the page to move to, which should currently
         *      be a redirect
-        * @access private
+        * @private
         */
        function moveOverExistingRedirect( &$nt, $reason = '' ) {
                global $wgUseSquid, $wgMwRedir;
@@ -1886,7 +1886,7 @@ class Title {
        /**
         * Move page to non-existing title.
         * @param Title &$nt the new Title
-        * @access private
+        * @private
         */
        function moveToNewTitle( &$nt, $reason = '' ) {
                global $wgUseSquid;
index 6d92ead..e9ce1db 100644 (file)
@@ -64,7 +64,7 @@ class LanguageConverter {
         *
         * @param string $v the language code of the variant
         * @return string the code of the fallback language or false if there is no fallback
-     * @access private
+     * @private
        */
        function getVariantFallback($v) {
                return $this->mVariantFallbacks[$v];
@@ -120,7 +120,7 @@ class LanguageConverter {
      * @param string $text the text to be converted
      * @param string $toVariant the target language code
      * @return string the converted text
-     * @access private
+     * @private
      */
        function autoConvert($text, $toVariant=false) {
                $fname="LanguageConverter::autoConvert";
@@ -166,7 +166,7 @@ class LanguageConverter {
      *
      * @param string $text the text to be converted
      * @return array of string
-     * @access private
+     * @private
      */
        function autoConvertToAllVariants($text) {
                $fname="LanguageConverter::autoConvertToAllVariants";
@@ -342,7 +342,7 @@ class LanguageConverter {
         * parse the manually marked conversion rule
         * @param string $rule the text of the rule
         * @return array of the translation in each variant
-        * @access private
+        * @private
         */
        function parseManualRule($rules, $flags=array()) {
 
@@ -425,7 +425,7 @@ class LanguageConverter {
        /**
      * a write lock to the cache
      *
-     * @access private
+     * @private
      */
        function lockCache() {
                global $wgMemc;
@@ -441,7 +441,7 @@ class LanguageConverter {
        /**
      * unlock cache
      *
-     * @access private
+     * @private
      */
        function unlockCache() {
                global $wgMemc;
@@ -453,7 +453,7 @@ class LanguageConverter {
      * Load default conversion tables
      * This method must be implemented in derived class
      *
-     * @access private
+     * @private
      */
        function loadDefaultTables() {
                $name = get_class($this);
@@ -462,7 +462,7 @@ class LanguageConverter {
 
        /**
      * load conversion tables either from the cache or the disk
-     * @access private
+     * @private
      */
        function loadTables($fromcache=true) {
                global $wgMemc;
@@ -501,7 +501,7 @@ class LanguageConverter {
     /**
      * Reload the conversion tables
      *
-     * @access private
+     * @private
      */
        function reloadTables() {
                if($this->mTables)
@@ -525,7 +525,7 @@ class LanguageConverter {
      * to make the tables more manageable, subpages are allowed
      * and will be parsed recursively if $recursive=true
      *
-     * @access private
+     * @private
         */
        function parseCachedTable($code, $subpage='', $recursive=true) {
                global $wgMessageCache;
@@ -629,7 +629,7 @@ class LanguageConverter {
        /**
      * hook to refresh the cache of conversion tables when
      * MediaWiki:conversiontable* is updated
-     * @access private
+     * @private
        */
        function OnArticleSaveComplete($article, $user, $text, $summary, $isminor, $iswatch, $section) {
                $titleobj = $article->getTitle();
index 5ae62ab..76714a5 100644 (file)
@@ -25,7 +25,7 @@ $wgNamespaceNamesEt = array(
        NS_CATEGORY_TALK    => 'Kategooria_arutelu'
 ) + $wgNamespaceNamesEn;
 
-/* private */ $wgSkinNamesEt = array(
+/* @private */ $wgSkinNamesEt = array(
        'standard' => "Standard",
        'nostalgia' => "Nostalgia",
        'cologneblue' => "Kölni sinine",
@@ -38,7 +38,7 @@ $wgNamespaceNamesEt = array(
 );
 
 
-/* private */ $wgDateFormatsEt = array(
+/* @private */ $wgDateFormatsEt = array(
        'Eelistus puudub',
        '15.01.2001, kell 16.12',
        '15. jaanuar 2001, kell 16.12',
@@ -47,14 +47,14 @@ $wgNamespaceNamesEt = array(
 );
 
 
-/* private */ $wgQuickbarSettingsEt = array(
+/* @private */ $wgQuickbarSettingsEt = array(
        "Ei_ole", "Püsivalt_vasakul", "Püsivalt paremal", "Ujuvalt vasakul"
 );
 
 #Lisasin eestimaised poed, aga võõramaiseid ei julenud kustutada.
 
 
-/* private */ $wgBookstoreListEt = array(
+/* @private */ $wgBookstoreListEt = array(
        "Apollo" => "http://www.apollo.ee/search.php?keyword=$1&search=OTSI",
        "minu Raamat" => "http://www.raamat.ee/advanced_search_result.php?keywords=$1",
        "Raamatukoi" => "http://www.raamatukoi.ee/cgi-bin/index?valik=otsing&paring=$1",
@@ -65,7 +65,7 @@ $wgNamespaceNamesEt = array(
 );
 
 
-/* private */ $wgMagicWordsEt = array(
+/* @private */ $wgMagicWordsEt = array(
 #   ID                                 CASE  SYNONYMS
        MAG_REDIRECT             => array( 0,    '#redirect', "#suuna"    ),
        MAG_NOTOC                => array( 0,    '__NOTOC__'              ),
index e79df83..85d87fe 100644 (file)
@@ -5,7 +5,7 @@
   * @subpackage Language
   */
 /**
- * @access private
+ * @private
  */
 $wgNamespaceNamesLi = array(
        NS_MEDIA                        => 'Media',