simetrical | 1 Jul 01:08 2010
Picon

SVN: [68801] trunk/phase3/includes/Sanitizer.php

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68801

Revision: 68801
Author:   simetrical
Date:     2010-06-30 23:08:31 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
When using escapenoentities, decode entities

See r67090 for context.  Maybe it would be better to alter
normalizeCharReferences() instead?  I'm not sure where else it's called.

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

Modified: trunk/phase3/includes/Sanitizer.php
===================================================================
--- trunk/phase3/includes/Sanitizer.php	2010-06-30 22:40:16 UTC (rev 68800)
+++ trunk/phase3/includes/Sanitizer.php	2010-06-30 23:08:31 UTC (rev 68801)
 <at>  <at>  -1063,7 +1063,7  <at>  <at> 
 		# hurt.
 		$html = htmlspecialchars( $html, ENT_QUOTES );
 		$html = str_replace( '&amp;', '&', $html );
-		$html = Sanitizer::normalizeCharReferences( $html );
+		$html = Sanitizer::decodeCharReferences( $html );
 		return $html;
 	}
(Continue reading)

simetrical | 1 Jul 01:08 2010
Picon

SVN: [68802] trunk/phase3/includes/specials/SpecialListfiles.php

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68802

Revision: 68802
Author:   simetrical
Date:     2010-06-30 23:08:41 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
0="something" is not what we want here, we want id

Html should probably check for the case of missing keys in attributes.

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialListfiles.php

Modified: trunk/phase3/includes/specials/SpecialListfiles.php
===================================================================
--- trunk/phase3/includes/specials/SpecialListfiles.php	2010-06-30 23:08:31 UTC (rev 68801)
+++ trunk/phase3/includes/specials/SpecialListfiles.php	2010-06-30 23:08:41 UTC (rev 68802)
 <at>  <at>  -204,7 +204,7  <at>  <at> 
 		) );
 		$s = Html::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript, 'id' =>
'mw-listfiles-form' ) ) .
 			Xml::fieldset( wfMsg( 'listfiles' ) ) .
-			Html::openElement( 'table', array( 'mw-listfiles-table' ) ) .
+			Html::openElement( 'table', array( 'id' => 'mw-listfiles-table' ) ) .
 			Xml::buildForm( $inputForm, 'table_pager_limit_submit' ) .
 			$this->getHiddenFields( array( 'limit', 'ilsearch', 'username' ) ) .
 			Html::closeElement( 'table' ) .
(Continue reading)

simetrical | 1 Jul 01:08 2010
Picon

SVN: [68803] trunk/phase3

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68803

Revision: 68803
Author:   simetrical
Date:     2010-06-30 23:08:49 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
Use <!DOCTYPE html> unconditionally

See r67090 for context.  Everywhere that I've found this breaking
well-formedness is fixed.  Tested with the following Python:

import xml.sax
class Myhandler(xml.sax.ContentHandler):
    pass

