* s~ +$~~
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sat, 7 Jan 2006 13:09:30 +0000 (13:09 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sat, 7 Jan 2006 13:09:30 +0000 (13:09 +0000)
172 files changed:
config/index.php
img_auth.php
includes/Article.php
includes/AuthPlugin.php
includes/BagOStuff.php
includes/Block.php
includes/CacheManager.php
includes/Database.php
includes/DatabasePostgreSQL.php
includes/DefaultSettings.php
includes/Defines.php
includes/DifferenceEngine.php
includes/EditPage.php
includes/Exif.php
includes/Export.php
includes/ExternalEdit.php
includes/ExternalStore.php
includes/ExternalStoreDB.php
includes/ExternalStoreHttp.php
includes/Feed.php
includes/GlobalFunctions.php
includes/Group.php
includes/HTMLForm.php
includes/HistoryBlob.php
includes/Hooks.php
includes/HttpFunctions.php
includes/Image.php
includes/ImageGallery.php
includes/Linker.php
includes/LinksUpdate.php
includes/MacBinary.php
includes/MagicWord.php
includes/Math.php
includes/MessageCache.php
includes/MimeMagic.php
includes/OutputPage.php
includes/Parser.php
includes/ParserXML.php
includes/ProfilerSimple.php
includes/Profiling.php
includes/ProtectionForm.php
includes/ProxyTools.php
includes/RawPage.php
includes/Sanitizer.php
includes/SearchMySQL.php
includes/SearchMySQL4.php
includes/SearchTsearch2.php
includes/SiteConfiguration.php
includes/Skin.php
includes/SkinTemplate.php
includes/SpecialAllpages.php
includes/SpecialBlockip.php
includes/SpecialBlockme.php
includes/SpecialCategories.php
includes/SpecialDeadendpages.php
includes/SpecialDisambiguations.php
includes/SpecialDoubleRedirects.php
includes/SpecialEmailuser.php
includes/SpecialExport.php
includes/SpecialGroups.php
includes/SpecialImport.php
includes/SpecialIpblocklist.php
includes/SpecialListusers.php
includes/SpecialLongpages.php
includes/SpecialMaintenance.php
includes/SpecialMostlinkedcategories.php
includes/SpecialMostrevisions.php
includes/SpecialMovepage.php
includes/SpecialPopularpages.php
includes/SpecialPreferences.php
includes/SpecialPrefixindex.php
includes/SpecialRecentchangeslinked.php
includes/SpecialSearch.php
includes/SpecialUncategorizedpages.php
includes/SpecialUnusedimages.php
includes/SpecialUploadMogile.php
includes/SpecialUserlogin.php
includes/SpecialUserrights.php
includes/SpecialValidate.php
includes/SpecialVersion.php
includes/SpecialWatchlist.php
includes/SpecialWhatlinkshere.php
includes/SquidUpdate.php
includes/StreamFile.php
includes/Title.php
includes/User.php
includes/WebRequest.php
includes/Wiki.php
includes/WikiError.php
includes/ZhClient.php
includes/ZhConversion.php
includes/memcached-client.php
includes/normal/CleanUpTest.php
includes/normal/RandomTest.php
includes/normal/Utf8Test.php
includes/normal/UtfNormal.php
includes/normal/UtfNormalBench.php
includes/normal/UtfNormalGenerate.php
includes/normal/UtfNormalTest.php
includes/normal/UtfNormalUtil.php
includes/templates/Userlogin.php
languages/Language.php
languages/LanguageBg.php
languages/LanguageBr.php
languages/LanguageCs.php
languages/LanguageEl.php
languages/LanguageEs.php
languages/LanguageFr.php
languages/LanguageHe.php
languages/LanguageHr.php
languages/LanguageJa.php
languages/LanguageKo.php
languages/LanguageLt.php
languages/LanguageNn.php
languages/LanguagePt.php
languages/LanguageRu.php
languages/LanguageSq.php
languages/LanguageSr.php
languages/LanguageTr.php
languages/LanguageUtf8.php
languages/LanguageVi.php
languages/LanguageWa.php
maintenance/FiveUpgrade.inc
maintenance/InitialiseMessages.inc
maintenance/addwiki.php
maintenance/attribute.php
maintenance/backup.inc
maintenance/cleanupCaps.php
maintenance/cleanupDupes.inc
maintenance/cleanupDupes.php
maintenance/cleanupTitles.php
maintenance/convertLinks.inc
maintenance/convertUtf8.php
maintenance/diffLanguage.php
maintenance/dumpBackup.php
maintenance/dumpHTML.inc
maintenance/dumpHTML.php
maintenance/dumpLinks.php
maintenance/dumpReplayLog.php
maintenance/dumpTextPass.php
maintenance/eval.php
maintenance/generateSitemap.php
maintenance/importLogs.inc
maintenance/importPhase2.php
maintenance/lang2po.php
maintenance/moveBatch.php
maintenance/mwdocgen.php
maintenance/namespaceDupes.php
maintenance/orphans.php
maintenance/ourusers.php
maintenance/parserTests.inc
maintenance/parserTestsParserHook.php
maintenance/rebuildImages.php
maintenance/rebuildInterwiki.inc
maintenance/rebuildtextindex.php
maintenance/refreshLinks.inc
maintenance/removeUnusedAccounts.inc
maintenance/splitLanguageFiles.inc
maintenance/splitLanguageFiles.php
maintenance/storage/compressOld.inc
maintenance/storage/compressOld.php
maintenance/storage/moveToExternal.php
maintenance/storage/resolveStubs.php
maintenance/updateSearchIndex.inc
maintenance/updateSearchIndex.php
maintenance/updaters.inc
maintenance/userDupes.inc
maintenance/userDupes.php
skins/CologneBlue.php
skins/MonoBook.php
skins/disabled/HTMLDump.php
thumb.php

index 7d83a13..e7de01c 100644 (file)
@@ -30,7 +30,7 @@ header( "Content-type: text/html; charset=utf-8" );
        <title>MediaWiki installation</title>
        <style type="text/css">
 
-               @import "../skins/monobook/main.css"; 
+               @import "../skins/monobook/main.css";
 
                .env-check {
                        font-size: 90%;
@@ -1281,7 +1281,7 @@ function importRequest( $name, $default = "" ) {
 $radioCount = 0;
 
 function aField( &$conf, $field, $text, $type = "text", $value = "" ) {
-       global $radioCount; 
+       global $radioCount;
        if( $type != "" ) {
                $xtype = "type=\"$type\"";
        } else {
index 341b7e2..864b056 100644 (file)
@@ -1,11 +1,11 @@
 <?php
 /**
  * Image download authorisation script
- * 
+ *
  * To use, in LocalSettings.php set $wgUploadDirectory to point to a non-public
  * directory, and $wgUploadPath to point to this file. Also set $wgWhitelistRead
  * to an array of pages you want everyone to be able to access. Your server must
- * support PATH_INFO, CGI-based configurations generally don't. 
+ * support PATH_INFO, CGI-based configurations generally don't.
  */
 # Valid web server entry point, enable includes
 define( 'MEDIAWIKI', true );
@@ -49,7 +49,7 @@ wfStreamFile( $filename );
 
 function wfForbidden() {
        header( 'HTTP/1.0 403 Forbidden' );
-       print 
+       print
 "<html><body>
 <h1>Access denied</h1>
 <p>You need to log in to access files on this server</p>
index 2d01279..91ab894 100644 (file)
@@ -1018,7 +1018,7 @@ class Article {
                        $msg = $wgOut->parse( wfMsg( 'confirm_purge' ) );
                        $action = $this->mTitle->escapeLocalURL( 'action=purge' );
                        $button = htmlspecialchars( wfMsg( 'confirm_purge_button' ) );
-                       $msg = str_replace( '$1', 
+                       $msg = str_replace( '$1',
                                "<form method=\"post\" action=\"$action\">\n" .
                                "<input type=\"submit\" name=\"submit\" value=\"$button\" />\n" .
                                "</form>\n", $msg );
index bc15f30..c085d21 100644 (file)
@@ -4,17 +4,17 @@
  */
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 8ff252f..b9651fa 100644 (file)
@@ -424,7 +424,7 @@ class MediaWikiBagOStuff extends SqlBagOStuff {
        function getTableName() {
                if ( !$this->tableInitialised ) {
                        $dbw =& wfGetDB( DB_MASTER );
-                       /* This is actually a hack, we should be able 
+                       /* This is actually a hack, we should be able
                           to use Language classes here... or not */
                        if (!$dbw)
                                die("Could not connect to database");
index 8277746..d04f565 100644 (file)
@@ -67,7 +67,7 @@ class Block
        /**
         * Get the DB object and set the reference parameter to the query options
         */
-       function &getDBOptions( &$options ) 
+       function &getDBOptions( &$options )
        {
                global $wgAntiLockFlags;
                if ( $this->mForUpdate || $this->mFromMaster ) {
@@ -162,7 +162,7 @@ class Block
        }
 
        /**
-        * Search the database for any range blocks matching the given address, and 
+        * Search the database for any range blocks matching the given address, and
         * load the row if one is found.
         */
        function loadRange( $address, $killExpired = true )
@@ -196,7 +196,7 @@ class Block
                        if ( !$killExpired || !$this->deleteIfExpired() ) {
                                # No, return true
                                $success = true;
-                       } 
+                       }
                }
                
                $db->freeResult( $res );
index 9f8abc1..90b9677 100644 (file)
@@ -14,14 +14,14 @@ require_once( 'Title.php' );
  * Handles talking to the file cache, putting stuff in and taking it back out.
  * Mostly called from Article.php, also from DatabaseFunctions.php for the
  * emergency abort/fallback to cache.
- * 
+ *
  * Global options that affect this module:
  * $wgCachePages
  * $wgCacheEpoch
  * $wgUseFileCache
  * $wgFileCacheDirectory
  * $wgUseGzip
- * @package MediaWiki 
+ * @package MediaWiki
  */
 class CacheManager {
        var $mTitle, $mFileCache;
index a0fce03..326b229 100644 (file)
@@ -377,8 +377,8 @@ class Database {
                        # logging size most of the time. The substr is really just a sanity check.
 
                        # Who's been wasting my precious column space? -- TS
-                       #$profName = 'query: ' . $fname . ' ' . substr( Database::generalizeSQL( $sql ), 0, 255 ); 
-                       $profName = 'query: ' . substr( Database::generalizeSQL( $sql ), 0, 255 ); 
+                       #$profName = 'query: ' . $fname . ' ' . substr( Database::generalizeSQL( $sql ), 0, 255 );
+                       $profName = 'query: ' . substr( Database::generalizeSQL( $sql ), 0, 255 );
 
                        wfProfileIn( 'Database::query' );
                        wfProfileIn( $profName );
@@ -752,7 +752,7 @@ class Database {
                        $tailOpts .= " ORDER BY {$options['ORDER BY']}";
                }
                if (isset($options['LIMIT'])) {
-                       $tailOpts .= $this->limitResult('', $options['LIMIT'], 
+                       $tailOpts .= $this->limitResult('', $options['LIMIT'],
                                isset($options['OFFSET']) ? $options['OFFSET'] : false);
                }
                if ( is_numeric( array_search( 'FOR UPDATE', $options ) ) ) {
@@ -1038,7 +1038,7 @@ class Database {
                $opts = array();
                if ( in_array( 'LOW_PRIORITY', $options ) )
                        $opts[] = $this->lowPriorityOption();
-               if ( in_array( 'IGNORE', $options ) ) 
+               if ( in_array( 'IGNORE', $options ) )
                        $opts[] = 'IGNORE';
                return implode(' ', $opts);
        }
index bb88dcb..d7e3853 100644 (file)
@@ -2,8 +2,8 @@
 
 /**
  * This is PostgreSQL database abstraction layer.
- * 
- * As it includes more generic version for DB functions, 
+ *
+ * As it includes more generic version for DB functions,
  * than MySQL ones, some of them should be moved to parent
  * Database class.
  *
@@ -26,13 +26,13 @@ class DatabasePgsql extends Database {
        var $mInsertId = NULL;
        var $mLastResult = NULL;
 
-       function DatabasePgsql($server = false, $user = false, $password = false, $dbName = false, 
+       function DatabasePgsql($server = false, $user = false, $password = false, $dbName = false,
                $failFunction = false, $flags = 0, $tablePrefix = 'get from global' )
        {
                Database::Database( $server, $user, $password, $dbName, $failFunction, $flags, $tablePrefix );
        }
 
-       /* static */ function newFromParams( $server = false, $user = false, $password = false, $dbName = false, 
+       /* static */ function newFromParams( $server = false, $user = false, $password = false, $dbName = false,
                $failFunction = false, $flags = 0, $tablePrefix = 'get from global' )
        {
                return new DatabasePgsql( $server, $user, $password, $dbName, $failFunction, $flags, $tablePrefix );
@@ -70,7 +70,7 @@ class DatabasePgsql extends Database {
                                wfDebug( "DB connection error\n" );
                                wfDebug( "Server: $server, Database: $dbName, User: $user, Password: " . substr( $password, 0, 3 ) . "...\n" );
                                wfDebug( $this->lastError()."\n" );
-                       } else { 
+                       } else {
                                $this->setSchema();
                                $this->mOpened = true;
                        }
@@ -127,7 +127,7 @@ class DatabasePgsql extends Database {
        }
 
        function numRows( $res ) {
-               @$n = pg_num_rows( $res ); 
+               @$n = pg_num_rows( $res );
                if( pg_last_error($this->mConn) ) {
                        wfDebugDieBacktrace( 'SQL error: ' . htmlspecialchars( pg_last_error($this->mConn) ) );
                }
@@ -139,7 +139,7 @@ class DatabasePgsql extends Database {
        /**
         * This must be called after nextSequenceVal
         */
-       function insertId() { 
+       function insertId() {
                return $this->mInsertId;
        }
 
@@ -147,8 +147,8 @@ class DatabasePgsql extends Database {
        function lastError() { return pg_last_error(); }
        function lastErrno() { return 1; }
 
-       function affectedRows() { 
-               return pg_affected_rows( $this->mLastResult ); 
+       function affectedRows() {
+               return pg_affected_rows( $this->mLastResult );
        }
        
        /**
@@ -176,7 +176,7 @@ class DatabasePgsql extends Database {
                $res = $this->query( $sql, $fname );
                if ( !$res )
                        return NULL;
-               while ($row = $this->fetchObject( $res )) 
+               while ($row = $this->fetchObject( $res ))
                        return true;
                return false;
                
@@ -201,12 +201,12 @@ class DatabasePgsql extends Database {
        function insert( $table, $a, $fname = 'Database::insert', $options = array() ) {
                # PostgreSQL doesn't support options
                # We have a go at faking one of them
-               # TODO: DELAYED, LOW_PRIORITY 
+               # TODO: DELAYED, LOW_PRIORITY
 
                if ( !is_array($options))
                        $options = array($options);
 
-               if ( in_array( 'IGNORE', $options ) ) 
+               if ( in_array( 'IGNORE', $options ) )
                        $oldIgnore = $this->ignoreErrors( true );
 
                # IGNORE is performed using single-row inserts, ignoring errors in each
@@ -221,7 +221,7 @@ class DatabasePgsql extends Database {
                $this->ignoreErrors( $oldIgnore );
                $retVal = true;
 
-               if ( in_array( 'IGNORE', $options ) ) 
+               if ( in_array( 'IGNORE', $options ) )
                        $this->ignoreErrors( $oldIgnore );
 
                return $retVal;
@@ -277,11 +277,11 @@ class DatabasePgsql extends Database {
        # REPLACE query wrapper
        # PostgreSQL simulates this with a DELETE followed by INSERT
        # $row is the row to insert, an associative array
-       # $uniqueIndexes is an array of indexes. Each element may be either a 
+       # $uniqueIndexes is an array of indexes. Each element may be either a
        # field name or an array of field names
        #
-       # It may be more efficient to leave off unique indexes which are unlikely to collide. 
-       # However if you do this, you run the risk of encountering errors which wouldn't have 
+       # It may be more efficient to leave off unique indexes which are unlikely to collide.
+       # However if you do this, you run the risk of encountering errors which wouldn't have
        # occurred in MySQL
        function replace( $table, $uniqueIndexes, $rows, $fname = 'Database::replace' ) {
                $table = $this->tableName( $table );
@@ -310,7 +310,7 @@ class DatabasePgsql extends Database {
                                        if ( is_array( $index ) ) {
                                                $first2 = true;
                                                foreach ( $index as $col ) {
-                                                       if ( $first2 ) { 
+                                                       if ( $first2 ) {
                                                                $first2 = false;
                                                        } else {
                                                                $sql .= ' AND ';
@@ -353,8 +353,8 @@ class DatabasePgsql extends Database {
        function textFieldSize( $table, $field ) {
                $table = $this->tableName( $table );
                $sql = "SELECT t.typname as ftype,a.atttypmod as size
-                       FROM pg_class c, pg_attribute a, pg_type t 
-                       WHERE relname='$table' AND a.attrelid=c.oid AND 
+                       FROM pg_class c, pg_attribute a, pg_type t
+                       WHERE relname='$table' AND a.attrelid=c.oid AND
                                a.atttypid=t.oid and a.attname='$field'";
                $res =$this->query($sql);
                $row=$this->fetchObject($res);
index 7a38a50..e57abfa 100644 (file)
@@ -133,14 +133,14 @@ $wgUploadBaseUrl    = "";
  *  +         Doesn't work with path to query rewrite rules, corrupted by apache
  *  ?         Enabled by default, but doesn't work with path to PATH_INFO rewrites
  *
- * All three of these punctuation problems can be avoided by using an alias, instead of a 
+ * All three of these punctuation problems can be avoided by using an alias, instead of a
  * rewrite rule of either variety.
  *
- * The problem with % is that when using a path to query rewrite rule, URLs are 
- * double-unescaped: once by Apache's path conversion code, and again by PHP. So 
- * %253F, for example, becomes "?". Our code does not double-escape to compensate 
- * for this, indeed double escaping would break if the double-escaped title was 
- * passed in the query string rather than the path. This is a minor security issue 
+ * The problem with % is that when using a path to query rewrite rule, URLs are
+ * double-unescaped: once by Apache's path conversion code, and again by PHP. So
+ * %253F, for example, becomes "?". Our code does not double-escape to compensate
+ * for this, indeed double escaping would break if the double-escaped title was
+ * passed in the query string rather than the path. This is a minor security issue
  * because articles can be created such that they are hard to view or edit.
  *
  * Theoretically 0x80-0x9F of ISO 8859-1 should be disallowed, but
@@ -462,7 +462,7 @@ $wgSharedDB = null;
 #   max lag:     (optional) Maximum replication lag before a slave will taken out of rotation
 #   max threads: (optional) Maximum number of running threads
 #
-#   These and any other user-defined properties will be assigned to the mLBInfo member 
+#   These and any other user-defined properties will be assigned to the mLBInfo member
 #   variable of the Database object.
 #
 # Leave at false to use the single-server variables above
@@ -677,7 +677,7 @@ $wgDebugDumpSql         = false;
 
 /**
  * Set to an array of log group keys to filenames.
- * If set, wfDebugLog() output for that group will go to that file instead 
+ * If set, wfDebugLog() output for that group will go to that file instead
  * of the regular $wgDebugLogFile. Useful for enabling selective logging
  * in production.
  */
@@ -737,11 +737,11 @@ $wgBlockAllowsUTEdit    = false; # Blocks allow users to edit their own user tal
 
 # Pages anonymous user may see as an array, e.g.:
 # array ( "Main Page", "Special:Userlogin", "Wikipedia:Help");
-# NOTE: This will only work if $wgGroupPermissions['*']['read'] 
+# NOTE: This will only work if $wgGroupPermissions['*']['read']
 # is false -- see below. Otherwise, ALL pages are accessible,
 # regardless of this setting.
 # Also note that this will only protect _pages in the wiki_.
-# Uploaded files will remain readable. Make your upload 
+# Uploaded files will remain readable. Make your upload
 # directory name unguessable, or use .htaccess to protect it.
 $wgWhitelistRead = false;      
 
@@ -752,9 +752,9 @@ $wgWhitelistRead = false;
  * combined with the permissions of all groups that a given user is listed
  * in in the user_groups table.
  *
- * Functionality to make pages inaccessible has not been extensively tested 
+ * Functionality to make pages inaccessible has not been extensively tested
  * for security. Use at your own risk!
- * 
+ *
  * This replaces wgWhitelistAccount and wgWhitelistEdit
  */
 $wgGroupPermissions = array();
@@ -999,12 +999,12 @@ $wgDisableCookieCheck = false;
 /**  Whether to allow inline image pointing to other websites */
 $wgAllowExternalImages = true;
 
-/** If the above is false, you can specify an exception here. Image URLs 
+/** If the above is false, you can specify an exception here. Image URLs
   * that start with this string are then rendered, while all others are not.
   * You can use this to set up a trusted, simple repository of images.
   *
-  * Example: 
-  * $wgAllowExternalImagesFrom = 'http://127.0.0.1/'; 
+  * Example:
+  * $wgAllowExternalImagesFrom = 'http://127.0.0.1/';
   */
 $wgAllowExternalImagesFrom = '';
 
@@ -1092,8 +1092,8 @@ $wgUseDumbLinkUpdate = false;
  *   ALF_PRELOAD_EXISTENCE
  *       Preload cur_id during replaceLinkHolders
  *   ALF_NO_LINK_LOCK
- *       Don't use locking reads when updating the link table. This is 
- *       necessary for wikis with a high edit rate for performance 
+ *       Don't use locking reads when updating the link table. This is
+ *       necessary for wikis with a high edit rate for performance
  *       reasons, but may cause link table inconsistency
  *   ALF_NO_BLOCK_LOCK
  *       As for ALF_LINK_LOCK, this flag is a necessity for high-traffic
@@ -1220,9 +1220,9 @@ $wgSVGConverter = 'ImageMagick';
 $wgSVGConverterPath = '';
 /** Don't scale a SVG larger than this unless its native size is larger */
 $wgSVGMaxSize = 1024;
-/** 
- * Don't thumbnail an image if it will use too much working memory 
- * Default is 50 MB if decompressed to RGBA form, which corresponds to 
+/**
+ * Don't thumbnail an image if it will use too much working memory
+ * Default is 50 MB if decompressed to RGBA form, which corresponds to
  * 12.5 million pixels or 3500x3500
  */
 $wgMaxImageArea = 1.25e7;
index 69a7cdb..68c00e0 100644 (file)
@@ -108,7 +108,7 @@ define( 'CACHE_ACCEL', 3 );      // eAccelerator or Turck, whichever is availabl
 
 
 /**#@+
- * Media types. 
+ * Media types.
  * This defines constants for the value returned by Image::getMediaType()
  */
 define( 'MEDIATYPE_UNKNOWN',    'UNKNOWN' );     // unknown format
@@ -124,7 +124,7 @@ define( 'MEDIATYPE_ARCHIVE',    'ARCHIVE' );     // archive file (zip, tar, etc)
 /**#@-*/
 
 /**#@+
- * Antivirus result codes, for use in $wgAntivirusSetup. 
+ * Antivirus result codes, for use in $wgAntivirusSetup.
  */
 define( 'AV_NO_VIRUS', 0 );  #scan ok, no virus found
 define( 'AV_VIRUS_FOUND', 1 );  #virus found!
index ba904a0..cbbd4be 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /**
  * See diff.doc
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 
@@ -14,7 +14,7 @@ define( 'MAX_DIFF_XREF_LENGTH', 10000 );
 /**
  * @todo document
  * @access public
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class DifferenceEngine {
@@ -37,7 +37,7 @@ class DifferenceEngine {
         * Constructor
         * @param Title $titleObj Title object that the diff is associated with
         * @param integer $old Old ID we want to show and diff with.
-        * @param string $new Either 'prev' or 'next'. 
+        * @param string $new Either 'prev' or 'next'.
         * @param integer $rcid ??? (default 0)
         */
        function DifferenceEngine( $titleObj = null, $old = 0, $new = 0, $rcid = 0 ) {
@@ -379,7 +379,7 @@ CONTROL;
                return $out;
        }
 
-       /** 
+       /**
         * Use specified text instead of loading from the database
         */
        function setText( $oldText, $newText ) {
@@ -392,11 +392,11 @@ CONTROL;
         * Load revision metadata for the specified articles. If newid is 0, then compare
         * the old article in oldid to the current article; if oldid is 0, then
         * compare the current article to the immediately previous one (ignoring the
-        * value of newid). 
+        * value of newid).
         *
-        * If oldid is false, leave the corresponding revision object set 
-        * to false. This is impossible via ordinary user input, and is provided for 
-        * API convenience. 
+        * If oldid is false, leave the corresponding revision object set
+        * to false. This is impossible via ordinary user input, and is provided for
+        * API convenience.
         */
        function loadRevisionData() {
                global $wgLang;
@@ -516,7 +516,7 @@ define('USE_ASSERTS', function_exists('assert'));
 /**
  * @todo document
  * @access private
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class _DiffOp {
@@ -540,7 +540,7 @@ class _DiffOp {
 /**
  * @todo document
  * @access private
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class _DiffOp_Copy extends _DiffOp {
@@ -561,7 +561,7 @@ class _DiffOp_Copy extends _DiffOp {
 /**
  * @todo document
  * @access private
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class _DiffOp_Delete extends _DiffOp {
@@ -580,7 +580,7 @@ class _DiffOp_Delete extends _DiffOp {
 /**
  * @todo document
  * @access private
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class _DiffOp_Add extends _DiffOp {
@@ -599,7 +599,7 @@ class _DiffOp_Add extends _DiffOp {
 /**
  * @todo document
  * @access private
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class _DiffOp_Change extends _DiffOp {
@@ -637,7 +637,7 @@ class _DiffOp_Change extends _DiffOp {
  *
  * @author Geoffrey T. Dairiki, Tim Starling
  * @access private
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class _DiffEngine
@@ -1057,7 +1057,7 @@ class _DiffEngine
  * Class representing a 'diff' between two sequences of strings.
  * @todo document
  * @access private
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class Diff
@@ -1199,7 +1199,7 @@ class Diff
  * FIXME: bad name.
  * @todo document
  * @access private
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class MappedDiff extends Diff
@@ -1263,7 +1263,7 @@ class MappedDiff extends Diff
  * to obtain fancier outputs.
  * @todo document
  * @access private
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class DiffFormatter
@@ -1430,7 +1430,7 @@ define('NBSP', '&#160;');                 // iso-8859-x non-breaking space.
 /**
  * @todo document
  * @access private
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class _HWLDF_WordAccumulator {
@@ -1489,7 +1489,7 @@ class _HWLDF_WordAccumulator {
 /**
  * @todo document
  * @access private
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class WordLevelDiff extends MappedDiff
@@ -1527,7 +1527,7 @@ class WordLevelDiff extends MappedDiff
                                $stripped[] = $line;
                        } else {
                                if (preg_match_all('/ ( [^\S\n]+ | [0-9_A-Za-z\x80-\xff]+ | . ) (?: (?!< \n) [^\S\n])? /xs',
-                                       $line, $m)) 
+                                       $line, $m))
                                {
                                        $words = array_merge( $words, $m[0] );
                                        $stripped = array_merge( $stripped, $m[1] );
@@ -1575,7 +1575,7 @@ class WordLevelDiff extends MappedDiff
  *     Wikipedia Table style diff formatter.
  * @todo document
  * @access private
- * @package MediaWiki 
+ * @package MediaWiki
  * @subpackage DifferenceEngine
  */
 class TableDiffFormatter extends DiffFormatter
index a99328c..6b1a595 100644 (file)
@@ -142,10 +142,10 @@ class EditPage {
        }
 
        /**
-        * This is the function that gets called for "action=edit". It 
-        * sets up various member variables, then passes execution to 
+        * This is the function that gets called for "action=edit". It
+        * sets up various member variables, then passes execution to
         * another function, usually showEditForm()
-        * 
+        *
         * The edit form is self-submitting, so that when things like
         * preview and edit conflicts occur, we get the same form back
         * with the extra stuff added.  Only when the final submission
@@ -430,7 +430,7 @@ class EditPage {
                        }
                }
                if($addstandardintro) {
-                       if ( $wgUser->isLoggedIn() ) 
+                       if ( $wgUser->isLoggedIn() )
                                $wgOut->addWikiText( wfMsg( 'newarticletext' ) );
                        else
                                $wgOut->addWikiText( wfMsg( 'newarticletextanon' ) );
@@ -1010,11 +1010,11 @@ END
        /**
         * Live Preview lets us fetch rendered preview page content and
         * add it to the page without refreshing the whole page.
-        * If not supported by the browser it will fall through to the normal form 
+        * If not supported by the browser it will fall through to the normal form
         * submission method.
-        * 
-        * This function outputs a script tag to support live preview, and 
-        * returns an onclick handler which should be added to the attributes 
+        *
+        * This function outputs a script tag to support live preview, and
+        * returns an onclick handler which should be added to the attributes
         * of the preview button
         */
        function doLivePreviewScript() {
@@ -1519,9 +1519,9 @@ END
                                } while( ctype_xdigit( $invalue{$i} ) && ( $i < strlen( $invalue ) ) );
                                
                                // Do some sanity checks. These aren't needed for reversability,
-                               // but should help keep the breakage down if the editor 
+                               // but should help keep the breakage down if the editor
                                // breaks one of the entities whilst editing.
-                               if ((substr($invalue,$i,1)==";") and (strlen($hexstring) <= 6)) { 
+                               if ((substr($invalue,$i,1)==";") and (strlen($hexstring) <= 6)) {
                                        $codepoint = hexdec($hexstring);
                                        $result .= codepointToUtf8( $codepoint );
                                } else {
index 9c3965a..f013500 100644 (file)
@@ -10,14 +10,14 @@ if ( !defined( 'MEDIAWIKI' ) ) die();
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -53,7 +53,7 @@ class Exif {
        
        /**
         * Exif tags grouped by category, the tagname itself is the key and the type
-        * is the value, in the case of more than one possible value type they are 
+        * is the value, in the case of more than one possible value type they are
         * seperated by commas.
         */
        var $mExifTags;
@@ -205,7 +205,7 @@ class Exif {
                                'dateandtime' => array(
                                        'DateTimeOriginal' => MW_EXIF_ASCII,                    # Date and time of original data generation #p36
                                        'DateTimeDigitized' => MW_EXIF_ASCII,                   # Date and time of original data generation
-                                       'SubSecTime' => MW_EXIF_ASCII,                          # DateTime subseconds 
+                                       'SubSecTime' => MW_EXIF_ASCII,                          # DateTime subseconds
                                        'SubSecTimeOriginal' => MW_EXIF_ASCII,                  # DateTimeOriginal subseconds
                                        'SubSecTimeDigitized' => MW_EXIF_ASCII,                 # DateTimeDigitized subseconds
                                ),
@@ -513,7 +513,7 @@ class Exif {
         */
        function validate( $tag, $val ) {
                $debug = "tag is '$tag'";
-               // Fucks up if not typecast 
+               // Fucks up if not typecast
                switch( (string)$this->mFlatExifTags[$tag] ) {
                        case (string)MW_EXIF_BYTE:
                                $this->debug( $val, __FUNCTION__, $debug );
@@ -553,7 +553,7 @@ class Exif {
         *
         * @access private
         *
-        * @param mixed $in 
+        * @param mixed $in
         * @param string $fname
         * @param mixed $action
         */
@@ -561,11 +561,11 @@ class Exif {
                $type = gettype( $in );
                $class = ucfirst( __CLASS__ );
                if ( $type === 'array' )
-                       $in = print_r( $in, true ); 
-        
+                       $in = print_r( $in, true );
+       
                if ( $action === true )
                        wfDebugLog( $this->log, "$class::$fname: accepted: '$in' (type: $type)\n");
-               elseif ( $action === false ) 
+               elseif ( $action === false )
                        wfDebugLog( $this->log, "$class::$fname: rejected: '$in' (type: $type)\n");
                elseif ( $action === null )
                        wfDebugLog( $this->log, "$class::$fname: input was: '$in' (type: $type)\n");
index bc14dcf..a927dd6 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2003, 2005 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 74d2c9d..02f14c3 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 /**
- * 
+ *
  * @package MediaWiki
  *
  * Support for external editors to modify both text and files
@@ -19,7 +19,7 @@
  * and save the modified data back to the server.
  *
  */
+
 class ExternalEdit {
 
        function ExternalEdit ( $article, $mode ) {
@@ -43,11 +43,11 @@ class ExternalEdit {
                if(!isset($this->mMode)) {              
                        $type="Edit text";              
                        $url=$this->mTitle->getFullURL("action=edit&internaledit=true");
-                       # *.wiki file extension is used by some editors for syntax 
+                       # *.wiki file extension is used by some editors for syntax
                        # highlighting, so we follow that convention
-                       $extension="wiki"; 
+                       $extension="wiki";
                } elseif($this->mMode=="file") {
-                       $type="Edit file"; 
+                       $type="Edit file";
                        $image = Image::newFromTitle( $this->mTitle );
                        $img_url = $image->getURL();
                        if(strpos($img_url,"://")) {
@@ -57,7 +57,7 @@ class ExternalEdit {
                        }
                        $extension=substr($name, $pos);
                }
-               $special=$wgLang->getNsText(NS_SPECIAL);                 
+               $special=$wgLang->getNsText(NS_SPECIAL);                
                $control = <<<CONTROL
 [Process]
 Type=$type
index 78e1b84..e5b8dc8 100644 (file)
@@ -1,27 +1,27 @@
 <?php
 /**
- * 
+ *
  * @package MediaWiki
  *
  * Constructor class for data kept in external repositories
  *
- * External repositories might be populated by maintenance/async 
- * scripts, thus partial moving of data may be possible, as well 
+ * External repositories might be populated by maintenance/async
+ * scripts, thus partial moving of data may be possible, as well
  * as possibility to have any storage format (i.e. for archives)
  *
  */
+
 class ExternalStore {
        /* Fetch data from given URL */
        function fetchFromURL($url) {
                global $wgExternalStores;
 
-               if (!$wgExternalStores) 
+               if (!$wgExternalStores)
                        return false;
 
                @list($proto,$path)=explode('://',$url,2);
                /* Bad URL */
-               if ($path=="") 
+               if ($path=="")
                        return false;
                /* Protocol not enabled */
                if (!in_array( $proto, $wgExternalStores ))
@@ -37,8 +37,8 @@ class ExternalStore {
                return $store->fetchFromURL($url);
        }
 
-       /* XXX: may require other methods, for store, delete, 
-        * whatever, for initial ext storage  
+       /* XXX: may require other methods, for store, delete,
+        * whatever, for initial ext storage
         */
 }
 ?>
index 9623778..38c5367 100644 (file)
@@ -1,12 +1,12 @@
 <?php
 /**
- * 
+ *
  * @package MediaWiki
  *
  * DB accessable external objects
  *
  */
-require_once( 'LoadBalancer.php' ); 
+require_once( 'LoadBalancer.php' );
 
 
 /** @package MediaWiki */
index d7c1cc8..f818de1 100644 (file)
@@ -1,12 +1,12 @@
 <?php
 /**
- * 
+ *
  * @package MediaWiki
  *
  * Example class for HTTP accessable external objects
  *
  */
+
 class ExternalStoreHttp {
        /* Fetch data from given URL */
        function fetchFromURL($url) {
@@ -16,8 +16,8 @@ class ExternalStoreHttp {
                return $ret;
        }
 
-       /* XXX: may require other methods, for store, delete, 
-        * whatever, for initial ext storage  
+       /* XXX: may require other methods, for store, delete,
+        * whatever, for initial ext storage
         */
 }
 ?>
index f8a0784..b89b24d 100644 (file)
@@ -1,19 +1,19 @@
 <?php
 # Basic support for outputting syndication feeds in RSS, other formats
-# 
+#
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -85,7 +85,7 @@ class ChannelFeed extends FeedItem {
         * Abstract function, override!
         * @abstract
         */
-        
+       
        /**
         * Generate Header of the feed
         */
index 0ea76e5..85202aa 100644 (file)
@@ -292,7 +292,7 @@ function wfReadOnly() {
 /**
  * Get a message from anywhere, for the current user language.
  *
- * Use wfMsgForContent() instead if the message should NOT 
+ * Use wfMsgForContent() instead if the message should NOT
  * change depending on the user preferences.
  *
  * Note that the message may contain HTML, and is therefore
@@ -300,7 +300,7 @@ function wfReadOnly() {
  * addWikiText will do the escaping for you. Use wfMsgHtml()
  * if you need an escaped message.
  *
- * @param string lookup key for the message, usually 
+ * @param string lookup key for the message, usually
  *    defined in languages/Language.php
  */
 function wfMsg( $key ) {
@@ -321,23 +321,23 @@ function wfMsgNoTrans( $key ) {
 /**
  * Get a message from anywhere, for the current global language
  * set with $wgLanguageCode.
- * 
- * Use this if the message should NOT change  dependent on the 
- * language set in the user's preferences. This is the case for 
- * most text written into logs, as well as link targets (such as 
- * the name of the copyright policy page). Link titles, on the 
+ *
+ * Use this if the message should NOT change  dependent on the
+ * language set in the user's preferences. This is the case for
+ * most text written into logs, as well as link targets (such as
+ * the name of the copyright policy page). Link titles, on the
  * other hand, should be shown in the UI language.
  *
- * Note that MediaWiki allows users to change the user interface 
- * language in their preferences, but a single installation 
+ * Note that MediaWiki allows users to change the user interface
+ * language in their preferences, but a single installation
  * typically only contains content in one language.
- * 
- * Be wary of this distinction: If you use wfMsg() where you should 
- * use wfMsgForContent(), a user of the software may have to 
+ *
+ * Be wary of this distinction: If you use wfMsg() where you should
+ * use wfMsgForContent(), a user of the software may have to
  * customize over 70 messages in order to, e.g., fix a link in every
  * possible language.
  *
- * @param string lookup key for the message, usually 
+ * @param string lookup key for the message, usually
  *    defined in languages/Language.php
  */
 function wfMsgForContent( $key ) {
@@ -1212,7 +1212,7 @@ define('TS_RFC2822', 3);
 /**
  * ISO 8601 format with no timezone: 1986-02-09T20:00:00Z
  *
- * This is used by Special:Export 
+ * This is used by Special:Export
  */
 define('TS_ISO_8601', 4);
 
@@ -1661,7 +1661,7 @@ function wfIsWellFormedXml( $text ) {
  * @return bool
  */
 function wfIsWellFormedXmlFragment( $text ) {
-       $html = 
+       $html =
                '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ' .
                '"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' .
                '<html>' .
index e820135..54dfa0c 100644 (file)
@@ -152,8 +152,8 @@ class Group {
                $wgMemc->delete( Group::getCacheKey( $this->id ) );
        }
        
-       /** 
-        * Get memcached key 
+       /**
+        * Get memcached key
         * @static
         */
        function getCacheKey( $id ) {
@@ -221,14 +221,14 @@ class Group {
 
                if( $g->getId() != 0 ) {
                        return $g;
-               } else { 
+               } else {
                        return null;
                }
        }
 
        /**
         * Get an array of Group objects, one for each valid group
-        * 
+        *
         * @static
         */
        function &getAllGroups() {
@@ -257,9 +257,9 @@ class Group {
                return $groups;
        }
 
-       /** 
+       /**
         * Get static groups, if they have been defined in LocalSettings.php
-        * 
+        *
         * @static
         */
        function &getStaticGroups() {
@@ -291,7 +291,7 @@ class Group {
        }
 
        /**
-        * @param string $name Group database name 
+        * @param string $name Group database name
         * @return integer Group database id
         */
        function idFromName($name) {
@@ -324,7 +324,7 @@ class Group {
                return $this->name;
        }
 
-       function getExpandedName() { 
+       function getExpandedName() {
                $this->loadFromDatabase();
                return $this->getMessage( $this->name );
        }
@@ -345,7 +345,7 @@ class Group {
                $this->dataLoaded = false;
        }
        
-       function getDescription() { 
+       function getDescription() {
                return $this->description;
        }
 
@@ -364,7 +364,7 @@ class Group {
                $this->rights = $rights;
        }
 
-       /** 
+       /**
         * Gets a message if the text starts with a colon, otherwise returns the text itself
         */
        function getMessage( $text ) {
index 12147d5..3362fcc 100644 (file)
@@ -45,7 +45,7 @@ class HTMLForm {
                        "</label></div>\n";
        }
 
-       /** 
+       /**
         * @access private
         * @param string $varname Name of the textbox.
         * @param string $value Optional value (default empty)
@@ -60,7 +60,7 @@ class HTMLForm {
                        "<input type='text' name=\"{$varname}\" value=\"{$value}\" size=\"{$size}\" /></label></div>\n";
        }
 
-       /** 
+       /**
         * @access private
         * @param string $varname Name of the radiobox.
         * @param array $fields Various fields.
@@ -74,7 +74,7 @@ class HTMLForm {
                return $this->fieldset( $this->mName.'-'.$varname, $s );
        }
        
-       /** 
+       /**
         * @access private
         * @param string $varname Name of the textareabox.
         * @param string $value Optional value (default empty)
@@ -89,7 +89,7 @@ class HTMLForm {
                       "<textarea name=\"{$varname}\" rows=\"5\" cols=\"{$size}\">$value</textarea></label></div>\n";
        }
 
-       /** 
+       /**
         * @access private
         * @param string $varname Name of the arraybox.
         * @param integer $size Optional size of the textarea (default 20)
index 5875885..cf4abbe 100644 (file)
@@ -31,14 +31,14 @@ class HistoryBlob
         */
        function addItem() {}
 
-       /** 
+       /**
         * Get item by hash
         */
        function getItem( $hash ) {}
        
        # Set the "default text"
        # This concept is an odd property of the current DB schema, whereby each text item has a revision
-       # associated with it. The default text is the text of the associated revision. There may, however, 
+       # associated with it. The default text is the text of the associated revision. There may, however,
        # be other revisions in the same object
        function setText() {}
 
@@ -111,7 +111,7 @@ class ConcatenatedGzipHistoryBlob extends HistoryBlob
        }
 
        /** @todo document */
-       function uncompress() { 
+       function uncompress() {
                if ( $this->mCompressed ) {
                        $this->mItems = unserialize( gzinflate( $this->mItems ) );
                        $this->mCompressed = false;
index b859af8..90084fe 100644 (file)
@@ -25,7 +25,7 @@ if ( ! defined( 'MEDIAWIKI' ) )
  */
 
 
-/** 
+/**
  * Because programmers assign to $wgHooks, we need to be very
  * careful about its contents. So, there's a lot more error-checking
  * in here than would normally be necessary.
index f4d00e5..c7cc038 100644 (file)
@@ -5,7 +5,7 @@
 
 /**
  * Get the contents of a file by HTTP
- * 
+ *
  * if $timeout is 'default', $wgHTTPTimeout is used
  */
 function wfGetHTTP( $url, $timeout = 'default' ) {
index 9a0d055..59034b0 100644 (file)
@@ -22,7 +22,7 @@ define( 'MW_IMAGE_VERSION', 1 );
 
 /**
  * Class to represent an image
- * 
+ *
  * Provides methods to retrieve paths (physical, logical, URL),
  * to generate thumbnails or for uploading.
  * @package MediaWiki
@@ -68,7 +68,7 @@ class Image
                }
        }
 
-       /** 
+       /**
         * Obsolete factory function, use constructor
         */
        function newFromTitle( $title ) {
@@ -106,7 +106,7 @@ class Image
                return $keys;
        }
        
-       /** 
+       /**
         * Try to load image metadata from memcached. Returns true on success.
         */
        function loadFromCache() {
@@ -120,7 +120,7 @@ class Image
                // Check if the key existed and belongs to this version of MediaWiki
                if (!empty($cachedValues) && is_array($cachedValues)
                  && isset($cachedValues['version']) && ( $cachedValues['version'] == MW_IMAGE_VERSION )
-                 && $cachedValues['fileExists'] && isset( $cachedValues['mime'] ) && isset( $cachedValues['metadata'] ) ) 
+                 && $cachedValues['fileExists'] && isset( $cachedValues['mime'] ) && isset( $cachedValues['metadata'] ) )
                {
                        if ( $wgUseSharedUploads && $cachedValues['fromShared']) {
                                # if this is shared file, we need to check if image
@@ -174,7 +174,7 @@ class Image
                return $this->dataLoaded;
        }
 
-       /** 
+       /**
         * Save the image metadata to memcached
         */
        function saveToCache() {
@@ -207,7 +207,7 @@ class Image
                }
        }
        
-       /** 
+       /**
         * Load metadata from the file itself
         */
        function loadFromFile() {
@@ -220,12 +220,12 @@ class Image
                $this->fromSharedDirectory = false;
                $gis = array();
                
-               if (!$this->fileExists) wfDebug("$fname: ".$this->imagePath." not found locally!\n"); 
+               if (!$this->fileExists) wfDebug("$fname: ".$this->imagePath." not found locally!\n");
 
                # If the file is not found, and a shared upload directory is used, look for it there.
                if (!$this->fileExists && $wgUseSharedUploads && $wgSharedUploadDirectory) {                    
-                       # In case we're on a wgCapitalLinks=false wiki, we 
-                       # capitalize the first letter of the filename before 
+                       # In case we're on a wgCapitalLinks=false wiki, we
+                       # capitalize the first letter of the filename before
                        # looking it up in the shared repository.
                        $sharedImage = Image::newFromName( $wgContLang->ucfirst($this->name) );
                        $this->fileExists = $sharedImage && file_exists( $sharedImage->getFullPath(true) );
@@ -267,7 +267,7 @@ class Image
                                wfRestoreWarnings();
                        }
                        
-                       wfDebug("$fname: ".$this->imagePath." loaded, ".$this->size." bytes, ".$this->mime.".\n"); 
+                       wfDebug("$fname: ".$this->imagePath." loaded, ".$this->size." bytes, ".$this->mime.".\n");
                }
                else {
                        $gis[0]= 0; //width
@@ -277,7 +277,7 @@ class Image
                        
                        $this->mime = NULL;
                        $this->type = MEDIATYPE_UNKNOWN;
-                       wfDebug("$fname: ".$this->imagePath." NOT FOUND!\n"); 
+                       wfDebug("$fname: ".$this->imagePath." NOT FOUND!\n");
                }
                
                $this->width = $gis[0];
@@ -285,7 +285,7 @@ class Image
                
                #NOTE: $gis[2] contains a code for the image type. This is no longer used.
                
-               #NOTE: we have to set this flag early to avoid load() to be called 
+               #NOTE: we have to set this flag early to avoid load() to be called
                # be some of the functions below. This may lead to recursion or other bad things!
                # as ther's only one thread of execution, this should be safe anyway.
                $this->dataLoaded = true;
@@ -300,7 +300,7 @@ class Image
                wfProfileOut( $fname );
        }
 
-       /** 
+       /**
         * Load image metadata from the DB
         */
        function loadFromDB() {
@@ -312,8 +312,8 @@ class Image
                
                $this->checkDBSchema($dbr);
                
-               $row = $dbr->selectRow( 'image', 
-                       array( 'img_size', 'img_width', 'img_height', 'img_bits', 
+               $row = $dbr->selectRow( 'image',
+                       array( 'img_size', 'img_width', 'img_height', 'img_bits',
                               'img_media_type', 'img_major_mime', 'img_minor_mime', 'img_metadata' ),
                        array( 'img_name' => $this->name ), $fname );
                if ( $row ) {
@@ -326,14 +326,14 @@ class Image
                                $this->upgradeRow();
                        }
                } elseif ( $wgUseSharedUploads && $wgSharedUploadDBname ) {
-                       # In case we're on a wgCapitalLinks=false wiki, we 
-                       # capitalize the first letter of the filename before 
+                       # In case we're on a wgCapitalLinks=false wiki, we
+                       # capitalize the first letter of the filename before
                        # looking it up in the shared repository.
                        $name = $wgContLang->ucfirst($this->name);
 
                        $row = $dbr->selectRow( "`$wgSharedUploadDBname`.{$wgSharedUploadDBprefix}image",
-                               array( 
-                                       'img_size', 'img_width', 'img_height', 'img_bits', 
+                               array(
+                                       'img_size', 'img_width', 'img_height', 'img_bits',
                                        'img_media_type', 'img_major_mime', 'img_minor_mime', 'img_metadata' ),
                                array( 'img_name' => $name ), $fname );
                        if ( $row ) {
@@ -409,8 +409,8 @@ class Image
                }
        }
 
-       /** 
-        * Metadata was loaded from the database, but the row had a marker indicating it needs to be 
+       /**
+        * Metadata was loaded from the database, but the row had a marker indicating it needs to be
         * upgraded from the 1.4 schema, which had no width, height, bits or type. Upgrade the row.
         */
        function upgradeRow() {
@@ -444,8 +444,8 @@ class Image
                
                wfDebug("$fname: upgrading ".$this->name." to 1.5 schema\n");
                
-               $dbw->update( 'image', 
-                       array( 
+               $dbw->update( 'image',
+                       array(
                                'img_width' => $this->width,
                                'img_height' => $this->height,
                                'img_bits' => $this->bits,
@@ -557,7 +557,7 @@ class Image
        }
        
        /**
-        * Return the type of the media in the file. 
+        * Return the type of the media in the file.
         * Use the value returned by this function with the MEDIATYPE_xxx constants.
         */
        function getMediaType() {
@@ -567,10 +567,10 @@ class Image
 
        /**
         * Checks if the file can be presented to the browser as a bitmap.
-        * 
-        * Currently, this checks if the file is an image format 
+        *
+        * Currently, this checks if the file is an image format
         * that can be converted to a format
-        * supported by all browsers (namely GIF, PNG and JPEG), 
+        * supported by all browsers (namely GIF, PNG and JPEG),
         * or if it is an SVG image and SVG conversion is enabled.
         *
         * @todo remember the result of this check.
@@ -584,7 +584,7 @@ class Image
                
                if (!$mime || $mime==='unknown' || $mime==='unknown/unknown') return false;
                
-               #if it's SVG, check if there's a converter enabled    
+               #if it's SVG, check if there's a converter enabled
                if ($mime === 'image/svg') {
                        global $wgSVGConverters, $wgSVGConverter;
                        
@@ -600,13 +600,13 @@ class Image
                if (  $mime === 'image/gif'
                   || $mime === 'image/png'
                   || $mime === 'image/jpeg' ) return true;
-                   
+               
                #image formats that can be converted to the above formats
                if ($wgUseImageMagick) {
                        #convertable by ImageMagick (there are more...)
                        if ( $mime === 'image/vnd.wap.wbmp'
-                         || $mime === 'image/x-xbitmap' 
-                         || $mime === 'image/x-xpixmap' 
+                         || $mime === 'image/x-xbitmap'
+                         || $mime === 'image/x-xpixmap'
                          #|| $mime === 'image/x-icon'   #file may be split into multiple parts
                          || $mime === 'image/x-portable-anymap'
                          || $mime === 'image/x-portable-bitmap'
@@ -622,7 +622,7 @@ class Image
                        if ( $mime === 'image/vnd.wap.wbmp'
                          || $mime === 'image/x-xbitmap' ) return true;
                }
-                  
+               
                return false;
        }
        
@@ -630,8 +630,8 @@ class Image
        /**
         * Return true if the file is of a type that can't be directly
         * rendered by typical browsers and needs to be re-rasterized.
-        * 
-        * This returns true for everything but the bitmap types 
+        *
+        * This returns true for everything but the bitmap types
         * supported by all browsers, i.e. JPEG; GIF and PNG. It will
         * also return true for any non-image formats.
         *
@@ -643,16 +643,16 @@ class Image
                if (  $mime === "image/gif"
                   || $mime === "image/png"
                   || $mime === "image/jpeg" ) return false;
-                  
+               
                return true;
        }
        
        /**
         * Determines if this media file may be shown inline on a page.
-        * 
-        * This is currently synonymous to canRender(), but this could be 
+        *
+        * This is currently synonymous to canRender(), but this could be
         * extended to also allow inline display of other media,
-        * like flash animations or videos. If you do so, please keep in mind that 
+        * like flash animations or videos. If you do so, please keep in mind that
         * that could be a security risk.
         */
        function allowInlineDisplay() {
@@ -663,11 +663,11 @@ class Image
         * Determines if this media file is in a format that is unlikely to
         * contain viruses or malicious content. It uses the global
         * $wgTrustedMediaFormats list to determine if the file is safe.
-        * 
+        *
         * This is used to show a warning on the description page of non-safe files.
         * It may also be used to disallow direct [[media:...]] links to such files.
         *
-        * Note that this function will always return true if allowInlineDisplay() 
+        * Note that this function will always return true if allowInlineDisplay()
         * or isTrustedFile() is true for this file.
         */
        function isSafeFile() {
@@ -702,7 +702,7 @@ class Image
        function isTrustedFile() {
                #this could be implemented to check a flag in the databas,
                #look for signatures, etc
-               return false; 
+               return false;
        }
 
        /**
@@ -727,7 +727,7 @@ class Image
         * Return the URL of an image, provided its name.
         *
         * @param string $name  Name of the image, without the leading "Image:"
-        * @param boolean $fromSharedDirectory  Should this be in $wgSharedUploadPath?   
+        * @param boolean $fromSharedDirectory  Should this be in $wgSharedUploadPath?  
         * @return string URL of $name image
         * @access public
         * @static
@@ -781,7 +781,7 @@ class Image
                        if( $this->mustRender() ) {
                                $url.= '&r=1';
                        }
-               } else {  
+               } else {
                        $name = $this->thumbName( $width );             
                        if($this->fromSharedDirectory) {
                                $base = '';
@@ -791,7 +791,7 @@ class Image
                                $path = $wgUploadPath;
                        }
                        if ( Image::isHashed( $this->fromSharedDirectory ) ) {
-                               $url = "{$base}{$path}/{$subdir}" . 
+                               $url = "{$base}{$path}/{$subdir}" .
                                wfGetHashPath($this->name, $this->fromSharedDirectory)
                                . $this->name.'/'.$name;
                                $url = wfUrlencode( $url );
@@ -833,7 +833,7 @@ class Image
         * The thumbnail is stored on disk and is only computed if the thumbnail
         * file does not exist OR if it is older than the image.
         * Returns the URL.
-        * 
+        *
         * Keeps aspect ratio of original image. If both width and height are
         * specified, the generated image will be no bigger than width x height,
         * and will also have correct aspect ratio.
@@ -937,9 +937,9 @@ class Image
                # Don't thumbnail an image so big that it will fill hard drives and send servers into swap
                # JPEG has the handy property of allowing thumbnailing without full decompression, so we make
                # an exception for it.
-               if ( $this->getMediaType() == MEDIATYPE_BITMAP && 
+               if ( $this->getMediaType() == MEDIATYPE_BITMAP &&
                        $this->getMimeType() !== 'image/jpeg' &&
-                       $this->width * $this->height > $wgMaxImageArea ) 
+                       $this->width * $this->height > $wgMaxImageArea )
                {
                        wfProfileOut( $fname );
                        return null;
@@ -985,7 +985,7 @@ class Image
                                $this->reallyRenderThumb( $thumbPath, $width, $height );
 
                                # Purge squid
-                               # This has to be done after the image is updated and present for all machines on NFS, 
+                               # This has to be done after the image is updated and present for all machines on NFS,
                                # or else the old version might be stored into the squid again
                                if ( $wgUseSquid ) {
                                        if ( substr( $url, 0, 4 ) == 'http' ) {
@@ -1091,7 +1091,7 @@ class Image
                        } else {
                                $dst_image = imagecreate( $width, $height );
                        }
-                       imagecopyresampled( $dst_image, $src_image, 
+                       imagecopyresampled( $dst_image, $src_image,
                                                0,0,0,0,
                                                $width, $height, $this->width, $this->height );
                        call_user_func( $saveType, $dst_image, $thumbPath );
@@ -1100,7 +1100,7 @@ class Image
                }
                
                #
-               # Check for zero-sized thumbnails. Those can be generated when 
+               # Check for zero-sized thumbnails. Those can be generated when
                # no disk space is available or some other error occurs
                #
                if( file_exists( $thumbPath ) ) {
@@ -1116,7 +1116,7 @@ class Image
                imagejpeg( $dst_image, $thumbPath, 95 );
        }
                
-       /** 
+       /**
         * Get all thumbnail names previously generated for this image
         */
        function getThumbnails( $shared = false ) {
@@ -1129,7 +1129,7 @@ class Image
                        $handle = @opendir( $dir );
                        
                        if ( $handle ) {
-                               while ( false !== ( $file = readdir($handle) ) ) { 
+                               while ( false !== ( $file = readdir($handle) ) ) {
                                        if ( $file{0} != '.' ) {
                                                $files[] = $file;
                                        }
@@ -1189,10 +1189,10 @@ class Image
                }
                
                #new fields must exist
-               if ( !$db->fieldExists( 'image', 'img_media_type' ) 
+               if ( !$db->fieldExists( 'image', 'img_media_type' )
                  || !$db->fieldExists( 'image', 'img_metadata' )
                  || !$db->fieldExists( 'image', 'img_width' ) ) {
-                 
+               
                        wfDebugDieBacktrace( 'Database schema not up to date, please run maintenance/update.php' );
                }
        }
@@ -1213,25 +1213,25 @@ class Image
                
                $this->checkDBSchema($dbr);
                
-               if ( $this->historyLine == 0 ) {// called for the first time, return line from cur 
-                       $this->historyRes = $dbr->select( 'image', 
+               if ( $this->historyLine == 0 ) {// called for the first time, return line from cur
+                       $this->historyRes = $dbr->select( 'image',
                                array(
                                        'img_size',
                                        'img_description',
                                        'img_user','img_user_text',
-                                       'img_timestamp', 
+                                       'img_timestamp',
                                        'img_width',
                                        'img_height',
                                        "'' AS oi_archive_name"
-                               ), 
+                               ),
                                array( 'img_name' => $this->title->getDBkey() ),
                                $fname
                        );
-                       if ( 0 == wfNumRows( $this->historyRes ) ) { 
-                               return FALSE; 
+                       if ( 0 == wfNumRows( $this->historyRes ) ) {
+                               return FALSE;
                        }
                } else if ( $this->historyLine == 1 ) {
-                       $this->historyRes = $dbr->select( 'oldimage', 
+                       $this->historyRes = $dbr->select( 'oldimage',
                                array(
                                        'oi_size AS img_size',
                                        'oi_description AS img_description',
@@ -1244,7 +1244,7 @@ class Image
                                ),
                                array( 'oi_name' => $this->title->getDBkey() ),
                                $fname,
-                               array( 'ORDER BY' => 'oi_timestamp DESC' ) 
+                               array( 'ORDER BY' => 'oi_timestamp DESC' )
                        );
                }
                $this->historyLine ++;
@@ -1272,7 +1272,7 @@ class Image
        * @param boolean $fromSharedDirectory Return the path to the file
        *   in a shared repository (see $wgUseSharedRepository and related
        *   options in DefaultSettings.php) instead of a local one.
-       * 
+       *
        */
        function getFullPath( $fromSharedRepository = false ) {
                global $wgUploadDirectory, $wgSharedUploadDirectory;
@@ -1330,7 +1330,7 @@ class Image
                } else {
                        if ( $license != '' ) {
                                $filedesc = $desc == '' ? '' : '== ' . wfMsg ( 'filedesc' ) . " ==\n" . $desc . "\n";
-                                $textdesc = $filedesc . 
+                                $textdesc = $filedesc .
                                         '== ' . wfMsgForContent ( 'license' ) . " ==\n" . '{{' . $license . '}}' . "\n";       
                        } else {
                                $textdesc = $desc;
@@ -1368,7 +1368,7 @@ class Image
                                'img_metadata' => $this->metadata,
                        ),
                        $fname,
-                       'IGNORE' 
+                       'IGNORE'
                );
                $descTitle = $this->getTitle();
                $purgeURLs = array();
@@ -1376,7 +1376,7 @@ class Image
                if( $dbw->affectedRows() == 0 ) {
                        # Collision, this is an update of an image
                        # Insert previous contents into oldimage
-                       $dbw->insertSelect( 'oldimage', 'image', 
+                       $dbw->insertSelect( 'oldimage', 'image',
                                array(
                                        'oi_name' => 'img_name',
                                        'oi_archive_name' => $dbw->addQuotes( $oldver ),
@@ -1449,7 +1449,7 @@ class Image
        /**
         * Get an array of Title objects which are articles which use this image
         * Also adds their IDs to the link cache
-        * 
+        *
         * This is mostly copied from Title::getLinksTo()
         */
        function getLinksTo( $options = '' ) {
@@ -1490,7 +1490,7 @@ class Image
         * @return array
         */
        function retrieveExifData() {
-               if ( $this->getMimeType() !== "image/jpeg" ) 
+               if ( $this->getMimeType() !== "image/jpeg" )
                        return array();
 
                $exif = new Exif( $this->imagePath );
@@ -1539,7 +1539,7 @@ class Image
                
                $this->checkDBSchema($dbw);
                
-               $dbw->update( 'image', 
+               $dbw->update( 'image',
                        array( 'img_metadata' => $this->metadata ),
                        array( 'img_name' => $this->name ),
                        $fname
@@ -1565,7 +1565,7 @@ class Image
  * The result is an absolute path.
  *
  * This function is called from thumb.php before Setup.php is included
- * 
+ *
  * @param string $fname                file name of the image file
  * @access public
  */
@@ -1591,7 +1591,7 @@ function wfImageDir( $fname ) {
  * The result is an absolute path.
  *
  * This function is called from thumb.php before Setup.php is included
- * 
+ *
  * @param string $fname                file name of the original image file
  * @param string $subdir       (optional) subdirectory of the image upload directory that should be used for storing the thumbnail. Default is 'thumb'
  * @param boolean $shared      (optional) use the shared upload directory
@@ -1604,13 +1604,13 @@ function wfImageThumbDir( $fname, $shared = false ) {
 
                if ( !is_dir( $base ) ) {
                        $oldumask = umask(0);
-                       @mkdir( $base, 0777 ); 
+                       @mkdir( $base, 0777 );
                        umask( $oldumask );
                }
 
-               if ( ! is_dir( $dir ) ) { 
+               if ( ! is_dir( $dir ) ) {
                        $oldumask = umask(0);
-                       @mkdir( $dir, 0777 ); 
+                       @mkdir( $dir, 0777 );
                        umask( $oldumask );
                }
        } else {
@@ -1633,7 +1633,7 @@ function wfDeprecatedThumbDir( $thumbName , $subdir='thumb', $shared=false) {
  * The result is an absolute path.
  *
  * This function is called from thumb.php before Setup.php is included
- * 
+ *
  * @param string $fname                file name of the thumbnail file, including file size prefix
  * @param string $subdir       (optional) subdirectory of the image upload directory that should be used for storing the old version. Default is 'archive'
  * @param boolean $shared      (optional) use the shared upload directory (only relevant for other functions which call this one)
@@ -1684,7 +1684,7 @@ function wfGetHashPath ( $dbkey, $fromSharedDirectory = false ) {
 
 /**
  * Returns the image URL of an image's old version
- * 
+ *
  * @param string $fname                file name of the image file
  * @param string $subdir       (optional) subdirectory of the image upload directory that is used by the old version. Default is 'archive'
  * @access public
index c96a699..e934091 100644 (file)
@@ -8,7 +8,7 @@ if ( ! defined( 'MEDIAWIKI' ) )
 
 /**
  * Image gallery
- * 
+ *
  * Add images to the gallery using add(), then render that list to HTML using toHTML().
  *
  * @package MediaWiki
@@ -17,7 +17,7 @@ class ImageGallery
 {
        var $mImages, $mShowBytes, $mShowFilename;
 
-       /** 
+       /**
         * Create a new image gallery object.
         */
        function ImageGallery( ) {
@@ -57,7 +57,7 @@ class ImageGallery
        /**
         * Enable/Disable showing of the file size of an image in the gallery.
         * Enabled by default.
-        * 
+        *
         * @param boolean $f    set to false to disable
         */
        function setShowBytes( $f ) {
@@ -67,7 +67,7 @@ class ImageGallery
        /**
         * Enable/Disable showing of the filename of an image in the gallery.
         * Enabled by default.
-        * 
+        *
         * @param boolean $f    set to false to disable
         */
        function setShowFilename( $f ) {
@@ -76,7 +76,7 @@ class ImageGallery
 
        /**
         * Return a HTML representation of the image gallery
-        * 
+        *
         * For each image in the gallery, display
         * - a thumbnail
         * - the image name
index b9c5d07..c331ccc 100644 (file)
@@ -375,8 +375,8 @@ class Linker {
        }
 
        /** @todo document */
-       function makeImageLinkObj( $nt, $label, $alt, $align = '', $width = false, $height = false, $framed = false, 
-         $thumb = false, $manual_thumb = '' ) 
+       function makeImageLinkObj( $nt, $label, $alt, $align = '', $width = false, $height = false, $framed = false,
+         $thumb = false, $manual_thumb = '' )
        {
                global $wgContLang, $wgUser, $wgThumbLimits;
                
@@ -487,7 +487,7 @@ class Linker {
                if ( $img->exists() ) {
                        $width  = $img->getWidth();
                        $height = $img->getHeight();
-               } 
+               }
                if ( 0 == $width || 0 == $height ) {
                        $width = $height = 200;
                }
@@ -795,7 +795,7 @@ class Linker {
                global $wgJsMimeType;
                $title =  wfMsgForContent('toc') ;
                return
-                  '<table id="toc" class="toc" summary="' . $title .'"><tr><td>' 
+                  '<table id="toc" class="toc" summary="' . $title .'"><tr><td>'
                 . '<div id="toctitle"><h2>' . $title . "</h2></div>\n"
                 . $toc
                 . "</ul>\n</td></tr></table>\n"
@@ -844,10 +844,10 @@ class Linker {
                return "<div class=\"editsection\" style=\"float:$farside;margin-$nearside:5px;\">[".$url."]</div>";
        }
 
-       /** 
+       /**
         * Split a link trail, return the "inside" portion and the remainder of the trail
         * as a two-element array
-        * 
+        *
         * @static
         */
        function splitTrail( $trail ) {
index bfb5f19..826c1c9 100644 (file)
@@ -74,7 +74,7 @@ class LinksUpdate {
 
                # Page links
                $existing = $this->getExistingLinks();
-               $this->incrTableUpdate( 'pagelinks', 'pl', $this->getLinkDeletions( $existing ), 
+               $this->incrTableUpdate( 'pagelinks', 'pl', $this->getLinkDeletions( $existing ),
                        $this->getLinkInsertions( $existing ) );
 
                # Template links
@@ -127,11 +127,11 @@ class LinksUpdate {
        function invalidateCategories( $cats ) {
                $fname = 'LinksUpdate::invalidateCategories';
                if ( count( $cats ) ) {
-                       $this->mDb->update( 'page', array( 'page_touched' => $this->mDb->timestamp() ), 
+                       $this->mDb->update( 'page', array( 'page_touched' => $this->mDb->timestamp() ),
                                array(
                                        'page_namespace' => NS_CATEGORY,
                                        'page_title IN (' . $this->mDb->makeList( array_keys( $cats ) ) . ')'
-                               ), $fname 
+                               ), $fname
                        );
                }
        }       
@@ -149,7 +149,7 @@ class LinksUpdate {
 
        /**
         * Make a WHERE clause from a 2-d NS/dbkey array
-        * 
+        *
         * @param array $arr 2-d array indexed by namespace and DB key
         * @param string $prefix Field name prefix, without the underscore
         */
@@ -197,14 +197,14 @@ class LinksUpdate {
        function getLinkInsertions( $existing = array() ) {
                $arr = array();
                foreach( $this->mLinks as $ns => $dbkeys ) {
-                       # array_diff_key() was introduced in PHP 5.1, there is a compatibility function 
+                       # array_diff_key() was introduced in PHP 5.1, there is a compatibility function
                        # in GlobalFunctions.php
                        $diffs = isset( $existing[$ns] ) ? array_diff_key( $dbkeys, $existing[$ns] ) : $dbkeys;
                        foreach ( $diffs as $dbk => $id ) {
                                $arr[] = array(
                                        'pl_from'      => $this->mId,
                                        'pl_namespace' => $ns,
-                                       'pl_title'     => $dbk 
+                                       'pl_title'     => $dbk
                                );
                        }
                }
@@ -223,7 +223,7 @@ class LinksUpdate {
                                $arr[] = array(
                                        'tl_from'      => $this->mId,
                                        'tl_namespace' => $ns,
-                                       'tl_title'     => $dbk 
+                                       'tl_title'     => $dbk
                                );
                        }
                }
@@ -249,7 +249,7 @@ class LinksUpdate {
 
        /**
         * Get an array of category insertions
-        * @param array $existing Array mapping existing category names to sort keys. If both 
+        * @param array $existing Array mapping existing category names to sort keys. If both
         * match a link in $this, the link will be omitted from the output
         * @access private
         */
@@ -324,7 +324,7 @@ class LinksUpdate {
         */
        function getExistingLinks() {
                $fname = 'LinksUpdate::getExistingLinks';
-               $res = $this->mDb->select( 'pagelinks', array( 'pl_namespace', 'pl_title' ), 
+               $res = $this->mDb->select( 'pagelinks', array( 'pl_namespace', 'pl_title' ),
                        array( 'pl_from' => $this->mId ), $fname, $this->mOptions );
                $arr = array();
                while ( $row = $this->mDb->fetchObject( $res ) ) {
@@ -342,7 +342,7 @@ class LinksUpdate {
         */
        function getExistingTemplates() {
                $fname = 'LinksUpdate::getExistingTemplates';
-               $res = $this->mDb->select( 'templatelinks', array( 'tl_namespace', 'tl_title' ), 
+               $res = $this->mDb->select( 'templatelinks', array( 'tl_namespace', 'tl_title' ),
                        array( 'tl_from' => $this->mId ), $fname, $this->mOptions );
                $arr = array();
                while ( $row = $this->mDb->fetchObject( $res ) ) {
@@ -360,7 +360,7 @@ class LinksUpdate {
         */
        function getExistingImages() {
                $fname = 'LinksUpdate::getExistingImages';
-               $res = $this->mDb->select( 'imagelinks', array( 'il_to' ), 
+               $res = $this->mDb->select( 'imagelinks', array( 'il_to' ),
                        array( 'il_from' => $this->mId ), $fname, $this->mOptions );
                $arr = array();
                while ( $row = $this->mDb->fetchObject( $res ) ) {
index b4f508a..4102944 100644 (file)
@@ -6,17 +6,17 @@
  * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
  * Portions based on Convert::BinHex by Eryq et al
  * http://www.mediawiki.org/
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 6af049b..b9bd933 100644 (file)
@@ -107,12 +107,12 @@ if ( ! defined( 'MEDIAWIKI_INSTALL' ) )
  * This class encapsulates "magic words" such as #redirect, __NOTOC__, etc.
  * Usage:
  *     if (MagicWord::get( MAG_REDIRECT )->match( $text ) )
- * 
- * Possible future improvements: 
+ *
+ * Possible future improvements:
  *   * Simultaneous searching for a number of magic words
  *   * $wgMagicWords in shared memory
  *
- * Please avoid reading the data out of one of these objects and then writing 
+ * Please avoid reading the data out of one of these objects and then writing
  * special case code. If possible, add another match()-like function here.
  *
  * @package MediaWiki
@@ -177,7 +177,7 @@ class MagicWord {
                $this->mRegex = "/{$this->mBaseRegex}/{$case}";
                $this->mRegexStart = "/^(?:{$this->mBaseRegex})/{$case}";
                $this->mVariableRegex = str_replace( "\\$1", "(.*?)", $this->mRegex );
-               $this->mVariableStartToEndRegex = str_replace( "\\$1", "(.*?)", 
+               $this->mVariableStartToEndRegex = str_replace( "\\$1", "(.*?)",
                        "/^(?:{$this->mBaseRegex})$/{$case}" );
        }
        
@@ -294,7 +294,7 @@ class MagicWord {
        function getVariableRegex()     {
                if ( $this->mVariableRegex == '' ) {
                        $this->initRegex();
-               } 
+               }
                return $this->mVariableRegex;
        }
 
@@ -304,7 +304,7 @@ class MagicWord {
        function getVariableStartToEndRegex() {
                if ( $this->mVariableStartToEndRegex == '' ) {
                        $this->initRegex();
-               } 
+               }
                return $this->mVariableStartToEndRegex;
        }
 
@@ -316,7 +316,7 @@ class MagicWord {
        }
 
        /**
-        * Returns true if the last call to replace() or substituteCallback() 
+        * Returns true if the last call to replace() or substituteCallback()
         * returned a modified text, otherwise false.
         */
        function getWasModified(){
@@ -328,7 +328,7 @@ class MagicWord {
         * This method uses the php feature to do several replacements at the same time,
         * thereby gaining some efficiency. The result is placed in the out variable
         * $result. The return value is true if something was replaced.
-        * @static 
+        * @static
         **/
        function replaceMultiple( $magicarr, $subject, &$result ){
                $search = array();
index ef6c603..416b7c9 100644 (file)
@@ -8,7 +8,7 @@
  * Takes LaTeX fragments, sends them to a helper program (texvc) for rendering
  * to rasterized PNG and HTML and MathML approximations. An appropriate
  * rendering form is picked and returned.
- * 
+ *
  * by Tomasz Wegrzanowski, with additions by Brion Vibber (2003, 2004)
  *
  * @package MediaWiki
@@ -53,7 +53,7 @@ class MathRenderer {
                        if( function_exists( 'is_executable' ) && !is_executable( $wgTexvc ) ) {
                                return $this->_error( 'math_notexvc' );
                        }
-                       $cmd = $wgTexvc . ' ' . 
+                       $cmd = $wgTexvc . ' ' .
                                        escapeshellarg( $wgTmpDirectory ).' '.
                                        escapeshellarg( $wgTmpDirectory ).' '.
                                        escapeshellarg( $this->tex ).' '.
@@ -62,7 +62,7 @@ class MathRenderer {
                        if ( wfIsWindows() ) {
                                # Invoke it within cygwin sh, because texvc expects sh features in its default shell
                                $cmd = 'sh -c ' . wfEscapeShellArg( $cmd );
-                       } 
+                       }
 
                        wfDebug( "TeX: $cmd\n" );
                        $contents = `$cmd`;
@@ -143,13 +143,13 @@ class MathRenderer {
                                
                                $dbw =& wfGetDB( DB_MASTER );
                                $dbw->replace( 'math', array( 'math_inputhash' ),
-                                 array( 
-                                       'math_inputhash' => $md5_sql, 
+                                 array(
+                                       'math_inputhash' => $md5_sql,
                                        'math_outputhash' => $outmd5_sql,
                                        'math_html_conservativeness' => $this->conservativeness,
                                        'math_html' => $this->html,
                                        'math_mathml' => $this->mathml,
-                                 ), $fname, array( 'IGNORE' ) 
+                                 ), $fname, array( 'IGNORE' )
                                );
                        }
                        
@@ -172,7 +172,7 @@ class MathRenderer {
 
                $this->md5 = md5( $this->tex );
                $dbr =& wfGetDB( DB_SLAVE );
-               $rpage = $dbr->selectRow( 'math', 
+               $rpage = $dbr->selectRow( 'math',
                        array( 'math_outputhash','math_html_conservativeness','math_html','math_mathml' ),
                        array( 'math_inputhash' => pack("H32", $this->md5)), # Binary packed, not hex
                        $fname
index c3637b7..729a317 100755 (executable)
@@ -57,7 +57,7 @@ class MessageCache {
                wfProfileOut( $fname );
        }
 
-       /** 
+       /**
         * Try to load the cache from a local file
         */
        function loadFromLocal( $hash ) {
@@ -151,7 +151,7 @@ class MessageCache {
                                $this->mCache = $this->mMemc->get( $this->mMemcKey );
 
                                # Save to local cache
-                               if ( $wgLocalMessageCache !== false ) { 
+                               if ( $wgLocalMessageCache !== false ) {
                                        $serialized = serialize( $this->mCache );
                                        if ( !$hash ) {
                                                $hash = md5( $serialized );
@@ -184,7 +184,7 @@ class MessageCache {
                                        }
 
                                        # Save to local cache
-                                       if ( $wgLocalMessageCache !== false ) { 
+                                       if ( $wgLocalMessageCache !== false ) {
                                                $serialized = serialize( $this->mCache );
                                                $hash = md5( $serialized );
                                                $this->mMemc->set( "{$this->mMemcKey}-hash", $hash, $this->mExpiry );
@@ -248,7 +248,7 @@ class MessageCache {
                }
 
                # Negative caching
-               # Go through the language array and the extension array and make a note of 
+               # Go through the language array and the extension array and make a note of
                # any keys missing from the cache
                foreach ( $wgAllMessagesEn as $key => $value ) {
                        $uckey = $wgLang->ucfirst( $key );
@@ -298,7 +298,7 @@ class MessageCache {
                        $this->mMemc->set( $this->mMemcKey, $this->mCache, $this->mExpiry );
                        
                        # Save to local cache
-                       if ( $wgLocalMessageCache !== false ) { 
+                       if ( $wgLocalMessageCache !== false ) {
                                $serialized = serialize( $this->mCache );
                                $hash = md5( $serialized );
                                $this->mMemc->set( "{$this->mMemcKey}-hash", $hash, $this->mExpiry );
index 66b93b1..d335928 100644 (file)
@@ -6,7 +6,7 @@
 
  /** Defines a set of well known mime types
  * This is used as a fallback to mime.types files.
- * An extensive list of well known mime types is provided by 
+ * An extensive list of well known mime types is provided by
  * the file mime.types in the includes directory.
  */
 define('MM_WELL_KNOWN_MIME_TYPES',<<<END_STRING
@@ -26,7 +26,7 @@ image/png png
 image/svg+xml svg
 image/tiff tiff tif
 text/plain txt
-text/html html htm 
+text/html html htm
 video/ogg ogm ogg
 video/mpeg mpg mpeg
 END_STRING
@@ -34,7 +34,7 @@ END_STRING
 
  /** Defines a set of well known mime info entries
  * This is used as a fallback to mime.info files.
- * An extensive list of well known mime types is provided by 
+ * An extensive list of well known mime types is provided by
  * the file mime.info in the includes directory.
  */
 define('MM_WELL_KNOWN_MIME_INFO', <<<END_STRING
@@ -60,19 +60,19 @@ unknown/unknown application/octet-stream application/x-empty [UNKNOWN]
 END_STRING
 );
 
-#note: because this file is possibly included by a function, 
+#note: because this file is possibly included by a function,
 #we need to access the global scope explicitely!
 global $wgLoadFileinfoExtension;
 
-if ($wgLoadFileinfoExtension) { 
+if ($wgLoadFileinfoExtension) {
        if(!extension_loaded('fileinfo')) dl('fileinfo.' . PHP_SHLIB_SUFFIX);
 }
 
-/** Implements functions related to mime types such as detection and mapping to 
+/** Implements functions related to mime types such as detection and mapping to
 * file extension,
 *
 * Instances of this class are stateles, there only needs to be one global instance
-* of MimeMagic. Please use wfGetMimeMagic to get that instance. 
+* of MimeMagic. Please use wfGetMimeMagic to get that instance.
 * @package MediaWiki
 */
 class MimeMagic {
@@ -81,7 +81,7 @@ class MimeMagic {
        * Mapping of media types to arrays of mime types.
        * This is used by findMediaType and getMediaType, respectively
        */
-       var $mMediaTypes= NULL; 
+       var $mMediaTypes= NULL;
        
        /** Map of mime type aliases
        */
@@ -89,13 +89,13 @@ class MimeMagic {
        
        /** map of mime types to file extensions (as a space seprarated list)
        */
-       var $mMimeToExt= NULL; 
+       var $mMimeToExt= NULL;
        
        /** map of file extensions types to mime types (as a space seprarated list)
        */
-       var $mExtToMime= NULL; 
+       var $mExtToMime= NULL;
        
-       /** Initializes the MimeMagic object. This is called by wfGetMimeMagic when instantiation 
+       /** Initializes the MimeMagic object. This is called by wfGetMimeMagic when instantiation
        * the global MimeMagic singleton object.
        *
        * This constructor parses the mime.types and mime.info files and build internal mappings.
@@ -266,7 +266,7 @@ class MimeMagic {
        
        
        /** tests if the extension matches the given mime type.
-       * returns true if a match was found, NULL if the mime type is unknown, 
+       * returns true if a match was found, NULL if the mime type is unknown,
        * and false if the mime type is known but no matches where found.
        */
        function isMatchingExtension($extension,$mime) {
@@ -291,15 +291,15 @@ class MimeMagic {
        */
        function isPHPImageType( $mime ) {
                #as defined by imagegetsize and image_type_to_mime
-               static $types = array( 
-                       'image/gif', 'image/jpeg', 'image/png', 
+               static $types = array(
+                       'image/gif', 'image/jpeg', 'image/png',
                        'image/x-bmp', 'image/xbm', 'image/tiff',
-                       'image/jp2', 'image/jpeg2000', 'image/iff', 
+                       'image/jp2', 'image/jpeg2000', 'image/iff',
                        'image/xbm', 'image/x-xbitmap',
-                       'image/vnd.wap.wbmp', 'image/vnd.xiff', 
+                       'image/vnd.wap.wbmp', 'image/vnd.xiff',
                        'image/x-photoshop',
                        'application/x-shockwave-flash',
-               ); 
+               );
                
                return in_array( $mime, $types );
        }
@@ -367,10 +367,10 @@ class MimeMagic {
                            $mime==="text/xml" ||
                            $mime==="application/xml") {
                        
-                               if (substr($head,0,5)=="<?xml") $xml_type= "ASCII"; 
-                               elseif (substr($head,0,8)=="\xef\xbb\xbf<?xml") $xml_type= "UTF-8"; 
-                               elseif (substr($head,0,10)=="\xfe\xff\x00<\x00?\x00x\x00m\x00l") $xml_type= "UTF-16BE"; 
-                               elseif (substr($head,0,10)=="\xff\xfe<\x00?\x00x\x00m\x00l\x00") $xml_type= "UTF-16LE"; 
+                               if (substr($head,0,5)=="<?xml") $xml_type= "ASCII";
+                               elseif (substr($head,0,8)=="\xef\xbb\xbf<?xml") $xml_type= "UTF-8";
+                               elseif (substr($head,0,10)=="\xfe\xff\x00<\x00?\x00x\x00m\x00l") $xml_type= "UTF-16BE";
+                               elseif (substr($head,0,10)=="\xff\xfe<\x00?\x00x\x00m\x00l\x00") $xml_type= "UTF-16LE";
                                
                                if ($xml_type) {
                                        if ($xml_type!=="UTF-8" && $xml_type!=="ASCII") $head= iconv($xml_type,"ASCII//IGNORE",$head);
@@ -400,10 +400,10 @@ class MimeMagic {
                                $script_type= NULL;
                                
                                #detect by shebang
-                               if (substr($head,0,2)=="#!") $script_type= "ASCII"; 
-                               elseif (substr($head,0,5)=="\xef\xbb\xbf#!") $script_type= "UTF-8"; 
-                               elseif (substr($head,0,7)=="\xfe\xff\x00#\x00!") $script_type= "UTF-16BE"; 
-                               elseif (substr($head,0,7)=="\xff\xfe#\x00!") $script_type= "UTF-16LE"; 
+                               if (substr($head,0,2)=="#!") $script_type= "ASCII";
+                               elseif (substr($head,0,5)=="\xef\xbb\xbf#!") $script_type= "UTF-8";
+                               elseif (substr($head,0,7)=="\xfe\xff\x00#\x00!") $script_type= "UTF-16BE";
+                               elseif (substr($head,0,7)=="\xff\xfe#\x00!") $script_type= "UTF-16LE";
                                
                                if ($script_type) {
                                        if ($script_type!=="UTF-8" && $script_type!=="ASCII") $head= iconv($script_type,"ASCII//IGNORE",$head);
@@ -422,18 +422,18 @@ class MimeMagic {
                        */
                        if( !$xml_type && !$script_type ) {
                        
-                               if( ( strpos( $head, '<?php' ) !== false ) || 
+                               if( ( strpos( $head, '<?php' ) !== false ) ||
                                    ( strpos( $head, '<? ' ) !== false ) ||
                                    ( strpos( $head, "<?\n" ) !== false ) ||
                                    ( strpos( $head, "<?\t" ) !== false ) ||
                                    ( strpos( $head, "<?=" ) !== false ) ||
                                
-                                   ( strpos( $head, "<\x00?\x00p\x00h\x00p" ) !== false ) || 
+                                   ( strpos( $head, "<\x00?\x00p\x00h\x00p" ) !== false ) ||
                                    ( strpos( $head, "<\x00?\x00 " ) !== false ) ||
                                    ( strpos( $head, "<\x00?\x00\n" ) !== false ) ||
                                    ( strpos( $head, "<\x00?\x00\t" ) !== false ) ||
                                    ( strpos( $head, "<\x00?\x00=" ) !== false ) ) {
-                                   
+                               
                                        $mime= "application/x-php";
                                }
                        }
@@ -446,10 +446,10 @@ class MimeMagic {
                return $mime;
        }
        
-       /** Internal mime type detection, please use guessMimeType() for application code instead. 
+       /** Internal mime type detection, please use guessMimeType() for application code instead.
        * Detection is done using an external program, if $wgMimeDetectorCommand is set.
-       * Otherwise, the fileinfo extension and mime_content_type are tried (in this order), if they are available. 
-       * If the dections fails and $useExt is true, the mime type is guessed from the file extension, using guessTypesForExtension. 
+       * Otherwise, the fileinfo extension and mime_content_type are tried (in this order), if they are available.
+       * If the dections fails and $useExt is true, the mime type is guessed from the file extension, using guessTypesForExtension.
        * If the mime type is still unknown, getimagesize is used to detect the mime type if the file is an image.
        * If no mime type can be determined, this function returns "unknown/unknown".
        *
@@ -475,7 +475,7 @@ class MimeMagic {
                        # see http://pecl.php.net/package/fileinfo
                        # This must be compiled into PHP
                        #
-                       # finfo is the official replacement for the deprecated 
+                       # finfo is the official replacement for the deprecated
                        # mime_content_type function, see below.
                        #
                        # If you may need to load the fileinfo extension at runtime, set
@@ -490,7 +490,7 @@ class MimeMagic {
                        }
                        else wfDebug("$fname: finfo_open failed on ".FILEINFO_MIME."!\n");
                }
-               else if (function_exists("mime_content_type")) { 
+               else if (function_exists("mime_content_type")) {
                        
                        # NOTE: this function is available since PHP 4.3.0, but only if
                        # PHP was compiled with --with-mime-magic or, before 4.3.2, with --enable-mime-magic.
@@ -505,7 +505,7 @@ class MimeMagic {
                }
                else wfDebug("$fname: no magic mime detector found!\n");
        
-               if ($m) { 
+               if ($m) {
                        #normalize
                        $m= preg_replace('![;, ].*$!','',$m); #strip charset, etc
                        $m= trim($m);
@@ -560,8 +560,8 @@ class MimeMagic {
                        
                        $m= $this->guessTypesForExtension($e);
                        
-                       #TODO: if $notAnImage is set, do not trust the file extension if 
-                       # the results is one of the image types that should have been recognized 
+                       #TODO: if $notAnImage is set, do not trust the file extension if
+                       # the results is one of the image types that should have been recognized
                        # by getimagesize
                        
                        if ($m) {
@@ -579,16 +579,16 @@ class MimeMagic {
        * Determine the media type code for a file, using its mime type, name and possibly
        * its contents.
        *
-       * This function relies on the findMediaType(), mapping extensions and mime 
+       * This function relies on the findMediaType(), mapping extensions and mime
        * types to media types.
        *
-       * @todo analyse file if need be 
+       * @todo analyse file if need be
        * @todo look at multiple extension, separately and together.
        *
-       * @param string $path full path to the image file, in case we have to look at the contents 
+       * @param string $path full path to the image file, in case we have to look at the contents
        *        (if null, only the mime type is used to determine the media type code).
        * @param string $mime mime type. If null it will be guessed using guessMimeType.
-       * 
+       *
        * @return (int?string?) a value to be used with the MEDIATYPE_xxx constants.
        */
        function getMediaType($path=NULL,$mime=NULL) {
@@ -651,7 +651,7 @@ class MimeMagic {
        }
        
        /** returns a media code matching the given mime type or file extension.
-       * File extensions are represented by a string starting with a dot (.) to 
+       * File extensions are represented by a string starting with a dot (.) to
        * distinguish them from mime types.
        *
        * This funktion relies on the mapping defined by $this->mMediaTypes
index e0a7df2..1d89a45 100644 (file)
@@ -728,7 +728,7 @@ class OutputPage {
                $this->mBodytext = '';
                $loginpage = Title::makeTitle(NS_SPECIAL, 'Userlogin');
                $sk = $wgUser->getSkin();
-               $loginlink = $sk->makeKnownLinkObj($loginpage, wfMsg('loginreqlink'), 
+               $loginlink = $sk->makeKnownLinkObj($loginpage, wfMsg('loginreqlink'),
                        'returnto=' . htmlspecialchars($wgTitle->getPrefixedDBkey()));
                $this->addHTML( wfMsgHtml( 'loginreqpagetext', $loginlink ) );
 
index 74e92ba..90bb763 100644 (file)
@@ -157,7 +157,7 @@ class Parser
                wfRunHooks( 'ParserClearState', array( &$this ) );
        }
 
-       /** 
+       /**
         * Convert wikitext to HTML
         * Do not call this function recursively.
         *
@@ -1206,7 +1206,7 @@ class Parser
                $imagesfrom = $this->mOptions->getAllowExternalImagesFrom();
                $imagesexception = !empty($imagesfrom);
                $text = false;
-               if ( $this->mOptions->getAllowExternalImages() 
+               if ( $this->mOptions->getAllowExternalImages()
                     || ( $imagesexception && strpos( $url, $imagesfrom ) === 0 ) ) {
                        if ( preg_match( EXT_IMAGE_REGEX, $url ) ) {
                                # Image found
@@ -1421,7 +1421,7 @@ class Parser
 
                                                # cloak any absolute URLs inside the image markup, so replaceExternalLinks() won't touch them
                                                $s .= $prefix . $this->armorLinks( $this->makeImage( $nt, $text ) ) . $trail;
-                                               $this->mOutput->addImage( $nt->getDBkey() ); 
+                                               $this->mOutput->addImage( $nt->getDBkey() );
 
                                                wfProfileOut( "$fname-image" );
                                                continue;
@@ -2075,14 +2075,14 @@ class Parser
                                                           'title' => '',
                                                           'parts' => null);
 
-                               # count openning brace characters 
+                               # count openning brace characters
                                while ($i+1 < strlen($text) && $text[$i+1] == $piece['brace']) {
                                        $piece['count']++;
                                        $i++;
                                }
 
-                               $piece['startAt'] = $i+1; 
-                               $piece['partStart'] = $i+1; 
+                               $piece['startAt'] = $i+1;
+                               $piece['partStart'] = $i+1;
 
                                # we need to add to stack only if openning brace count is enough for any given rule
                                foreach ($rule['cb'] as $cnt => $fn) {
@@ -3640,7 +3640,7 @@ class Parser
        }
 
        /**
-        * Set a flag in the output object indicating that the content is dynamic and 
+        * Set a flag in the output object indicating that the content is dynamic and
         * shouldn't be cached.
         */
        function disableCache() {
@@ -3726,13 +3726,13 @@ class ParserOutput
        function addImage( $name )           { $this->mImages[$name] = 1; }
        function addLanguageLink( $t )       { $this->mLanguageLinks[] = $t; }
 
-       function addLink( $title, $id ) { 
+       function addLink( $title, $id ) {
                $ns = $title->getNamespace();
                $dbk = $title->getDBkey();
                if ( !isset( $this->mLinks[$ns] ) ) {
                        $this->mLinks[$ns] = array();
                }
-               $this->mLinks[$ns][$dbk] = $id; 
+               $this->mLinks[$ns][$dbk] = $id;
        }
 
        function addTemplate( $title, $id ) {
index f8b3b9b..1412ab9 100644 (file)
@@ -1,6 +1,6 @@
-<?php 
+<?php
 /**
- * 
+ *
  * @package MediaWiki
  * @subpackage Experimental
  */
@@ -543,7 +543,7 @@ class ParserXML extends Parser {
 
        /**
         * Constructor
-        * 
+        *
         * @access public
         */
        function ParserXML() {
index 4faf9dd..2915bbc 100755 (executable)
@@ -1,4 +1,4 @@
-<?php 
+<?php
 /**
  * Simple profiler base class
  * @package MediaWiki
index ca81ec0..a929f94 100755 (executable)
@@ -1,4 +1,4 @@
-<?php 
+<?php
 /**
  * This file is only included if profiling is enabled
  * @package MediaWiki
@@ -335,14 +335,14 @@ class Profiler {
 
                $rc = $dbw->affectedRows();
                if ($rc == 0) {
-                       $dbw->insert('profiling', array ('pf_name' => $name, 'pf_count' => $eventCount, 
+                       $dbw->insert('profiling', array ('pf_name' => $name, 'pf_count' => $eventCount,
                                'pf_time' => $timeSum, 'pf_server' => $wguname['nodename'] ), $fname, array ('IGNORE'));
                }
                // When we upgrade to mysql 4.1, the insert+update
                // can be merged into just a insert with this construct added:
                //     "ON DUPLICATE KEY UPDATE ".
                //     "pf_count=pf_count + VALUES(pf_count), ".
-               //     "pf_time=pf_time + VALUES(pf_time)"; 
+               //     "pf_time=pf_time + VALUES(pf_time)";
        }
 
        /**
index b0b31bb..76fb94b 100644 (file)
@@ -2,17 +2,17 @@
 /**
  * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
  * http://www.mediawiki.org/
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 383878d..dd7daa8 100644 (file)
@@ -53,7 +53,7 @@ function wfGetIP() {
        return $ip;
 }
 
-/** 
+/**
  * Given an IP address in dotted-quad notation, returns an unsigned integer.
  * Like ip2long() except that it actually works and has a consistent error return value.
  */
@@ -79,7 +79,7 @@ function wfIP2Hex( $ip ) {
 }
 
 /**
- * Determine if an IP address really is an IP address, and if it is public, 
+ * Determine if an IP address really is an IP address, and if it is public,
  * i.e. not RFC 1918 or similar
  */
 function wfIsIPPublic( $ip ) {
@@ -182,7 +182,7 @@ function wfIsLocallyBlockedProxy( $ip ) {
        
        if ( !$wgProxyList ) {
                return false;
-       } 
+       }
        wfProfileIn( $fname );
        
        if ( !is_array( $wgProxyList ) ) {
index 7dc0e80..a75fe61 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2004 Gabriel Wicke <gw@wikidev.net>
  * http://www.aulinx.de/
  * Based on PageHistory and SpecialExport
- * 
+ *
  * License: GPL (http://www.gnu.org/copyleft/gpl.html)
  *
  * @author Gabriel Wicke <gw@wikidev.net>
@@ -30,7 +30,7 @@ class RawPage {
                $this->mArticle =& $article;
                $this->mTitle =& $article->mTitle;
 
-               if ( $request === false ) { 
+               if ( $request === false ) {
                        $this->mRequest =& $wgRequest;
                } else {
                        $this->mRequest = $request;
index 2305672..d2771bb 100644 (file)
@@ -7,7 +7,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -40,7 +40,7 @@ define( 'MW_CHAR_REFS_REGEX',
  * Allows some... latitude.
  * Used in Sanitizer::fixTagAttributes and Sanitizer::decodeTagAttributes
  */
-$attrib = '[A-Za-z0-9]'; 
+$attrib = '[A-Za-z0-9]';
 $space = '[\x09\x0a\x0d\x20]';
 define( 'MW_ATTRIBS_REGEX',
        "/(?:^|$space)($attrib+)
@@ -462,7 +462,7 @@ class Sanitizer {
         * To avoid leaving blank lines, when a comment is both preceded
         * and followed by a newline (ignoring spaces), trim leading and
         * trailing spaces and one of the newlines.
-        * 
+        *
         * @access private
         * @param string $text
         * @return string
@@ -529,7 +529,7 @@ class Sanitizer {
                }
                
                # Unquoted attribute
-               # Since we quote this later, this can be anything distinguishable 
+               # Since we quote this later, this can be anything distinguishable
                # from the end of the attribute
                $pairs = array();
                if( !preg_match_all(
index 407a1c7..01d278b 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 256579f..3e770fb 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 655a48e..90c900e 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>, Domas Mituzas <domas.mituzas@gmail.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -95,7 +95,7 @@ class SearchTsearch2 extends SearchEngine {
                $searchindex = $this->db->tableName( 'searchindex' );
                return 'SELECT cur_id, cur_namespace, cur_title, cur_text ' .
                        "FROM $cur,$searchindex " .
-                       'WHERE cur_id=si_page AND ' . 
+                       'WHERE cur_id=si_page AND ' .
                        " $field @@ to_tsquery ('$match') " ;
        }
 
index 6cb645b..500e953 100644 (file)
@@ -1,12 +1,12 @@
 <?php
 /**
- * This is a class used to hold configuration settings, particularly for multi-wiki sites. 
+ * This is a class used to hold configuration settings, particularly for multi-wiki sites.
  *
  * @package MediaWiki
  */
 
 /**
- * The include paths change after this file is included from commandLine.inc, 
+ * The include paths change after this file is included from commandLine.inc,
  * meaning that require_once() fails to detect that it is including the same
  * file again. We use DIY C-style protection as a workaround.
  */
@@ -49,7 +49,7 @@ class SiteConfiguration {
                $localSettings = array();
                foreach ( $this->settings as $varname => $stuff ) {
                        $value = $this->get( $varname, $wiki, $suffix, $params );
-                       if ( !is_null( $value ) ) { 
+                       if ( !is_null( $value ) ) {
                                $localSettings[$varname] = $value;
                        }
                }
index 8be9f86..5807e87 100644 (file)
@@ -621,7 +621,7 @@ END;
                global $wgUser, $wgTitle, $wgContLang, $action;
                if(     $wgUser->isAllowed( 'deletedhistory' ) &&
                        (($wgTitle->getArticleId() == 0) || ($action == "history")) &&
-                       ($n = $wgTitle->isDeleted() ) ) 
+                       ($n = $wgTitle->isDeleted() ) )
                {
                        if ( $wgUser->isAllowed( 'delete' ) ) {
                                $msg = 'thisisdeleted';
index 3604ea5..a018e84 100644 (file)
@@ -483,7 +483,7 @@ class SkinTemplate extends Skin {
                        $personal_urls['logout'] = array(
                                'text' => wfMsg('userlogout'),
                                'href' => $this->makeSpecialUrl( 'Userlogout',
-                                       $wgTitle->getNamespace() === NS_SPECIAL && $wgTitle->getText() === 'Preferences' ? '' : "returnto={$this->thisurl}" 
+                                       $wgTitle->getNamespace() === NS_SPECIAL && $wgTitle->getText() === 'Preferences' ? '' : "returnto={$this->thisurl}"
                                )
                        );
                } else {
@@ -541,7 +541,7 @@ class SkinTemplate extends Skin {
                
                $text = wfMsg( $message );
                if ( $text == "&lt;$message&gt;" ) {
-                       $text = html_entity_decode($text); 
+                       $text = html_entity_decode($text);
                }
                
                return array(
@@ -805,7 +805,7 @@ class SkinTemplate extends Skin {
                                        'href' => ''
                                );
                        } else {
-                               if ( !( $revid == 0 )  ) 
+                               if ( !( $revid == 0 )  )
                                        $nav_urls['permalink'] = array(
                                                'text' => wfMsg( 'permalink' ),
                                                'href' => $wgTitle->getLocalURL( "oldid=$revid" )
index 904b087..8d43628 100644 (file)
@@ -66,7 +66,7 @@ function namespaceForm ( $namespace = NS_MAIN, $from = '' ) {
                <td align='right'>" . wfMsgHtml($this->nsfromMsg) . "</td>
                <td align='left'><label for='nsfrom'>$frombox</label></td>
        </tr>
-       <tr>    
+       <tr>
                <td align='right'><label for='namespace'>" . wfMsgHtml('namespace') . "</label></td>
                <td align='left'>
                        $namespaceselect $submitbutton
index 7d4b262..2483684 100644 (file)
@@ -204,7 +204,7 @@ class IPBlockForm {
                # Create block
                # Note: for a user block, ipb_address is only for display purposes
 
-               $ban = new Block( $this->BlockAddress, $userId, $wgUser->getID(), 
+               $ban = new Block( $this->BlockAddress, $userId, $wgUser->getID(),
                        $this->BlockReason, wfTimestampNow(), 0, $expiry );
                
                if (wfRunHooks('BlockIp', array(&$ban, &$wgUser))) {
@@ -215,7 +215,7 @@ class IPBlockForm {
                        
                        # Make log entry
                        $log = new LogPage( 'block' );
-                       $log->addEntry( 'block', Title::makeTitle( NS_USER, $this->BlockAddress ), 
+                       $log->addEntry( 'block', Title::makeTitle( NS_USER, $this->BlockAddress ),
                          $this->BlockReason, $expirestr );
 
                        # Report to the user
index 11f4c73..59133ed 100644 (file)
@@ -17,7 +17,7 @@ function wfSpecialBlockme()
        if ( !$wgBlockOpenProxies || $_REQUEST['ip'] != md5( $ip . $wgProxyKey ) ) {
                $wgOut->addWikiText( wfMsg( "disabled" ) );
                return;
-       }       
+       }
 
        $blockerName = wfMsg( "proxyblocker" );
        $reason = wfMsg( "proxyblockreason" );
index 90da68f..ea7ef0e 100644 (file)
@@ -34,7 +34,7 @@ class CategoriesPage extends QueryPage {
                $NScat = NS_CATEGORY;
                $dbr =& wfGetDB( DB_SLAVE );
                $categorylinks = $dbr->tableName( 'categorylinks' );
-               $s= "SELECT 'Categories' as type, 
+               $s= "SELECT 'Categories' as type,
                                {$NScat} as namespace,
                                cl_to as title,
                                1 as value,
index 286460d..26c62bd 100644 (file)
@@ -45,7 +45,7 @@ class DeadendPagesPage extends PageQueryPage {
        function getSQL() {
                $dbr =& wfGetDB( DB_SLAVE );
                extract( $dbr->tableNames( 'page', 'pagelinks' ) );
-               return "SELECT 'Deadendpages' as type, page_namespace AS namespace, page_title as title, page_title AS value " . 
+               return "SELECT 'Deadendpages' as type, page_namespace AS namespace, page_title as title, page_title AS value " .
        "FROM $page LEFT JOIN $pagelinks ON page_id = pl_from " .
        "WHERE pl_from IS NULL " .
        "AND page_namespace = 0 " .
@@ -57,11 +57,11 @@ class DeadendPagesPage extends PageQueryPage {
  * Constructor
  */
 function wfSpecialDeadendpages() {
-    
+
     list( $limit, $offset ) = wfCheckLimits();
 
     $depp = new DeadendPagesPage();
-    
+
     return $depp->doQuery( $offset, $limit );
 }
 
index ed82684..fd44a25 100644 (file)
@@ -45,7 +45,7 @@ class DisambiguationsPage extends PageQueryPage {
                         ." pa.page_title AS title, la.pl_from AS value"
                         ." FROM {$pagelinks} AS lb, {$page} AS pa, {$pagelinks} AS la"
                         ." WHERE lb.pl_namespace = $dns AND lb.pl_title = $dtitle" # disambiguation template
-                        ." AND pa.page_id = lb.pl_from"        
+                        ." AND pa.page_id = lb.pl_from"
                         ." AND pa.page_namespace = la.pl_namespace"
                         ." AND pa.page_title = la.pl_title";
                return $sql;
index 50a294c..080a906 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 /**
- * 
+ *
  */
 require_once('QueryPage.php');
 
index 83d02b8..defc981 100644 (file)
@@ -84,8 +84,8 @@ class EmailUserForm {
                $wgOut->setPagetitle( wfMsg( "emailpage" ) );
                $wgOut->addWikiText( wfMsg( "emailpagetext" ) );
 
-               if ( $this->subject === "" ) { 
-                       $this->subject = wfMsg( "defemailsubject" ); 
+               if ( $this->subject === "" ) {
+                       $this->subject = wfMsg( "defemailsubject" );
                }
 
                $emf = wfMsg( "emailfrom" );
@@ -128,7 +128,7 @@ class EmailUserForm {
 
        function doSubmit() {
                global $wgOut, $wgUser;
-           
+       
                $to = new MailAddress( $this->target );
                $from = new MailAddress( $wgUser );
                $subject = $this->subject;
index f470fae..f1b4662 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2003 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 39bbe62..6820bc4 100644 (file)
@@ -77,14 +77,14 @@ class GroupsForm extends HTMLForm {
                                $wgOut->redirect( $this->location );
                        } else {                        
                                $this->switchForm();
-                               $this->editGroupForm( $this->mId ); 
+                               $this->editGroupForm( $this->mId );
                        }
                } elseif ( $this->mAdd ) {
                        if ( $this->mPosted ) {
                                $wgOut->redirect( $this->location );
                        } else {
                                $this->switchForm();
-                               $this->editGroupForm( ); 
+                               $this->editGroupForm( );
                        }
                } else {
                        $this->showAllGroups();
@@ -131,8 +131,8 @@ class GroupsForm extends HTMLForm {
                // save stuff
                $g->setName($this->mNewName);
                $g->setDescription($this->mDescription);
-               if( is_array( $this->mRights ) ) { 
-                       $g->setRights( implode(',',$this->mRights) ); 
+               if( is_array( $this->mRights ) ) {
+                       $g->setRights( implode(',',$this->mRights) );
                }
                
                $g->save();
@@ -145,7 +145,7 @@ class GroupsForm extends HTMLForm {
                } else {
                        if ( $this->mOldName != $this->mNewName ) {
                                // Abbreviated action name, must be less than 10 bytes
-                               $log->addEntry( 'rngroup', $dummyTitle, '', array( Group::getMessageForContent( $this->mOldName ), 
+                               $log->addEntry( 'rngroup', $dummyTitle, '', array( Group::getMessageForContent( $this->mOldName ),
                                $g->getNameForContent() ) );
                        } else {
                                $log->addEntry( 'chgroup', $dummyTitle, '', array( $g->getNameForContent() ) );
@@ -234,7 +234,7 @@ class GroupsForm extends HTMLForm {
                foreach ( $groups as $group ) {
                        $s .= "|-\n| " . $group->getId() . ' || ' .
                                $group->getExpandedName() . ' || ' .
-                               $group->getExpandedDescription() . ' || '. 
+                               $group->getExpandedDescription() . ' || '.
                                // Insert spaces to make it wrap
                                str_replace( ',', ', ', $group->getRights() ) . "\n";
                }
index 81eb9c9..dff0fc6 100644 (file)
@@ -3,17 +3,17 @@
  * MediaWiki page data importer
  * Copyright (C) 2003,2005 Brion Vibber <brion@pobox.com>
  * http://www.mediawiki.org/
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index da635f1..1cc467d 100644 (file)
@@ -35,7 +35,7 @@ function wfSpecialIpblocklist() {
 }
 
 /**
- * 
+ *
  * @package MediaWiki
  * @subpackage SpecialPage
  */
index 0fa91e5..52eac0f 100644 (file)
@@ -3,17 +3,17 @@
 # Domas Mituzas, Ashar Voultoiz, Jens Frank, Zhengzhu.
 #
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 75f6e5c..af56c17 100644 (file)
@@ -34,7 +34,7 @@ function wfSpecialLongpages()
     list( $limit, $offset ) = wfCheckLimits();
 
     $lpp = new LongPagesPage();
-    
+
     $lpp->doQuery( $offset, $limit );
 }
 
index 7f265cd..c3bdd1f 100644 (file)
@@ -155,8 +155,8 @@ function wfSpecialSelfLinks() {
 
        list( $limit, $offset ) = wfCheckLimits();
 
-       $sql = "SELECT page_namespace,page_title FROM page,links " . 
-         "WHERE l_from=l_to AND l_to=page_id " . 
+       $sql = "SELECT page_namespace,page_title FROM page,links " .
+         "WHERE l_from=l_to AND l_to=page_id " .
          "LIMIT {$offset}, {$limit}";
 
        $res = wfQuery( $sql, DB_SLAVE, $fname );
@@ -183,7 +183,7 @@ function wfSpecialSelfLinks() {
 }
 
 /**
- * 
+ *
  */
 function wfSpecialMispeelings () {
        global $wgUser, $wgOut, $wgContLang;
index e733177..505ea40 100644 (file)
@@ -29,7 +29,7 @@ class MostlinkedCategoriesPage extends QueryPage {
                $name = $dbr->addQuotes( $this->getName() );
                return
                        "
-                       SELECT 
+                       SELECT
                                $name as type,
                                " . NS_CATEGORY . " as namespace,
                                cl_to as title,
index 8b16810..8f7b4d0 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * A special page to show pages in the 
+ * A special page to show pages in the
  *
  * @package MediaWiki
  * @subpackage SpecialPage
index 746f571..6646ff5 100644 (file)
@@ -232,7 +232,7 @@ class MovePageForm {
                
                # Give back result to user.
                $titleObj = Title::makeTitle( NS_SPECIAL, 'Movepage' );
-               $success = $titleObj->getFullURL( 
+               $success = $titleObj->getFullURL(
                  'action=success&oldtitle=' . wfUrlencode( $ot->getPrefixedText() ) .
                  '&newtitle=' . wfUrlencode( $nt->getPrefixedText() ) .
                  '&talkmoved='.$talkmoved );
index 7ade3b4..7a9557d 100644 (file)
@@ -54,9 +54,9 @@ class PopularPagesPage extends QueryPage {
  */
 function wfSpecialPopularpages() {
     list( $limit, $offset ) = wfCheckLimits();
-    
+
     $ppp = new PopularPagesPage();
-    
+
     return $ppp->doQuery( $offset, $limit );
 }
 
index de9b93b..c1b6efa 100644 (file)
@@ -374,7 +374,7 @@ class PreferencesForm {
                        if( preg_match( $item, $this->mNick ) > 0 ) {
                                return( true ); # We found a reserved expression
                        }
-               } 
+               }
                return( false );
        }
 
@@ -829,7 +829,7 @@ class PreferencesForm {
                        ) . '</fieldset>'
                );
 
-               $wgOut->addHTML( '<fieldset><legend>' . htmlspecialchars(wfMsg('prefs-rc')) . '</legend>' . 
+               $wgOut->addHTML( '<fieldset><legend>' . htmlspecialchars(wfMsg('prefs-rc')) . '</legend>' .
                                        '<label for="wpRecent">' . wfMsg ( 'recentchangescount' ) .
                                        "</label> <input type='text' name='wpRecent' id='wpRecent' value=\"$this->mRecent\" size='3' />" .
                        $this->getToggles( array(
index 7f435be..4861ea3 100644 (file)
@@ -90,7 +90,7 @@ function showChunk( $namespace = NS_MAIN, $from, $including = false ) {
        while( ($n < $this->maxPerPage) && ($s = $dbr->fetchObject( $res )) ) {
                $t = Title::makeTitle( $s->page_namespace, $s->page_title );
                if( $t ) {
-                       $link = ($s->page_is_redirect ? '<div class="allpagesredirect">' : '' ) . 
+                       $link = ($s->page_is_redirect ? '<div class="allpagesredirect">' : '' ) .
                                $sk->makeKnownLinkObj( $t, htmlspecialchars( $t->getText() ), false, false ) .
                                ($s->page_is_redirect ? '</div>' : '' );
                } else {
index 8239b0a..f2ea57e 100644 (file)
@@ -67,7 +67,7 @@ function wfSpecialRecentchangeslinked( $par = NULL ) {
        // If target is a Category, use categorylinks and invert from and to
        if( $nt->getNamespace() == NS_CATEGORY ) {
                $catkey = $dbr->addQuotes( $nt->getDBKey() );
-               $sql = "SELECT /* wfSpecialRecentchangeslinked */ 
+               $sql = "SELECT /* wfSpecialRecentchangeslinked */
                                rc_id,
                                rc_cur_id,
                                rc_namespace,
@@ -95,7 +95,7 @@ function wfSpecialRecentchangeslinked( $par = NULL ) {
  ";
        } else {
                $sql =
-"SELECT /* wfSpecialRecentchangeslinked */ 
+"SELECT /* wfSpecialRecentchangeslinked */
                        rc_id,
                        rc_cur_id,
                        rc_namespace,
index 6ff335f..fd4705e 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -89,7 +89,7 @@ class SpecialSearch {
                $t = Title::newFromText( $term );
 
                # If the string cannot be used to create a title
-               if( is_null( $t ) ){ 
+               if( is_null( $t ) ){
                        return $this->showResults( $term );
                }
 
@@ -220,7 +220,7 @@ class SpecialSearch {
        # Private methods below this line
        
        /**
-        * 
+        *
         */
        function setupPage( $term ) {
                global $wgOut;
index c8fd40d..c809d24 100755 (executable)
@@ -36,7 +36,7 @@ class UncategorizedPagesPage extends PageQueryPage {
                extract( $dbr->tableNames( 'page', 'categorylinks' ) );
                $name = $dbr->addQuotes( $this->getName() );
 
-               return 
+               return
                        "
                        SELECT
                                $name as type,
index c4d7d2a..a2fa848 100644 (file)
@@ -31,7 +31,7 @@ class UnusedimagesPage extends QueryPage {
                        extract( $dbr->tableNames( 'page', 'image', 'imagelinks', 'categorylinks' ) );
                
                        return 'SELECT img_name as title, img_user, img_user_text, img_timestamp as value, img_description
-                                       FROM ((('.$page.' AS I LEFT JOIN '.$categorylinks.' AS L ON I.page_id = L.cl_from) 
+                                       FROM ((('.$page.' AS I LEFT JOIN '.$categorylinks.' AS L ON I.page_id = L.cl_from)
                                                LEFT JOIN '.$imagelinks.' AS P ON I.page_title = P.il_to)
                                                INNER JOIN '.$image.' AS G ON I.page_title = G.img_name)
                                        WHERE I.page_namespace = '.NS_IMAGE.' AND L.cl_from IS NULL AND P.il_to IS NULL';
index 4a88a65..507bbc2 100644 (file)
@@ -41,7 +41,7 @@ class UploadFormMogile extends UploadForm {
 
                if( $mfs->getPaths( $this->mSavedFile )) {
                        $this->mUploadOldVersion = gmdate( 'YmdHis' ) . "!{$saveName}";
-                       if( !$mfs->rename( $this->mSavedFile, "archive!{$this->mUploadOldVersion}" ) ) { 
+                       if( !$mfs->rename( $this->mSavedFile, "archive!{$this->mUploadOldVersion}" ) ) {
                                $wgOut->fileRenameError( $this->mSavedFile,
                                  "archive!{$this->mUploadOldVersion}" );
                                return false;
index ec8d457..30a26dc 100644 (file)
@@ -69,7 +69,7 @@ class LoginForm {
                        $this->mDomain = 'invaliddomain';
                }
                $wgAuth->setDomain( $this->mDomain );
+
                # When switching accounts, it sucks to get automatically logged out
                if( $this->mReturnto == $wgLang->specialPage( 'Userlogout' ) ) {
                        $this->mReturnto = '';
@@ -191,8 +191,8 @@ class LoginForm {
                }
 
                $ip = wfGetIP();
-               if ( $wgEnableSorbs && !in_array( $ip, $wgProxyWhitelist ) && 
-                 $wgUser->inSorbsBlacklist( $ip ) ) 
+               if ( $wgEnableSorbs && !in_array( $ip, $wgProxyWhitelist ) &&
+                 $wgUser->inSorbsBlacklist( $ip ) )
                {
                        $this->mainLoginForm( wfMsg( 'sorbs_create_account_reason' ) . ' (' . htmlspecialchars( $ip ) . ')' );
                        return;
@@ -510,7 +510,7 @@ class LoginForm {
                global $wgDisableCookieCheck;
                return ( $wgDisableCookieCheck ) ? true : ( isset( $_COOKIE[session_name()] ) );
        }
-         
+       
        /**
         * @access private
         */
index 704db31..0a9d9ed 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * Provide an administration interface
  * DO NOT USE: INSECURE.
- * 
+ *
  * TODO : remove everything related to group editing (SpecialGrouplevels.php)
  * @package MediaWiki
  * @subpackage SpecialPage
index 6c0aabb..5df1a6a 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Magnus Manske <magnus.manske@web.de>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -653,8 +653,8 @@ class Validation {
                $title = $article->getTitle();
                $wgOut->setPageTitle( wfMsg( 'val_validation_of', $title->getPrefixedText() ) );
                
-               $offset = $wgRequest->getVal ( "offset" , 0 ) ; 
-               $limit = $wgRequest->getVal ( "limit" , 25 ) ; 
+               $offset = $wgRequest->getVal ( "offset" , 0 ) ;
+               $limit = $wgRequest->getVal ( "limit" , 25 ) ;
                
                # Collecting statistic data
                # Unfortunately, it has to read all the data, though it will only display a part
@@ -741,7 +741,7 @@ class Validation {
                $base .= "limit={$limit}&offset=" ;
                
                if ( $offset > 0 ) {
-                       $o = $offset - $limit ; 
+                       $o = $offset - $limit ;
                        $t = $offset-$limit+1 ;
                        $r[] = $sk->makeKnownLinkObj( $nt, "{$t} <<" , $base.$o );
                }
@@ -751,7 +751,7 @@ class Validation {
                $r[] = $s1 . " - " . $s2 ;
                
                if ( $lastcount == $limit ) {
-                       $o = $offset + $limit ; 
+                       $o = $offset + $limit ;
                        $t = $offset+$limit+1 ;
                        $r[] = $sk->makeKnownLinkObj( $nt, ">> {$t}" , $base.$o );
                }
index 5e562dd..084df3f 100644 (file)
@@ -63,15 +63,15 @@ class SpecialVersion {
                $ret =
                "__NOTOC__
                <div dir='ltr'>
-               This wiki is powered by '''[http://www.mediawiki.org/ MediaWiki]''',  
+               This wiki is powered by '''[http://www.mediawiki.org/ MediaWiki]''',
                copyright (C) 2001-2006 Magnus Manske, Brion Vibber, Lee Daniel Crocker,
                Tim Starling, Erik Möller, and others.
-                
+               
                MediaWiki is free software; you can redistribute it and/or modify
                it under the terms of the GNU General Public License as published by
                the Free Software Foundation; either version 2 of the License, or
                (at your option) any later version.
-                
+               
                MediaWiki is distributed in the hope that it will be useful,
                but WITHOUT ANY WARRANTY; without even the implied warranty of
                MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
index 4ab7c21..82dd0fa 100644 (file)
@@ -130,7 +130,7 @@ function wfSpecialWatchlist( $par ) {
                $docutoff = "AND rev_timestamp > '" .
                  ( $cutoff = $dbr->timestamp( time() - intval( $days * 86400 ) ) )
                  . "'";
-                  /* 
+                  /*
                   $sql = "SELECT COUNT(*) AS n FROM $page, $revision  WHERE rev_timestamp>'$cutoff' AND page_id=rev_page";
                   $res = $dbr->query( $sql, $fname );
                   $s = $dbr->fetchObject( $res );
@@ -222,7 +222,7 @@ function wfSpecialWatchlist( $par ) {
        }
 
        # TODO: Consider removing the third parameter
-       $header .= wfMsg( 'watchdetails', $wgLang->formatNum( $nitems ), 
+       $header .= wfMsg( 'watchdetails', $wgLang->formatNum( $nitems ),
                $wgLang->formatNum( $npages ), '',
                $specialTitle->getFullUrl( 'edit=yes' ) );
        $wgOut->addWikiText( $header );
index bbdd74b..e664547 100644 (file)
@@ -52,7 +52,7 @@ class WhatLinksHerePage {
                        $wgOut->errorpage( 'notargettitle', 'notargettext' );
                        return;
                }
-               $this->selfTitle = Title::makeTitleSafe( NS_SPECIAL, 
+               $this->selfTitle = Title::makeTitleSafe( NS_SPECIAL,
                        'Whatlinkshere/' . $this->target->getPrefixedDBkey() );
                $wgOut->setPagetitle( $this->target->getPrefixedText() );
                $wgOut->setSubtitle( wfMsg( 'linklistsub' ) );
@@ -88,13 +88,13 @@ class WhatLinksHerePage {
                }
                
                // Make the query
-               $plConds = array( 
+               $plConds = array(
                        'page_id=pl_from',
                        'pl_namespace' => $target->getNamespace(),
                        'pl_title' => $target->getDBkey(),
                );
                
-               $tlConds = array( 
+               $tlConds = array(
                        'page_id=tl_from',
                        'tl_namespace' => $target->getNamespace(),
                        'tl_title' => $target->getDBkey(),
@@ -121,9 +121,9 @@ class WhatLinksHerePage {
                }
                $fields = array( 'page_id', 'page_namespace', 'page_title', 'page_is_redirect' );
                
-               $plRes = $dbr->select( array( 'pagelinks', 'page' ), $fields, 
+               $plRes = $dbr->select( array( 'pagelinks', 'page' ), $fields,
                        $plConds, $fname, $options );
-               $tlRes = $dbr->select( array( 'templatelinks', 'page' ), $fields, 
+               $tlRes = $dbr->select( array( 'templatelinks', 'page' ), $fields,
                        $tlConds, $fname, $options );
                
                if ( !$dbr->numRows( $plRes ) && !$dbr->numRows( $tlRes ) ) {
@@ -134,7 +134,7 @@ class WhatLinksHerePage {
                }               
 
                // Read the rows into an array and remove duplicates
-               // templatelinks comes second so that the templatelinks row overwrites the 
+               // templatelinks comes second so that the templatelinks row overwrites the
                // pagelinks row, so we get (inclusion) rather than nothing
                while ( $row = $dbr->fetchObject( $plRes ) ) {
                        $row->is_template = 0;
@@ -249,8 +249,8 @@ class WhatLinksHerePage {
 
                if ( 0 != $prevId ) {
                        $prevLink = $this->makeSelfLink( $prev, "limit={$limit}&from={$prevId}&dir=prev" );
-               } else { 
-                       $prevLink = $prev; 
+               } else {
+                       $prevLink = $prev;
                }
                if ( 0 != $nextId ) {
                        $nextLink = $this->makeSelfLink( $next, "limit={$limit}&from={$nextId}" );
index 023b434..67617fe 100644 (file)
@@ -43,7 +43,7 @@ class SquidUpdate {
                if ( $dbr->numRows( $res ) <= $this->mMaxTitles ) {
                        while ( $BL = $dbr->fetchObject ( $res ) )
                        {
-                               $tobj = Title::makeTitle( $BL->page_namespace, $BL->page_title ) ; 
+                               $tobj = Title::makeTitle( $BL->page_namespace, $BL->page_title ) ;
                                $blurlArr[] = $tobj->getInternalURL();
                        }
                }
@@ -70,7 +70,7 @@ class SquidUpdate {
        }
 
        /* Purges a list of Squids defined in $wgSquidServers.
-       $urlArr should contain the full URLs to purge as values 
+       $urlArr should contain the full URLs to purge as values
        (example: $urlArr[] = 'http://my.host/something')
        XXX report broken Squids per mail or log */
 
@@ -128,7 +128,7 @@ class SquidUpdate {
                                                #$this->debug("...");
                                                $res = @fread($socket,512);
                                                #$this->debug("\n");
-                                               /* Squid only returns http headers with 200 or 404 status, 
+                                               /* Squid only returns http headers with 200 or 404 status,
                                                if there's more returned something's wrong */
                                                if (strlen($res) > 250) {
                                                        fclose($socket);
@@ -138,7 +138,7 @@ class SquidUpdate {
                                                        @stream_set_blocking($socket,false);
                                                        $sockets[] = $socket;
                                                }
-                                       } 
+                                       }
                                } else {
                                        /* open the remaining sockets for this server */
                                        list($server, $port) = explode(':', $wgSquidServers[$ss]);
index eb7266e..e65b724 100644 (file)
@@ -8,7 +8,7 @@ function wfStreamFile( $fname ) {
                header( 'HTTP/1.0 404 Not Found' );
                echo "<html><body>
 <h1>File not found</h1>
-<p>Although this PHP script ({$_SERVER['SCRIPT_NAME']}) exists, the file requested for output 
+<p>Although this PHP script ({$_SERVER['SCRIPT_NAME']}) exists, the file requested for output
 does not.</p>
 </body></html>";
                return;
index 8053757..8cc9226 100644 (file)
@@ -548,7 +548,7 @@ class Title {
         * @return string
         * @access public
         */
-       function getNsText() { 
+       function getNsText() {
                global $wgContLang;
                return $wgContLang->getNsText( $this->mNamespace );
        }
@@ -712,7 +712,7 @@ class Title {
                                global $wgActionPaths;
                                $url = false;
                                if( !empty( $wgActionPaths ) &&
-                                       preg_match( '/^(.*&|)action=([^&]*)(&(.*)|)$/', $query, $matches ) ) 
+                                       preg_match( '/^(.*&|)action=([^&]*)(&(.*)|)$/', $query, $matches ) )
                                {
                                        $action = urldecode( $matches[2] );
                                        if( isset( $wgActionPaths[$action] ) ) {
index 187309e..cbad4b6 100644 (file)
@@ -815,7 +815,7 @@ class User {
        }
        
        /**
-        * Add or update the 
+        * Add or update the
         * @param string $field
         * @param mixed $id
         * @access private
index cbb7fd2..2563b8f 100644 (file)
@@ -6,17 +6,17 @@
 
 # Copyright (C) 2003 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -217,7 +217,7 @@ class WebRequest {
        
        /**
         * Fetch a text string from the given array or return $default if it's not
-        * set. \r is stripped from the text, and with some language modules there 
+        * set. \r is stripped from the text, and with some language modules there
         * is an input transliteration applied. This should generally be used for
         * form <textarea> and <input> fields.
         *
@@ -244,7 +244,7 @@ class WebRequest {
                }
 
                $retVal = array();
-               foreach ( $names as $name ) { 
+               foreach ( $names as $name ) {
                        $value = $this->getVal( $name );
                        if ( !is_null( $value ) ) {
                                $retVal[$name] = $value;
index f024105..d1f1157 100644 (file)
@@ -48,7 +48,7 @@ class MediaWikiType {
                }
        }
        
-       function act_creativecommons ( $action ) { 
+       function act_creativecommons ( $action ) {
                global $wgArticle , $wgEnableCreativeCommonsRdf ;
                if( !$wgEnableCreativeCommonsRdf ) {
                        wfHttpError( 403, 'Forbidden', wfMsg('nocreativecommons') );
@@ -58,13 +58,13 @@ class MediaWikiType {
                }
        }
        
-       function act_credits ( $action ) { 
+       function act_credits ( $action ) {
                global $wgArticle ;
                require_once( 'includes/Credits.php' );
                showCreditsPage( $wgArticle );
        }
        
-       function act_submit ( $action ) { 
+       function act_submit ( $action ) {
                global $wgCommandLineMode , $wgRequest ;
                if( !$wgCommandLineMode && !$wgRequest->checkSessionCookie() ) {
                        # Send a cookie so anons get talk message notifications
@@ -73,7 +73,7 @@ class MediaWikiType {
                $this->act_edit ( $action ) ;
        }
        
-       function act_edit ( $action ) { 
+       function act_edit ( $action ) {
                global $wgRequest , $wgUseExternalEditor , $wgUser , $wgArticle ;
                $internal = $wgRequest->getVal( 'internaledit' );
                $external = $wgRequest->getVal( 'externaledit' );
@@ -92,7 +92,7 @@ class MediaWikiType {
                }
        }
        
-       function act_history ( $action ) { 
+       function act_history ( $action ) {
                global $wgTitle , $wgArticle , $wgSquidMaxage ;
                if ($_SERVER['REQUEST_URI'] == $wgTitle->getInternalURL('action=history')) {
                        $wgOut->setSquidMaxage( $wgSquidMaxage );
@@ -102,7 +102,7 @@ class MediaWikiType {
                $history->history();
        }
        
-       function act_raw ( $action ) { 
+       function act_raw ( $action ) {
                global $wgArticle ;
                require_once( 'includes/RawPage.php' );
                $raw = new RawPage( $wgArticle );
@@ -118,18 +118,18 @@ class MediaWikiType {
        }
        
        
-       function act_watch ( $action ) { $this->article_action ( $action ) ; } 
-       function act_unwatch ( $action ) { $this->article_action ( $action ) ; } 
-       function act_delete ( $action ) { $this->article_action ( $action ) ; } 
-       function act_revert ( $action ) { $this->article_action ( $action ) ; } 
-       function act_rollback ( $action ) { $this->article_action ( $action ) ; } 
-       function act_protect ( $action ) { $this->article_action ( $action ) ; } 
-       function act_unprotect ( $action ) { $this->article_action ( $action ) ; } 
-       function act_info ( $action ) { $this->article_action ( $action ) ; } 
-       function act_markpatrolled ( $action ) { $this->article_action ( $action ) ; } 
-       function act_render ( $action ) { $this->article_action ( $action ) ; } 
-       function act_deletetrackback ( $action ) { $this->article_action ( $action ) ; } 
-       function act_purge ( $action ) { $this->article_action ( $action ) ; } 
+       function act_watch ( $action ) { $this->article_action ( $action ) ; }
+       function act_unwatch ( $action ) { $this->article_action ( $action ) ; }
+       function act_delete ( $action ) { $this->article_action ( $action ) ; }
+       function act_revert ( $action ) { $this->article_action ( $action ) ; }
+       function act_rollback ( $action ) { $this->article_action ( $action ) ; }
+       function act_protect ( $action ) { $this->article_action ( $action ) ; }
+       function act_unprotect ( $action ) { $this->article_action ( $action ) ; }
+       function act_info ( $action ) { $this->article_action ( $action ) ; }
+       function act_markpatrolled ( $action ) { $this->article_action ( $action ) ; }
+       function act_render ( $action ) { $this->article_action ( $action ) ; }
+       function act_deletetrackback ( $action ) { $this->article_action ( $action ) ; }
+       function act_purge ( $action ) { $this->article_action ( $action ) ; }
 
        function article_action ( $action ) {
                global $wgArticle ;
index 46738fc..ef8437f 100644 (file)
@@ -3,17 +3,17 @@
  * MediaWiki error classes
  * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
  * http://www.mediawiki.org/
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 6dacdc5..ff414c1 100644 (file)
@@ -96,7 +96,7 @@ class ZhClient {
        }
 
        /**
-        * Convert the input to all possible variants 
+        * Convert the input to all possible variants
         *
         * @param string $text input text
         * @return array langcode => converted_string
index dd0cd42..e63281e 100644 (file)
@@ -3,7 +3,7 @@
  * Simplified/Traditional Chinese conversion tables
  *
  * Automatically generated using code and data in includes/zhtable/
- * Do not modify directly! 
+ * Do not modify directly!
  *
  * @package MediaWiki
 */
index bc7ce1c..697509e 100644 (file)
@@ -43,9 +43,9 @@
  * Usage example:
  *
  * require_once 'memcached.php';
- * 
+ *
  * $mc = new memcached(array(
- *              'servers' => array('127.0.0.1:10000', 
+ *              'servers' => array('127.0.0.1:10000',
  *                                 array('192.0.0.1:10010', 2),
  *                                 '127.0.0.1:10020'),
  *              'debug'   => false,
@@ -105,7 +105,7 @@ class memcached
     * @access  public
     */
    var $stats;
-   
+
    // }}}
    // {{{ private
 
@@ -116,7 +116,7 @@ class memcached
     * @access  private
     */
    var $_cache_sock;
-   
+
    /**
     * Current debug status; 0 - none to 9 - profiling
     *
@@ -124,7 +124,7 @@ class memcached
     * @access  private
     */
    var $_debug;
-   
+
    /**
     * Dead hosts, assoc array, 'host'=>'unixtime when ok to check again'
     *
@@ -132,7 +132,7 @@ class memcached
     * @access  private
     */
    var $_host_dead;
-   
+
    /**
     * Is compression available?
     *
@@ -140,7 +140,7 @@ class memcached
     * @access  private
     */
    var $_have_zlib;
-   
+
    /**
     * Do we want to use compression?
     *
@@ -148,7 +148,7 @@ class memcached
     * @access  private
     */
    var $_compress_enable;
-   
+
    /**
     * At how many bytes should we compress?
     *
@@ -156,7 +156,7 @@ class memcached
     * @access  private
     */
    var $_compress_threshold;
-   
+
    /**
     * Are we using persistant links?
     *
@@ -164,7 +164,7 @@ class memcached
     * @access  private
     */
    var $_persistant;
-   
+
    /**
     * If only using one server; contains ip:port to connect to
     *
@@ -172,7 +172,7 @@ class memcached
     * @access  private
     */
    var $_single_sock;
-   
+
    /**
     * Array containing ip:port or array(ip:port, weight)
     *
@@ -180,7 +180,7 @@ class memcached
     * @access  private
     */
    var $_servers;
-   
+
    /**
     * Our bit buckets
     *
@@ -188,7 +188,7 @@ class memcached
     * @access  private
     */
    var $_buckets;
-   
+
    /**
     * Total # of bit buckets we have
     *
@@ -196,7 +196,7 @@ class memcached
     * @access  private
     */
    var $_bucketcount;
-   
+
    /**
     * # of total servers we have
     *
@@ -244,7 +244,7 @@ class memcached
       $this->_persistant = array_key_exists('persistant', $args) ? (@$args['persistant']) : false;
       $this->_compress_enable = true;
       $this->_have_zlib = function_exists("gzcompress");
-      
+
       $this->_cache_sock = array();
       $this->_host_dead = array();
 
@@ -256,7 +256,7 @@ class memcached
    // {{{ add()
 
    /**
-    * Adds a key/value to the memcache server if one isn't already set with 
+    * Adds a key/value to the memcache server if one isn't already set with
     * that key
     *
     * @param   string   $key     Key to set with data
@@ -304,13 +304,13 @@ class memcached
    {
       if (!$this->_active)
          return false;
-         
+
       $sock = $this->get_sock($key);
       if (!is_resource($sock))
          return false;
-      
+
       $key = is_array($key) ? $key[1] : $key;
-      
+
       @$this->stats['delete']++;
       $cmd = "delete $key $time\r\n";
       if(!$this->_safe_fwrite($sock, $cmd, strlen($cmd)))
@@ -319,10 +319,10 @@ class memcached
          return false;
       }
       $res = trim(fgets($sock));
-      
+
       if ($this->_debug)
          $this->_debugprint(sprintf("MemCache: delete %s (%s)\n", $key, $res));
-      
+
       if ($res == "DELETED")
          return true;
       return false;
@@ -392,16 +392,16 @@ class memcached
         wfProfileOut( $fname );
          return false;
       }
-         
+
       $sock = $this->get_sock($key);
-      
+
       if (!is_resource($sock)) {
         wfProfileOut( $fname );
          return false;
       }
-         
+
       @$this->stats['get']++;
-      
+
       $cmd = "get $key\r\n";
       if (!$this->_safe_fwrite($sock, $cmd, strlen($cmd)))
       {
@@ -409,10 +409,10 @@ class memcached
         wfProfileOut( $fname );
          return false;
       }
-      
+
       $val = array();
       $this->_load_items($sock, $val);
-      
+
       if ($this->_debug)
          foreach ($val as $k => $v)
             $this->_debugprint(@sprintf("MemCache: sock %s got %s => %s\r\n", serialize($sock), $k, $v));
@@ -436,9 +436,9 @@ class memcached
    {
       if (!$this->_active)
          return false;
-         
+
       $this->stats['get_multi']++;
-      
+
       foreach ($keys as $key)
       {
          $sock = $this->get_sock($key);
@@ -451,7 +451,7 @@ class memcached
          }
          $sock_keys[$sock][] = $key;
       }
-      
+
       // Send out the requests
       foreach ($socks as $sock)
       {
@@ -461,7 +461,7 @@ class memcached
             $cmd .= " ". $key;
          }
          $cmd .= "\r\n";
-         
+
          if ($this->_safe_fwrite($sock, $cmd, strlen($cmd)))
          {
             $gather[] = $sock;
@@ -470,18 +470,18 @@ class memcached
             $this->_dead_sock($sock);
          }
       }
-      
+
       // Parse responses
       $val = array();
       foreach ($gather as $sock)
       {
          $this->_load_items($sock, $val);
       }
-      
+
       if ($this->_debug)
          foreach ($val as $k => $v)
             $this->_debugprint(sprintf("MemCache: got %s => %s\r\n", $k, $v));
-            
+
       return $val;
    }
 
@@ -524,7 +524,7 @@ class memcached
    // {{{ run_command()
 
    /**
-    * Passes through $cmd to the memcache server connected by $sock; returns 
+    * Passes through $cmd to the memcache server connected by $sock; returns
     * output as an array (null array if no output)
     *
     * NOTE: due to a possible bug in how PHP reads while using fgets(), each
@@ -543,10 +543,10 @@ class memcached
    {
       if (!is_resource($sock))
          return array();
-      
+
       if (!$this->_safe_fwrite($sock, $cmd, strlen($cmd)))
          return array();
-         
+
       while (true)
       {
          $res = fgets($sock);
@@ -628,7 +628,7 @@ class memcached
       $this->_active = count($list);
       $this->_buckets = null;
       $this->_bucketcount = 0;
-      
+
       $this->_single_sock = null;
       if ($this->_active == 1)
          $this->_single_sock = $this->_servers[0];
@@ -639,7 +639,7 @@ class memcached
     *
     * @param   integer  $seconds Number of seconds
     * @param   integer  $microseconds  Number of microseconds
-    * 
+    *
     * @access  public
     */
    function set_timeout ($seconds, $microseconds)
@@ -647,7 +647,7 @@ class memcached
       $this->_timeout_seconds = $seconds;
       $this->_timeout_microseconds = $microseconds;
    }
-   
+
    // }}}
    // }}}
    // {{{ private methods
@@ -690,7 +690,7 @@ class memcached
       {
          $sock = @fsockopen($ip, $port, $errno, $errstr, $timeout);
       }
-      
+
       if (!$sock) {
          if ($this->_debug)
             $this->_debugprint( "Error connecting to $host: $errstr\n" );
@@ -742,9 +742,9 @@ class memcached
          $this->_flush_read_buffer($this->_single_sock);
          return $this->sock_to_host($this->_single_sock);
       }
-      
+
       $hv = is_array($key) ? intval($key[0]) : $this->_hashfunc($key);
-      
+
       if ($this->_buckets === null)
       {
          foreach ($this->_servers as $v)
@@ -761,7 +761,7 @@ class memcached
          $this->_buckets = $bu;
          $this->_bucketcount = count($bu);
       }
-      
+
       $realkey = is_array($key) ? $key[1] : $key;
       for ($tries = 0; $tries<20; $tries++)
       {
@@ -773,7 +773,7 @@ class memcached
          }
          $hv += $this->_hashfunc($tries . $realkey);
       }
-      
+
       return false;
    }
 
@@ -791,7 +791,7 @@ class memcached
    function _hashfunc ($key)
    {
       # Hash function must on [0,0x7ffffff]
-      # We take the first 31 bits of the MD5 hash, which unlike the hash 
+      # We take the first 31 bits of the MD5 hash, which unlike the hash
       # function used in a previous version of this client, works
       return hexdec(substr(md5($key),0,8)) & 0x7fffffff;
    }
@@ -813,16 +813,16 @@ class memcached
    {
       if (!$this->_active)
          return null;
-         
+
       $sock = $this->get_sock($key);
       if (!is_resource($sock))
          return null;
-         
+
       $key = is_array($key) ? $key[1] : $key;
       @$this->stats[$cmd]++;
       if (!$this->_safe_fwrite($sock, "$cmd $key $amt\r\n"))
          return $this->_dead_sock($sock);
-         
+
       stream_set_timeout($sock, 1, 0);
       $line = fgets($sock);
       if (!preg_match('/^(\d+)/', $line, $match))
@@ -854,7 +854,7 @@ class memcached
             list($rkey, $flags, $len) = array($match[1], $match[2], $match[3]);
             $bneed = $len+2;
             $offset = 0;
-            
+
             while ($bneed > 0)
             {
                $data = fread($sock, $bneed);
@@ -865,7 +865,7 @@ class memcached
                $bneed -= $n;
                @$ret[$rkey] .= $data;
             }
-            
+
             if ($offset != $len+2)
             {
                // Something is borked!
@@ -876,7 +876,7 @@ class memcached
                $this->_close_sock($sock);
                return false;
             }
-            
+
             if ($this->_have_zlib && $flags & MEMCACHE_COMPRESSED)
                $ret[$rkey] = gzuncompress($ret[$rkey]);
 
@@ -885,7 +885,7 @@ class memcached
             if ($flags & MEMCACHE_SERIALIZED)
                $ret[$rkey] = unserialize($ret[$rkey]);
 
-         } else 
+         } else
          {
             $this->_debugprint("Error parsing memcached response\n");
             return 0;
@@ -911,15 +911,15 @@ class memcached
    {
       if (!$this->_active)
          return false;
-         
+
       $sock = $this->get_sock($key);
       if (!is_resource($sock))
          return false;
-         
+
       @$this->stats[$cmd]++;
-      
+
       $flags = 0;
-      
+
       if (!is_scalar($val))
       {
          $val = serialize($val);
@@ -927,15 +927,15 @@ class memcached
          if ($this->_debug)
             $this->_debugprint(sprintf("client: serializing data as it is not scalar\n"));
       }
-      
+
       $len = strlen($val);
-      
-      if ($this->_have_zlib && $this->_compress_enable && 
+
+      if ($this->_have_zlib && $this->_compress_enable &&
           $this->_compress_threshold && $len >= $this->_compress_threshold)
       {
          $c_val = gzcompress($val, 9);
          $c_len = strlen($c_val);
-         
+
          if ($c_len < $len*(1 - COMPRESSION_SAVINGS))
          {
             if ($this->_debug)
@@ -947,9 +947,9 @@ class memcached
       }
       if (!$this->_safe_fwrite($sock, "$cmd $key $flags $exp $len\r\n$val\r\n"))
          return $this->_dead_sock($sock);
-         
+
       $line = trim(fgets($sock));
-      
+
       if ($this->_debug)
       {
          if ($flags & MEMCACHE_COMPRESSED)
@@ -976,21 +976,21 @@ class memcached
    {
       if (isset($this->_cache_sock[$host]))
          return $this->_cache_sock[$host];
-      
+
       $now = time();
       list ($ip, $port) = explode (":", $host);
       if (isset($this->_host_dead[$host]) && $this->_host_dead[$host] > $now ||
           isset($this->_host_dead[$ip]) && $this->_host_dead[$ip] > $now)
          return null;
-         
+
       if (!$this->_connect_sock($sock, $host))
          return $this->_dead_sock($host);
-         
+
       // Do not buffer writes
       stream_set_write_buffer($sock, 0);
-      
+
       $this->_cache_sock[$host] = $sock;
-      
+
       return $this->_cache_sock[$host];
    }
 
@@ -1000,7 +1000,7 @@ class memcached
 
    /**
     * Write to a stream, timing out after the correct amount of time
-    * 
+    *
     * @return bool false on failure, true on success
     */
     /*
index 527c5ff..d5d74a7 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -22,7 +22,7 @@
  * regression checks for known problems.
  *
  * Requires PHPUnit.
- * 
+ *
  * @package UtfNormal
  * @access private
  */
@@ -114,7 +114,7 @@ class CleanUpTest extends PHPUnit_TestCase {
                                                "U+$x should be decomposed" );
                                } else {
                                        $this->assertEquals(
-                                               bin2hex( $char ), 
+                                               bin2hex( $char ),
                                                bin2hex( $clean ),
                                                "U+$x should be intact" );
                                }
@@ -143,7 +143,7 @@ class CleanUpTest extends PHPUnit_TestCase {
                            $i == 0x000d ||
                            ($i > 0x001f && $i < 0x80) ) {
                                $this->assertEquals(
-                                       bin2hex( $char ), 
+                                       bin2hex( $char ),
                                        bin2hex( $clean ),
                                        "ASCII byte $x should be intact" );
                                if( $char != $clean ) return;
@@ -180,7 +180,7 @@ class CleanUpTest extends PHPUnit_TestCase {
                                    $second < 0xc0 ) {
                                    $norm = UtfNormal::NFC( $char );
                                        $this->assertEquals(
-                                               bin2hex( $norm ), 
+                                               bin2hex( $norm ),
                                                bin2hex( $clean ),
                                                "Pair $x should be intact" );
                                    if( $norm != $clean ) return;
@@ -227,18 +227,18 @@ class CleanUpTest extends PHPUnit_TestCase {
                                                $third < 0xc0 ) {
                                                if( $first == 0xe0 && $second < 0xa0 ) {
                                                        $this->assertEquals(
-                                                               bin2hex( $head . UTF8_REPLACEMENT . $tail ), 
+                                                               bin2hex( $head . UTF8_REPLACEMENT . $tail ),
                                                                bin2hex( $clean ),
                                                                "Overlong triplet $x should be rejected" );
-                                               } elseif( $first == 0xed && 
+                                               } elseif( $first == 0xed &&
                                                        ( chr( $first ) . chr( $second ) . chr( $third ))  >= UTF8_SURROGATE_FIRST ) {
                                                        $this->assertEquals(
-                                                               bin2hex( $head . UTF8_REPLACEMENT . $tail ), 
+                                                               bin2hex( $head . UTF8_REPLACEMENT . $tail ),
                                                                bin2hex( $clean ),
                                                                "Surrogate triplet $x should be rejected" );
                                                } else {
                                                        $this->assertEquals(
-                                                               bin2hex( UtfNormal::NFC( $char ) ), 
+                                                               bin2hex( UtfNormal::NFC( $char ) ),
                                                                bin2hex( $clean ),
                                                                "Triplet $x should be intact" );
                                                }
@@ -282,14 +282,14 @@ class CleanUpTest extends PHPUnit_TestCase {
        function testChunkRegression() {
                # Check for regression against a chunking bug
                $text   = "\x46\x55\xb8" .
-                         "\xdc\x96" . 
+                         "\xdc\x96" .
                          "\xee" .
                          "\xe7" .
                          "\x44" .
                          "\xaa" .
                          "\x2f\x25";
                $expect = "\x46\x55\xef\xbf\xbd" .
-                         "\xdc\x96" . 
+                         "\xdc\x96" .
                          "\xef\xbf\xbd" .
                          "\xef\xbf\xbd" .
                          "\x44" .
index e85ec42..10d1c4a 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -21,7 +21,7 @@
  * Test feeds random 16-byte strings to both the pure PHP and ICU-based
  * UtfNormal::cleanUp() code paths, and checks to see if there's a
  * difference. Will run forever until it finds one or you kill it.
- * 
+ *
  * @package UtfNormal
  * @access private
  */
index ba3555e..e9f8311 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index c6183b5..816633a 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -412,7 +412,7 @@ class UtfNormal {
                                                                || ($n == 0xf0 && $sequence <= UTF8_OVERLONG_C)
                                                                
                                                                # U+FFFE and U+FFFF are explicitly forbidden in Unicode.
-                                                               || ($n == 0xef && 
+                                                               || ($n == 0xef &&
                                                                           ($sequence == UTF8_FFFE)
                                                                        || ($sequence == UTF8_FFFF) )
                                                                
@@ -421,7 +421,7 @@ class UtfNormal {
                                                                || ($n >= 0xf0 && $sequence > UTF8_MAX) ) {
                                                                
                                                                $replace[] = array( UTF8_REPLACEMENT,
-                                                                                   $base + $i + 1 - strlen( $sequence ), 
+                                                                                   $base + $i + 1 - strlen( $sequence ),
                                                                                    strlen( $sequence ) );
                                                                $head = '';
                                                                continue;
index a504eef..39c64a0 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -19,7 +19,7 @@
 
 /**
  * Approximate benchmark for some basic operations.
- * 
+ *
  * @package UtfNormal
  * @access private
  */
index 1c00e2b..06fbd7b 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 0bbc801..d0c80d7 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 06e0bb4..185271c 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index aa7eff3..9a1aecd 100644 (file)
@@ -139,7 +139,7 @@ class UsercreateTemplate extends QuickTemplate {
                        <td align='right'><label for='wpRetype'><?php $this->msg('yourpasswordagain') ?>:</label></td>
                        <td align='left'>
                                <input type='password' class='loginPassword' name="wpRetype" id="wpRetype"
-                                       value="<?php $this->text('retype') ?>" 
+                                       value="<?php $this->text('retype') ?>"
                                        size='20' />
                        </td>
                </tr>
index 727ccd2..556960b 100644 (file)
@@ -744,7 +744,7 @@ If you are here by mistake, just click your browser's '''back''' button.",
 'updated' => '(Updated)',
 'note' => '<strong>Note:</strong> ',
 'previewnote' => '<strong>This is only a preview; changes have not yet been saved!</strong>',
-'session_fail_preview' => '<strong>Sorry! We could not process your edit due to a loss of session data. 
+'session_fail_preview' => '<strong>Sorry! We could not process your edit due to a loss of session data.
 Please try again. If it still doesn\'t work, try logging out and logging back in.</strong>',
 'previewconflict' => 'This preview reflects the text in the upper
 text editing area as it will appear if you choose to save.',
@@ -1401,8 +1401,8 @@ can be restored. The archive may be periodically cleaned out.',
 If a new page with the same name has been created since the deletion, the restored
 revisions will appear in the prior history, and the current revision of the live page
 will not be automatically replaced.',
-'undeletehistorynoadmin' => 'This article has been deleted. The reason for deletion is 
-shown in the summary below, along with details of the users who had edited this page 
+'undeletehistorynoadmin' => 'This article has been deleted. The reason for deletion is
+shown in the summary below, along with details of the users who had edited this page
 before deletion. The actual text of these deleted revisions is only available to administrators.',
 'undeleterevision' => "Deleted revision as of $1",
 'undeletebtn' => 'Restore!',
@@ -2879,7 +2879,7 @@ class Language {
         * Invoked by putting {{plural:count|wordform1|wordform2}}
         * or {{plural:count|wordform1|wordform2|wordform3}}
         *
-        * Example: {{plural:{{NUMBEROFARTICLES}}|article|articles}} 
+        * Example: {{plural:{{NUMBEROFARTICLES}}|article|articles}}
         *
         * @param integer $count
         * @param string $wordform1
index 07b4545..eccbe0b 100644 (file)
 # Metadata in edit box
 'metadata' => '<b>Метаданни</b> (<a href="$1">разяснение</a>)',
 'metadata_page' => 'Project:Метаданни',
+
 'currentevents' => 'Текущи събития',
 'currentevents-url' => 'Текущи събития',
 'disclaimers' => 'Условия за ползване',
@@ -650,7 +650,7 @@ $2 Показване на пренасочвания &nbsp; Търсене на
                        <input type="submit" name="btnG" value="Google Search" />
                </div>
                <div style="font-size:90%">
-                       <input type="radio" name="sitesearch" id="gwiki" value="{{SERVER}}" 
+                       <input type="radio" name="sitesearch" id="gwiki" value="{{SERVER}}"
                                checked="checked" /><label for="gwiki">{{SITENAME}}</label>
                        <input type="radio" name="sitesearch" id="gWWW" value="" />
                        <label for="gWWW">Мрежата</label>
@@ -722,7 +722,7 @@ $2 Показване на пренасочвания &nbsp; Търсене на
 'addgroup' => 'Добавяне на група',
 
 'userrights-lookup-user' => 'Управляване на потребителските групи',#Manage user groups
-'userrights-user-editname' => 'Въведете потребителско име: ',#Enter a username: 
+'userrights-user-editname' => 'Въведете потребителско име: ',#Enter a username:
 'editusergroup' => 'Редактиране на потребителските групи',#Edit User Groups
 
 # group editing
@@ -1252,7 +1252,7 @@ Feedback and further assistance:
 'already_sysop'         => 'Този потребител беше вече администратор',
 'already_bureaucrat'    => 'Този потребител беше вече бюрократ',
 'already_steward'       => 'Този потребител беше вече стюард',
+
 # Move page
 #
 'movepage'    => 'Преместване на страница',
@@ -1779,7 +1779,7 @@ Feedback and further assistance:
 
 // Pseudotags used for GPSTrackRef, GPSImgDirectionRef and GPSDestBearingRef
 'exif-gpsdirection-t' => 'True direction',
-'exif-gpsdirection-m' => 'Magnetic direction', 
+'exif-gpsdirection-m' => 'Magnetic direction',
 
 # external editor support
 'edit-externally' => 'Редактиране на файла чрез външно приложение',
index 8dbf36a..aec825a 100644 (file)
@@ -389,14 +389,14 @@ Trugarez deoc\'h evit en em zisklêriañ kerkent ha ma vo bet resevet ganeoc\'h.
 'whitelistreadtitle' => 'Ret eo bezañ luget evit gallout lenn',
 'whitelistreadtext' => 'Ret eo bezañ [[Special:Userlogin|luget]] evit gallout lenn ar pennadoù',
 'whitelistacctitle' => 'N\'hoc\'h ket aotreet da grouiñ ur gont',
-'whitelistacctext' => 'A-benn gallout krouiñ ur gont war ar Wiki-mañ e rankit bezañ [[Special:Userlogin|luget]] ha kaout an aotreoù rekis', // Looxix 
+'whitelistacctext' => 'A-benn gallout krouiñ ur gont war ar Wiki-mañ e rankit bezañ [[Special:Userlogin|luget]] ha kaout an aotreoù rekis', // Looxix
 'loginreqtitle'        => 'Anv implijer rekis',
 'accmailtitle' => 'Ger-tremen kaset.',
 'accmailtext' => 'Kaset eo bet ger-tremen « $1 » da $2.',
 
 'newarticle'   => '(Nevez)',
 'newarticletext' => 'Skrivit amañ testenn ho pennad.',
-'anontalkpagetext' => "---- ''Homañ eo ar bajenn gaozeal evit un implijer(ez) dianv n\'eus ket c\'hoazh krouet kont ebet pe na implij ket anezhi. Setu perak e rankomp ober gant ar [[chomlec\'h IP]] niverel evit disklêriañ anezhañ/i. Gallout a ra ur chomlec\'h a seurt-se bezañ rannet etre meur a implijer(ez). Ma\'z oc\'h un implijer(ez) dianv ha ma stadit ez eus bet kaset deoc\'h kemennadennoù na sellont ket ouzhoc\'h, gallout a rit [[Special:Userlogin|krouiñ ur gont pe en em lugañ]] kuit a vagañ muioc\'h a gemmesk.", 
+'anontalkpagetext' => "---- ''Homañ eo ar bajenn gaozeal evit un implijer(ez) dianv n\'eus ket c\'hoazh krouet kont ebet pe na implij ket anezhi. Setu perak e rankomp ober gant ar [[chomlec\'h IP]] niverel evit disklêriañ anezhañ/i. Gallout a ra ur chomlec\'h a seurt-se bezañ rannet etre meur a implijer(ez). Ma\'z oc\'h un implijer(ez) dianv ha ma stadit ez eus bet kaset deoc\'h kemennadennoù na sellont ket ouzhoc\'h, gallout a rit [[Special:Userlogin|krouiñ ur gont pe en em lugañ]] kuit a vagañ muioc\'h a gemmesk.",
 'noarticletext' => "(N\'eus evit poent tamm skrid ebet war ar bajenn-mañ)",
 'clearyourcache'    => "'''Notenn:''' Goude bezañ enrollet ho pajenn e rankit adkargañ anezhi a-ratozh evit gwelet ar c\'hemmoù : '''Internet Explorer''' : ''ctrl-f5'', '''Mozilla / Firefox''' : ''ctrl-shift-r'', '''Safari''' : ''cmd-shift-r'', '''Konqueror''' : ''f5''.",
 'updated'      => '(Hizivaet)',
@@ -691,7 +691,7 @@ En o zouez, <b>$2</b> zo ganto ar statud merour (sellet ouzh $3).',
 'disambiguationstext'  => "Liammet eo ar pennadoù da-heul ouzh ur <i>bajenn zisheñvelaat</i>. Padal e tlefent bezañ liammet ouzh an danvez anezho.<br />Sellet e vez ouzh ur bajenn evel ouzh ur bajenn zisheñvelaat m\'eo liammet adal $1.<br />ne vez ket kemeret e kont al liammoù adal <i>lec\'hioù</i> all.",
 'doubleredirects'      => "Adkasoù doubl",
 'doubleredirectstext'  => "<b>Diwallit:</b> Gallout a ra bezañ \"pozitivoù faos\ er roll-mañ. D'ar mare-se eo moarvat peogwir ez eus testenn war bajenn an #REDIRECT kentañ ivez.<br />War bep linenn emañ al liammoù war-du pajenn an adkas 1{{añ}} hag en eil hag ivez linenn gentañ pajenn an eil adkas zo sañset reiñ ar pal \"gwirion\". War-du ar pal-se e tlefe liammañ an #REDIRECT kentañ.",
-'brokenredirects'      => 'Adkasoù torret', 
+'brokenredirects'      => 'Adkasoù torret',
 'brokenredirectstext'  => 'Kas a ra an adkasoù-mañ d\'ur bajenn n\'eus ket anezhi.',
 'selflinks'            => 'Pajenn enni ul liamm tro',
 'selflinkstext'                => 'Er pajennoù da-heul ez eus ul liamm war o zu dezho o-unan, ar pezh n\'hall ket bezañ.',
@@ -786,16 +786,16 @@ Kemmoù da zont ar bajenn-mañ ha re ar bajenn gaozeal stag outi a vo rollet ama
 'unwatchthispage' => 'Paouez da evezhiañ',
 'notanarticle' => 'Pennad ebet',
 'watchnochange' => "Pajenn ebet eus ar re evezhiet ganeoc\'h n\'eo bet kemmet e-pad ar prantad spisaet",
-'watchdetails' => "Lakaet hoc\'h eus $1 (b/f)pajenn dindan evezh, anez kontañ ar pajennoù kaozeal.  [$4 Diskouez ha kemmañ ar roll klok].", // Looxix 
-'watchmethod-recent' => "Gwiriañ ar c\'hemmoù diwezhañ er pajennoù dindan evezh", // Looxix 
-'watchmethod-list' => "Gwiriañ ar c\'hemmoù diwezhañ evit ar pajennoù evezhiet", // Looxix 
+'watchdetails' => "Lakaet hoc\'h eus $1 (b/f)pajenn dindan evezh, anez kontañ ar pajennoù kaozeal.  [$4 Diskouez ha kemmañ ar roll klok].", // Looxix
+'watchmethod-recent' => "Gwiriañ ar c\'hemmoù diwezhañ er pajennoù dindan evezh", // Looxix
+'watchmethod-list' => "Gwiriañ ar c\'hemmoù diwezhañ evit ar pajennoù evezhiet", // Looxix
 'removechecked' => "Lemel ar pennadoù diuzet a-ziwar ar rollad evezhiañ",
 'watchlistcontains' => "$1 (b/f)pajenn zo en ho rollad evezhiañ",
 'watcheditlist' => "Setu aze ho rollad evezhiañ dre urzh al lizherenneg. Diuzit ar pajennoù hoc\'h eus c\'hoant da lemel a-ziwar ar roll ha klikit war ar bouton \"lemel a-ziwar ar rollad evezhiañ\" e traoñ ar skramm.",
 'removingchecked' => "Lamet eo ar pennadoù diuzet a-ziwar ho rollad evezhiañ...",
 'couldntremove' => "Dibosupl da lemel kuit ar pennad « $1 »...",
 'iteminvalidname' => "ur gudenn zo gant ar pennad « $1 » : n\'eo ket mat e anv...",
-'wlnote' => "A-is emañ an/ar $1 (g/c\'h)kemm diwezhañ abaoe an/ar <b>$2</b> eurvezh diwezhañ.", // Looxix 
+'wlnote' => "A-is emañ an/ar $1 (g/c\'h)kemm diwezhañ abaoe an/ar <b>$2</b> eurvezh diwezhañ.", // Looxix
 'wlshowlast' => "diskouez an/ar $1 eurvezh $2 (z)devezh $3 diwezhañ",
 'wlsaved' => "Ne vez hizivaet ar rollad evezhiañ nemet ur wech bep eurvezh kuit da sammañ ar servijer betek re.",
 
@@ -830,11 +830,11 @@ Eur ar servijer (UTC) eo an eur merket.
 'rollbackfailed' => 'C\'hwitet eo bet an distaoladenn',
 'cantrollback' => "Dibosupl da zisteuler: an aozer diwezhañ eo an hini nemetañ da vezañ kemmet ar pennad-mañ",
 'alreadyrolled'        => "Dibosupl eo disteuler ar c\'hemm diwezhañ graet e [[$1]]
-gant [[User:$2|$2]] ([[User talk:$2|Talk]]); kemmet pe distaolet eo bet c\'hoazh gant unan bennak all. 
+gant [[User:$2|$2]] ([[User talk:$2|Talk]]); kemmet pe distaolet eo bet c\'hoazh gant unan bennak all.
 
-Ar c\'hemm diwezhañ a oa gant [[User:$3|$3]] ([[User talk:$3|Talk]]). ", //Looxix 
+Ar c\'hemm diwezhañ a oa gant [[User:$3|$3]] ([[User talk:$3|Talk]]). ", //Looxix
 #   only shown if there is an edit comment
-'editcomment' => "Diverradenn ar c\'hemm a oa: \"<i>$1</i>\".", //Looxix 
+'editcomment' => "Diverradenn ar c\'hemm a oa: \"<i>$1</i>\".", //Looxix
 'revertpage'   => 'Adlakaat kemm diwezhañ $1',
 'protectlogpage' => 'Log_gwareziñ',
 'protectlogtext' => "Sellet ouzh ar [[{{ns:4}}:Pajenn warezet|c\'huzulioù diwar-benn ar pajennoù gwarezet]].",
@@ -997,7 +997,7 @@ Gallout a ra kement-se bezañ ur c\'hemm bras ha dic\'hortoz evit ur pennad a ve
 bezit sur e komprenit mat an heuliadoù a-raok kenderc\'hel ganti.",
 "movepagetalktext" => "Gant se e vo adanvet ent emgefre ar bajenn gaozeal stag, ma\'z eus anezhi '''nemet ma:'''
 *ec\'h adanvit ur bajenn war-du ul lec\'h all,
-*ez eus ur bajenn gaozeal c\'hoazh gant an anv nevez, pe 
+*ez eus ur bajenn gaozeal c\'hoazh gant an anv nevez, pe
 *diweredekaet hoc\'h eus ar bouton a-is.
 
 En degouezh-se e rankot adenvel pe gendeuziñ ar bajenn c\'hwi hoc\'h-unan ma karit.",
@@ -1090,9 +1090,9 @@ Ma n\'eo ket bet graet ganeoc\'h na zigorit ket al liamm. Mont a raio ar c\'hod-
 
 
 # Math
-'mw_math_png' => "Produiñ atav ur skeudenn PNG",  
-'mw_math_simple' => "HTML m\'eo eeun-kenañ, a-hend-all ober gant PNG", 
-'mw_math_html' => "HTML mar bez tu, a-hend-all PNG", 
+'mw_math_png' => "Produiñ atav ur skeudenn PNG",
+'mw_math_simple' => "HTML m\'eo eeun-kenañ, a-hend-all ober gant PNG",
+'mw_math_html' => "HTML mar bez tu, a-hend-all PNG",
 'mw_math_source' => "Leuskel ar c\'hod TeX orin",
 'mw_math_modern' => "Evit ar merdeerioù arnevez",
 'mw_math_mathml' => 'MathML',
index 596909b..faf4d49 100644 (file)
@@ -593,7 +593,7 @@ $2 Vypsat přesměrování &nbsp; Hledat $3 $9',
     <input type="hidden" name="num" value="50" />
     <input type="hidden" name="ie" value="$2" />
     <input type="hidden" name="oe" value="$2" />
-    
+
     <input type="text" name="q" size="31" maxlength="255" value="$1" />
     <input type="submit" name="btnG" value="Vyhledat Googlem" />
   </div>
index f380437..6a04d7f 100644 (file)
@@ -5,22 +5,22 @@
   * http://forum.pasok.gr
   * version 1.0 (initial release)
   *
-  *The project for the translation of MediaWiki into Greek 
-  *was undertaken by a group of ICT volunteers working under 
+  *The project for the translation of MediaWiki into Greek
+  *was undertaken by a group of ICT volunteers working under
   *the auspices of the Greek political party PASOK.
   *
   *The idea behind this effort was  to provide an extensible,
   *easy-to-use and non-intimidating tool for content development
-  *and project management, to be used throughout the administrative 
-  *and political structure of PASOK by staff, volunteers, party members 
+  *and project management, to be used throughout the administrative
+  *and political structure of PASOK by staff, volunteers, party members
   *and elected officials (all of whom possess varying degrees of ICT skills).
   *
-  *The PASOK ICT team and the volunteers who worked on this project are 
-  *now returning the translated interface to the Open-Source Community 
+  *The PASOK ICT team and the volunteers who worked on this project are
+  *now returning the translated interface to the Open-Source Community
   *with over 98% of the messages translated into user-friendly Greek.
   *
   *We hope that it will be used as a tool by other civil society organizations
-  *in Greece, and that it will enhance the collective creation and the dissemination 
+  *in Greece, and that it will enhance the collective creation and the dissemination
   *of knowledge - an essential component of the democratic process.
   *
   * @package MediaWiki
@@ -231,10 +231,10 @@ $wgAllMessagesEl = array(
 'administrators' => '{{ns:4}}:Διαχειριστές',
 
 'sysoptitle' => 'Απαιτείται η πρόσβαση διαχειριστή.',
-'sysoptext' => 'Το αίτημά σας αφορά σε ενέργεια 
+'sysoptext' => 'Το αίτημά σας αφορά σε ενέργεια
 
 που εκτελείται μόνον από διαχειριστές
+
 (βλ.$1).',
 'developertitle' => 'Απαιτείται η πρόσβαση των προγραμματιστών.',
 'developertext' => 'Η ενέργεια αυτή μπορεί να εκτελείται μόνον από τους προγραμματιστές (βλ. $1).',
@@ -330,7 +330,7 @@ $1',
 
 'viewsource' => 'Εμφάνιση κώδικα',
 
-'protectedtext' => 'Η σελίδα αυτή είναι κλειδωμένη και δεν είναι δυνατή η επεξεργασία της. Για περισσότερες πληροφορίες σχετικά με τους λόγους για τους οποίους προστατεύεται η σελίδα, παρακαλούμε επισκεφθείτε το σύνδεσμο 
+'protectedtext' => 'Η σελίδα αυτή είναι κλειδωμένη και δεν είναι δυνατή η επεξεργασία της. Για περισσότερες πληροφορίες σχετικά με τους λόγους για τους οποίους προστατεύεται η σελίδα, παρακαλούμε επισκεφθείτε το σύνδεσμο
 [[{{ns:4}}:Κλειδωμένες_σελίδες]].
 
 Μπορείτε να δείτε και να αντιγράψετε τον πηγαίο κώδικα αυτής σελίδας:',
@@ -529,12 +529,12 @@ $2',
 'copyrightwarning' => 'Ολες οι προσθήκες/ αλλαγές στο {{SITENAME}} θα πρέπει να συμφωνούν με την $2 (Βλ. $1 για λεπτομέρειες).
 Αν δεν επιθυμείτε τα κείμενά σας να τα επεξεργαστούν κατά την κρίση τους άλλοι χρήστες και να τα διαδώσουν κατά βούληση παρακαλούμε να μην τα αναρτήσετε σε αυτό το χώρο. Ότι συνεισφέρετε στο χώρο αυτό σε κείμενα, διαγράμματα, στοιχεία ή εικόνες πρέπει να είναι δικά σας έργα ή να ανήκουν στο δημόσιο τομέα (public domain) ή να προέρχονται από ελεύθερες ή ανοιχτές πηγές με ρητή άδεια αναδημοσίευσης. <br />
 
-Τέλος μας υπόσχεστε και δηλώνετε πως ότι γράφετε σε αυτό τον χώρο είναι πρωτότυπο δικό σας έργο και, άσχετα με την έκτασή του, δεν έχει εκχωρηθεί σε τρίτους η δημοσίευση και η εκμετάλλευσή του. 
+Τέλος μας υπόσχεστε και δηλώνετε πως ότι γράφετε σε αυτό τον χώρο είναι πρωτότυπο δικό σας έργο και, άσχετα με την έκτασή του, δεν έχει εκχωρηθεί σε τρίτους η δημοσίευση και η εκμετάλλευσή του.
 <strong>ΠΑΡΑΚΑΛΟΥΜΕ ΝΑ ΜΗΝ ΑΝΑΡΤΗΣΕΤΕ ΚΕΙΜΕΝΑ ΤΡΙΤΩΝ ΕΑΝ ΔΕΝ ΕΧΕΤΕ ΤΗΝ ΑΔΕΙΑ ΤΟΥ ΙΔΙΟΚΤΗΤΗ ΤΟΥ COPYRIGHT!</strong>',
 
 'copyrightwarning2' => 'Έχετε υπ\' όψη σας ότι όλες οι προσθήκες/αλλαγές που κάνετε στο {{SITENAME}} μπορούν να υποστούν επεξεργασία και αλλαγές ή ακόμα και να διαγραφούν από άλλους χρήστες.
 Αν δεν επιθυμείτε τα κείμενά σας να τα επεξεργαστούν κατά την κρίση τους άλλοι χρήστες και να τα διαδώσουν κατά βούληση παρακαλούμε να μην τα αναρτήσετε σε αυτό το χώρο. Ότι συνεισφέρετε στο χώρο αυτό σε κείμενα, διαγράμματα, στοιχεία ή εικόνες πρέπει να είναι δικά σας έργα ή να ανήκουν στο δημόσιο τομέα (public domain) ή να προέρχονται από ελεύθερες ή ανοιχτές πηγές με ρητή άδεια αναδημοσίευσης. <br />
-Τέλος μας υπόσχεστε και δηλώνετε πως ότι γράφετε σε αυτό τον χώρο είναι πρωτότυπο δικό σας έργο και, άσχετα με την έκτασή του, δεν έχει εκχωρηθεί σε τρίτους η δημοσίευση και η εκμετάλλευσή του. 
+Τέλος μας υπόσχεστε και δηλώνετε πως ότι γράφετε σε αυτό τον χώρο είναι πρωτότυπο δικό σας έργο και, άσχετα με την έκτασή του, δεν έχει εκχωρηθεί σε τρίτους η δημοσίευση και η εκμετάλλευσή του.
 <strong>ΠΑΡΑΚΑΛΟΥΜΕ ΝΑ ΜΗΝ ΑΝΑΡΤΗΣΕΤΕ ΚΕΙΜΕΝΑ ΤΡΙΤΩΝ ΕΑΝ ΔΕΝ ΕΧΕΤΕ ΤΗΝ ΑΔΕΙΑ ΤΟΥ ΙΔΙΟΚΤΗΤΗ ΤΟΥ COPYRIGHT!</strong>',
 
 'longpagewarning' => 'ΠΡΟΕΙΔΟΠΟΙΗΣΗ: Η σελίδα έχει μέγεθος $1kb. Είναι πιθανόν μερικοί browser να παρουσιάσουν προβλήματα στην επεξεργασία σελίδων της τάξης των 32kb και άνω. Μπορείτε να αποφύγετε το πρόβλημα κόβωντας τη σελίδα σε μικρότερα τμήματα.<br/>',
@@ -628,7 +628,7 @@ $2 Εμφάνιση ανακατευθύνσεων &nbsp; Κριτήρια αν
 
     <input type="hidden" name="ie" value="$2" />
     <input type="hidden" name="oe" value="$2" />
-    
+
     <input type="text" name="q" size="31" maxlength="255" value="$1" />
     <input type="submit" name="btnG" value="Google Search" />
   </div>
@@ -654,7 +654,7 @@ $2 Εμφάνιση ανακατευθύνσεων &nbsp; Κριτήρια αν
 'prefslogintext' => 'Έχετε συνδεθεί ως "$1".
 Ο εσωτερικός σας αριθμός ταυτοποίησης (ID) είναι $2.
 
-Στον παρακάτω σύνδεσμο θα βρείτε πληροφορίες για το πώς θα "αποκρυπτογραφήσετε" τις διάφορες επιλογές: 
+Στον παρακάτω σύνδεσμο θα βρείτε πληροφορίες για το πώς θα "αποκρυπτογραφήσετε" τις διάφορες επιλογές:
 [[{{ns:12}}:Προτιμήσεις_Χρηστών]]',
 
 'prefsreset' => 'Οι προτιμήσεις σας έχουν αποκατασταθεί σύμφωνα με την αποθηκευμένη έκδοσή τους.',
@@ -905,7 +905,7 @@ $2 Εμφάνιση ανακατευθύνσεων &nbsp; Κριτήρια αν
 #-----------------------------#
 'maintenance' => 'Σελίδα συντήρησης',
 
-'maintnancepagetext' => 'Η σελίδα αυτή περιέχει διάφορα εύχρηστα εργαλεία για την καθημερινή συντήρηση. 
+'maintnancepagetext' => 'Η σελίδα αυτή περιέχει διάφορα εύχρηστα εργαλεία για την καθημερινή συντήρηση.
 
 Μερικές από τις λειτουργίες αυτές είναι δυνατόν να καταπονήσουν τη βάση δεδομένων, για το λόγο αυτό σας παρακαλούμε να κάνετε \'επαναφόρτωση\' μετά από κάθε στοιχείο που έχετε επιδιορθώσει;-)',
 
@@ -1094,7 +1094,7 @@ Tο σύστημα ειδοποίησης του {{SITENAME}}
 Για να αλλάξετε τις προτιμήσεις της λίστας παρακολούθησής σας, ακολουθήστε το σύνδεσμο:
 {{SERVER}}{{localurl:Special:Watchlist/edit}}
 
-Ερωτήσεις και περισσότερες πληροφορίες: 
+Ερωτήσεις και περισσότερες πληροφορίες:
 {{SERVER}}{{localurl:{{ns:12}}:Περιεχόμενα}}',
 
 
@@ -1307,7 +1307,7 @@ Tο σύστημα ειδοποίησης του {{SITENAME}}
 
 'movepagetext' => 'Χρησιμοποιήστε τη φόρμα που ακολουθεί για να μετονομάσετε σελίδες και για να μεταφέρετε όλο το ιστορικό τους κάτω από το νέο όνομα. Κάτω από τον παλιό τίτλο της σελίδας θα παραμείνει μια σελίδα ανακατεύθυνσης στο νέο τίτλο. Οι τυχόν σύνδεσμοι που οδηγούσαν στην παλιά σελίδα δεν θα επηρεαστούν. Βεβαιωθείτε πως [[Special:Maintenance|ελέγξατε]] τα διπλά διαστήματα και τους κατεστραμένους συνδέσμους. Αναλαμβάνετε την ευθύνη να επιβεβαιώσετε ότι οι συνδεσμοι εξακολουθούν να οδηγούν προς τις κατευθύνσεις που πρέπει.
 
-Λάβετε υπ` όψη σας ότι η σελίδα \'\'\'δεν\'\'\' θα μετακινηθεί αν υπάρχει ήδη μια άλλη σελίδα κάτω από το νέο τίτλο, εκτός αν η σελίδα αυτή είναι κενή \'\'\'και\'\'\' χωρίς ιστορικό επεξεργασίας. Αυτό σημαίνει ότι, στην περίπτωση που έχετε κάνει λάθος, μπορείτε να μετονομάσετε μια σελίδα ξαναδίνοντας της την αρχική της ονομασία αλλά δεν μπορείτε να αντικαταστήσετε μια υπάρχουσα σελίδα. 
+Λάβετε υπ` όψη σας ότι η σελίδα \'\'\'δεν\'\'\' θα μετακινηθεί αν υπάρχει ήδη μια άλλη σελίδα κάτω από το νέο τίτλο, εκτός αν η σελίδα αυτή είναι κενή \'\'\'και\'\'\' χωρίς ιστορικό επεξεργασίας. Αυτό σημαίνει ότι, στην περίπτωση που έχετε κάνει λάθος, μπορείτε να μετονομάσετε μια σελίδα ξαναδίνοντας της την αρχική της ονομασία αλλά δεν μπορείτε να αντικαταστήσετε μια υπάρχουσα σελίδα.
 
 
 <b>ΠΡΟΣΟΧΗ!</b>
@@ -1315,7 +1315,7 @@ Tο σύστημα ειδοποίησης του {{SITENAME}}
 
 'movepagetalktext' => 'Η σελίδα συζήτησης που αντιστοιχεί, εάν υπάρχει, θα μετακινηθεί αυτόματα μαζί με αυτήν \'\'\'έκτός αν:\'\'\'
 *Μετακινείτε τη σελίδα σε διαφορετική περιοχή (namespace),
-*Υπάρχει κάτω από το νέο όνομα μια σελίδα συζήτησης που δεν είναι κενή, ή 
+*Υπάρχει κάτω από το νέο όνομα μια σελίδα συζήτησης που δεν είναι κενή, ή
 *Έχετε αφαιρέσει τη σημείωση (check) από το κουτάκι που υπάρχει παρακάτω.
 
 Σε αυτές τις περιπτώσεις, θα πρέπει να μετακινήσετε (ή να ενσωματώσετε αν το θέλετε) τη σελίδα με αντιγραφή-και-επικόλληση.',
@@ -1355,7 +1355,7 @@ Tο σύστημα ειδοποίησης του {{SITENAME}}
 #----------#
 'export' => 'Εξαγωγή σελίδων',
 
-'exporttext' => 'Μπορείτε να κάνετε εξαγωγή του κειμένου και του ιστορικού επεξεργασίας μιας συγκεκριμένης σελίδας (ή περισσοτέρων σελίδων που έχουν ομαδοποιηθεί με χρήση XML).  
+'exporttext' => 'Μπορείτε να κάνετε εξαγωγή του κειμένου και του ιστορικού επεξεργασίας μιας συγκεκριμένης σελίδας (ή περισσοτέρων σελίδων που έχουν ομαδοποιηθεί με χρήση XML).
 
 Για την εξαγωγή ολόκληρων άρθρων, συμπληρώστε τους τίτλους στο παρακάτω πλαίσιο (ένα τίτλο σε κάθε σειρά) και επιλέξτε ανάμεσα από το να εξαγάγετε μόνο την τρέχουσα έκδοση (με τις πληροφορίες της πιο πρόσφατης επεξεργασίας) ή εναλλακτικά και τις παλιότερες εκδόσεις (με τις αντίστοιχες καταγραφές στη σελιδα του ιστορικού).
 
@@ -1894,7 +1894,7 @@ ta[\'ca-nstab-category\'] = new Array(\'c\',\'Δείτε τη σελίδα κα
 'confirmemail_error' => 'Παρουσιάστηκε λάθος κατά την αποθήκευση των ρυθμίσεών σας.',
 'confirmemail_subject' => 'Επαλήθευση ηλεκτρονικής διεύθυνσης του {{SITENAME}}',
 
-'confirmemail_body' =>  'Κάποιος, πιθανόν εσείς από τη διεύθυνση IP $1, δημιούργησε στο {{SITENAME}} ένα λογαριασμό χρήστη "$2" με τη συγκεκριμένη ηλεκτρονική διεύθυνση. 
+'confirmemail_body' =>  'Κάποιος, πιθανόν εσείς από τη διεύθυνση IP $1, δημιούργησε στο {{SITENAME}} ένα λογαριασμό χρήστη "$2" με τη συγκεκριμένη ηλεκτρονική διεύθυνση.
 
 Για να επιβεβαιώσετε ότι αυτός ο λογαριασμός χρήστη ανήκει πραγματικά σε εσάς και για να ενεργοποιηθούν οι δυνατότητες e-mail του {{SITENAME}}, ακολουθήστε αυτό το σύνδεσμο:
 
index 7bf121a..86c1b82 100644 (file)
@@ -1364,7 +1364,7 @@ páginas vigiladas.
 
              El sistema de notificación de {{SITENAME}}.
 
--- 
+--
 Cambie las opciones de su lista de seguimiento en:
 {{SERVER}}{{localurl:Especial:Watchlist|edit=yes}}',
 'enotif_lastvisited'   => 'Vaya a {{SERVER}}{{localurl:$PAGETITLE_RAWURL|diff=0&oldid=$OLDID}} para ver todos los cambios desde su última visita.',
@@ -1626,7 +1626,7 @@ Cambie las opciones de su lista de seguimiento en:
     <input type="hidden" name="num" value="50" />
     <input type="hidden" name="ie" value="$2" />
     <input type="hidden" name="oe" value="$2" />
-    
+
     <input type="text" name="q" size="31" maxlength="255" value="$1" />
     <input type="submit" name="btnG" value="Búsqueda en Google" />
   </div>
@@ -1678,7 +1678,7 @@ Cambie las opciones de su lista de seguimiento en:
 'metadata'     => 'Metadatos',
 'metadata-collapse'    => 'Ocultar datos detallados',
 'metadata-expand'      => 'Mostrar datos detallados',
-'metadata-fields'      => 'Los campos de metadatos EXIF que se listan en este mensaje se mostrarán en la página de descripción de la imagen aún cuando la tabla de metadatos esté plegada. Existen otros campos que se mantendrán ocultos por defecto y que podrán desplegarse. 
+'metadata-fields'      => 'Los campos de metadatos EXIF que se listan en este mensaje se mostrarán en la página de descripción de la imagen aún cuando la tabla de metadatos esté plegada. Existen otros campos que se mantendrán ocultos por defecto y que podrán desplegarse.
 * make
 * model
 * datetimeoriginal
@@ -1717,7 +1717,7 @@ Cambie las opciones de su lista de seguimiento en:
 'protectcomment'       => 'Razón para proteger',
 'protect-default'      => '(por defecto)',
 'protectedarticle'     => 'protegió [[$1]]',
-'protectedtext'        => 'Esta página ha sido protegida para impedir su modificación; hay varias razones para que esto sea así, por favor vea 
+'protectedtext'        => 'Esta página ha sido protegida para impedir su modificación; hay varias razones para que esto sea así, por favor vea
 [[{{ns:project}}:Esta página está protegida]].
 
 Puedes ver y copiar el texto fuente de esta página:',
index 49f2067..e548d5f 100644 (file)
@@ -469,7 +469,7 @@ vous suivez les [[Project:Page_protégée|directives concernant les pages proté
 'searchquery' => 'Pour la requête « $1 »',
 'badquery'  => 'Requête mal formulée',
 'badquerytext' => 'Nous n\'avons pas pu traiter votre requête.
-Vous avez probablement recherché un mot d\'une longueur inférieure à trois lettres, ce qui n\'est pas encore possible. Vous avez aussi pu faire une erreur de syntaxe, telle que « poisson et écailles ». 
+Vous avez probablement recherché un mot d\'une longueur inférieure à trois lettres, ce qui n\'est pas encore possible. Vous avez aussi pu faire une erreur de syntaxe, telle que « poisson et écailles ».
 Veuillez essayer une autre requête.', // FIXME
 'matchtotals' => 'La requête « $1 » correspond à $2 titre(s) d\'article et au texte de $3 article(s).',
 'nogomatch' => 'Aucune page avec ce titre n\'existe, essai avec la recherche complète.
index 3646ec2..b42b745 100644 (file)
@@ -295,7 +295,7 @@ $wgExtraNamespaces = array(
 "editingold"   => "<strong>זהירות: את/ה עורך/ת גירסה לא עדכנית של הדף הזה.
 אם תשמור/י, כל השינויים שנעשו מאז גירסה זו יאבדו. </strong>",
 "yourdiff"             => "הבדלים",
-"copyrightwarning" => "אנא שים/י לב שכל תרומה ל-{{SITENAME}} מוצאת לאור תחת הרשיון לשימוש חופשי במסמכים של GNU (ראה $1 לפרטים). אם אינך רוצה שעבודתך תהיה זמינה לעריכה על ידי אחרים, ותופץ לעיני כל, אל תפרסם/י אותה פה. כמו-כן, את/ה מבטיח/ה לנו כי את/ה כתבת את הטקסט הזה בעצמך, או העתקת אותו ממקור שאינו מוגן על-ידי זכויות יוצרים. 
+"copyrightwarning" => "אנא שים/י לב שכל תרומה ל-{{SITENAME}} מוצאת לאור תחת הרשיון לשימוש חופשי במסמכים של GNU (ראה $1 לפרטים). אם אינך רוצה שעבודתך תהיה זמינה לעריכה על ידי אחרים, ותופץ לעיני כל, אל תפרסם/י אותה פה. כמו-כן, את/ה מבטיח/ה לנו כי את/ה כתבת את הטקסט הזה בעצמך, או העתקת אותו ממקור שאינו מוגן על-ידי זכויות יוצרים.
 <strong> אל תעשו שימוש בחומר המוגן בזכויות יוצרים ללא רשות! </strong>",
 "longpagewarning" => "<strong>אזהרה: גודל דף זה הוא $1 קילובייט. בדפדפנים מסוימים יהיו בעיות בעריכת דף הגדול מ32 קילובייט. אנא שיקלו לחלק דף זה לדפים קטנים יותר</strong>",
 "readonlywarning" => "<strong>אזהרה: בסיס-הנתונים ננעל לצורך תחזוקה. אי אפשר לשמור את העריכות בזמן זה. אתם יכולים להשתמש בעורך חיצוני עד שתסוים התחזוקה. אנו מתנצלים על התקלה.</strong>",
index 8914fed..8a03dd6 100644 (file)
@@ -55,7 +55,7 @@ if($wgMetaNamespace === FALSE)
 
 'Monobook.css' =>
 '/** Ovdje idu izmjene monobook stylesheeta */ ',
+
 # User preference toggles
 "tog-underline"            => "Podcrtane poveznice",
 "tog-highlightbroken"      => "Istakni prazne poveznice drugom bojom (inače, upitnikom na kraju).",
@@ -217,7 +217,7 @@ i [http://meta.wikimedia.org/wiki/MediaWiki_User%27s_Guide Vodič za suradnike]
 "administrators"        => "Project:Administratori",
 
 "sysoptitle"           => "Nužne administrativne ovlasti",
-"sysoptext"            => "Željenu radnju mogu obaviti samo 
+"sysoptext"            => "Željenu radnju mogu obaviti samo
 suradnici sa statusom \"administrator\".
 Vidi i $1.",
 "developertitle" => "Nužne programerske ovlasti",
@@ -260,9 +260,9 @@ Pogledajte $1.',
 'nstab-image' => 'Slika',
 'nstab-help' => 'Pomoć',
 'nstab-category' => 'Kategorija',
-'nstab-wp' => 'Stranica o projektu', 
+'nstab-wp' => 'Stranica o projektu',
 'nstab-mediawiki' => 'Poruka',
-'nstab-template' => 'Predložak', 
+'nstab-template' => 'Predložak',
 
 # Editier-Werkzeugleiste
 "bold_sample"=>"Podebljani tekst",
@@ -464,12 +464,12 @@ Vaša IP adresa je $3. Molimo vas da je spomenete u porukama o ovom predmetu.",
 'loginreqlink' => 'prijava',
 'loginreqpagetext'     => 'Morate se $1 da biste vidjeli ostale stranice.',
 'accmailtitle' => 'Lozinka poslana.',
-'accmailtext' => "Lozinka za suradnika '$1' poslana je na adresu $2.", 
+'accmailtext' => "Lozinka za suradnika '$1' poslana je na adresu $2.",
 "newarticle"           => "(Novo)",
 "newarticletext" =>
 "Došli ste na stranicu koja još nema sadržaja.<br />
-*Ako želite unijeti sadržaj, počnite tipkati u prozor ispod ovog teksta. 
-*Ako vam treba pomoć, idite na [[Project:Pomoć|stranicu za pomoć]]. 
+*Ako želite unijeti sadržaj, počnite tipkati u prozor ispod ovog teksta.
+*Ako vam treba pomoć, idite na [[Project:Pomoć|stranicu za pomoć]].
 *Ako ste ovamo dospjeli slučajno, kliknite \"Natrag\" (Back) u svom programu.",
 "anontalkpagetext"      => "----''Ovo je stranica za razgovor s anonimnim suradnikom koji nije otvorio suradnički račun ili se njime ne koristi. Zbog toga se moramo služiti brojčanom [[IP adresa|IP adresom]] kako bismo ga identificirali. Takvu adresu često koristi više ljudi. Ako ste anonimni suradnik i smatrate da su vam upućeni irelevantni komentari, molimo vas da [[Special:Userlogin|otvorite suradnički račun ili se prijavite]] te tako u budućnosti izbjegnete zamjenu s drugim anonimnim suradnicima.''",
 "noarticletext" => "(Trenutno na ovoj stranici nema teksta)",
@@ -478,7 +478,7 @@ Vaša IP adresa je $3. Molimo vas da je spomenete u porukama o ovom predmetu.",
 '''IE:''' držite ''Ctrl'' i pritisnite ''Refresh'', ili pritisnite ''Ctrl-F5''; '''Konqueror:''': samo pritisnite dugme ''Reload'' ili pritisnite ''F5''; korsnici '''Opere''' možda će morati u potpunosti isprazniti međuspremnik u ''Tools&rarr;Preferences''.",
 'usercssjsyoucanpreview' => "<strong>Savjet:</strong> Koristite dugme 'Pokaži kako će izgledati' za testiranje svog CSS/JS prije snimanja.",
 'usercsspreview' => "'''Ne zaboravite: samo isprobavate/pregledavate svoj suradnički CSS, i da još nije snimljen!'''",
-'userjspreview' => "'''Ne zaboravite: samo isprobavate/pregledavate svoj suradnički JavaScript, i da još nije snimljen!'''", 
+'userjspreview' => "'''Ne zaboravite: samo isprobavate/pregledavate svoj suradnički JavaScript, i da još nije snimljen!'''",
 "updated"              => "(Ažurirano)",
 "note"                 => "<strong>Napomena:</strong> ",
 "previewnote"          => "Ne zaboravite da je ovo samo pregled kako će stranica izgledati i da
@@ -487,7 +487,7 @@ stranica još nije snimljena!",
 ako pritisnete \"Sačuvaj stranicu\".",
 "editing"              => "Uređujete $1",
 'editingsection'               => "Uređujete $1 (odlomak)",
-'editingcomment'               => "Uređujete $1 (komentar)", 
+'editingcomment'               => "Uređujete $1 (komentar)",
 "editconflict"         => "Istovremeno uređivanje: $1",
 "explainconflict"       => "Netko je u međuvremenu promijenio stranicu. Gornje polje sadrži sadašnji tekst stranice.
 U donjem polju prikazane su vaše promjene. Morat ćete unijeti vaše promjene u sadašnji tekst. <b>Samo</b> će tekst
@@ -595,7 +595,7 @@ $2 Popis se preusmjerava   Traženje za $3 $9",
 #
 "preferences"          => "Postavke",
 "prefsnologin"          => "Niste prijavljeni",
-"prefsnologintext"     => "Morate biti [[Special:Userlogin|prijavljeni]] 
+"prefsnologintext"     => "Morate biti [[Special:Userlogin|prijavljeni]]
 za podešavanje korisničkih postavki.",
 "prefslogintext"        => "Prijavljeni ste kao \"$1\".
 Interni identifikacijski broj je $2.",
@@ -837,7 +837,7 @@ Neke od ovih funkcija opterećuju bazu podataka pa vas zato molimo da ne učitav
 "maintenancebacklink"  => "Natrag na stranicu za održavanje",
 "disambiguations"      => "Razdvojbene stranice",
 "disambiguationspage"  => "Template:disambig",
-"disambiguationstext"  => "Sljedeći su članci povezani na <i>razdvojbenu stranicu</i>. Morali bi biti povezani 
+"disambiguationstext"  => "Sljedeći su članci povezani na <i>razdvojbenu stranicu</i>. Morali bi biti povezani
 na odgovarajući sadržaj.<br />Stranica je razdvojbena ako je povezana iz $1.<br />Poveznice
 iz sekundarnih prostora ovdje <i>nisu</i> prikazane.",
 "doubleredirects"      => "Dvostruko preusmjeravanje",
@@ -1026,7 +1026,7 @@ Za pomoć posjetite:
 "deletepage"   => "Izbriši stranicu",
 "confirm"      => "Potvrdi",
 "excontent"     => "sadržaj je bio:",
-'excontentauthor' => "sadržaj je bio: '$1' (a jedini urednik '$2')", 
+'excontentauthor' => "sadržaj je bio: '$1' (a jedini urednik '$2')",
 "exbeforeblank" => "sadržaj prije brisanja je bio: '$1'",
 "exblank"       => "stranica je bila prazna",
 "confirmdelete" => "Potvrdi brisanje",
@@ -1216,14 +1216,14 @@ mijenjanje postavki, uređivanje popisa praćenja i druge stvari koje zahtijevaj
 'movepagetext' => 'Korištenjem ovog obrasca ćete preimenovati stranicu i premjestiti sve stare izmjene
 na novo ime.
 Stari će se naslov pretvoriti u stranicu koja automatski preusmjerava na novi naslov.
-Poveznice na stari naslov ostat će iste; bilo bi dobro da 
+Poveznice na stari naslov ostat će iste; bilo bi dobro da
 [[Special:Maintenance|provjerite]] je li preusmjeravanje ispravno.
 Na vama je da se pobrinete da poveznice i dalje vode tamo
 gdje bi trebale.
 
-Stranica se \'\'\'neće\'\'\' premjestiti ako već postoji stranica s novim naslovom, 
-osim u slučaju prazne stranice ili stranice za preusmjeravanje koja nema 
-nikakvih starih izmjena. To znači: 1. ako pogriješite, možete opet preimenovati 
+Stranica se \'\'\'neće\'\'\' premjestiti ako već postoji stranica s novim naslovom,
+osim u slučaju prazne stranice ili stranice za preusmjeravanje koja nema
+nikakvih starih izmjena. To znači: 1. ako pogriješite, možete opet preimenovati
 stranicu na stari naslov, 2. ne može vam se dogoditi da izbrišete neku postojeću stranicu.
 
 <b>OPREZ!</b>
@@ -1234,7 +1234,7 @@ i zato dobro razmislite prije nego što preimenujete stranicu.',
 *pod novim imenom već postoji stranica za razgovor s nekim sadržajem, ili
 *maknete kvačicu u kućici na dnu ove stranice.
 
-U tim slučajevima ćete morati sami premjestiti ili iskopirati stranicu za razgovor, 
+U tim slučajevima ćete morati sami premjestiti ili iskopirati stranicu za razgovor,
 ako to želite.',
 'movearticle' => 'Premjesti stranicu',
 "movenologin"  => "Niste prijavljeni",
@@ -1808,7 +1808,7 @@ Potvrdite namjeru vraćanja ovog članka.',
 'recreate' => 'Vrati',
 'tooltip-recreate' => '',
 
-'unusedcategoriestext' => 'Na navedenim stranicama kategorija nema ni jednog članka ili potkategorije.', 
+'unusedcategoriestext' => 'Na navedenim stranicama kategorija nema ni jednog članka ili potkategorije.',
 'unit-pixel' => 'px',
 'sitematrix' => 'Tablica Wikimedijinih projekata',
 );
@@ -1827,12 +1827,12 @@ class LanguageHr extends LanguageUtf8 {
        function getDateFormats() {
                return false;
        }
+
        function getQuickbarSettings() {
                global $wgQuickbarSettingsHr;
                return $wgQuickbarSettingsHr;
        }
+
        function getSkinNames() {
                global $wgSkinNamesHr;
                return $wgSkinNamesHr;
@@ -1847,7 +1847,7 @@ class LanguageHr extends LanguageUtf8 {
                  substr( $ts, 0, 4 ) . "." ;
                return $d;
        }
+
        function getMessage( $key ) {
                global $wgAllMessagesHr;
                if( isset( $wgAllMessagesHr[$key] ) ) {
@@ -1860,7 +1860,7 @@ class LanguageHr extends LanguageUtf8 {
        function formatNum( $number, $year = false ) {
                return $year ? $number : strtr($this->commafy($number), '.,', ',.' );
        }
-  
+
        function fallback8bitEncoding() {
                return "iso-8859-2";
        }
index 368ecbf..d8d2a8d 100644 (file)
@@ -298,7 +298,7 @@ $1 を参照してください。',
 'databaseerror' => 'データベース・エラー',
 'dberrortext' => 'データベース検索の文法エラー。これは恐らくソフトウェアのバグを表しています。
 
-最後に実行を試みた問い合わせ: 
+最後に実行を試みた問い合わせ:
 <blockquote><tt>$1</tt></blockquote>
 
 from within function "<tt>$2</tt>". MySQL returned error "<tt>$3: $4</tt>".',
@@ -1386,53 +1386,53 @@ Set first character to "0" to disable the new category page layout.',
 # Monobook.js: tooltips and access keys for monobook
 'Monobook.js' => "/* tooltips and access keys */
 ta = new Object();
-ta['pt-userpage'] = new Array('.','自分の利用者ページ'); 
-ta['pt-anonuserpage'] = new Array('.','あなたのIPアドレス用の利用者ページ'); 
-ta['pt-mytalk'] = new Array('n','自分の会話ページ'); 
-ta['pt-anontalk'] = new Array('n','あなたのIPアドレスからなされた編集の会話ページ'); 
-ta['pt-preferences'] = new Array('','オプションの変更'); 
-ta['pt-watchlist'] = new Array('l','変更を監視しているページの一覧'); 
-ta['pt-mycontris'] = new Array('y','自分の投稿記録'); 
-ta['pt-login'] = new Array('o','ログインすることが推奨されますが、しなくても構いません。'); 
-ta['pt-anonlogin'] = new Array('o','ログインすることが推奨されますが、しなくても構いません。'); 
-ta['pt-logout'] = new Array('o','ログアウト'); 
-ta['ca-talk'] = new Array('t','項目のノート'); 
-ta['ca-edit'] = new Array('e','このページを編集できます。投稿の前に「プレビューを実行」ボタンを使ってください。'); 
-ta['ca-addsection'] = new Array('+','このページにコメントを加える'); 
-ta['ca-viewsource'] = new Array('e','このページは保護されています。ページのソースを閲覧できます。'); 
-ta['ca-history'] = new Array('h','このページの過去の版'); 
-ta['ca-protect'] = new Array('=','このページを保護'); 
-ta['ca-delete'] = new Array('d','このページを削除'); 
-ta['ca-undelete'] = new Array('d','削除されたページを復帰する'); 
-ta['ca-move'] = new Array('m','このページを移動'); 
-ta['ca-watch'] = new Array('w','このページをウォッチリストへ追加'); 
-ta['ca-unwatch'] = new Array('w','このページをウォッチリストから外す'); 
-ta['search'] = new Array('f','ウィキ内を検索'); 
-ta['p-logo'] = new Array('','メインページ'); 
-ta['n-mainpage'] = new Array('z','メインページに移動'); 
-ta['n-portal'] = new Array('','このプロジェクトについて、あなたのできることを探す場所です'); 
-ta['n-currentevents'] = new Array('','最近の出来事'); 
-ta['n-recentchanges'] = new Array('r','最近更新が行われたページの一覧'); 
-ta['n-randompage'] = new Array('x','ランダムに記事を選んで表示'); 
-ta['n-help'] = new Array('','ヘルプ・使い方'); 
-ta['n-sitesupport'] = new Array('','私たちをサポートしてください'); 
-ta['t-whatlinkshere'] = new Array('j','このページにリンクしているページの一覧'); 
-ta['t-recentchangeslinked'] = new Array('k','最近更新が行われたこのページのリンク先'); 
-ta['feed-rss'] = new Array('','このページのRSSフィード'); 
-ta['feed-atom'] = new Array('','このページのAtomフィード'); 
-ta['t-contributions'] = new Array('','ユーザーの投稿記録'); 
-ta['t-emailuser'] = new Array('','このユーザーにメールを送信'); 
-ta['t-upload'] = new Array('u','画像やメディアファイルをアップロード'); 
-ta['t-specialpages'] = new Array('q','特別ページの一覧'); 
-ta['ca-nstab-main'] = new Array('c','本文を表示'); 
-ta['ca-nstab-user'] = new Array('c','利用者ページを表示'); 
-ta['ca-nstab-media'] = new Array('c','メディアページを表示'); 
-ta['ca-nstab-special'] = new Array('','これは特別ページです。編集することはできません。'); 
-ta['ca-nstab-wp'] = new Array('a','{{SITENAME}}ページを表示'); 
-ta['ca-nstab-image'] = new Array('c','画像ページを表示'); 
-ta['ca-nstab-mediawiki'] = new Array('c','定型文を表示'); 
-ta['ca-nstab-template'] = new Array('c','テンプレートを表示'); 
-ta['ca-nstab-help'] = new Array('c','ヘルプページを表示'); 
+ta['pt-userpage'] = new Array('.','自分の利用者ページ');
+ta['pt-anonuserpage'] = new Array('.','あなたのIPアドレス用の利用者ページ');
+ta['pt-mytalk'] = new Array('n','自分の会話ページ');
+ta['pt-anontalk'] = new Array('n','あなたのIPアドレスからなされた編集の会話ページ');
+ta['pt-preferences'] = new Array('','オプションの変更');
+ta['pt-watchlist'] = new Array('l','変更を監視しているページの一覧');
+ta['pt-mycontris'] = new Array('y','自分の投稿記録');
+ta['pt-login'] = new Array('o','ログインすることが推奨されますが、しなくても構いません。');
+ta['pt-anonlogin'] = new Array('o','ログインすることが推奨されますが、しなくても構いません。');
+ta['pt-logout'] = new Array('o','ログアウト');
+ta['ca-talk'] = new Array('t','項目のノート');
+ta['ca-edit'] = new Array('e','このページを編集できます。投稿の前に「プレビューを実行」ボタンを使ってください。');
+ta['ca-addsection'] = new Array('+','このページにコメントを加える');
+ta['ca-viewsource'] = new Array('e','このページは保護されています。ページのソースを閲覧できます。');
+ta['ca-history'] = new Array('h','このページの過去の版');
+ta['ca-protect'] = new Array('=','このページを保護');
+ta['ca-delete'] = new Array('d','このページを削除');
+ta['ca-undelete'] = new Array('d','削除されたページを復帰する');
+ta['ca-move'] = new Array('m','このページを移動');
+ta['ca-watch'] = new Array('w','このページをウォッチリストへ追加');
+ta['ca-unwatch'] = new Array('w','このページをウォッチリストから外す');
+ta['search'] = new Array('f','ウィキ内を検索');
+ta['p-logo'] = new Array('','メインページ');
+ta['n-mainpage'] = new Array('z','メインページに移動');
+ta['n-portal'] = new Array('','このプロジェクトについて、あなたのできることを探す場所です');
+ta['n-currentevents'] = new Array('','最近の出来事');
+ta['n-recentchanges'] = new Array('r','最近更新が行われたページの一覧');
+ta['n-randompage'] = new Array('x','ランダムに記事を選んで表示');
+ta['n-help'] = new Array('','ヘルプ・使い方');
+ta['n-sitesupport'] = new Array('','私たちをサポートしてください');
+ta['t-whatlinkshere'] = new Array('j','このページにリンクしているページの一覧');
+ta['t-recentchangeslinked'] = new Array('k','最近更新が行われたこのページのリンク先');
+ta['feed-rss'] = new Array('','このページのRSSフィード');
+ta['feed-atom'] = new Array('','このページのAtomフィード');
+ta['t-contributions'] = new Array('','ユーザーの投稿記録');
+ta['t-emailuser'] = new Array('','このユーザーにメールを送信');
+ta['t-upload'] = new Array('u','画像やメディアファイルをアップロード');
+ta['t-specialpages'] = new Array('q','特別ページの一覧');
+ta['ca-nstab-main'] = new Array('c','本文を表示');
+ta['ca-nstab-user'] = new Array('c','利用者ページを表示');
+ta['ca-nstab-media'] = new Array('c','メディアページを表示');
+ta['ca-nstab-special'] = new Array('','これは特別ページです。編集することはできません。');
+ta['ca-nstab-wp'] = new Array('a','{{SITENAME}}ページを表示');
+ta['ca-nstab-image'] = new Array('c','画像ページを表示');
+ta['ca-nstab-mediawiki'] = new Array('c','定型文を表示');
+ta['ca-nstab-template'] = new Array('c','テンプレートを表示');
+ta['ca-nstab-help'] = new Array('c','ヘルプページを表示');
 ta['ca-nstab-category'] = new Array('c','カテゴリページを表示');",
 
 # image deletion
@@ -1791,7 +1791,7 @@ $3
 もし {{SITENAME}} について身に覚えがない場合は、リンクを開かないでください。
 確認用コードは  $4 に期限切れになります。
 
--- 
+--
 {{SITENAME}} メールアドレス確認システム
 {{SERVER}}/',
 
index cff75a8..8c3a8e0 100644 (file)
@@ -294,7 +294,7 @@ $1',
 'filedeleteerror'      => 'Could not delete file \'$1\'.',
 'filenotfound'         => 'Could not find file \'$1\'.',
 'unexpected'           => 'Unexpected value: \'$1\'=\'$2\'.',
-'formerror'            => 'Error: could not submit form', 
+'formerror'            => 'Error: could not submit form',
 'badarticleerror'      => 'This action cannot be performed on this page.',
 'cannotdelete'         => 'Could not delete the page or image specified.',
 
@@ -501,7 +501,7 @@ text editing area as it will appear if you choose to save.',
 법적문제로 프로젝트가 위협받을 수 있습니다. 저작권 문제에 각별히 유의해 주세요.
 자세한 내용은 [[{{ns:4}}:저작권|저작권]]을 참고하세요.
 
-[http://meta.wikipedia.org/wiki/Special:Recentchanges 최근 메타 토론]도 
+[http://meta.wikipedia.org/wiki/Special:Recentchanges 최근 메타 토론]도
 읽어 보시고, 국제적인 위키백과 공동체에 참여해 보세요.',
 'rcloaderr'       => '최근 바뀜을 받고 있습니다.',
 'rcnote'             => '다음이 최근 <strong>$2</strong>일간 바뀐  <strong>$1</strong>개의 문서입니다.',
index 9f2801b..a52e78c 100644 (file)
@@ -47,54 +47,54 @@ $wgAllMessagesLt = array(
 '1movedto2_redir' => '\'$1\' pervadintas į \'$2\' (anksčiau buvo nukreipiamasis)',
 'Monobook.js' => '/* tooltips and access keys */
 ta = new Object();
-ta[\'pt-userpage\'] = new Array(\'.\',\'Mano vartotojo puslapis\'); 
-ta[\'pt-anonuserpage\'] = new Array(\'.\',\'Vartotojo puslapis jūsų ip ardesui\'); 
-ta[\'pt-mytalk\'] = new Array(\'n\',\'Mano aptarimų puslapis\'); 
-ta[\'pt-anontalk\'] = new Array(\'n\',\'Pakeitimų aptarimas, darytus naudojant šį IP adresą\'); 
-ta[\'pt-preferences\'] = new Array(\'\',\'Mano nustatymai\'); 
-ta[\'pt-watchlist\'] = new Array(\'l\',\'Sąrašas straipsnių, kuriuos jūs pasirinkote stebėti.\'); 
-ta[\'pt-mycontris\'] = new Array(\'y\',\'Mano darytų keitimų sąrašas\'); 
-ta[\'pt-login\'] = new Array(\'o\',\'Rekomenduojame prisijungti, nors tai nėra privaloma.\'); 
-ta[\'pt-anonlogin\'] = new Array(\'o\',\'Rekomenduojame prisijungti, nors tai nėra privaloma.\'); 
-ta[\'pt-logout\'] = new Array(\'o\',\'Atsijungti\'); 
-ta[\'ca-talk\'] = new Array(\'t\',\'Straipsnio aptarimas\'); 
-ta[\'ca-edit\'] = new Array(\'e\',\'Jūs galite redaguoti šį straipsnį. Nepamirškite peržiūrėti pakeitimų prieš užsaugodami.\'); 
-ta[\'ca-addsection\'] = new Array(\'+\',\'Pradėti naują aptarimo temą.\'); 
-ta[\'ca-viewsource\'] = new Array(\'e\',\'Puslapis yra užrakintas. Galite tik pažiūrėti turinį.\'); 
-ta[\'ca-history\'] = new Array(\'h\',\'Ankstesnės puslapio versijos.\'); 
-ta[\'ca-protect\'] = new Array(\'=\',\'Uždrausti šį puslapį\'); 
-ta[\'ca-delete\'] = new Array(\'d\',\'Ištrinti šį puslapį\'); 
-ta[\'ca-undelete\'] = new Array(\'d\',\'Atstatyti puslapį su visais darytais keitimais\'); 
-ta[\'ca-move\'] = new Array(\'m\',\'Pervadinti straipsnį\'); 
-ta[\'ca-nomove\'] = new Array(\'\',\'Neturite teisių pervadinti šį straipsnį\'); 
-ta[\'ca-watch\'] = new Array(\'w\',\'Pridėti straipsnį į stebimųjų sąrašą\'); 
-ta[\'ca-unwatch\'] = new Array(\'w\',\'Išimti straipsnį iš stebimųjų sąrašo\'); 
-ta[\'search\'] = new Array(\'f\',\'Ieškoti projekte {{SITENAME}}\'); 
-ta[\'p-logo\'] = new Array(\'\',\'Į pradinį puslapį\'); 
-ta[\'n-mainpage\'] = new Array(\'z\',\'Apsilankykite pradiniame puslapyje\'); 
-ta[\'n-portal\'] = new Array(\'\',\'Apie projektą, ką galima daryti, kur ką rasti\'); 
-ta[\'n-currentevents\'] = new Array(\'\',\'Find background information on current events\'); 
-ta[\'n-recentchanges\'] = new Array(\'r\',\'Sąrašas paskutinių keitimų.\'); 
-ta[\'n-randompage\'] = new Array(\'x\',\'Parinkti atsitiktinį straipsnį\'); 
-ta[\'n-help\'] = new Array(\'\',\'Vieta, kur rasite rūpimus atsakymus.\'); 
-ta[\'n-sitesupport\'] = new Array(\'\',\'Aukokite projektui\'); 
-ta[\'t-whatlinkshere\'] = new Array(\'j\',\'Sąrašas straipsnių, rodančių į čia\'); 
-ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Paskutiniai keitimai straipsniuose, pasiekiamuose iš šio straipsnio\'); 
-ta[\'feed-rss\'] = new Array(\'\',\'RSS feed for this page\'); 
-ta[\'feed-atom\'] = new Array(\'\',\'Atom feed for this page\'); 
-ta[\'t-contributions\'] = new Array(\'\',\'Pažiūrėti vartotojo įnašą - darytus keitimus\'); 
-ta[\'t-emailuser\'] = new Array(\'\',\'Siųsti el.laišką vartotojui\'); 
-ta[\'t-upload\'] = new Array(\'u\',\'Įdėti paveikslėlį ar media failą\'); 
-ta[\'t-specialpages\'] = new Array(\'q\',\'Specialiųjų puslapių sąrašas\'); 
-ta[\'ca-nstab-main\'] = new Array(\'c\',\'Pereiti į straipsnio turinį\'); 
-ta[\'ca-nstab-user\'] = new Array(\'c\',\'Rodyti vartotojo puslapį\'); 
-ta[\'ca-nstab-media\'] = new Array(\'c\',\'Rodyti media puslapį\'); 
-ta[\'ca-nstab-special\'] = new Array(\'\',\'Šis puslapis yra specialusis - jo negalima redaguoti.\'); 
-ta[\'ca-nstab-wp\'] = new Array(\'a\',\'Rodyti projekto puslapį\'); 
-ta[\'ca-nstab-image\'] = new Array(\'c\',\'Rodyti paveikslėlio puslapį\'); 
-ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'Rodyti sisteminį pranešimą\'); 
-ta[\'ca-nstab-template\'] = new Array(\'c\',\'Rodyti šabloną\'); 
-ta[\'ca-nstab-help\'] = new Array(\'c\',\'Rodyti pagalbos puslapį\'); 
+ta[\'pt-userpage\'] = new Array(\'.\',\'Mano vartotojo puslapis\');
+ta[\'pt-anonuserpage\'] = new Array(\'.\',\'Vartotojo puslapis jūsų ip ardesui\');
+ta[\'pt-mytalk\'] = new Array(\'n\',\'Mano aptarimų puslapis\');
+ta[\'pt-anontalk\'] = new Array(\'n\',\'Pakeitimų aptarimas, darytus naudojant šį IP adresą\');
+ta[\'pt-preferences\'] = new Array(\'\',\'Mano nustatymai\');
+ta[\'pt-watchlist\'] = new Array(\'l\',\'Sąrašas straipsnių, kuriuos jūs pasirinkote stebėti.\');
+ta[\'pt-mycontris\'] = new Array(\'y\',\'Mano darytų keitimų sąrašas\');
+ta[\'pt-login\'] = new Array(\'o\',\'Rekomenduojame prisijungti, nors tai nėra privaloma.\');
+ta[\'pt-anonlogin\'] = new Array(\'o\',\'Rekomenduojame prisijungti, nors tai nėra privaloma.\');
+ta[\'pt-logout\'] = new Array(\'o\',\'Atsijungti\');
+ta[\'ca-talk\'] = new Array(\'t\',\'Straipsnio aptarimas\');
+ta[\'ca-edit\'] = new Array(\'e\',\'Jūs galite redaguoti šį straipsnį. Nepamirškite peržiūrėti pakeitimų prieš užsaugodami.\');
+ta[\'ca-addsection\'] = new Array(\'+\',\'Pradėti naują aptarimo temą.\');
+ta[\'ca-viewsource\'] = new Array(\'e\',\'Puslapis yra užrakintas. Galite tik pažiūrėti turinį.\');
+ta[\'ca-history\'] = new Array(\'h\',\'Ankstesnės puslapio versijos.\');
+ta[\'ca-protect\'] = new Array(\'=\',\'Uždrausti šį puslapį\');
+ta[\'ca-delete\'] = new Array(\'d\',\'Ištrinti šį puslapį\');
+ta[\'ca-undelete\'] = new Array(\'d\',\'Atstatyti puslapį su visais darytais keitimais\');
+ta[\'ca-move\'] = new Array(\'m\',\'Pervadinti straipsnį\');
+ta[\'ca-nomove\'] = new Array(\'\',\'Neturite teisių pervadinti šį straipsnį\');
+ta[\'ca-watch\'] = new Array(\'w\',\'Pridėti straipsnį į stebimųjų sąrašą\');
+ta[\'ca-unwatch\'] = new Array(\'w\',\'Išimti straipsnį iš stebimųjų sąrašo\');
+ta[\'search\'] = new Array(\'f\',\'Ieškoti projekte {{SITENAME}}\');
+ta[\'p-logo\'] = new Array(\'\',\'Į pradinį puslapį\');
+ta[\'n-mainpage\'] = new Array(\'z\',\'Apsilankykite pradiniame puslapyje\');
+ta[\'n-portal\'] = new Array(\'\',\'Apie projektą, ką galima daryti, kur ką rasti\');
+ta[\'n-currentevents\'] = new Array(\'\',\'Find background information on current events\');
+ta[\'n-recentchanges\'] = new Array(\'r\',\'Sąrašas paskutinių keitimų.\');
+ta[\'n-randompage\'] = new Array(\'x\',\'Parinkti atsitiktinį straipsnį\');
+ta[\'n-help\'] = new Array(\'\',\'Vieta, kur rasite rūpimus atsakymus.\');
+ta[\'n-sitesupport\'] = new Array(\'\',\'Aukokite projektui\');
+ta[\'t-whatlinkshere\'] = new Array(\'j\',\'Sąrašas straipsnių, rodančių į čia\');
+ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Paskutiniai keitimai straipsniuose, pasiekiamuose iš šio straipsnio\');
+ta[\'feed-rss\'] = new Array(\'\',\'RSS feed for this page\');
+ta[\'feed-atom\'] = new Array(\'\',\'Atom feed for this page\');
+ta[\'t-contributions\'] = new Array(\'\',\'Pažiūrėti vartotojo įnašą - darytus keitimus\');
+ta[\'t-emailuser\'] = new Array(\'\',\'Siųsti el.laišką vartotojui\');
+ta[\'t-upload\'] = new Array(\'u\',\'Įdėti paveikslėlį ar media failą\');
+ta[\'t-specialpages\'] = new Array(\'q\',\'Specialiųjų puslapių sąrašas\');
+ta[\'ca-nstab-main\'] = new Array(\'c\',\'Pereiti į straipsnio turinį\');
+ta[\'ca-nstab-user\'] = new Array(\'c\',\'Rodyti vartotojo puslapį\');
+ta[\'ca-nstab-media\'] = new Array(\'c\',\'Rodyti media puslapį\');
+ta[\'ca-nstab-special\'] = new Array(\'\',\'Šis puslapis yra specialusis - jo negalima redaguoti.\');
+ta[\'ca-nstab-wp\'] = new Array(\'a\',\'Rodyti projekto puslapį\');
+ta[\'ca-nstab-image\'] = new Array(\'c\',\'Rodyti paveikslėlio puslapį\');
+ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'Rodyti sisteminį pranešimą\');
+ta[\'ca-nstab-template\'] = new Array(\'c\',\'Rodyti šabloną\');
+ta[\'ca-nstab-help\'] = new Array(\'c\',\'Rodyti pagalbos puslapį\');
 ta[\'ca-nstab-category\'] = new Array(\'c\',\'Rodyti kategorijos puslapį\');',
 
 'about' => 'Apie',
@@ -136,7 +136,7 @@ Galima sumažinti rezultatų patikslinant veiksmo rūšį, vartotoją ar susijus
 'already_steward' => 'Vartotojas jau yra ūkvedys',
 'already_sysop' => 'Vartotojas jau yra administratorius',
 'alreadyloggedin' => '<strong>Jūs jau esate prisijungęs kaip vartotojas User $1!</strong><br />',
-'alreadyrolled' => 'Nepavyko atmesti paskutinio [[Vartotojas:$2|$2]] ([[Vartotojo aptarimas:$2|aptarimas]]) daryto straipsnio [[$1]] keitimo; kažkas jau pakeitė straipsnį arba suspėjo pirmas atmesti keitimą. 
+'alreadyrolled' => 'Nepavyko atmesti paskutinio [[Vartotojas:$2|$2]] ([[Vartotojo aptarimas:$2|aptarimas]]) daryto straipsnio [[$1]] keitimo; kažkas jau pakeitė straipsnį arba suspėjo pirmas atmesti keitimą.
 
 Paskutimas keitimas darytas vartotojo [[Vartotojas:$3|$3]] ([[Vartotojo aptarimas:$3|Aptarimas]]).',
 'ancientpages' => 'Seniausi straipsniai',
@@ -163,8 +163,8 @@ leidžiamas tik vartotojiems turintiems šią privilegiją - "$2".
 'badfiletype' => '".$1" yra nerekomenduojamas paveikslėlio bylos formatas.',
 'badipaddress' => 'Neteisingas IP adresas',
 'badquery' => 'Bloga paieškos užklausa',
-'badquerytext' => 'Nepavyko apdoroti Jūsų paieškos užklausos. 
-Tai galėjo būti dėl trumpesnio nei trijų simbolių paieškos rakto, arba neteisingai suformuotos užklausos (pavyzdžiui "namas and and tvartas"). 
+'badquerytext' => 'Nepavyko apdoroti Jūsų paieškos užklausos.
+Tai galėjo būti dėl trumpesnio nei trijų simbolių paieškos rakto, arba neteisingai suformuotos užklausos (pavyzdžiui "namas and and tvartas").
 Pamėginkite kitokią užklausą.',
 'badretype' => 'Įvesti slaptažodžiai nesutampa.',
 'badtitle' => 'Blogas pavadinimas',
@@ -226,7 +226,7 @@ Nurodykite tikslią priežastį apačioje (pavyzdžiui nurodydami sugadintus pus
 kartu su visa istorija iš duomenų bazės.
 Prašome patvirtinti kad jūs norite tai padaryti,
 žinote kokios yra veiksmo pasekmės,
-ir kad jūs tai darote nenusižengdamas 
+ir kad jūs tai darote nenusižengdamas
 [[Wikipedia:Policy|Wikipedijos Politikai]].',
 'confirmemail' => 'Patvirtinkite el.pašto adresą',
 'confirmemail_body' => 'Kažkas (tikriausiai jūs) IP adresu užregistravo
@@ -300,7 +300,7 @@ Paskutinė mėginta duomenų bazės užklausa buvo:
 <blockquote><tt>$1</tt></blockquote>
 iš funkcijos: "<tt>$2</tt>".
 Klaida: "<tt>$3: $4</tt>".',
-'dberrortextcl' => 'Įvyko duomenų bazės užklausos klaida. 
+'dberrortextcl' => 'Įvyko duomenų bazės užklausos klaida.
 Paskutinė mėginta duomenų bazės užklausa buvo:
 
     $1
@@ -424,7 +424,7 @@ Norėdami eksportuoti puslapius, įveskite pavadinimus žemiau esančiame teksti
 po vieną pavadinimą eilutėje, taip pat pasirinkite ar norite eksportuoti ir istoriją
 ar tik dabartinę versiją su paskutinio redagavimo informacija.
 
-Norėdami eksportuoti vieno puslapio dabartinę versiją, galite naudoti nuorodą, pvz. [[{{ns:Special}}:Export/Lietuva]] 
+Norėdami eksportuoti vieno puslapio dabartinę versiją, galite naudoti nuorodą, pvz. [[{{ns:Special}}:Export/Lietuva]]
 straipsniui [[Lietuva]].',
 'extlink_sample' => 'http://www.pavyzdys.lt Nuorodos pavadinimas',
 'extlink_tip' => 'Išorinė nuoroda (nepamirškite http:// prefikso)',
@@ -617,7 +617,7 @@ kad suprantate visas pasekmes.',
 'nchanges' => '$1 pakeitimai',
 'newarticle' => '(Naujas)',
 'newarticletext' => 'Jūs patekote į neegzistuojančio straipsnio puslapį.
-Norėdami sukurti straipsnį, pradėkite žemiau esančiame įvedimo lauke 
+Norėdami sukurti straipsnį, pradėkite žemiau esančiame įvedimo lauke
 (plačiau [[Help:Kaip pradėti puslapį|apie puslapių kūrimą]]).
 Jei patekote čia per klaidą, paprasčiausiai spustelkite  naršyklės mygtuką \'atgal\' (\'\'\'back\'\'\').<br />
 \'\'\'Nepamirškite\'\'\' straipsnio turinį pateikti taip, kad žmogus suprastu tekstą be konteksto (dažniausiai žmonės pateks į šį puslapį visai kitu keliu, nei patekote jūs).',
@@ -714,7 +714,7 @@ Jūsų vidinis numeris yra $2.
 'protectedpage' => 'Užrakintas puslapis',
 'protectedpagewarning' => '<strong>DĖMESIO:  Šis puslapis yra užrakintas ir jį redaguoti gali tik administratoriaus teises turintys vartotojai. Nepamirškite laikytis
 [[Wikipedija:Puslapių rakinimas|užrakintų puslapių]] taisyklių.</strong>',
-'protectedtext' => 'Šis puslapis yra užrakintas, saugant jį nuo redagavimo; 
+'protectedtext' => 'Šis puslapis yra užrakintas, saugant jį nuo redagavimo;
 tai gali būti padaryta dėl skirtingų priežasčių, plačiau -
 [[Wikipedia:Puslapių rakinimas|Puslapių rakinimas]].
 
@@ -964,7 +964,7 @@ Jei jūsų interneto ryšys nėra greitas, įkėlimas gali šiek tiek užtrukti.
 Rekomenduojami formatai yra: JPEG - fotografijoms, PNG -
 schemoms ir kitiems ikoniniams paveikslėliams, OGG - garsams.
 Prašome failus vardinti vienareikšmiai, kad nekiltų painiavos.
-Norėdami panaudoti įkeltą paveikslėlį straipsnyje, naudokite tokio tipo nuorodas - 
+Norėdami panaudoti įkeltą paveikslėlį straipsnyje, naudokite tokio tipo nuorodas -
 \'\'\'<nowiki>[[{{ns:6}}:file.jpg]]</nowiki>\'\'\' arba
 \'\'\'<nowiki>[[{{ns:6}}:file.png|paveikslėlio pavadinimas]]</nowiki>\'\'\' arba
 \'\'\'<nowiki>[[{{ns:-2}}:file.ogg]]</nowiki>\'\'\' garsams.
index 1526656..082b306 100644 (file)
@@ -1663,7 +1663,7 @@ $1
 Du må stadfesta om du verkjeleg vil nyopprette denne sida.',
 'recreate'               => 'Nyopprett',
 'tooltip-recreate'       => 'Ved å trykkje på «Nyopprett» vert sida oppretta på nytt.',
+
 'unit-pixel' => 'px',
 
 );
index 33cdbc8..f2dd765 100644 (file)
@@ -129,7 +129,7 @@ require_once( 'LanguageUtf8.php' );
        MAG_NOCONTENTCONVERT     => array( 0,    '__NOCONTENTCONVERT__', '__NOCC__'),
        MAG_CURRENTWEEK          => array( 1,    'CURRENTWEEK'            ),
        MAG_CURRENTDOW           => array( 1,    'CURRENTDOW'             ),
-       MAG_REVISIONID           => array( 1,    'REVISIONID'             ),    
+       MAG_REVISIONID           => array( 1,    'REVISIONID'             ),
 );
 
 #-------------------------------------------------------------------
@@ -430,7 +430,7 @@ devido a tornar a base de dados lenta demais a ponto de impossibilitar a wiki.',
 Function: $1<br />
 Query: $2",
 'viewsource' => 'Ver fonte',
-'protectedtext' => "Esta página foi protegida para não permitir edições; existem inúmeros motivos para 
+'protectedtext' => "Esta página foi protegida para não permitir edições; existem inúmeros motivos para
 ocorrer esta situação, por favor consulte [[Project:Protected page]].
 
 Pode ver e copiar o código fonte desta página:",
@@ -506,8 +506,8 @@ Caso tenha sido outra pessoa a fazer este pedido ou caso você já se tenha lemb
 'noemail'                           => "Não existe um endereço de e-mail associado ao utilizador \"$1\".",
 'passwordsent'  => "Uma nova palavra-chave encontra-se a ser enviada para o endereço de email associado ao utilizador \"$1\".
 Por favor, volte a efectuar a autentificação ao recebê-la.",
-'eauthentsent'             =>  "Um email de confirmação foi enviado para o endereço de correio electrónico nomeado. 
-Antes de qualquer outro email seja enviado para a conta, terá seguir as instruções no email, 
+'eauthentsent'             =>  "Um email de confirmação foi enviado para o endereço de correio electrónico nomeado.
+Antes de qualquer outro email seja enviado para a conta, terá seguir as instruções no email,
 de modo a confirmar que a conta é mesmo sua.",
 'loginend'                          => '',
 'signupend'                         => '{{int:loginend}}',
@@ -590,7 +590,7 @@ Note que não poderá utilizar a funcionalidade \"Contactar utilizador\" se não
 'updated'               => '(Actualizado)',
 'note'                  => '<strong>Nota:</strong> ',
 'previewnote'   => '<strong>Isto é apenas uma previsão, as modificações ainda não foram salvas!</strong>',
-'session_fail_preview' => '<strong>Pedimos desculpas, mas não foi possível processar a sua edição devido à perda de dados da sua sessão. 
+'session_fail_preview' => '<strong>Pedimos desculpas, mas não foi possível processar a sua edição devido à perda de dados da sua sessão.
 Por favor tente novamente. Caso continue a não funcionar, tente sair e voltar a entrar na sua conta.</strong>',
 'previewconflict' => 'Esta previsão reflete o texto que está na área de edição acima e como ele aparecerá se você escolher salvar.',
 'importing'            => "Importando $1",
@@ -617,7 +617,7 @@ podem ser editadas, alteradas, ou removidas por outros contribuidores.
 Se não deseja ver as suas contribuições alteradas sem consentimento, não as envie para esta Wiki.<br />
 Adicionalmente, estar-nos-á a dar a sua palavra em como os teus são da sua autoria, ou copiados por fontes de domínio público ou similares (veja mais detalhes em $1).
 <strong>NÃO ENVIE MATERIAL COM DIREITOS DE AUTOR SEM PERMISSÃO!</strong>",
-'longpagewarning' => "<strong>AVISO: Esta página ocupa $1; alguns browsers verificam 
+'longpagewarning' => "<strong>AVISO: Esta página ocupa $1; alguns browsers verificam
 problemas em editar páginas maiores que 32kb.
 Por favor, considere seccionar a página em secções de menor dimensão.</strong>",
 'readonlywarning' => '<strong>AVISO: A base de dados foi bloqueada para manutenção, pelo que não poderá salvar a sua edição neste momento. Pode, no entanto, copiar o seu texto num editor externo e guardá-lo para posterior submissão.</strong>',
@@ -701,7 +701,7 @@ Note que os índices do conteúdo da {{SITENAME}} destes sites podem estar desac
     <input type="hidden" name="num" value="50" />
     <input type="hidden" name="ie" value="$2" />
     <input type="hidden" name="oe" value="$2" />
-    
+
     <input type="text" name="q" size="31" maxlength="255" value="$1" />
     <input type="submit" name="btnG" value="$3" />
   <div>
@@ -778,8 +778,8 @@ Note que os índices do conteúdo da {{SITENAME}} destes sites podem estar desac
 # group editing
 'groups-editgroup'          => 'Editar grupo',
 'groups-addgroup'           => 'Adicionar grupo',
-'groups-editgroup-preamble' => 'If the name or description starts with a colon, the 
-remainder will be treated as a message name, and hence the text will be localised 
+'groups-editgroup-preamble' => 'If the name or description starts with a colon, the
+remainder will be treated as a message name, and hence the text will be localised
 using the MediaWiki namespace',
 'groups-editgroup-name'     => 'Nome do grupo: ',
 'groups-editgroup-description' => 'Group description (max 255 characters):<br />',
@@ -803,7 +803,7 @@ Grupos não seleccionados, não serão alterados. Pode seleccionar ou remover a
 'userrights-logcomment' => 'Alterado membro do grupo de $1 para $2',
 
 # Default group names and descriptions
-# 
+#
 'group-anon-name'       => 'Anónimos',
 'group-anon-desc'       => 'Utilizadores anónimos',
 'group-loggedin-name'   => 'Utilizador',
@@ -858,11 +858,11 @@ para carregar ficheiros.",
 "
 Utilize o formulário abaixo para carregar novos ficheiros,
 para ver ou pesquisar imagens anteriormente carregadas
-consulte a [[Special:Imagelist|lista de ficheiros carregados]], 
+consulte a [[Special:Imagelist|lista de ficheiros carregados]],
 carregamentos e eliminações são também registados no [[Special:Log|registo do projecto]].
 
 Para incluír a imagem numa página, utilize o link na forma de
-'''[[{{ns:6}}:ficheiro.jpg]]''', 
+'''[[{{ns:6}}:ficheiro.jpg]]''',
 '''[[{{ns:6}}:ficheiro.png|texto]]''' ou
 '''[[{{ns:-2}}:ficheiro.ogg]]''' para uma ligação directa ao ficheiro.",
 'uploadlog'             => 'registo de carregamento',
@@ -1055,9 +1055,9 @@ e de possuir um endereço de e-mail válido nas suas [[Special:Preferences|prefe
 para enviar um e-mail a outros utilizadores.",
 'emailuser'             => 'Contactar este utilizador',
 'emailpage'             => 'Contactar utilizador',
-'emailpagetext' => 'Se o utilizador introduziu um endereço válido de e-mail 
+'emailpagetext' => 'Se o utilizador introduziu um endereço válido de e-mail
 nas suas preferências, poderá usar o formulário abaixo para lhe enviar uma mensagem.
-O endereço que introduziu nas suas preferências irá aparecer no campo "From" do e-mail 
+O endereço que introduziu nas suas preferências irá aparecer no campo "From" do e-mail
 para que o destinatário lhe possa responder.',
 'usermailererror' => 'Objecto de correio retornou um erro: ',
 'defemailsubject'  => "E-mail: {{SITENAME}}",
@@ -1368,7 +1368,7 @@ Por favor, escolha outro nome.',
 'movereason'    => 'Motivo',
 'revertmove'    => 'reverter',
 'delete_and_move' => 'Eliminar e mover',
-'delete_and_move_text'  => 
+'delete_and_move_text'  =>
 '==Eliminação necesária==
 O artigo destinatário "[[$1]]" já existe. Deseja o eliminar de modo a poder mover?',
 'delete_and_move_reason' => 'Eliminada para poder mover outra página para este título',
@@ -1555,7 +1555,7 @@ ta[\'ca-nstab-category\'] = new Array(\'c\',\'Ver a página da categoria\');',
 'showhidebots' => '($1 robôs)',
 'noimages'  => 'Nada para ver.',
 
-# short names for language variants used for language conversion links. 
+# short names for language variants used for language conversion links.
 # to disable showing a particular link, set it to 'disable', e.g.
 # 'variantname-zh-sg' => 'disable',
 'variantname-zh-cn' => 'cn',
index b967009..4871602 100644 (file)
@@ -1194,7 +1194,7 @@ $NEWPAGE
 'undeleterevisions' => 'В архиве $1 версий',
 'undeletehistory' => 'Если вы восстановите страницу, все версии будут также восстановлены, вместе с журналом изменений.
 Если с момента удаления была создана новая страница с таким же названием, восстановленные версии будут указаны в журнале изменений перед новыми записями, и текущая версия существующей страницы автоматически заменена не будет.',
-'undeletehistorynoadmin' => 'Статья была удалена. Причина удаления и список участников редактировавших статью до её удаления показаны ниже. 
+'undeletehistorynoadmin' => 'Статья была удалена. Причина удаления и список участников редактировавших статью до её удаления показаны ниже.
 Текст удалённой статьи могут просмотреть только администраторы.',
 'undeleterevision' => 'Стёртая версия от $1',
 'undeletebtn' => 'Восстановить!',
index 03e4a68..17f44ad 100644 (file)
@@ -260,7 +260,7 @@ Të gjitha kohët janë sipas orës së shërbyesit (UTC).
 'emailfrom' => 'Nga',
 'emailmessage' => 'Mesazh',
 'emailpage' => 'Dërgo e-mail përdoruesve',
-'emailpagetext' => 'Në qoftë se ky përdorues ka dhënë një adresë të saktë në parapëlqimet, formulari më poshtë do t\'i dërgojë një mesazh. 
+'emailpagetext' => 'Në qoftë se ky përdorues ka dhënë një adresë të saktë në parapëlqimet, formulari më poshtë do t\'i dërgojë një mesazh.
 
 Adresa e email-it që keni dhënë në parapëlqimet do të duket si pjesa "From" e adresës së mesazhit, kështuqë marrësi do të ketë mundësi tu përgjigjet.',
 'emailsend' => 'Dërgo',
@@ -871,7 +871,7 @@ Për të parë ose për të kërkuar figurat e dhëna më parë,
 shkoni tek [[Speciale:Imagelist|lista e figurave të dhëna]].
 Dhëniet dhe grisjet janë të rregjistruara në [[Speciale:Log|faqen e rregjistrave]].
 
-Përdorni formularin e më poshtëm për të dhënë skedarë të figurave të reja për tu përdorur në illustrimet e artikujve. Për shumicën e shfletuesve, do të shihni një "Browse..." buton, i cili do të hapi dialogun standart të skedarëve të operating system që përdorni. 
+Përdorni formularin e më poshtëm për të dhënë skedarë të figurave të reja për tu përdorur në illustrimet e artikujve. Për shumicën e shfletuesve, do të shihni një "Browse..." buton, i cili do të hapi dialogun standart të skedarëve të operating system që përdorni.
 
 Për të vendosur një figurë në një artikull, përdorni lidhjen sipas formës \'\'\'<nowiki>[[figura:skedar.jpg]]</nowiki>\'\'\' ose \'\'\'<nowiki>[[figura:skedar.png|tekst përshkrues]]</nowiki>\'\'\'
 ose \'\'\'<nowiki>[[media:skedar.ogg]]</nowiki> të tjerë.
index e275de7..491b686 100644 (file)
@@ -126,54 +126,54 @@ $wgAllMessagesSr = array(
 'Monobook.js' => '
 /* tooltips and access keys */
 ta = new Object();
-ta[\'pt-userpage\'] = new Array(\'.\',\'Моја корисничка страница\'); 
-ta[\'pt-anonuserpage\'] = new Array(\'.\',\'Корисничка страна за ИП коју мењате као\'); 
-ta[\'pt-mytalk\'] = new Array(\'n\',\'Моја страна за разговор\'); 
-ta[\'pt-anontalk\'] = new Array(\'n\',\'Разговор о прилозима са ове ИП адресе\'); 
-ta[\'pt-preferences\'] = new Array(\'\',\'Моја корисничка подешавања\'); 
-ta[\'pt-watchlist\'] = new Array(\'l\',\'Списак чланака које надгледате.\'); 
-ta[\'pt-mycontris\'] = new Array(\'y\',\'Списак мојих прилога\'); 
-ta[\'pt-login\'] = new Array(\'o\',\'Пријава није обавезна, али доноси много користи.\'); 
-ta[\'pt-anonlogin\'] = new Array(\'o\',\'Пријава није обавезна, али доноси много користи.\'); 
-ta[\'pt-logout\'] = new Array(\'o\',\'Одјава са Википедије\'); 
-ta[\'ca-talk\'] = new Array(\'t\',\'Разговори о садржају чланка\'); 
-ta[\'ca-edit\'] = new Array(\'e\',\'Можете да уређујете овај чланак!\'); 
-ta[\'ca-addsection\'] = new Array(\'+\',\'Додајте свој коментар.\'); 
-ta[\'ca-viewsource\'] = new Array(\'e\',\'Овај чланак је закључан.\'); 
-ta[\'ca-history\'] = new Array(\'h\',\'Претходне верзије садржаја чланка.\'); 
-ta[\'ca-protect\'] = new Array(\'=\',\'Заштити страницу од будућих измена\'); 
-ta[\'ca-delete\'] = new Array(\'d\',\'Брисање странице\'); 
-ta[\'ca-undelete\'] = new Array(\'d\',\'Враћање измена које су начињене пре брисања странице.\'); 
-ta[\'ca-move\'] = new Array(\'m\',\'Померање странице\'); 
-ta[\'ca-nomove\'] = new Array(\'\',\'Немате дозволу за померање ове странице\'); 
-ta[\'ca-watch\'] = new Array(\'w\',\'Додавање странице на Ваш списак надгладања.\'); 
-ta[\'ca-unwatch\'] = new Array(\'w\',\'Уклањање ове странице са Вашег списка надгледања.\'); 
-ta[\'search\'] = new Array(\'f\',\'Претраживање Википедије\'); 
-ta[\'p-logo\'] = new Array(\'\',\'Главна страна\'); 
-ta[\'n-mainpage\'] = new Array(\'z\',\'Посетите главну страну\'); 
-ta[\'n-portal\'] = new Array(\'\',\'Разговор о било чему што се тиче Википедије.\'); 
-ta[\'n-currentevents\'] = new Array(\'\',\'Подаци о ономе на чему се тренутно ради.\'); 
-ta[\'n-recentchanges\'] = new Array(\'r\',\'Списак скорашњих измена на Википедији\'); 
-ta[\'n-randompage\'] = new Array(\'x\',\'Учитавање случајне странице\'); 
-ta[\'n-help\'] = new Array(\'\',\'Научите да уређујете Википедију!\'); 
-ta[\'n-sitesupport\'] = new Array(\'\',\'Подржите нас\'); 
-ta[\'t-whatlinkshere\'] = new Array(\'j\',\'Списак свих чланака који су повезани са овим\'); 
-ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Скорашње измене чланака на којима се налази линк ка овом чланку \'); 
-ta[\'feed-rss\'] = new Array(\'\',\'RSS за ову страницу\'); 
-ta[\'feed-atom\'] = new Array(\'\',\'Atom за ову страницу\'); 
-ta[\'t-contributions\'] = new Array(\'\',\'Списак прилога овог корисника\'); 
-ta[\'t-emailuser\'] = new Array(\'\',\'Слање електронског писма овом кориснику\'); 
-ta[\'t-upload\'] = new Array(\'u\',\'Слање слика и медија фајлова\'); 
-ta[\'t-specialpages\'] = new Array(\'q\',\'Списак свих специјалних страница\'); 
-ta[\'ca-nstab-main\'] = new Array(\'c\',\'Видети садржај чланка\'); 
-ta[\'ca-nstab-user\'] = new Array(\'c\',\'Видети корисничку страницу\'); 
-ta[\'ca-nstab-media\'] = new Array(\'c\',\'Видети медија фајл\'); 
-ta[\'ca-nstab-special\'] = new Array(\'\',\'Ово је специјална страница и зато је не можете самостално уређивати.\'); 
-ta[\'ca-nstab-wp\'] = new Array(\'c\',\'Видети пројекат страницу\'); 
-ta[\'ca-nstab-image\'] = new Array(\'c\',\'Видети страницу слике\'); 
-ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'Видети системску поруку\'); 
-ta[\'ca-nstab-template\'] = new Array(\'c\',\'Видети шаблон\'); 
-ta[\'ca-nstab-help\'] = new Array(\'c\',\'Видети страницу за помоћ\'); 
+ta[\'pt-userpage\'] = new Array(\'.\',\'Моја корисничка страница\');
+ta[\'pt-anonuserpage\'] = new Array(\'.\',\'Корисничка страна за ИП коју мењате као\');
+ta[\'pt-mytalk\'] = new Array(\'n\',\'Моја страна за разговор\');
+ta[\'pt-anontalk\'] = new Array(\'n\',\'Разговор о прилозима са ове ИП адресе\');
+ta[\'pt-preferences\'] = new Array(\'\',\'Моја корисничка подешавања\');
+ta[\'pt-watchlist\'] = new Array(\'l\',\'Списак чланака које надгледате.\');
+ta[\'pt-mycontris\'] = new Array(\'y\',\'Списак мојих прилога\');
+ta[\'pt-login\'] = new Array(\'o\',\'Пријава није обавезна, али доноси много користи.\');
+ta[\'pt-anonlogin\'] = new Array(\'o\',\'Пријава није обавезна, али доноси много користи.\');
+ta[\'pt-logout\'] = new Array(\'o\',\'Одјава са Википедије\');
+ta[\'ca-talk\'] = new Array(\'t\',\'Разговори о садржају чланка\');
+ta[\'ca-edit\'] = new Array(\'e\',\'Можете да уређујете овај чланак!\');
+ta[\'ca-addsection\'] = new Array(\'+\',\'Додајте свој коментар.\');
+ta[\'ca-viewsource\'] = new Array(\'e\',\'Овај чланак је закључан.\');
+ta[\'ca-history\'] = new Array(\'h\',\'Претходне верзије садржаја чланка.\');
+ta[\'ca-protect\'] = new Array(\'=\',\'Заштити страницу од будућих измена\');
+ta[\'ca-delete\'] = new Array(\'d\',\'Брисање странице\');
+ta[\'ca-undelete\'] = new Array(\'d\',\'Враћање измена које су начињене пре брисања странице.\');
+ta[\'ca-move\'] = new Array(\'m\',\'Померање странице\');
+ta[\'ca-nomove\'] = new Array(\'\',\'Немате дозволу за померање ове странице\');
+ta[\'ca-watch\'] = new Array(\'w\',\'Додавање странице на Ваш списак надгладања.\');
+ta[\'ca-unwatch\'] = new Array(\'w\',\'Уклањање ове странице са Вашег списка надгледања.\');
+ta[\'search\'] = new Array(\'f\',\'Претраживање Википедије\');
+ta[\'p-logo\'] = new Array(\'\',\'Главна страна\');
+ta[\'n-mainpage\'] = new Array(\'z\',\'Посетите главну страну\');
+ta[\'n-portal\'] = new Array(\'\',\'Разговор о било чему што се тиче Википедије.\');
+ta[\'n-currentevents\'] = new Array(\'\',\'Подаци о ономе на чему се тренутно ради.\');
+ta[\'n-recentchanges\'] = new Array(\'r\',\'Списак скорашњих измена на Википедији\');
+ta[\'n-randompage\'] = new Array(\'x\',\'Учитавање случајне странице\');
+ta[\'n-help\'] = new Array(\'\',\'Научите да уређујете Википедију!\');
+ta[\'n-sitesupport\'] = new Array(\'\',\'Подржите нас\');
+ta[\'t-whatlinkshere\'] = new Array(\'j\',\'Списак свих чланака који су повезани са овим\');
+ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Скорашње измене чланака на којима се налази линк ка овом чланку \');
+ta[\'feed-rss\'] = new Array(\'\',\'RSS за ову страницу\');
+ta[\'feed-atom\'] = new Array(\'\',\'Atom за ову страницу\');
+ta[\'t-contributions\'] = new Array(\'\',\'Списак прилога овог корисника\');
+ta[\'t-emailuser\'] = new Array(\'\',\'Слање електронског писма овом кориснику\');
+ta[\'t-upload\'] = new Array(\'u\',\'Слање слика и медија фајлова\');
+ta[\'t-specialpages\'] = new Array(\'q\',\'Списак свих специјалних страница\');
+ta[\'ca-nstab-main\'] = new Array(\'c\',\'Видети садржај чланка\');
+ta[\'ca-nstab-user\'] = new Array(\'c\',\'Видети корисничку страницу\');
+ta[\'ca-nstab-media\'] = new Array(\'c\',\'Видети медија фајл\');
+ta[\'ca-nstab-special\'] = new Array(\'\',\'Ово је специјална страница и зато је не можете самостално уређивати.\');
+ta[\'ca-nstab-wp\'] = new Array(\'c\',\'Видети пројекат страницу\');
+ta[\'ca-nstab-image\'] = new Array(\'c\',\'Видети страницу слике\');
+ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'Видети системску поруку\');
+ta[\'ca-nstab-template\'] = new Array(\'c\',\'Видети шаблон\');
+ta[\'ca-nstab-help\'] = new Array(\'c\',\'Видети страницу за помоћ\');
 ta[\'ca-nstab-category\'] = new Array(\'c\',\'Видети страницу категорије\');',
 'about' => 'О...',
 'aboutpage' => '{{ns:4}}:О',
@@ -224,7 +224,7 @@ ta[\'ca-nstab-category\'] = new Array(\'c\',\'Видети страницу ка
 'apr' => 'апр',
 'april' => 'април',
 'article' => 'Чланак',
-'articleexists' => 'Страница под тим именом већ постоји, или је 
+'articleexists' => 'Страница под тим именом већ постоји, или је
 име које сте изабрали неисправно.
 Молимо изаберите друго име.',
 'articlepage' => 'Погледај чланак',
@@ -933,7 +933,7 @@ $NEWPAGE
 'mailmypassword' => 'Пошаљи ми нову лозинку',
 'mailnologin' => 'Нема адресе за слање',
 'mailnologintext' => 'Морате бити [[Special:Userlogin|пријављени]]
-и имати исправну адресу е-поште у вашим [[Special:Preferences|подешавањима]] 
+и имати исправну адресу е-поште у вашим [[Special:Preferences|подешавањима]]
 да бисте слали електронску пошту другим корисницима.',
 'mainpage' => 'Главна страна',
 'mainpagedocfooter' => 'Молимо видите [http://meta.wikimedia.org/wiki/MediaWiki_i18n документацију о подешавању интерфејса вашим потребама] и [http://meta.wikimedia.org/wiki/MediaWiki_User%27s_Guide кориснички водич] за коришћење и помоћ при конфигурисању.',
@@ -1089,9 +1089,9 @@ $NEWPAGE
 'noemailtext' => 'Овај корисник није навео исправну адресу е-поште,
 или је изабрао да не прима е-пошту од других корисника.',
 'noemailtitle' => 'Нема адресе е-поште',
-'nogomatch' => 'Не постоји страница са оваквим насловом. 
+'nogomatch' => 'Не постоји страница са оваквим насловом.
 
-Можете [[$1|написати чланак]] са овим насловом. 
+Можете [[$1|написати чланак]] са овим насловом.
 
 Молимо Вас претражите Википедију, пре креирања чланка да бисмо избегли дуплирање већ постојећег.',
 'nohistory' => 'Не постоји историја измена за ову страницу.',
@@ -1310,7 +1310,7 @@ $2 Излистај преусмерења &nbsp; Тражи $3 $9',
 'searchquery' => 'Тражили сте "<a href="/wiki/$1">$1</a>" <a href="/wiki/Special:Allpages/$1">[Садржај]</a>',
 'searchresults' => 'Резултати претраге',
 'searchresultshead' => 'Подешавања резултата претраге',
-'searchresulttext' => '<!--  
+'searchresulttext' => '<!--
 За више информација о претраживању Википедије, погледајте [[{{ns:4}}:Тражење|Претраживање Википедије]].
 -->',
 'selectnewerversionfordiff' => 'Изабери новију верзију за упоређивање',
index ac8afe5..b3d42fc 100644 (file)
@@ -225,7 +225,7 @@ Veritabanını kilitleyen operatörün açıklaması: $1',
 'perfcached' => 'Veriler daha önceden hazırlanmış olabilir. Bu sebeple güncel olmayabilir!',
 'perfdisabled' => 'Özür dileriz! Bu özellik, veritabanını kullanılamayacak derecede yavaşlattığı için, geçici olarak kullanımdan çıkarıldı.',
 'viewsource' => 'Kaynağı gör',
-'protectedtext' => 'Bu sayfa değiştirilmemesi için \'\'\'koruma altına alınmıştır\'\'\'. Bunun bir çok değişik sebebi olabilir. [[{{ns:4}}:Koruma altına alınmış sayfa|Koruma altına alınma sebepleri]] ile ilgili sayfaya gözatınız. 
+'protectedtext' => 'Bu sayfa değiştirilmemesi için \'\'\'koruma altına alınmıştır\'\'\'. Bunun bir çok değişik sebebi olabilir. [[{{ns:4}}:Koruma altına alınmış sayfa|Koruma altına alınma sebepleri]] ile ilgili sayfaya gözatınız.
 
 Bu sayfanın kaynak koduna bakıp kopyalayabilirsiniz:',
 
@@ -236,9 +236,9 @@ Bu sayfanın kaynak koduna bakıp kopyalayabilirsiniz:',
 'logouttitle' => 'Oturumu kapat',
 'welcomecreation' => '== Hoşgeldin, $1! ==
 
-Artık \'\'\'kayıtlı bir kullanıcısınız\'\'\'. 
+Artık \'\'\'kayıtlı bir kullanıcısınız\'\'\'.
 
-Hemen \'\'\'sayfa yazmaya/değiştirmeye\'\'\' başlayabilirsiniz. 
+Hemen \'\'\'sayfa yazmaya/değiştirmeye\'\'\' başlayabilirsiniz.
 
 Soldaki [[Yardım:İçindekiler|yardıma]] tıklayarak işe başlayın. Kolay gelsin.',
 'loginpagetitle' => 'Oturum aç',
@@ -346,8 +346,8 @@ IP addresiniz $3. Konuyla ilgili yapacağınız başvuruda lütfen bu adresi de
 'editconflict' => 'Değişiklik çakışması: $1',
 'editing' => '"$1" sayfasını değiştirmektesiniz',
 'editingsection' => '"$1" sayfasında bölüm değiştirmektesiniz',
-'explainconflict' => 'Siz sayfayı değiştirirken başka biri de değişiklik yaptı. 
-Yukarıdaki yazı sayfanın şu anki halini göstermektedir. 
+'explainconflict' => 'Siz sayfayı değiştirirken başka biri de değişiklik yaptı.
+Yukarıdaki yazı sayfanın şu anki halini göstermektedir.
 Sizin değişiklikleriniz alta gösterilmiştir. Son değişiklerinizi yazının içine eklemeniz gerekecektir. "Sayfayı kaydet"e bastığınızda <b>sadece</b> yukarıdaki yazı kaydedilecektir. <br />',
 'yourtext' => 'Sizin metniniz',
 'editingold' => '\'\'\'Dikkat: Sayfanın eski bir sürümünde değişiklik yapmaktasınız. Kaydettiğinizde bu tarihli sürümden günümüze kadar olan değişiklikler yok olacaktır.\'\'\'',
@@ -499,7 +499,7 @@ Dosya yüklemek için aşağıdaki formu kullanın,
 Önceden yüklenmiş resimleri görmek için  [[Special:Imagelist|resim listesine]] bakın,
 yüklenenler ve silinmişler [[Special:Log/upload|yükleme kaydısayfasında da]] görülebilir.
 
-Sayfaya resim koymak için 
+Sayfaya resim koymak için
 '''<nowiki>[[{{ns:6}}:Örnek.jpg]]</nowiki>''',
 '''<nowiki>[[{{ns:6}}:Örnek.png|açıklama]]</nowiki>'''  veya doğrudan bağlantı için
 '''<nowiki>[[{{ns:-2}}:Örnek.ogg]]</nowiki>''' .",
@@ -518,7 +518,7 @@ Sayfaya resim koymak için
 'fileexists' => 'Bu isimde bir dosya mevcut. Eğer değiştirmekten emin değilseniz ilk önce $1 dosyasına bir gözatın.',
 'fileuploaded' => '$1 dosyası başarı ile yüklendi.
 
-Lütfen $2 bağlantısını takip ederek dosya ile ilgili açıklama yazısı yazınız. Dosya nerden geldi, kim tarafından ne zaman oluşturuldu ya da hakında bildiğiniz diğer bilgiler gibi.  
+Lütfen $2 bağlantısını takip ederek dosya ile ilgili açıklama yazısı yazınız. Dosya nerden geldi, kim tarafından ne zaman oluşturuldu ya da hakında bildiğiniz diğer bilgiler gibi.
 
 Eğer bu bir resim ise <tt><nowiki>[[Resim:$1|thumb|açıklama]]</nowiki></tt> şeklinde sayfaya yerleştirebilirsiniz. (açıklama yerine resim ile ilgili yazı yazınız)',
 'uploadwarning' => 'Yükleme uyarısı',
@@ -617,7 +617,7 @@ Kullanıcılar başlangıçtan de bu yana sayfalarda \'\'\'$4\'\'\' defa değiş
 'categoriespagetext' => 'Vikide aşağıdaki kategoriler mevcuttur.',
 'version' => 'Sürüm',
 'log' => 'Kayıtlar',
-'alllogstext' => 'Yükleme, silme, koruma altına alma, erişim engelleme ve yönetici hareketlerinin tümünün kayıtları. 
+'alllogstext' => 'Yükleme, silme, koruma altına alma, erişim engelleme ve yönetici hareketlerinin tümünün kayıtları.
 Kayıt tipini, kullanıcı ismini, sayfa ismini girerek listeyi daraltabilirsiniz.',
 
 # Special:Allpages
@@ -634,7 +634,7 @@ Kayıt tipini, kullanıcı ismini, sayfa ismini girerek listeyi daraltabilirsini
 'emailuser' => 'Kullanıcıya e-posta gönder',
 'emailpage' => 'Kullanıcıya e-posta gönder',
 'emailpagetext' => 'Aşağıdaki form ile, eğer kullanıcı geçerli bir e-posta adresi belirtmişse, kullanıcıya e-posta gönderebilirsiniz.
+
 Yanıt alabilmeniz için "From" (Kimden) kısmına tercih formunda belirttiğiniz e-posta adresiniz otomatik olarak eklenecektir.',
 'defemailsubject' => '{{SITENAME}} e-posta',
 'noemailtitle' => 'e-posta adresi yok',
@@ -667,16 +667,16 @@ Sayfayı izleme listenizden çıkarmak istediğinizde "sayfayı izlemeyi durdur"
 'unwatch' => 'Sayfa izlemeyi durdur',
 'unwatchthispage' => 'Sayfa izlemeyi durdur',
 'watchnochange' => 'Gösterilen zaman aralığında izleme listenizdeki sayfaların hiçbiri güncellenmemiş.',
-'watchdetails' => '* Tartışma sayfaları hariç $1 sayfa izleme listenizdedir  
+'watchdetails' => '* Tartışma sayfaları hariç $1 sayfa izleme listenizdedir
 * [[Special:Watchlist/edit|İzleme listesinin tamamını göster ve yapılandır]]',
 'wlheader-showupdated' => '* Son ziyaretinizden sonraki sayfa değişikleri \'\'\'kalın\'\'\' olarak gösterilmiştir.',
 'watchmethod-recent' => 'son değişiklikler arasında izledğiniz sayfalar aranıyor',
 'watchmethod-list' => 'izleme listenizdeki sayfalar kontrol ediliyor',
 'removechecked' => 'İşaretli sayfaları izleme listesinden sil',
 'watchlistcontains' => 'İzleme listenizde $1 sayfa var.',
-'watcheditlist' => 'İzlediğiniz sayfaların alfabetik listesi aşağıdadır. 
+'watcheditlist' => 'İzlediğiniz sayfaların alfabetik listesi aşağıdadır.
 Sayfaları izleme listesinden çıkarmak için yanlarındaki
-kutucukları işaretleyip sayfanın altındaki \'işaretlenenleri sil\' 
+kutucukları işaretleyip sayfanın altındaki \'işaretlenenleri sil\'
 düğmesini tıklayınız.',
 'removingchecked' => 'İşaretlenen sayfalar izleme listesinden siliniyor...',
 'wlnote' => 'Son <b>$2</b> saatte yapılan $1 değişiklik aşağıdadır.',
@@ -700,7 +700,7 @@ Sayfayı değiştiren kullanıcının erişim bilgileri:
 e-posta: $PAGEEDITOR_EMAIL
 Viki: $PAGEEDITOR_WIKI
 
-Bahsi geçen sayfayı ziyaret etmediğiniz sürece sayfayla ilgili başka değişiklik uyarısı gönderilmeyecektir. Uyarı ayarlarını izleme listenizdeki tüm sayfalar için değiştirebilirsiniz. 
+Bahsi geçen sayfayı ziyaret etmediğiniz sürece sayfayla ilgili başka değişiklik uyarısı gönderilmeyecektir. Uyarı ayarlarını izleme listenizdeki tüm sayfalar için değiştirebilirsiniz.
 
 {{SITENAME}} uyarı sistemi.
 
@@ -899,56 +899,56 @@ Lütfen başka bir isim deneyiniz.',
 <pre>
 */
 
-/* Kısa yol tuşları ve yardım balonları */ 
-ta = new Object(); 
-ta[\'pt-userpage\'] = new Array(\'.\',\'Kişisel sayfam\'); 
-ta[\'pt-anonuserpage\'] = new Array(\'.\',\'The user page for the ip you\'re editing as\'); 
-ta[\'pt-mytalk\'] = new Array(\'n\',\'Mesaj sayfam\'); 
-ta[\'pt-anontalk\'] = new Array(\'n\',\'Bu IP adresinden yapılmış değişiklikleri tartış\'); 
-ta[\'pt-preferences\'] = new Array(\'\',\'Ayarlarım\'); 
-ta[\'pt-watchlist\'] = new Array(\'l\',\'İzlemeye aldığım sayfalar\'); 
-ta[\'pt-mycontris\'] = new Array(\'y\',\'Yaptığım katkıların listesi\'); 
-ta[\'pt-login\'] = new Array(\'o\',\'Oturum açmanız tavsiye olunur ama mecbur değilsiniz.\'); 
-ta[\'pt-anonlogin\'] = new Array(\'o\',\'Oturum açmanız tavsiye olunur ama mecbur değilsiniz.\'); 
-ta[\'pt-logout\'] = new Array(\'o\',\'Sistemden çık\'); 
-ta[\'ca-talk\'] = new Array(\'t\',\'İçerik ile ilgili görüş belirt\'); 
-ta[\'ca-edit\'] = new Array(\'e\',\'Bu sayfayı değiştirebilirsiniz. Kaydetmeden önce önizleme yapmayı unutmayın.\'); 
-ta[\'ca-addsection\'] = new Array(\'+\',\'Bu tartışmaya yorum ekleyin.\'); 
-ta[\'ca-viewsource\'] = new Array(\'e\',\'Bu sayfa kormu altında. Kaynak kodunu sadece görebilirsiniz. Değiştiremezsiniz.\'); 
-ta[\'ca-history\'] = new Array(\'h\',\'Bu sayfanın geçmiş versiyonları.\'); 
-ta[\'ca-protect\'] = new Array(\'=\',\'Bu sayfayı koru\'); 
-ta[\'ca-delete\'] = new Array(\'d\',\'Sayfayı sil\'); 
-ta[\'ca-undelete\'] = new Array(\'d\',\'Sayfayı silinmeden önceki haline geri getirin\'); 
-ta[\'ca-move\'] = new Array(\'m\',\'Sayfanın adını değiştir\'); 
-ta[\'ca-nomove\'] = new Array(\'\',\'Bu sayfanın adını değiştirmeye yetkiniz yok\'); 
-ta[\'ca-watch\'] = new Array(\'w\',\'Bu sayfayı izlemeye al\'); 
-ta[\'ca-unwatch\'] = new Array(\'w\',\'Bu sayfayı izlemeyi bırakın\'); 
-ta[\'search\'] = new Array(\'f\',\'Bu vikide arama yap\'); 
-ta[\'p-logo\'] = new Array(\'\',\'Ana sayfa\'); 
-ta[\'n-mainpage\'] = new Array(\'z\',\'Başlangıç sayfasına dönün\'); 
-ta[\'n-portal\'] = new Array(\'\',\'Proje üzerine, ne nerdedir, neler yapılabilir\'); 
-ta[\'n-currentevents\'] = new Array(\'\',\'Güncel olaylarla ilgili son bilgiler\'); 
-ta[\'n-recentchanges\'] = new Array(\'r\',\'Vikide yapılmış son değişikliklerin listesi.\'); 
-ta[\'n-randompage\'] = new Array(\'x\',\'Rastgele bir maddeye gidin\'); 
-ta[\'n-help\'] = new Array(\'\',\'Yardım almak için.\'); 
-ta[\'n-sitesupport\'] = new Array(\'\',\'Maddi destek\'); 
-ta[\'t-whatlinkshere\'] = new Array(\'j\',\'Bu sayfaya bağlantı vermiş diğer viki sayfalarının listesi\'); 
-ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Bu sayfaya bağlantı veren sayfalardaki son değişiklikler\'); 
-ta[\'feed-rss\'] = new Array(\'\',\'Bu sayfa için RSS beslemesi\'); 
-ta[\'feed-atom\'] = new Array(\'\',\'Bu sayfa için atom beslemesi\'); 
-ta[\'t-contributions\'] = new Array(\'\',\'Kullanıcının katkı listesini gör\'); 
-ta[\'t-emailuser\'] = new Array(\'\',\'Kullanıcıya e-posta gönder\'); 
-ta[\'t-upload\'] = new Array(\'u\',\'Sisteme resim ya da medya dosyaları yükleyin\'); 
-ta[\'t-specialpages\'] = new Array(\'q\',\'Tüm özel sayfaların listesini göster\'); 
-ta[\'ca-nstab-main\'] = new Array(\'c\',\'Sayfayı göster\'); 
-ta[\'ca-nstab-user\'] = new Array(\'c\',\'Kullanıcı sayfasını göster\'); 
-ta[\'ca-nstab-media\'] = new Array(\'c\',\'Medya sayfasını göster\'); 
-ta[\'ca-nstab-special\'] = new Array(\'\',\'Bu özel sayfa olduğu için değişiklik yapamazsınız.\'); 
-ta[\'ca-nstab-wp\'] = new Array(\'a\',\'Proje sayfasını göster\'); 
-ta[\'ca-nstab-image\'] = new Array(\'c\',\'Resim sayfasını göster\'); 
-ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'Sistem mesajını göster\'); 
-ta[\'ca-nstab-template\'] = new Array(\'c\',\'Şablonu göster\'); 
-ta[\'ca-nstab-help\'] = new Array(\'c\',\'Yardım sayfasını görmek için tıklayın\'); 
+/* Kısa yol tuşları ve yardım balonları */
+ta = new Object();
+ta[\'pt-userpage\'] = new Array(\'.\',\'Kişisel sayfam\');
+ta[\'pt-anonuserpage\'] = new Array(\'.\',\'The user page for the ip you\'re editing as\');
+ta[\'pt-mytalk\'] = new Array(\'n\',\'Mesaj sayfam\');
+ta[\'pt-anontalk\'] = new Array(\'n\',\'Bu IP adresinden yapılmış değişiklikleri tartış\');
+ta[\'pt-preferences\'] = new Array(\'\',\'Ayarlarım\');
+ta[\'pt-watchlist\'] = new Array(\'l\',\'İzlemeye aldığım sayfalar\');
+ta[\'pt-mycontris\'] = new Array(\'y\',\'Yaptığım katkıların listesi\');
+ta[\'pt-login\'] = new Array(\'o\',\'Oturum açmanız tavsiye olunur ama mecbur değilsiniz.\');
+ta[\'pt-anonlogin\'] = new Array(\'o\',\'Oturum açmanız tavsiye olunur ama mecbur değilsiniz.\');
+ta[\'pt-logout\'] = new Array(\'o\',\'Sistemden çık\');
+ta[\'ca-talk\'] = new Array(\'t\',\'İçerik ile ilgili görüş belirt\');
+ta[\'ca-edit\'] = new Array(\'e\',\'Bu sayfayı değiştirebilirsiniz. Kaydetmeden önce önizleme yapmayı unutmayın.\');
+ta[\'ca-addsection\'] = new Array(\'+\',\'Bu tartışmaya yorum ekleyin.\');
+ta[\'ca-viewsource\'] = new Array(\'e\',\'Bu sayfa kormu altında. Kaynak kodunu sadece görebilirsiniz. Değiştiremezsiniz.\');
+ta[\'ca-history\'] = new Array(\'h\',\'Bu sayfanın geçmiş versiyonları.\');
+ta[\'ca-protect\'] = new Array(\'=\',\'Bu sayfayı koru\');
+ta[\'ca-delete\'] = new Array(\'d\',\'Sayfayı sil\');
+ta[\'ca-undelete\'] = new Array(\'d\',\'Sayfayı silinmeden önceki haline geri getirin\');
+ta[\'ca-move\'] = new Array(\'m\',\'Sayfanın adını değiştir\');
+ta[\'ca-nomove\'] = new Array(\'\',\'Bu sayfanın adını değiştirmeye yetkiniz yok\');
+ta[\'ca-watch\'] = new Array(\'w\',\'Bu sayfayı izlemeye al\');
+ta[\'ca-unwatch\'] = new Array(\'w\',\'Bu sayfayı izlemeyi bırakın\');
+ta[\'search\'] = new Array(\'f\',\'Bu vikide arama yap\');
+ta[\'p-logo\'] = new Array(\'\',\'Ana sayfa\');
+ta[\'n-mainpage\'] = new Array(\'z\',\'Başlangıç sayfasına dönün\');
+ta[\'n-portal\'] = new Array(\'\',\'Proje üzerine, ne nerdedir, neler yapılabilir\');
+ta[\'n-currentevents\'] = new Array(\'\',\'Güncel olaylarla ilgili son bilgiler\');
+ta[\'n-recentchanges\'] = new Array(\'r\',\'Vikide yapılmış son değişikliklerin listesi.\');
+ta[\'n-randompage\'] = new Array(\'x\',\'Rastgele bir maddeye gidin\');
+ta[\'n-help\'] = new Array(\'\',\'Yardım almak için.\');
+ta[\'n-sitesupport\'] = new Array(\'\',\'Maddi destek\');
+ta[\'t-whatlinkshere\'] = new Array(\'j\',\'Bu sayfaya bağlantı vermiş diğer viki sayfalarının listesi\');
+ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Bu sayfaya bağlantı veren sayfalardaki son değişiklikler\');
+ta[\'feed-rss\'] = new Array(\'\',\'Bu sayfa için RSS beslemesi\');
+ta[\'feed-atom\'] = new Array(\'\',\'Bu sayfa için atom beslemesi\');
+ta[\'t-contributions\'] = new Array(\'\',\'Kullanıcının katkı listesini gör\');
+ta[\'t-emailuser\'] = new Array(\'\',\'Kullanıcıya e-posta gönder\');
+ta[\'t-upload\'] = new Array(\'u\',\'Sisteme resim ya da medya dosyaları yükleyin\');
+ta[\'t-specialpages\'] = new Array(\'q\',\'Tüm özel sayfaların listesini göster\');
+ta[\'ca-nstab-main\'] = new Array(\'c\',\'Sayfayı göster\');
+ta[\'ca-nstab-user\'] = new Array(\'c\',\'Kullanıcı sayfasını göster\');
+ta[\'ca-nstab-media\'] = new Array(\'c\',\'Medya sayfasını göster\');
+ta[\'ca-nstab-special\'] = new Array(\'\',\'Bu özel sayfa olduğu için değişiklik yapamazsınız.\');
+ta[\'ca-nstab-wp\'] = new Array(\'a\',\'Proje sayfasını göster\');
+ta[\'ca-nstab-image\'] = new Array(\'c\',\'Resim sayfasını göster\');
+ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'Sistem mesajını göster\');
+ta[\'ca-nstab-template\'] = new Array(\'c\',\'Şablonu göster\');
+ta[\'ca-nstab-help\'] = new Array(\'c\',\'Yardım sayfasını görmek için tıklayın\');
 ta[\'ca-nstab-category\'] = new Array(\'c\',\'Kategori sayfasını göster\');
 
 /*
@@ -1005,7 +1005,7 @@ ta[\'ca-nstab-category\'] = new Array(\'c\',\'Kategori sayfasını göster\');
 'confirmemail' => 'E-posta adresini onayla',
 'confirmemail_text' => 'Viki\'nin e-posta işlevlerini kullanmadan önce e-posta adresinizin
 doğrulanması gerekiyor. Adresinize onay e-postası göndermek için aşağıdaki
-butonu tıklayın. Gönderilecek iletide adresinizi onaylamak için tarayıcınızla 
+butonu tıklayın. Gönderilecek iletide adresinizi onaylamak için tarayıcınızla
 erişebileceğiniz, onay kodu içeren bir bağlantı olacak.',
 'confirmemail_send' => 'Onay kodu gönder',
 'confirmemail_sent' => 'Onay e-postası gönderildi.',
@@ -1015,12 +1015,12 @@ erişebileceğiniz, onay kodu içeren bir bağlantı olacak.',
 'confirmemail_loggedin' => 'E-posta adresiniz onaylandı.',
 'confirmemail_error' => 'Onayınız bilinmeyen bir hata nedeniyle kaydedilemedi.',
 'confirmemail_subject' => '{{SITENAME}} e-posta adres onayı.',
-'confirmemail_body' => '$1 internet adresinden yapılan erişimle {{SITENAME}}\'da 
-bu e-posta adresi ile ilişkilendirilen $2 kullanıcı hesabı 
-açıldı.  
+'confirmemail_body' => '$1 internet adresinden yapılan erişimle {{SITENAME}}\'da
+bu e-posta adresi ile ilişkilendirilen $2 kullanıcı hesabı
+açıldı.
 
 Bu e-posta adresinin bahsi geçen kullanıcı hesabına ait olduğunu
-onaylamak ve {{SITENAME}}\'daki e-posta işlevlerini aktif hale 
+onaylamak ve {{SITENAME}}\'daki e-posta işlevlerini aktif hale
 getirmek için aşağıdakı bağlantıyı tıklayın.
 
 $3
index 762ebe7..1cec1e5 100644 (file)
@@ -47,7 +47,7 @@ class LanguageUtf8 extends Language {
        }
 
        function uc( $str, $first = false ) {
-               if ( function_exists( 'mb_strtoupper' ) ) 
+               if ( function_exists( 'mb_strtoupper' ) )
                        return $first ? mb_strtoupper( mb_substr( $str, 0, 1 ) ) . mb_substr( $str, 1 ) : mb_strtoupper( $str );
                else {
                        global $wikiUpperChars;
index 804aadd..20432a4 100644 (file)
@@ -86,9 +86,9 @@ if($wgMetaNamespace === FALSE)
        MAG_SERVERNAME           => array( 0,    'SERVERNAME' , 'TÊNMÁYCHỦ'            ),
        MAG_SCRIPTPATH           => array( 0,    'SCRIPTPATH'  , ''           ),
        MAG_GRAMMAR              => array( 0,    'GRAMMAR:'   , 'NGỮPHÁP'            ),
-       MAG_NOTITLECONVERT       => array( 0,    '__NOTITLECONVERT__', 
+       MAG_NOTITLECONVERT       => array( 0,    '__NOTITLECONVERT__',
 '__NOTC__', '__KHÔNGCHUYỂNTÊN__'),
-       MAG_NOCONTENTCONVERT     => array( 0,    '__NOCONTENTCONVERT__', 
+       MAG_NOCONTENTCONVERT     => array( 0,    '__NOCONTENTCONVERT__',
 '__NOCC__', '__KHÔNGCHUYỂNNỘIDUNG__'),
        MAG_CURRENTWEEK          => array( 1,    'CURRENTWEEK' , 'TUẦNNÀY'           ),
        MAG_CURRENTDOW           => array( 1,    'CURRENTDOW'             ),
@@ -179,7 +179,7 @@ global $wgRightsText;
 'subcategorycount' => 'Thể loại này có $1 tiểu thể loại.',
 'subcategorycount1' => 'Thể loại này có $1 tiểu thể loại.',
 'allarticles'   => 'Mọi bài',
-'linktrail'     => 
+'linktrail'     =>
 "/^([a-zàâçéèêîôûäëïöüùÇÉÂÊÎÔÛÄËÏÖÜÀÈÙ]+)(.*)$/sD",
 'mainpage'      => 'Trang đầu',
 'mainpagetext' => 'Phần mềm {{SITENAME}} đã cài đặt.',
@@ -385,7 +385,7 @@ Bạn vẫn dùng {{SITENAME}} được như người vô danh, hoặc đăng nh
 'nocookieslogin' => " Xin bật cookies và đăng nhập lại.",
 'noname'        => "Chưa nhập tên.",
 'loginsuccesstitle' => "Đăng nhập thành công.",
-'loginsuccess'  => "Bạn đã đăng nhập vào {{SITENAME}} với tên 
+'loginsuccess'  => "Bạn đã đăng nhập vào {{SITENAME}} với tên
 \"$1\".",
 'nosuchuser'    => "Thành viên \"$1\" không tồn tại. Xin kiểm tra lại tên, hoặc mở tài khoản mới.",
 'nosuchusershort' => 'Không có « $1 ». Xin kiểm tra lại.',
@@ -663,8 +663,8 @@ Sau khi truyền hình lên:
 'largefile'  => 'Kích thước tập tin không nên vượt quá 100Kb.',
 'successfulupload' => 'Đã tải xong',
 'fileuploaded' => "Tập tin \"$1\" đã được tải lên thành công.
-Xin hãy theo liên kết: $2 đến trang mô tả và điền vào thông tin về tập tin, chẳng hạn như nó đến từ đâu, được tạo ra khi nào và bởi ai, và các chi tiết khác mà bạn biết về nó. 
-Nếu đây là hình ảnh, bạn có thể cho vào trong trang như sau: 
+Xin hãy theo liên kết: $2 đến trang mô tả và điền vào thông tin về tập tin, chẳng hạn như nó đến từ đâu, được tạo ra khi nào và bởi ai, và các chi tiết khác mà bạn biết về nó.
+Nếu đây là hình ảnh, bạn có thể cho vào trong trang như sau:
 <tt><nowiki>[[Image:$1|thumb|Mô tả hình]]</nowiki></tt>.",
 'uploadwarning' => 'Chú ý!',
 'savefile'  => 'Lưu tệp tin',
@@ -982,7 +982,7 @@ Chức năng này chỉ nên dùng để ngăn những hành vi phá hoại, và
 'autoblocker'   => "Bị tự động cấm vì dùng chung địa chỉ IP với \"$1\". Lý do \"$2\".",
 'blocklogpage'  => 'Nhật trình cấm',
 'blocklogentry' => 'đã cấm "$1", thời hạn $2',
-'blocklogtext'  => 'Nhật trình lưu những lần cấm và bỏ cấm. Các địa chỉ IP bị cấm tự động không được liệt kê. Xem thêm 
+'blocklogtext'  => 'Nhật trình lưu những lần cấm và bỏ cấm. Các địa chỉ IP bị cấm tự động không được liệt kê. Xem thêm
 [[Đặc_biệt:Ipblocklist|danh sách cấm]].',
 'unblocklogentry'   => 'đã hết cấm "$1"',
 'range_block_disabled'  => 'Không được cấm hàng loạt.',
index 89eb416..ebdb99f 100644 (file)
@@ -294,7 +294,7 @@ londjinne k\' on s\' endè pout pus siervi a môde di djin.',
 Fonccion: $1<br />
 Cweraedje: $2',
 'viewsource' => 'Vey côde sourdant',
-'protectedtext' => 'Cisse pådje chal a stî protedjeye siconte des candjmints; 
+'protectedtext' => 'Cisse pådje chal a stî protedjeye siconte des candjmints;
 i gn a sacwantès råjhons po çoula, loukîz
 [[{{ns:4}}:Pådje protedjeye]] s\' i vs plait.
 
@@ -343,9 +343,9 @@ Rissayîz s\' i vs plait!',
 'yournick' => 'Vosse no metou (po les sinateures)',
 'email' => 'Emile',
 'emailforlost' => 'Les tchamps avou ene sitoele (*) èn sont nén obligatweres.<br />
-L\' adresse emile, si vos ndè dnez ene, vos permetrè di rçure et 
-d\' evoyî des emiles å dtruviè di cisse waibe chal, sins vos dveur 
-diner voste adresse emile, çoula vos srè eto foirt ahessåve si vos rovyîz 
+L\' adresse emile, si vos ndè dnez ene, vos permetrè di rçure et
+d\' evoyî des emiles å dtruviè di cisse waibe chal, sins vos dveur
+diner voste adresse emile, çoula vos srè eto foirt ahessåve si vos rovyîz
 måy vosse sicret (on novea scret vos pôrè-st esse evoyî pa emile).<br />
 Vosse vraiy no, si vos l\' dinez, pôrè esse eployî po mete a costé
 di vos ovraedjes.',
@@ -465,9 +465,9 @@ do dzeu sereut håyné si vos decidez di clitchî so «schaper».',
 'editingcomment' => 'Candjant $1 (comintaire)',
 'editconflict' => 'Conflit inte deus candjmints: $1',
 'explainconflict' => 'Ene sakî a candjî l\' pådje do tins ki vos estîz a scrire.
-Li boesse di tecse do dzeur mostere li tecse del pådje come il est 
+Li boesse di tecse do dzeur mostere li tecse del pådje come il est
 pol moumint sol sierveu. Li tecse da vosse est sol boesse di tecse do dzo.
-Les diferinces sont håynêyes å mitan. Vos dvoz mete vos candjmints dins 
+Les diferinces sont håynêyes å mitan. Vos dvoz mete vos candjmints dins
 l\' tecse d\' asteure (å dzeur) si vos lez vloz co evoyî.
 <b>Seulmint</b> li tecse do dzeur serè candjî cwand vos clitchroz sol
 boton «Schaper l\' pådje».<br />',
@@ -483,8 +483,8 @@ dvèt esse dizo li licince $2 (loukîz $1 po pus di racsegnes).
 Si vos n\' voloz nén ki vosse tecse poye esse candjî eyet
 spårdou pa tot l\' minme kî, adon nel evoyîz nén chal.
 <br />
-Vos nos acertinez eto ki vos avoz scrît l\' tecse 
-vos minme, oudonbén l\' avoz copyî d\' on sourdant libe 
+Vos nos acertinez eto ki vos avoz scrît l\' tecse
+vos minme, oudonbén l\' avoz copyî d\' on sourdant libe
 (dominne publik ou on sourdant pareymint libe).
 <br />
 \'\'\'N\' EVOYÎZ NÉN DES TECSES DIZO ABONDROETS SINS PERMISSION!\'\'\'',
@@ -493,8 +493,8 @@ polèt esse esse candjîs ou disfacés pa des ôtes contribouweus.
 Si vos n\' voloz nén scrire des årtikes ki polèt esse
 candjîs pa des ôtes, adon nels evoyîz nén chal.
 <br />
-Vos nos acertinez eto ki vos avoz scrît l\' tecse 
-vos minme, oudonbén l\' avoz copyî d\' on sourdant libe 
+Vos nos acertinez eto ki vos avoz scrît l\' tecse
+vos minme, oudonbén l\' avoz copyî d\' on sourdant libe
 (veyoz $1 po pus di racsegnes).
 <br />
 <strong>N\' EVOYÎZ NÉN DES TECSES DIZO ABONDROETS SINS PERMISSION!</strong>',
@@ -719,15 +719,15 @@ Les groupes nén tchoezis èn seront nén candjîs. Vos ploz distchoezi on group
 'uploadnologin' => 'Nén elodjî',
 'uploadnologintext' => 'I vs fåt esse [[Special:Userlogin|elodjî]] por
 vos pleur eberweter des fitchîs.',
-'upload_directory_read_only' => 'Li sierveu waibe èn pout nén scrire sol ridant d\' eberwetaedje ($1).', 
+'upload_directory_read_only' => 'Li sierveu waibe èn pout nén scrire sol ridant d\' eberwetaedje ($1).',
 'uploaderror' => 'Aroke d\' eberwetaedje',
-'uploadtext' => 
+'uploadtext' =>
 "Eployîz les boesses d' intrêye chal pa dzo po-z eberweter des noveas fitchîs d' imådjes po vos årtikes. Sol plupårt des betchteus, vos voeroz on boton «Foyter...» (ou «Browse...») ki vs permetrè di foyter dins les ridants del deure plake da vosse po tchoezi l' fitchî, çou ki rimplirè otomaticmint li tchamp do no do fitchî k' est a costé.
 
 Po håyner ou cweri des imådjes k' ont ddja stî rçuvowes, alez sol [[Special:Imagelist|djivêye des imådjes dedja eberwetêyes]]. Les eberwetaedjes et disfaçaedjes sont eto metous èn on [[Special:Log/upload|djournå des eberwetaedjes]].
 
 Po håyner l' imådje dins èn årtike, eployîz on loyén del foûme
-'''<nowiki>[[</nowiki>{{ns:6}}<nowiki>:fitchî.jpg]]</nowiki>''' ou 
+'''<nowiki>[[</nowiki>{{ns:6}}<nowiki>:fitchî.jpg]]</nowiki>''' ou
 '''<nowiki>[[</nowiki>{{ns:6}}<nowiki>:fitchî.png|thumb|tecse a mete padzo]]</nowiki>''' ou co
 '''<nowiki>[[</nowiki>{{ns:-2}}<nowiki>:fitchî.ogg]]</nowiki>''' po les sons.",
 
@@ -958,7 +958,7 @@ Do côp, c\' est nén possibe di lyi evoyî èn emile.',
 'watchnologintext' => 'I vs fåt esse [[Special:Userlogin|elodjî]] po pleur candjî vosse djivêye des pådjes a shuve.',
 'addedwatch' => 'Radjouté ås shuvous',
 'addedwatchtext' => 'Li pådje «$1» a stî radjoutêye a vosse [[Special:Watchlist|djivêye des pådjes a shuve]].
-Tos les candjmints k\' i gn årè di cisse pådje chal, 
+Tos les candjmints k\' i gn årè di cisse pådje chal,
 eyet di si pådje di copene, seront håynés chal, eyet li pådje serè metowe e \'\'\'cråssès letes\'\'\'
 el [[Special:Recentchanges|djivêye des dierins candjmints]] po k\' ça soeye pus åjhey por vos del rimårker.
 <p>
@@ -1028,8 +1028,8 @@ disfaçaedjes.',
 'imagereverted' => 'Li rmetaedje del modêye di dvant a stî comifåt.',
 'cantrollback' => 'Dji n\' sai disfé les candjmints; li dierin contribouweu est li seu oteur po cist årtike ci.',
 'alreadyrolled' => 'Dji n\' sai disfé li dierin candjmint di [[$1]]
-fwait pa [[User:$2|$2]] ([[User talk:$2|Copene]]); 
-ene sakî d\' ôte a ddja candjî l\' årtike ou ddja rmetou l\' modêye di dvant. 
+fwait pa [[User:$2|$2]] ([[User talk:$2|Copene]]);
+ene sakî d\' ôte a ddja candjî l\' årtike ou ddja rmetou l\' modêye di dvant.
 
 Li dierin candjmint a stî fwait pa [[User:$3|$3]] ([[User talke:$3|Copene]]).',
 #   only shown if there is an edit comment
@@ -1063,7 +1063,7 @@ Si ene novele pådje avou l\' minme no a stî askepieye dispoy li disfaçaedje
 di cisse chal, les rapexheyès modêyes seront metowes e l\' istwere mins
 c\' est l\' modêye do moumint, et nén l\' cisse rapexheye, ki
 srè håynêye.',
-'undeletehistorynoadmin' => 'Cist årtike a stî disfacé. Li råjhon do 
+'undeletehistorynoadmin' => 'Cist årtike a stî disfacé. Li råjhon do
 disfaçaedje est dnêye chal pa dzo, avou les detays des uzeus k\' ont
 candjî l\' pådje divant do disfaçaedje. Li tecse di ces modêyes disfacêyes
 ni pout esse veyou ki des manaedjeus.',
@@ -1191,8 +1191,8 @@ Tapez l\' no d\' l\' uzeu dins l\' boesse di tecse poy clitchîz sol boton po nd
 'user_rights_set' => '<b>Les droets po l\' uzeu «$1» ont stî metous a djoû</b>',
 'set_rights_fail' => '<b>Les droets po l\' uzeu «$1» n\' ont nén polou esse definis. (Avoz vs tapé l\' no bén comifåt?)</b>',
 'makesysop' => 'Diner a èn uzeu on livea di manaedjeu',
-'already_sysop' => 'Cist uzeu ci a ddja l\' livea di manaedjeu', 
-'already_bureaucrat' => 'Cist uzeu ci a ddja l\' livea di mwaisse-manaedjeu', 
+'already_sysop' => 'Cist uzeu ci a ddja l\' livea di manaedjeu',
+'already_bureaucrat' => 'Cist uzeu ci a ddja l\' livea di mwaisse-manaedjeu',
 'already_steward' => 'Cist uzeu ci a ddja l\' livea di mwaisse-manaedjeu so tos les wikis',
 
 # Move page
index 420885c..c9ab211 100644 (file)
@@ -367,7 +367,7 @@ class FiveUpgrade {
                        rev_timestamp char(14) binary NOT NULL default '',
                        rev_minor_edit tinyint(1) unsigned NOT NULL default '0',
                        rev_deleted tinyint(1) unsigned NOT NULL default '0',
-  
+
                        PRIMARY KEY rev_page_id (rev_page, rev_id),
                        UNIQUE INDEX rev_id (rev_id),
                        INDEX rev_timestamp (rev_timestamp),
@@ -514,14 +514,14 @@ class FiveUpgrade {
 CREATE TABLE $pagelinks (
   -- Key to the page_id of the page containing the link.
   pl_from int(8) unsigned NOT NULL default '0',
-  
+
   -- Key to page_namespace/page_title of the target page.
   -- The target page may or may not exist, and due to renames
   -- and deletions may refer to different page records as time
   -- goes by.
   pl_namespace int NOT NULL default '0',
   pl_title varchar(255) binary NOT NULL default '',
-  
+
   UNIQUE KEY pl_from(pl_from,pl_namespace,pl_title),
   KEY (pl_namespace,pl_title)
 
@@ -650,7 +650,7 @@ CREATE TABLE $1 (
   img_user int(5) unsigned NOT NULL default '0',
   img_user_text varchar(255) binary NOT NULL default '',
   img_timestamp char(14) binary NOT NULL default '',
-  
+
   PRIMARY KEY img_name (img_name),
   INDEX img_size (img_size),
   INDEX img_timestamp (img_timestamp)
@@ -814,11 +814,11 @@ END;
 CREATE TABLE $1 (
   -- Base filename: key to image.img_name
   oi_name varchar(255) binary NOT NULL default '',
-  
+
   -- Filename of the archived file.
   -- This is generally a timestamp and '!' prepended to the base name.
   oi_archive_name varchar(255) binary NOT NULL default '',
-  
+
   -- Other fields as in image...
   oi_size int(8) unsigned NOT NULL default 0,
   oi_width int(5) NOT NULL default 0,
@@ -876,18 +876,18 @@ END;
 "CREATE TABLE $watchlist_temp (
   -- Key to user_id
   wl_user int(5) unsigned NOT NULL,
-  
+
   -- Key to page_namespace/page_title
   -- Note that users may watch patches which do not exist yet,
   -- or existed in the past but have been deleted.
   wl_namespace int NOT NULL default '0',
   wl_title varchar(255) binary NOT NULL default '',
-  
+
   -- Timestamp when user was last sent a notification e-mail;
   -- cleared when the user visits the page.
   -- FIXME: add proper null support etc
   wl_notificationtimestamp varchar(14) binary NOT NULL default '0',
-  
+
   UNIQUE KEY (wl_user, wl_namespace, wl_title),
   KEY namespace_title (wl_namespace,wl_title)
 
@@ -938,21 +938,21 @@ CREATE TABLE $1 (
   -- action field, but only the type controls categorization.
   log_type char(10) NOT NULL default '',
   log_action char(10) NOT NULL default '',
-  
+
   -- Timestamp. Duh.
   log_timestamp char(14) NOT NULL default '19700101000000',
-  
+
   -- The user who performed this action; key to user_id
   log_user int unsigned NOT NULL default 0,
-  
+
   -- Key to the page affected. Where a user is the target,
   -- this will point to the user page.
   log_namespace int NOT NULL default 0,
   log_title varchar(255) binary NOT NULL default '',
-  
+
   -- Freeform text. Interpreted as edit history comments.
   log_comment varchar(255) NOT NULL default '',
-  
+
   -- LF separated list of miscellaneous parameters
   log_params blob NOT NULL default '',
 
@@ -980,18 +980,18 @@ CREATE TABLE $1 (
   ar_namespace int NOT NULL default '0',
   ar_title varchar(255) binary NOT NULL default '',
   ar_text mediumblob NOT NULL default '',
-  
+
   ar_comment tinyblob NOT NULL default '',
   ar_user int(5) unsigned NOT NULL default '0',
   ar_user_text varchar(255) binary NOT NULL,
   ar_timestamp char(14) binary NOT NULL default '',
   ar_minor_edit tinyint(1) NOT NULL default '0',
-  
+
   ar_flags tinyblob NOT NULL default '',
 
   ar_rev_id int(8) unsigned,
   ar_text_id int(8) unsigned,
-  
+
   KEY name_title_timestamp (ar_namespace,ar_title,ar_timestamp)
 
 ) TYPE=InnoDB
@@ -1018,12 +1018,12 @@ END;
 CREATE TABLE $1 (
   -- Key to page_id of the page containing the image / media link.
   il_from int(8) unsigned NOT NULL default '0',
-  
+
   -- Filename of target image.
   -- This is also the page_title of the file's description page;
   -- all such pages are in namespace 6 (NS_IMAGE).
   il_to varchar(255) binary NOT NULL default '',
-  
+
   UNIQUE KEY il_from(il_from,il_to),
   KEY (il_to)
 
@@ -1045,7 +1045,7 @@ CREATE TABLE $1 (
   cl_to varchar(255) binary NOT NULL default '',
   cl_sortkey varchar(86) binary NOT NULL default '',
   cl_timestamp timestamp NOT NULL,
-  
+
   UNIQUE KEY cl_from(cl_from,cl_to),
   KEY cl_sortkey(cl_to,cl_sortkey),
   KEY cl_timestamp(cl_to,cl_timestamp)
@@ -1100,31 +1100,31 @@ CREATE TABLE $1 (
   rc_id int(8) NOT NULL auto_increment,
   rc_timestamp varchar(14) binary NOT NULL default '',
   rc_cur_time varchar(14) binary NOT NULL default '',
-  
+
   rc_user int(10) unsigned NOT NULL default '0',
   rc_user_text varchar(255) binary NOT NULL default '',
-  
+
   rc_namespace int NOT NULL default '0',
   rc_title varchar(255) binary NOT NULL default '',
-  
+
   rc_comment varchar(255) binary NOT NULL default '',
   rc_minor tinyint(3) unsigned NOT NULL default '0',
-  
+
   rc_bot tinyint(3) unsigned NOT NULL default '0',
   rc_new tinyint(3) unsigned NOT NULL default '0',
-  
+
   rc_cur_id int(10) unsigned NOT NULL default '0',
   rc_this_oldid int(10) unsigned NOT NULL default '0',
   rc_last_oldid int(10) unsigned NOT NULL default '0',
-  
+
   rc_type tinyint(3) unsigned NOT NULL default '0',
   rc_moved_to_ns tinyint(3) unsigned NOT NULL default '0',
   rc_moved_to_title varchar(255) binary NOT NULL default '',
-  
+
   rc_patrolled tinyint(3) unsigned NOT NULL default '0',
-  
+
   rc_ip char(15) NOT NULL default '',
-  
+
   PRIMARY KEY rc_id (rc_id),
   INDEX rc_timestamp (rc_timestamp),
   INDEX rc_namespace_title (rc_namespace, rc_title),
@@ -1163,14 +1163,14 @@ END;
 CREATE TABLE $1 (
   -- A key name, generally the base name of of the special page.
   qc_type char(32) NOT NULL,
-  
+
   -- Some sort of stored value. Sizes, counts...
   qc_value int(5) unsigned NOT NULL default '0',
-  
+
   -- Target namespace+title
   qc_namespace int NOT NULL default '0',
   qc_title char(255) binary NOT NULL default '',
-  
+
   KEY (qc_type,qc_value)
 
 ) TYPE=InnoDB
index afdc939..ee33180 100755 (executable)
@@ -2,7 +2,7 @@
 /**
  * Script to initialise the MediaWiki namespace
  *
- * This script is included from update.php and install.php. Do not run it 
+ * This script is included from update.php and install.php. Do not run it
  * by itself.
  *
  * @deprecated
@@ -19,7 +19,7 @@ function initialiseMessages( $overwrite = false, $messageArray = false ) {
        global $wgLanguageNames;
        global $IP;
 
-       # overwrite language conversion option so that all variants 
+       # overwrite language conversion option so that all variants
        # of the messages are initialised
        $wgDisableLangConversion = false;
 
@@ -92,7 +92,7 @@ function initialiseMessagesReal( $overwrite = false, $messageArray = false ) {
        $fname = 'initialiseMessages';
        $ns = NS_MEDIAWIKI;
        # cur_user_text responsible for the modifications
-       # Don't change it unless you're prepared to update the DBs accordingly, otherwise the 
+       # Don't change it unless you're prepared to update the DBs accordingly, otherwise the
        # default messages won't be overwritte
        $username = 'MediaWiki default';
 
index 0a1f0cd..b0019f5 100644 (file)
@@ -9,7 +9,7 @@ if ( count( $args ) != 3 ) {
        die( "Usage: php addwiki.php <language> <site> <dbname>\n" );
 }
 
-addWiki( $args[0], $args[1], $args[2] ); 
+addWiki( $args[0], $args[1], $args[2] );
 
 # -----------------------------------------------------------------
 
@@ -50,7 +50,7 @@ For help, see '''[[m:Help:How to start a new Wikipedia|how to start a new Wikipe
 ==Sister projects==
 [http://meta.wikipedia.org Meta-Wikipedia] | [http://www.wiktionary.org Wikitonary] | [http://www.wikibooks.org Wikibooks] | [http://www.wikinews.org Wikinews] | [http://www.wikiquote.org Wikiquote] | [http://www.wikisource.org Wikisource]
 
-See the [http://www.wikipedia.org Wikipedia portal] for other language Wikipedias. 
+See the [http://www.wikipedia.org Wikipedia portal] for other language Wikipedias.
 
 [[aa:]]
 [[af:]]
index d8acd0c..ee213e2 100644 (file)
@@ -44,7 +44,7 @@ $sqlfile = fopen( "attribute.sql", "a" );
 
 fwrite( $logfile, "* $source &rarr; $dest\n" );
 
-fwrite( $sqlfile, 
+fwrite( $sqlfile,
 "-- Changing attribution SQL file
 -- Generated with attribute.php
 -- $source -> $dest ($uid)
index 7b4af76..d67b5d8 100644 (file)
@@ -2,17 +2,17 @@
 /**
  * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
  * http://www.mediawiki.org/
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index ad3d5ab..fbfabf5 100644 (file)
@@ -5,20 +5,20 @@
  * Usage: php cleanupCaps.php [--dry-run]
  * Options:
  *   --dry-run  don't actually try moving them
- * 
+ *
  * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
  * http://www.mediawiki.org/
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 8b1ea5e..33c5448 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 85c5d1b..fb53978 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 9280b87..6beb509 100644 (file)
@@ -5,20 +5,20 @@
  * Usage: php cleanupTitles.php [--dry-run]
  * Options:
  *   --dry-run  don't actually try moving them
- * 
+ *
  * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
  * http://www.mediawiki.org/
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 9f3d03e..88066e9 100644 (file)
@@ -113,7 +113,7 @@ function convertLinks() {
                        
                        $tuplesAdded = 0; # no tuples added to INSERT yet
                        while ( $row = $dbw->fetchObject($res) ) {
-                               $fromTitle = $row->l_from; 
+                               $fromTitle = $row->l_from;
                                if ( array_key_exists( $fromTitle, $ids ) ) { # valid title
                                        $from = $ids[$fromTitle];
                                        $to = $row->l_to;
index 023906e..69b63e3 100644 (file)
@@ -197,7 +197,7 @@ class UtfUpdater {
 
                # And convert the rest...
                $this->convertTable( 'ipblocks', 'ipb_id', array( 'ipb_reason' ) );
-               $this->convertTable( 'user', 'user_id', 
+               $this->convertTable( 'user', 'user_id',
                        array( 'user_name', 'user_real_name', 'user_options' ),
                        'user_touched' );
                $this->convertTable( 'page', 'page_id',
index 0b028a7..b034f51 100644 (file)
  *
  * The goal is to get a list of messages not yet localised in a languageXX.php
  * file using the language.php file as reference.
- * 
+ *
  * The script then print a list of wgAllMessagesXX keys that aren't localised, a
  * percentage of messages correctly localised and the number of messages to be
  * translated.
- * 
+ *
  * @package MediaWiki
  * @subpackage Maintenance
  */
@@ -50,7 +50,7 @@ $wgLanguageCode = ucfirstlcrest($wgLanguageCode);
 $referenceMessages = $wgAllMessagesEn;
 $referenceLanguage = 'En';
 $referenceFilename = 'Language'.$referenceLanguage.'.php';
-/** Language messages we will test. */ 
+/** Language messages we will test. */
 $testMessages = array();
 $testLanguage = '';
 /** whereas we use an external language file */
index 2f8e6af..6afaaec 100644 (file)
@@ -2,17 +2,17 @@
 /**
  * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
  * http://www.mediawiki.org/
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 3c6ddeb..13a8a66 100644 (file)
@@ -29,7 +29,7 @@ class DumpHTML {
        # Copy commons images instead of symlinking
        var $forceCopy = false;
 
-       # Make links assuming the script path is in the same directory as 
+       # Make links assuming the script path is in the same directory as
        # the destination
        var $alternateScriptPath = false;
 
@@ -48,8 +48,8 @@ class DumpHTML {
                }
        }
 
-       /** 
-        * Write a set of articles specified by start and end page_id 
+       /**
+        * Write a set of articles specified by start and end page_id
         * Skip categories and images, they will be done separately
         */
        function doArticles( $start, $end = false ) {
@@ -77,7 +77,7 @@ class DumpHTML {
                        $title = Title::newFromID( $id );
                        if ( $title ) {
                                $ns = $title->getNamespace() ;
-                               if ( $ns != NS_CATEGORY && $title->getPrefixedDBkey() != $mainPage ) { 
+                               if ( $ns != NS_CATEGORY && $title->getPrefixedDBkey() != $mainPage ) {
                                        $this->doArticle( $title );
                                }
                        }
@@ -121,8 +121,8 @@ class DumpHTML {
                
                $this->setupGlobals();
 
-               /** 
-                * Dump image description pages that don't have an associated article, but do 
+               /**
+                * Dump image description pages that don't have an associated article, but do
                 * have a local image
                 */
                $dbr =& wfGetDB( DB_SLAVE );
@@ -138,7 +138,7 @@ class DumpHTML {
                                print "Done $i of $num\r";
                        }
                        $title = Title::makeTitle( NS_IMAGE, $row->img_name );
-                       if ( $title->getArticleID() ) { 
+                       if ( $title->getArticleID() ) {
                                // Already done by dumpHTML
                                continue;
                        }
@@ -198,7 +198,7 @@ class DumpHTML {
                $this->setupGlobals();
                $dbr =& wfGetDB( DB_SLAVE );
 
-               $res = $dbr->select( 'page', array( 'page_namespace', 'page_title' ), 
+               $res = $dbr->select( 'page', array( 'page_namespace', 'page_title' ),
                        array( 'page_is_redirect' => 1 ), $fname );
                $num = $dbr->numRows( $res );
                print "$num redirects to do...\n";
@@ -326,7 +326,7 @@ class DumpHTML {
                if ( !$this->setupDone ) {
                        $this->oldCopyrightIcon = $wgCopyrightIcon;
                }
-               $wgCopyrightIcon = str_replace( 'src="/images', 
+               $wgCopyrightIcon = str_replace( 'src="/images',
                        'src="' . htmlspecialchars( $wgScriptPath ) . '/images', $this->oldCopyrightIcon );
 
 
@@ -432,14 +432,14 @@ ENDTEXT;
         * This is necessary even if you intend to distribute all of commons, because
         * the directory contents is used to work out which image description pages
         * are needed.
-        * 
+        *
         * Also copies math images
         *
         */
        function copyImages( $images ) {
                global $wgSharedUploadPath, $wgSharedUploadDirectory, $wgMathPath, $wgMathDirectory;
                # Find shared uploads and copy them into the static directory
-               $sharedPathLength = strlen( $wgSharedUploadPath ); 
+               $sharedPathLength = strlen( $wgSharedUploadPath );
                $mathPathLength = strlen( $wgMathPath );
                foreach ( $images as $escapedImage => $dummy ) {
                        $image = urldecode( $escapedImage );
@@ -500,7 +500,7 @@ ENDTEXT;
                        if ( $title->getDBkey() == '' ) {
                                $url = str_replace( '$1', "../$iw/index.html", $wgArticlePath );
                        } else {
-                               $url = str_replace( '$1', "../$iw/" . wfUrlencode( $this->getHashedFilename( $title ) ), 
+                               $url = str_replace( '$1', "../$iw/" . wfUrlencode( $this->getHashedFilename( $title ) ),
                                        $wgArticlePath );
                        }
                        return false;
@@ -553,7 +553,7 @@ ENDTEXT;
                        return 'index.html';
                }
 
-               return $this->getHashedDirectory( $title ) . '/' . 
+               return $this->getHashedDirectory( $title ) . '/' .
                        $this->getFriendlyName( $dbkey ) . '.html';
        }
 
index 3ffdf81..7eaa058 100644 (file)
@@ -60,8 +60,8 @@ if ( !empty( $options['d'] ) ) {
        $dest = 'static';
 }
 
-$wgHTMLDump = new DumpHTML( array( 
-       'dest' => $dest, 
+$wgHTMLDump = new DumpHTML( array(
+       'dest' => $dest,
        'forceCopy' => $options['force-copy'],
        'alternateScriptPath' => $options['interlang'],
        'interwiki' => $options['interlang'],
index 03968f4..52ca538 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
  * http://www.mediawiki.org/
- * 
+ *
  * Quick demo hack to generate a plaintext link dump,
  * per the proposed wiki link database standard:
  * http://www.usemod.com/cgi-bin/mb.pl?LinkDatabase
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index b87770a..58dd9ad 100644 (file)
@@ -50,8 +50,8 @@ function dumpReplayEntry( $row ) {
                }
                
                if( $row->rc_this_oldid ) {
-                       $s = $dbr->selectRow( 'old', array( 'old_id as id','old_timestamp as timestamp', 
-                               'old_user as user', 'old_user_text as user_text', 'old_comment as comment', 
+                       $s = $dbr->selectRow( 'old', array( 'old_id as id','old_timestamp as timestamp',
+                               'old_user as user', 'old_user_text as user_text', 'old_comment as comment',
                                'old_text as text', 'old_flags as flags' ),
                                array( 'old_id' => $row->rc_this_oldid ) );
                        $out .= revision2xml( $s, true, false );
index 801ca1b..c81abba 100644 (file)
@@ -2,17 +2,17 @@
 /**
  * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
  * http://www.mediawiki.org/
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 21d7ee5..4e477f4 100755 (executable)
@@ -9,7 +9,7 @@
  * are evaluated separately, so blocks need to be input without a line break.
  * Fatal errors such as use of undeclared functions can kill the shell.
  *
- * To get decent line editing behavior, you should compile PHP with support 
+ * To get decent line editing behavior, you should compile PHP with support
  * for GNU readline (pass --with-readline to configure).
  *
  * @package MediaWiki
index 932cb8b..e6652ee 100644 (file)
@@ -196,7 +196,7 @@ class GenerateSitemap {
         * If the namespace isn't listed on the priority list return the
         * default priority for the namespace, varies depending on whether it's
         * a talkpage or not.
-        * 
+        *
         * @param int $namespace The namespace to get the priority for
         *
         * @return string
@@ -216,7 +216,7 @@ class GenerateSitemap {
                $fname = 'GenerateSitemap::getPageRes';
 
                return $this->dbr->select( 'page',
-                       array( 
+                       array(
                                'page_namespace',
                                'page_title',
                                'page_touched',
@@ -289,7 +289,7 @@ class GenerateSitemap {
        function write( &$handle, $str ) {
                if ( $this->compress )
                        gzwrite( $handle, $str );
-               else 
+               else
                        fwrite( $handle, $str );
        }
 
@@ -365,7 +365,7 @@ class GenerateSitemap {
                return
                        "\t<sitemap>\n" .
                        "\t\t<loc>$filename</loc>\n" .
-                       "\t\t<lastmod>{$this->timestamp}</lastmod>\n" . 
+                       "\t\t<lastmod>{$this->timestamp}</lastmod>\n" .
                        "\t</sitemap>\n";
        }
 
index 1ce9b73..0ebc513 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -134,7 +134,7 @@ class LogImporter {
 }
 
 function wfUnescapeWikiText( $text ) {
-       $text = str_replace( 
+       $text = str_replace(
                array( '&#91;', '&#124;', '&#39;', 'ISBN&#32;', '&#58;//' , "\n&#61;", '&#123;&#123;' ),
                array( '[',             '|',      "'",     'ISBN '        , '://'         , "\n=", '{{' ),
                $text );
index 27f99b4..fa76b04 100644 (file)
@@ -1,21 +1,21 @@
 <?php
 # MediaWiki 'phase 2' to current format import script
 # (import format current as of 1.2.0, March 2004)
-# 
+#
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # Portions by Lee Daniel Crocker, 2002
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 3252fd0..fef2f2a 100644 (file)
@@ -41,7 +41,7 @@ END;
  * @return string A dummy header
  */
 function poHeader() {
-return 
+return
 '# SOME DESCRIPTIVE TITLE.
 # Copyright (C) 2005 MediaWiki
 # This file is distributed under the same license as the MediaWiki package.
index 2cdd1e0..ae47008 100644 (file)
@@ -2,8 +2,8 @@
 
 # Move a batch of pages
 # Usage: php moveBatch.php [-u <user>] [-r <reason>] [-i <interval>] <listfile>
-# where 
-#      <listfile> is a file where each line has two titles separated by a pipe 
+# where
+#      <listfile> is a file where each line has two titles separated by a pipe
 # character. The first title is the source, the second is the destination.
 #      <user> is the username
 #      <reason> is the move reason
index d973342..3b36bad 100755 (executable)
@@ -41,8 +41,8 @@ $pdOutput = "{$here}docs" . DIRECTORY_SEPARATOR . 'html';
 # This will be used as the default for all files that don't have a package,
 # it's useful to set it to something like 'untagged' to hunt down and fix files
 # that don't have a package name declared.
-$pdOthers = " -dn MediaWiki"; 
-$pdOthers .= ' --title "MediaWiki generated documentation"'; 
+$pdOthers = " -dn MediaWiki";
+$pdOthers .= ' --title "MediaWiki generated documentation"';
 $pdOthers .= ' --output "HTML:Smarty:HandS"'; #,HTML:Smarty:HandS"'; ###### HTML:frames:DOM/earthli
 $pdOthers .= ' --ignore AdminSettings.php,LocalSettings.php,tests/LocalTestSettings.php';
 $pdOthers .= ' --parseprivate on';
@@ -124,7 +124,7 @@ case 0:
 case 1:
        $command .= "-d $mwPathI";
        break;
-case 2: 
+case 2:
        $command .= "-d $mwPathL";
        break;
 case 3:
index 1572be6..0144f90 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2005 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -126,7 +126,7 @@ class NamespaceConflictChecker {
                        $title = Title::makeTitle( $row->namespace, $row->title );
                        echo "...  *** using suffixed form [[" . $title->getPrefixedText() . "]] ***\n";
                }
-               $tables = $this->newSchema() 
+               $tables = $this->newSchema()
                        ? array( 'page' )
                        : array( 'cur', 'old' );
                foreach( $tables as $table ) {
index 219926c..f093e7e 100755 (executable)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2005 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -153,7 +153,7 @@ function checkSeparation( $fix ) {
        while( $row = $dbw->fetchObject( $result ) ) {
                $result2 = $dbw->query( "
                        SELECT MAX(rev_timestamp) as max_timestamp
-                       FROM $revision 
+                       FROM $revision
                        WHERE rev_page=$row->page_id
                " );
                $row2 = $dbw->fetchObject( $result2 );
index f138c37..c52ad69 100644 (file)
@@ -11,7 +11,7 @@ $wikiadmin_pass = `wikiadmin_pass`;
 $wikisql_pass = `wikisql_pass`;
 
 if ( @$argv[1] == 'yaseo' ) {
-       $hosts = array( 
+       $hosts = array(
                'localhost',
                '211.115.107.158',
                '211.115.107.159',
@@ -37,7 +37,7 @@ if ( @$argv[1] == 'yaseo' ) {
                '211.115.107.157',
        );
 } else {
-       $hosts = array( 
+       $hosts = array(
                'localhost',
                '207.142.131.194',
                '207.142.131.195',
index 086be26..62ce971 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2004 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -421,9 +421,9 @@ class ParserTest {
                                'img_width'       => 1941,
                                'img_height'      => 220,
                                'img_bits'        => 24,
-                               'img_media_type'  => MEDIATYPE_BITMAP, 
-                               'img_major_mime'  => "image", 
-                               'img_minor_mime'  => "jpeg", 
+                               'img_media_type'  => MEDIATYPE_BITMAP,
+                               'img_major_mime'  => "image",
+                               'img_minor_mime'  => "jpeg",
                                ) );
                        
                        $setupDB = true;
@@ -680,7 +680,7 @@ class ParserTest {
        }
        
        function wellFormed( $text ) {
-               $html = 
+               $html =
                        $this->hackDocType() .
                        '<html>' .
                        $text .
index 396bb7d..90c039c 100644 (file)
@@ -18,7 +18,7 @@ function wfParserTestSetup( &$parser ) {
 }
        
 function wfParserTestHook( $in, $argv ) {
-       if ( count( $argv ) ) 
+       if ( count( $argv ) )
                return "<pre>\n" . print_r( $argv, true ) . '</pre>';
        else
                return $in;
index d14f77b..0def198 100644 (file)
@@ -6,20 +6,20 @@
  * Options:
  *   --missing  Crawl the uploads dir for images without records, and
  *              add them only.
- * 
+ *
  * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
  * http://www.mediawiki.org/
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or 
+ * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index a10a224..48db503 100644 (file)
@@ -35,7 +35,7 @@ function getRebuildInterwikiSQL() {
 
        # Multi-language sites
        # db suffix => db suffix, iw prefix, hostname
-       $sites = array( 
+       $sites = array(
                'wiki' => new Site( 'wiki', 'w', 'wikipedia.org' ),
                'wiktionary' => new Site( 'wiktionary', 'wikt', 'wiktionary.org' ),
                'wikiquote' => new Site( 'wikiquote', 'q', 'wikiquote.org' ),
@@ -52,7 +52,7 @@ function getRebuildInterwikiSQL() {
        $dblist = array_map( "trim", file( "/home/wikipedia/common/all.dblist" ) );
        
        # Special-case hostnames
-       $specials = array( 
+       $specials = array(
                'sourceswiki' => 'sources.wikipedia.org',
                'quotewiki' => 'wikiquote.org',
                'textbookwiki' => 'wikibooks.org',
@@ -70,7 +70,7 @@ function getRebuildInterwikiSQL() {
 
        # Language aliases, usually configured as redirects to the real wiki in apache
        # Interlanguage links are made directly to the real wiki
-       # Something horrible happens if you forget to list an alias here, I can't 
+       # Something horrible happens if you forget to list an alias here, I can't
        #   remember what
        $languageAliases = array(
                'zh-cn' => 'zh',
@@ -134,7 +134,7 @@ function getRebuildInterwikiSQL() {
                        $host = $specials[$db];
                        $sql .= "\n--$host\n\n";
                        $sql .= "USE $db;\n" .
-                                       "TRUNCATE TABLE interwiki;\n" . 
+                                       "TRUNCATE TABLE interwiki;\n" .
                                        "INSERT INTO interwiki (iw_prefix, iw_url, iw_local) VALUES \n";
                        $first = true;
                        
@@ -183,8 +183,8 @@ function getRebuildInterwikiSQL() {
                        # Intermap links
                        foreach ( $iwArray as $iwEntry ) {
                                # Suppress links with the same name as the site
-                               if ( ( $suffix == 'wiki' && $iwEntry['iw_prefix'] != 'wikipedia' ) || 
-                                 ( $suffix != 'wiki' && $suffix != $iwEntry['iw_prefix'] ) ) 
+                               if ( ( $suffix == 'wiki' && $iwEntry['iw_prefix'] != 'wikipedia' ) ||
+                                 ( $suffix != 'wiki' && $suffix != $iwEntry['iw_prefix'] ) )
                                {
                                        $sql .= makeLink( $iwEntry, $first, $db );
                                }
@@ -208,7 +208,7 @@ function getRebuildInterwikiSQL() {
                        }
                        
                        # Extra links
-                       foreach ( $extraLinks as $link ){ 
+                       foreach ( $extraLinks as $link ){
                                        $sql .= makeLink( $link, $first, $db );
                        }
                        $sql .= ";\n\n";
index e7c1b02..54672d2 100644 (file)
@@ -6,7 +6,7 @@
  * @todo document
  * @package MediaWiki
  * @subpackage Maintenance
- */ 
+ */
 
 /** */
 require_once( "commandLine.inc" );
index f146c24..7506f8f 100644 (file)
@@ -28,7 +28,7 @@ function refreshLinks( $start, $newOnly = false, $maxLag = false ) {
        if ( $newOnly ) {
                print "Refreshing links from ";
                $res = $dbr->select( 'page',
-                       array( 'page_id' ), 
+                       array( 'page_id' ),
                        array(
                                'page_is_new' => 1,
                                "page_id > $start" ),
@@ -94,7 +94,7 @@ function deleteLinksFromNonexistent( $maxLag = 0 ) {
 
        $dbw =& wfGetDB( DB_WRITE );
        
-       $linksTables = array( 
+       $linksTables = array(
                'pagelinks' => 'pl_from',
                'imagelinks' => 'il_from',
                'categorylinks' => 'cl_from',
index 74f5420..0297c5a 100644 (file)
@@ -11,7 +11,7 @@
 define( 'ACTION_REPORT', 0 );
 define( 'ACTION_DELETE', 1 );
 
-# Count the number of edits the specified user has made 
+# Count the number of edits the specified user has made
 function CountEdits( $user_id ) {
        # We've *got* to pull this stuff off the master. If the user *has* made an edit, but it hasn't
        # been replicated to the slaves yet, we'll end up falsely marking them as inactive. This could
index 14b478b..c250077 100644 (file)
@@ -3,9 +3,9 @@
  * This is an experimental list. It will later be used with a script to split
  * the languages files in several parts then the message system will only load
  * in memory the parts which are actually needed.
- * 
+ *
  * Generated using: grep -r foobar *
- * 
+ *
  * $commonMsg is the default array. Other arrays will only be loaded if needed.
  */
 $installerMsg = array (
index 04cd261..b80f38f 100644 (file)
@@ -3,7 +3,7 @@
  * splitLanguageFiles
  * Should read each of the languages files then split them in several subpart
  * under ./languages/XX/ according to the arrays in splitLanguageFiles.inc .
- * 
+ *
  * Also need to rewrite the wfMsg system / message-cache.
  */
 
index c61e9e0..2a8678f 100644 (file)
@@ -56,7 +56,7 @@ function compressPage( $row, $extdb ) {
        }
 
        # Update text row
-       $dbw->update( 'text', 
+       $dbw->update( 'text',
                array( /* SET */
                        'old_flags' => $flags,
                        'old_text' => $compress
@@ -71,7 +71,7 @@ define( 'LS_INDIVIDUAL', 0 );
 define( 'LS_CHUNKED', 1 );
 
 /** @todo document */
-function compressWithConcat( $startId, $maxChunkSize, $maxChunkFactor, $factorThreshold, $beginDate, 
+function compressWithConcat( $startId, $maxChunkSize, $maxChunkFactor, $factorThreshold, $beginDate,
        $endDate, $extdb="", $maxPageId = false )
 {
        $fname = 'compressWithConcat';
@@ -88,7 +88,7 @@ function compressWithConcat( $startId, $maxChunkSize, $maxChunkFactor, $factorTh
        # Get all articles by page_id
        if ( !$maxPageId ) {
                $maxPageId = $dbr->selectField( 'page', 'max(page_id)', '', $fname );
-       } 
+       }
        print "Starting from $startId of $maxPageId\n";
        $pageConds = array();
 
@@ -110,7 +110,7 @@ function compressWithConcat( $startId, $maxChunkSize, $maxChunkFactor, $factorTh
        
        if ( $beginDate ) {
                $conds[] = "rev_timestamp>'" . $beginDate . "'";
-       } 
+       }
        if ( $endDate )  {
                $conds[] = "rev_timestamp<'" . $endDate . "'";
        }
@@ -135,7 +135,7 @@ function compressWithConcat( $startId, $maxChunkSize, $maxChunkFactor, $factorTh
        for ( $pageId = $startId; $pageId <= $maxPageId; $pageId++ ) {
                wfWaitForSlaves( 10 );
 
-               $pageRes = $dbr->select( 'page', array('page_id', 'page_namespace', 'page_title'), 
+               $pageRes = $dbr->select( 'page', array('page_id', 'page_namespace', 'page_title'),
                        $pageConds + array('page_id' => $pageId), $fname );
                if ( $dbr->numRows( $pageRes ) == 0 ) {
                        continue;
@@ -148,7 +148,7 @@ function compressWithConcat( $startId, $maxChunkSize, $maxChunkFactor, $factorTh
 
                # Load revisions
                $revRes = $dbw->select( $tables, $fields,
-                       array( 'rev_page' => $pageRow->page_id ) + $conds, 
+                       array( 'rev_page' => $pageRow->page_id ) + $conds,
                        $fname,
                        $revLoadOptions
                );
@@ -184,7 +184,7 @@ function compressWithConcat( $startId, $maxChunkSize, $maxChunkFactor, $factorTh
                                
                                # Get text
                                if ( $loadStyle == LS_INDIVIDUAL ) {
-                                       $textRow = $dbw->selectRow( 'text', 
+                                       $textRow = $dbw->selectRow( 'text',
                                                array( 'old_flags', 'old_text' ),
                                                array( 'old_id' => $oldid ),
                                                $fname,
@@ -233,7 +233,7 @@ function compressWithConcat( $startId, $maxChunkSize, $maxChunkFactor, $factorTh
                                        }
                                        # Store External Storage URLs instead of Stub placeholders
                                        foreach ($stubs as $stub) {
-                                               if ($stub===false) 
+                                               if ($stub===false)
                                                        continue;
                                                # $stored should provide base path to a BLOB
                                                $url = $stored."/".$stub->getHash();
index b9ce924..c0b3d1c 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /**
  * Compress the text of a wiki
- * 
+ *
  * @package MediaWiki
  * @subpackage Maintenance
  */
@@ -9,7 +9,7 @@
 /** */
 
 /**
- * Usage: 
+ * Usage:
  *
  * Non-wikimedia
  * php compressOld.php [options...]
@@ -41,7 +41,7 @@ if( !function_exists( "gzdeflate" ) ) {
        die();
 }
 
-$defaults = array( 
+$defaults = array(
        't' => 'concat',
        'c' => 20,
        's' => 0,
@@ -67,11 +67,11 @@ if ( $options['extdb'] != '' ) {
 
 $success = true;
 if ( $options['t'] == 'concat' ) {
-    $success = compressWithConcat( $options['s'], $options['c'], $options['f'], $options['h'], $options['b'], 
+    $success = compressWithConcat( $options['s'], $options['c'], $options['f'], $options['h'], $options['b'],
         $options['e'], $options['extdb'], $options['endid'] );
 } else {
        compressOldPages( $options['s'], $options['extdb'] );
-} 
+}
 
 if ( $success ) {
        print "Done.\n";
index 8b441d2..aabc5e6 100644 (file)
@@ -43,7 +43,7 @@ function moveToExternal( $cluster, $maxID ) {
                        wfWaitForSlaves( 5 );
                }
                $row = $dbw->selectRow( 'text', array( 'old_flags', 'old_text' ),
-                       array( 
+                       array(
                                'old_id' => $id,
                                "old_flags NOT LIKE '%external%'",
                        ), $fname );
@@ -54,8 +54,8 @@ function moveToExternal( $cluster, $maxID ) {
 
                # Resolve stubs
                $flags = explode( ',', $row->old_flags );
-               if ( in_array( 'object', $flags ) 
-                       && substr( $row->old_text, 0, strlen( STUB_HEADER ) ) === STUB_HEADER ) 
+               if ( in_array( 'object', $flags )
+                       && substr( $row->old_text, 0, strlen( STUB_HEADER ) ) === STUB_HEADER )
                {
                        resolveStub( $id, $row->old_text, $row->old_flags );
                        continue;
@@ -71,7 +71,7 @@ function moveToExternal( $cluster, $maxID ) {
                } else {
                        $flags = "{$row->old_flags},external";
                }
-               $dbw->update( 'text', 
+               $dbw->update( 'text',
                        array( 'old_flags' => $flags, 'old_text' => $url ),
                        array( 'old_id' => $id ), $fname );
        }
index d22976c..153fbd8 100644 (file)
@@ -77,9 +77,9 @@ function resolveStub( $id, $stubText, $flags ) {
        }
 
        # Get the (maybe) external row
-       $externalRow = $dbr->selectRow( 'text', array( 'old_text' ), 
+       $externalRow = $dbr->selectRow( 'text', array( 'old_text' ),
                array( 'old_id' => $stub->mOldId, "old_flags LIKE '%external%'" ),
-               $fname 
+               $fname
        );
 
        if ( !$externalRow ) {
@@ -97,12 +97,12 @@ function resolveStub( $id, $stubText, $flags ) {
        # Update the row
        $dbw->update( 'text',
                array( /* SET */
-                       'old_flags' => $newFlags, 
+                       'old_flags' => $newFlags,
                        'old_text' => $externalRow->old_text . '/' . $stub->mHash
-               ), 
-               array( /* WHERE */ 
-                       'old_id' => $id 
-               ), $fname 
+               ),
+               array( /* WHERE */
+                       'old_id' => $id
+               ), $fname
        );
 }
 ?>
index a91cc2b..635285c 100644 (file)
@@ -55,7 +55,7 @@ function updateSearchIndex( $start, $end, $maxLockTime, $quiet ) {
                        output( "\n" );
                } else {
                        # Get cur row
-                       $curRow = $dbw->selectRow( 'cur', array( 'cur_namespace', 'cur_title', 'cur_text' ), 
+                       $curRow = $dbw->selectRow( 'cur', array( 'cur_namespace', 'cur_title', 'cur_text' ),
                                array( 'cur_id' => $row->rc_cur_id ), $fname, 'FOR UPDATE' );
                        if ( $curRow ) {
                                $titleObj = Title::makeTitle( $curRow->cur_namespace, $curRow->cur_title );
index c4bc483..b03dc00 100644 (file)
@@ -37,7 +37,7 @@ if ( isset( $options['s'] ) ) {
        $start = @file_get_contents( $posFile );
        if ( !$start ) {
                $start = wfTimestamp( TS_MW, time() - 86400 );
-       } 
+       }
 }
 
 if ( isset( $options['l'] ) ) {
index a91dc31..c12e9fd 100644 (file)
@@ -713,8 +713,8 @@ function do_templatelinks_update() {
                                        sleep( 1 );
                                }
                        }
-                       $wgDatabase->insert( 'templatelinks', 
-                               array( 
+                       $wgDatabase->insert( 'templatelinks',
+                               array(
                                        'tl_from' => $row->pl_from,
                                        'tl_namespace' => $row->pl_namespace,
                                        'tl_title' => $row->pl_title,
@@ -725,11 +725,11 @@ function do_templatelinks_update() {
                $wgDatabase->freeResult( $res );
        } else {
                // Fast update
-               $wgDatabase->insertSelect( 'templatelinks', 'pagelinks', 
-                       array( 
+               $wgDatabase->insertSelect( 'templatelinks', 'pagelinks',
+                       array(
                                'tl_from' => 'pl_from',
-                               'tl_namespace' => 'pl_namespace', 
-                               'tl_title' => 'pl_title' 
+                               'tl_namespace' => 'pl_namespace',
+                               'tl_title' => 'pl_title'
                        ), array(
                                'pl_namespace' => 10
                        ), $fname
index c2fc6b1..ad8e9b6 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2005 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 8dca2b5..34eb13a 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 # Copyright (C) 2005 Brion Vibber <brion@pobox.com>
 # http://www.mediawiki.org/
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License along
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index f91586c..734f6d1 100644 (file)
@@ -131,8 +131,8 @@ class SkinCologneBlue extends Skin {
                $rt = $wgTitle->getPrefixedURL();
                if ( 0 == strcasecmp( urlencode( $lo ), $rt ) ) {
                        $q = "";
-               } else { 
-                       $q = "returnto={$rt}"; 
+               } else {
+                       $q = "returnto={$rt}";
                }
                
                $s = "" .
@@ -224,7 +224,7 @@ class SkinCologneBlue extends Skin {
 
                        $s .= $this->menuHead( "qbpageoptions" );
                        $s .= $this->talkLink()
-                         . $sep . $this->commentLink() 
+                         . $sep . $this->commentLink()
                          . $sep . $this->printableLink();
                        if ( $wgUser->isLoggedIn() ) {
                                $s .= $sep . $this->watchThisPage();
@@ -236,7 +236,7 @@ class SkinCologneBlue extends Skin {
                          . $this->historyLink()
                          . $sep . $this->whatLinksHere()
                          . $sep . $this->watchPageLinksLink();
-                         
+                       
                        if( $tns == NS_USER || $tns == NS_USER_TALK ) {
                                $id=User::idFromName($wgTitle->getText());
                                if ($id != 0) {
@@ -271,9 +271,9 @@ class SkinCologneBlue extends Skin {
                }
 
                $s .= $this->menuHead( "qbspecialpages" )
-                 . $this->specialLink( "newpages" ) 
-                 . $sep . $this->specialLink( "imagelist" ) 
-                 . $sep . $this->specialLink( "statistics" ) 
+                 . $this->specialLink( "newpages" )
+                 . $sep . $this->specialLink( "imagelist" )
+                 . $sep . $this->specialLink( "statistics" )
                  . $sep . $this->bugReportsLink();
                if ( $wgUser->isLoggedIn() && $wgEnableUploads ) {
                        $s .= $sep . $this->specialLink( "upload" );
index 61e4e77..ed511e3 100644 (file)
@@ -191,7 +191,7 @@ class MonoBookTemplate extends QuickTemplate {
                                        ?><span id="feed-<?php echo htmlspecialchars($key) ?>"><a href="<?php
                                        echo htmlspecialchars($feed['href']) ?>"><?php echo htmlspecialchars($feed['text'])?></a>&nbsp;</span>
                                        <?php } ?></li><?php
-               } 
+               }
 
                foreach( array('contributions', 'blockip', 'emailuser', 'upload', 'specialpages') as $special ) {
 
index f43f7f7..2fca0bb 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-/** 
+/**
  * Default skin for HTML dumps, based on MonoBook.php
  */
 
@@ -61,7 +61,7 @@ class SkinHTMLDump extends SkinTemplate {
                if ( isset( $wgHTMLDump ) ) {
                        $content_actions['current'] = array(
                                'text' => wfMsg( 'currentrev' ),
-                               'href' => str_replace( '$1', wfUrlencode( $this->mTitle->getPrefixedDBkey() ), 
+                               'href' => str_replace( '$1', wfUrlencode( $this->mTitle->getPrefixedDBkey() ),
                                        $wgHTMLDump->oldArticlePath ),
                                'class' => false
                        );
@@ -124,7 +124,7 @@ class HTMLDumpTemplate extends QuickTemplate {
     <?php if($this->data['userjs'    ]) { ?><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('userjs'    ) ?>"></script><?php } ?>
     <?php if($this->data['userjsprev']) { ?><script type="<?php $this->text('jsmimetype') ?>"><?php      $this->html('userjsprev') ?></script><?php   } ?>
   </head>
-  <body 
+  <body
     <?php if($this->data['nsclass'        ]) { ?>class="<?php      $this->text('nsclass')         ?>"<?php } ?>>
     <div id="globalWrapper">
       <div id="column-content">
index 439b5b5..f4765d6 100644 (file)
--- a/thumb.php
+++ b/thumb.php
@@ -1,8 +1,8 @@
 <?php
 
-/** 
- * PHP script to stream out an image thumbnail. 
- * If the file exists, we make do with abridged MediaWiki initialisation. 
+/**
+ * PHP script to stream out an image thumbnail.
+ * If the file exists, we make do with abridged MediaWiki initialisation.
  */
 
 define( 'MEDIAWIKI', true );