tparscal | 1 Nov 01:03 2011
Picon

SVN: [101440] trunk/parsers/wikidom/lib/hype/views/es.ContentView.js

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/101440

Revision: 101440
Author:   tparscal
Date:     2011-11-01 00:03:06 +0000 (Tue, 01 Nov 2011)
Log Message:
-----------
Added fallback to last line to getRenderedLineRange

Modified Paths:
--------------
    trunk/parsers/wikidom/lib/hype/views/es.ContentView.js

Modified: trunk/parsers/wikidom/lib/hype/views/es.ContentView.js
===================================================================
--- trunk/parsers/wikidom/lib/hype/views/es.ContentView.js	2011-10-31 23:49:03 UTC (rev 101439)
+++ trunk/parsers/wikidom/lib/hype/views/es.ContentView.js	2011-11-01 00:03:06 UTC (rev 101440)
 <at>  <at>  -257,6 +257,8  <at>  <at> 
 /**
  * Gets the index of the rendered line a given offset is within.
  * 
+ * Offsets that are out of range will always return the index of the last line.
+ * 
  *  <at> method
  *  <at> param {Integer} offset Offset to get line for
  *  <at> returns {Integer} Index of rendered lin offset is within
 <at>  <at>  -273,9 +275,11  <at>  <at> 
 /**
  * Gets the range of the rendered line a given offset is within.
  * 
(Continue reading)

aaron | 1 Nov 01:11 2011
Picon

SVN: [101442] trunk/phase3/includes

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/101442

Revision: 101442
Author:   aaron
Date:     2011-11-01 00:11:53 +0000 (Tue, 01 Nov 2011)
Log Message:
-----------
(bug 31739) Made Block code support ipb_by = 0 convention with for foreign users again, as it did pre 1.18.
The byText param has been restored in the Block() constructor as CentralAuth still uses it. Some callers
have been updated to reflect the fact that getBlocker() may be a local User or a string username.

Ideally, we might have a ForeignUser class and a generic User interface...but this will do for now.

Modified Paths:
--------------
    trunk/phase3/includes/Block.php
    trunk/phase3/includes/Exception.php

Modified: trunk/phase3/includes/Block.php
===================================================================
--- trunk/phase3/includes/Block.php	2011-11-01 00:07:03 UTC (rev 101441)
+++ trunk/phase3/includes/Block.php	2011-11-01 00:11:53 UTC (rev 101442)
 <at>  <at>  -59,7 +59,7  <at>  <at> 
 	 */
 	function __construct( $address = '', $user = 0, $by = 0, $reason = '',
 		$timestamp = 0, $auto = 0, $expiry = '', $anonOnly = 0, $createAccount = 0, $enableAutoblock = 0,
-		$hideName = 0, $blockEmail = 0, $allowUsertalk = 0 )
+		$hideName = 0, $blockEmail = 0, $allowUsertalk = 0, $byText = '' )
 	{
 		if( $timestamp === 0 ){
(Continue reading)

tparscal | 1 Nov 01:13 2011
Picon

SVN: [101443] trunk/parsers/wikidom/lib/hype/bases/es.DocumentNode.js

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/101443

Revision: 101443
Author:   tparscal
Date:     2011-11-01 00:13:23 +0000 (Tue, 01 Nov 2011)
Log Message:
-----------
Added shallow argument to selectNodes method

Modified Paths:
--------------
    trunk/parsers/wikidom/lib/hype/bases/es.DocumentNode.js

Modified: trunk/parsers/wikidom/lib/hype/bases/es.DocumentNode.js
===================================================================
--- trunk/parsers/wikidom/lib/hype/bases/es.DocumentNode.js	2011-11-01 00:11:53 UTC (rev 101442)
+++ trunk/parsers/wikidom/lib/hype/bases/es.DocumentNode.js	2011-11-01 00:13:23 UTC (rev 101443)
 <at>  <at>  -102,27 +102,32  <at>  <at> 
  * 
  *  <at> method
  *  <at> param {es.Range} range Range to select nodes within
+ *  <at> param {Boolean} [shallow] Do not iterate into child nodes of child nodes
  *  <at> returns {Array} List of objects with 'node' and 'range' properties describing nodes which are
  * covered by the range and the range within the node that is covered
  */
-es.DocumentNode.prototype.selectNodes = function( range ) {
-	var nodes = [], i, left, right, start, end, startInside, endInside;
+es.DocumentNode.prototype.selectNodes = function( range, shallow ) {
 	range.normalize();
-	start = range.start;
(Continue reading)

aaron | 1 Nov 01:16 2011
Picon

SVN: [101444] trunk/phase3/includes/Exception.php

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/101444

Revision: 101444
Author:   aaron
Date:     2011-11-01 00:16:35 +0000 (Tue, 01 Nov 2011)
Log Message:
-----------
FR r101442: forgot to replace another getBlocker()->getName() with getByName()

Modified Paths:
--------------
    trunk/phase3/includes/Exception.php

Modified: trunk/phase3/includes/Exception.php
===================================================================
--- trunk/phase3/includes/Exception.php	2011-11-01 00:13:23 UTC (rev 101443)
+++ trunk/phase3/includes/Exception.php	2011-11-01 00:16:35 UTC (rev 101444)
 <at>  <at>  -372,7 +372,7  <at>  <at> 
 				$link,
 				$reason,
 				$wgRequest->getIP(),
-				$block->getBlocker()->getName(),
+				$block->getByName(),
 				$block->getId(),
 				$wgLang->formatExpiry( $block->mExpiry ),
 				$intended,
robin | 1 Nov 01:17 2011
Picon

SVN: [101445] trunk/phase3

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/101445

Revision: 101445
Author:   robin
Date:     2011-11-01 00:17:37 +0000 (Tue, 01 Nov 2011)
Log Message:
-----------
Follow-up r96261: remove the !important again, and then do the script defaults differently (so that those
css rules are only for the default and don't affect when the user selected "never" or "always" underline)

Modified Paths:
--------------
    trunk/phase3/includes/resourceloader/ResourceLoaderUserOptionsModule.php
    trunk/phase3/skins/common/shared.css

Modified: trunk/phase3/includes/resourceloader/ResourceLoaderUserOptionsModule.php
===================================================================
--- trunk/phase3/includes/resourceloader/ResourceLoaderUserOptionsModule.php	2011-11-01
00:16:35 UTC (rev 101444)
+++ trunk/phase3/includes/resourceloader/ResourceLoaderUserOptionsModule.php	2011-11-01
00:17:37 UTC (rev 101445)
 <at>  <at>  -97,7 +97,11  <at>  <at> 
 			// Underline: 2 = browser default, 1 = always, 0 = never
 			if ( $options['underline'] < 2 ) {
 				$rules[] = "a { text-decoration: " .
-					( $options['underline'] ? 'underline !important' : 'none' ) . "; }";
+					( $options['underline'] ? 'underline' : 'none' ) . "; }";
+			} else {
+				# The scripts of these languages are very hard to read with underlines
+				$rules[] = 'a:lang(ar), a:lang(ckb), a:lang(fa),a:lang(kk-arab), ' .
(Continue reading)

laner | 1 Nov 01:17 2011
Picon

SVN: [101446] trunk/tools/subversion/user-management

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/101446

Revision: 101446
Author:   laner
Date:     2011-11-01 00:17:58 +0000 (Tue, 01 Nov 2011)
Log Message:
-----------
Adding support for logging levels, and log files

Modified Paths:
--------------
    trunk/tools/subversion/user-management/homedirectorymanager.py
    trunk/tools/subversion/user-management/manage-exports

Modified: trunk/tools/subversion/user-management/homedirectorymanager.py
===================================================================
--- trunk/tools/subversion/user-management/homedirectorymanager.py	2011-11-01 00:17:37 UTC
(rev 101445)
+++ trunk/tools/subversion/user-management/homedirectorymanager.py	2011-11-01 00:17:58 UTC
(rev 101446)
 <at>  <at>  -9,6 +9,10  <at>  <at> 
 except ImportError:
 	sys.stderr.write("Unable to import LDAP library.\n")

+NONE = 0
+INFO = 10
+DEBUG = 20
+
 class HomeDirectoryManager:

(Continue reading)

laner | 1 Nov 01:26 2011
Picon

SVN: [101447] trunk/tools/subversion/user-management/homedirectorymanager. py

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/101447

Revision: 101447
Author:   laner
Date:     2011-11-01 00:26:03 +0000 (Tue, 01 Nov 2011)
Log Message:
-----------
Follow up to r101446.

Modified Paths:
--------------
    trunk/tools/subversion/user-management/homedirectorymanager.py

Modified: trunk/tools/subversion/user-management/homedirectorymanager.py
===================================================================
--- trunk/tools/subversion/user-management/homedirectorymanager.py	2011-11-01 00:17:58 UTC
(rev 101446)
+++ trunk/tools/subversion/user-management/homedirectorymanager.py	2011-11-01 00:26:03 UTC
(rev 101447)
 <at>  <at>  -73,11 +73,11  <at>  <at> 
 		if self.options.group:
 			self.group = self.options.group

-		if options.logfile:
-			self.logfile = options.logfile
+		if self.options.logfile:
+			self.logfile = self.options.logfile

-		if options.loglevel:
-			self.setLogLevel(options.loglevel)
(Continue reading)

khorn | 1 Nov 01:07 2011
Picon

SVN: [101441] trunk/extensions/DonationInterface

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/101441

Revision: 101441
Author:   khorn
Date:     2011-11-01 00:07:03 +0000 (Tue, 01 Nov 2011)
Log Message:
-----------
Fixes the api calls that handle gateway forms with _cache_ set to true, and a utm_source_id set. 
Had to clean up some less than ideal code to do this, mostly in DonationData. Biggest sub-news here is that
now we can load in non-test donation data from wherever we want on construct, and that the last of the fields
that were calculated on load (particularly from a form) have been moved off to the Normalize and Sanitize
portion of the show. 
Also: 'card' is now no longer a valid payment_method. ('cc' is the new correct answer)

Modified Paths:
--------------
    trunk/extensions/DonationInterface/gateway_common/DonationData.php
    trunk/extensions/DonationInterface/gateway_common/donation.api.php
    trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/lightbox1.js
    trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects_2_3step.js
    trunk/extensions/DonationInterface/payflowpro_gateway/api_payflowpro_gateway.php
    trunk/extensions/DonationInterface/payflowpro_gateway/forms/js/lightbox1.js
    trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php
    trunk/extensions/DonationInterface/tests/DonationDataTestCase.php

Removed Paths:
-------------
    trunk/extensions/DonationInterface/gateway_forms/includes/payflowUser.inc

Modified: trunk/extensions/DonationInterface/gateway_common/DonationData.php
(Continue reading)

reedy | 1 Nov 04:11 2011
Picon

SVN: [101448] branches

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/101448

Revision: 101448
Author:   reedy
Date:     2011-11-01 03:11:25 +0000 (Tue, 01 Nov 2011)
Log Message:
-----------
MFT r101306

Modified Paths:
--------------
    branches/REL1_18/phase3/includes/api/ApiQueryCategoryMembers.php
    branches/wmf/1.18wmf1/includes/api/ApiQueryCategoryMembers.php

Property Changed:
----------------
    branches/REL1_18/phase3/
    branches/REL1_18/phase3/includes/
    branches/REL1_18/phase3/includes/api/
    branches/wmf/1.18wmf1/
    branches/wmf/1.18wmf1/includes/
    branches/wmf/1.18wmf1/includes/api/


Property changes on: branches/REL1_18/phase3
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/REL1_15/phase3:51646
/branches/REL1_17/phase3:81445,81448
/branches/new-installer/phase3:43664-66004
(Continue reading)

reedy | 1 Nov 06:23 2011
Picon

SVN: [101449] trunk/phase3/includes/installer

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/101449

Revision: 101449
Author:   reedy
Date:     2011-11-01 05:23:08 +0000 (Tue, 01 Nov 2011)
Log Message:
-----------
Bug 30934 - Warning: Invalid argument supplied for foreach() in /languages/Language.php on line 423

Doing a run of doRebuildLocalisationCache on each run of update.php

Modified Paths:
--------------
    trunk/phase3/includes/installer/DatabaseUpdater.php
    trunk/phase3/includes/installer/MysqlUpdater.php
    trunk/phase3/includes/installer/OracleUpdater.php
    trunk/phase3/includes/installer/SqliteUpdater.php

Modified: trunk/phase3/includes/installer/DatabaseUpdater.php
===================================================================
--- trunk/phase3/includes/installer/DatabaseUpdater.php	2011-11-01 03:11:25 UTC (rev 101448)
+++ trunk/phase3/includes/installer/DatabaseUpdater.php	2011-11-01 05:23:08 UTC (rev 101449)
 <at>  <at>  -619,4 +619,13  <at>  <at> 
 		$cl->execute();
 		$this->output( "done.\n" );
 	}
+
+	protected function doRebuildLocalisationCache() {
+		global $wgLocalisationCacheConf;
+		$wgLocalisationCacheConf['forceRecache'] = true;
(Continue reading)


Gmane