h = Myhandler()
for page in ('BrokenRedirects', 'Deadendpages', 'DoubleRedirects', 'Longpages', 'Ancientpages',
'Lonelypages', 'Fewestrevisions', 'Withoutinterwiki', 'Protectedpages', 'Protectedtitles',
'Shortpages', 'Uncategorizedcategories', 'Uncategorizedimages', 'Uncategorizedpages',
'Uncategorizedtemplates', 'Unusedcategories', 'Unusedimages', 'Unusedtemplates',
'Unwatchedpages', 'Wantedcategories', 'Wantedfiles', 'Wantedpages', 'Wantedtemplates',
'Allpages', 'Prefixindex', 'Categories', 'Disambiguations', 'Listredirects', 'Userlogin',
'CreateAccount', 'Blockip', 'Ipblocklist', 'Unblock', 'Resetpass', 'DeletedContributions',
'Preferences', 'Contributions', 'Listgrouprights', 'Listusers', 'Activeusers', 'Userrights',
'Newimages', 'Log', 'Watchlist', 'Newpages', 'Recentchanges', 'Recentchangeslinked', 
 'Tags', 'Listfiles', 'Filepath', 'MIMEsearch', 'FileDuplicateSearch', 'Upload', 'Statistics',
'Allmessages', 'Version', 'Lockdb', 'Unlockdb', 'LinkSearch', 'Randompage', 'Randomredirect',
'Mostlinkedcategories', 'Mostimages', 'Mostlinked', 'Mostlinkedtemplates', 'Mostcategories',
(Continue reading)

werdna | 1 Jul 01:12 2010
Picon

SVN: [68804] trunk/extensions/LiquidThreads/lqt.js

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68804

Revision: 68804
Author:   werdna
Date:     2010-06-30 23:12:30 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
Fix error in editing threads

Modified Paths:
--------------
    trunk/extensions/LiquidThreads/lqt.js

Modified: trunk/extensions/LiquidThreads/lqt.js
===================================================================
--- trunk/extensions/LiquidThreads/lqt.js	2010-06-30 23:08:49 UTC (rev 68803)
+++ trunk/extensions/LiquidThreads/lqt.js	2010-06-30 23:12:30 UTC (rev 68804)
 <at>  <at>  -549,7 +549,7  <at>  <at> 
 		$j.get( wgScriptPath+'/api.php', apiReq,
 			function(data) {
 				// Load data from JSON
-				var html = data.query.threads[0].content;
+				var html = data.query.threads[threadId].content;
 				var newContent = $j(html);
 				
 				// Clear old post and header.
werdna | 1 Jul 01:14 2010
Picon

SVN: [68805] branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68805

Revision: 68805
Author:   werdna
Date:     2010-06-30 23:14:06 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
Merge r68804

Modified Paths:
--------------
    branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/lqt.js

Property Changed:
----------------
    branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/

Property changes on: branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/wmf-deployment/extensions/LiquidThreads_alpha:60970
/trunk/extensions/LiquidThreads:57390,63727-68791
   + /branches/wmf-deployment/extensions/LiquidThreads_alpha:60970
/trunk/extensions/LiquidThreads:57390,63727-68804

Modified: branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/lqt.js
===================================================================
--- branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/lqt.js	2010-06-30 23:12:30 UTC (rev 68804)
+++ branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/lqt.js	2010-06-30 23:14:06 UTC (rev 68805)
(Continue reading)

werdna | 1 Jul 01:17 2010
Picon

SVN: [68806] trunk/extensions/LiquidThreads/lqt.js

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68806

Revision: 68806
Author:   werdna
Date:     2010-06-30 23:17:12 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
Fix more instances of r68804

Modified Paths:
--------------
    trunk/extensions/LiquidThreads/lqt.js

Modified: trunk/extensions/LiquidThreads/lqt.js
===================================================================
--- trunk/extensions/LiquidThreads/lqt.js	2010-06-30 23:14:06 UTC (rev 68805)
+++ trunk/extensions/LiquidThreads/lqt.js	2010-06-30 23:17:12 UTC (rev 68806)
 <at>  <at>  -661,7 +661,7  <at>  <at> 
 		$j.get( wgScriptPath+'/api'+wgScriptExtension, apiParams,
 			function(data) {
 				// Interpret
-				var content = data.query.threads[0].content;
+				var content = data.query.threads[threadId].content;
 				content = $j(content).find('.lqt-thread-replies')[0];
 				
 				// Inject
 <at>  <at>  -709,7 +709,7  <at>  <at> 
 		
 		$j.get( wgScriptPath+'/api.php', apiParams,
(Continue reading)

werdna | 1 Jul 01:17 2010
Picon

SVN: [68807] branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68807

Revision: 68807
Author:   werdna
Date:     2010-06-30 23:17:51 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
Merge r68806

Modified Paths:
--------------
    branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/lqt.js

Property Changed:
----------------
    branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/

Property changes on: branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/wmf-deployment/extensions/LiquidThreads_alpha:60970
/trunk/extensions/LiquidThreads:57390,63727-68804
   + /branches/wmf-deployment/extensions/LiquidThreads_alpha:60970
/trunk/extensions/LiquidThreads:57390,63727-68806

Modified: branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/lqt.js
===================================================================
--- branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/lqt.js	2010-06-30 23:17:12 UTC (rev 68806)
+++ branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/lqt.js	2010-06-30 23:17:51 UTC (rev 68807)
(Continue reading)

tparscal | 1 Jul 01:43 2010
Picon

SVN: [68808] branches/resourceloader/phase3/resources/core/mw.js

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68808

Revision: 68808
Author:   tparscal
Date:     2010-06-30 23:43:16 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
Fixed more comments

Modified Paths:
--------------
    branches/resourceloader/phase3/resources/core/mw.js

Modified: branches/resourceloader/phase3/resources/core/mw.js
===================================================================
--- branches/resourceloader/phase3/resources/core/mw.js	2010-06-30 23:17:51 UTC (rev 68807)
+++ branches/resourceloader/phase3/resources/core/mw.js	2010-06-30 23:43:16 UTC (rev 68808)
 <at>  <at>  -165,7 +165,7  <at>  <at> 
 				// Translations for conforming operating system names
 				var osTranslations = [['sunos', 'solaris']];
 				
-				/* Fucntions */
+				/* Functions */
 				
 				// Performs multiple replacements on a string
 				function translate( source, translations ) {
 <at>  <at>  -245,7 +245,7  <at>  <at> 
 		 * 		}
 		 *	}
(Continue reading)

laner | 1 Jul 01:58 2010
Picon

SVN: [68809] trunk/extensions/SemanticTasks

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68809

Revision: 68809
Author:   laner
Date:     2010-06-30 23:58:16 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
Fix bug that causes notifications to fail in non-main namespaces

Modified Paths:
--------------
    trunk/extensions/SemanticTasks/ST_CheckForReminders.php
    trunk/extensions/SemanticTasks/SemanticTasks.classes.php
    trunk/extensions/SemanticTasks/SemanticTasks.php

Modified: trunk/extensions/SemanticTasks/ST_CheckForReminders.php
===================================================================
--- trunk/extensions/SemanticTasks/ST_CheckForReminders.php	2010-06-30 23:43:16 UTC (rev 68808)
+++ trunk/extensions/SemanticTasks/ST_CheckForReminders.php	2010-06-30 23:58:16 UTC (rev 68809)
 <at>  <at>  -6,7 +6,7  <at>  <at> 
 require_once( "$IP/maintenance/commandLine.inc" );

 global $smwgIP;
-require_once( $smwgIP . 'includes/SMW_Factbox.php' );
+require_once( $smwgIP . '/includes/SMW_Factbox.php' );

 require_once( dirname( __FILE__ ) . '/SemanticTasks.classes.php' );

Modified: trunk/extensions/SemanticTasks/SemanticTasks.classes.php
(Continue reading)

juliano | 1 Jul 05:03 2010
Picon

SVN: [68810] trunk/extensions/Wikilog/WikilogQuery.php

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68810

Revision: 68810
Author:   juliano
Date:     2010-07-01 03:03:32 +0000 (Thu, 01 Jul 2010)

Log Message:
-----------
Fix author filter in Special:Wikilog, which was searching for title dbkey
instead of the actual user name stored in the tables.

Modified Paths:
--------------
    trunk/extensions/Wikilog/WikilogQuery.php

Modified: trunk/extensions/Wikilog/WikilogQuery.php
===================================================================
--- trunk/extensions/Wikilog/WikilogQuery.php	2010-06-30 23:58:16 UTC (rev 68809)
+++ trunk/extensions/Wikilog/WikilogQuery.php	2010-07-01 03:03:32 UTC (rev 68810)
 <at>  <at>  -253,7 +253,7  <at>  <at> 
 		} elseif ( is_string( $author ) ) {
 			$t = Title::makeTitleSafe( NS_USER, $author );
 			if ( $t !== null ) {
-				$this->mAuthor = $t;
+				$this->mAuthor = User::getCanonicalName( $t->getText() );
 			}
 		}
 	}
 <at>  <at>  -354,7 +354,7  <at>  <at> 
 		if ( $this->mAuthor ) {
(Continue reading)


Gmane