brion | 1 Jun 01:56 2006

SVN: [14505] trunk/phase3

Revision: 14505
Author:   brion
Date:     2006-05-31 16:56:41 -0700 (Wed, 31 May 2006)

Log Message:
-----------
* (bug 5527) Batch up job queue insertions for, hopefully, better survivability
  of lock contention etc. Duplicates are now removed at pop time instead of
  at insert time.

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/JobQueue.php
Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES	2006-05-31 22:53:35 UTC (rev 14504)
+++ trunk/phase3/RELEASE-NOTES	2006-05-31 23:56:41 UTC (rev 14505)
 <at>  <at>  -391,7 +391,11  <at>  <at> 
 * (bug 6126) Allow fallback to customized primary language when user language
   message contains '-'; fixes licenses selector on Commons configuration after
   recent addition of the message to Messages.php
+* (bug 5527) Batch up job queue insertions for, hopefully, better survivability
+  of lock contention etc. Duplicates are now removed at pop time instead of
+  at insert time.

+
 == Compatibility ==

 MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
(Continue reading)

robchurch | 1 Jun 02:17 2006

SVN: [14506] trunk/phase3

Revision: 14506
Author:   robchurch
Date:     2006-05-31 17:17:23 -0700 (Wed, 31 May 2006)

Log Message:
-----------
When showing the "blah has been undeleted" page, make sure it's a blue link

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/SpecialUndelete.php
    trunk/phase3/languages/Messages.php
Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES	2006-05-31 23:56:41 UTC (rev 14505)
+++ trunk/phase3/RELEASE-NOTES	2006-06-01 00:17:23 UTC (rev 14506)
 <at>  <at>  -394,8 +394,8  <at>  <at> 
 * (bug 5527) Batch up job queue insertions for, hopefully, better survivability
   of lock contention etc. Duplicates are now removed at pop time instead of
   at insert time.
+* When showing the "blah has been undeleted" page, make sure it's a blue link

-
 == Compatibility ==

 MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.

Modified: trunk/phase3/includes/SpecialUndelete.php
===================================================================
(Continue reading)

brion | 1 Jun 06:00 2006

SVN: [14507] trunk/phase3

Revision: 14507
Author:   brion
Date:     2006-05-31 21:00:41 -0700 (Wed, 31 May 2006)

Log Message:
-----------
* parserTests.php accepts a --file parameter to run an alternate test sutie
* parser tests can now test extensions using !!hooks sections

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/maintenance/parserTests.inc
    trunk/phase3/maintenance/parserTests.php
    trunk/phase3/maintenance/parserTestsStaticParserHook.php
Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES	2006-06-01 00:17:23 UTC (rev 14506)
+++ trunk/phase3/RELEASE-NOTES	2006-06-01 04:00:41 UTC (rev 14507)
 <at>  <at>  -395,7 +395,10  <at>  <at> 
   of lock contention etc. Duplicates are now removed at pop time instead of
   at insert time.
 * When showing the "blah has been undeleted" page, make sure it's a blue link
+* parserTests.php accepts a --file parameter to run an alternate test sutie
+* parser tests can now test extensions using !!hooks sections

+
 == Compatibility ==

 MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
(Continue reading)

brion | 1 Jun 06:35 2006

SVN: [14508] trunk/phase3

Revision: 14508
Author:   brion
Date:     2006-05-31 21:35:19 -0700 (Wed, 31 May 2006)

Log Message:
-----------
* Fix oddity with open tag parameters getting stuck on </li>

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/Sanitizer.php
    trunk/phase3/maintenance/parserTests.txt
Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES	2006-06-01 04:00:41 UTC (rev 14507)
+++ trunk/phase3/RELEASE-NOTES	2006-06-01 04:35:19 UTC (rev 14508)
 <at>  <at>  -397,6 +397,7  <at>  <at> 
 * When showing the "blah has been undeleted" page, make sure it's a blue link
 * parserTests.php accepts a --file parameter to run an alternate test sutie
 * parser tests can now test extensions using !!hooks sections
+* Fix oddity with open tag parameters getting stuck on </li>

 
 == Compatibility ==

Modified: trunk/phase3/includes/Sanitizer.php
===================================================================
--- trunk/phase3/includes/Sanitizer.php	2006-06-01 04:00:41 UTC (rev 14507)
+++ trunk/phase3/includes/Sanitizer.php	2006-06-01 04:35:19 UTC (rev 14508)
(Continue reading)

brion | 1 Jun 07:56 2006

SVN: [14509] trunk/phase3/maintenance/parserTests.txt

Revision: 14509
Author:   brion
Date:     2006-05-31 22:56:41 -0700 (Wed, 31 May 2006)

Log Message:
-----------
Regression test for <pre><nowiki>...</nowiki></pre> behavior

Modified Paths:
--------------
    trunk/phase3/maintenance/parserTests.txt
Modified: trunk/phase3/maintenance/parserTests.txt
===================================================================
--- trunk/phase3/maintenance/parserTests.txt	2006-06-01 04:35:19 UTC (rev 14508)
+++ trunk/phase3/maintenance/parserTests.txt	2006-06-01 05:56:41 UTC (rev 14509)
 <at>  <at>  -287,6 +287,22  <at>  <at> 
 </pre>
 !! end

+!! test
+<pre> with <nowiki> inside (compatibility with 1.6 and earlier)
+!! input
+<pre><nowiki>
+<b>
+<cite>
+<em>
+</nowiki></pre>
+!! result
+<pre>
+&lt;b&gt;
(Continue reading)

brion | 1 Jun 07:58 2006

SVN: [14510] trunk/extensions/Cite/citeParserTests.txt

Revision: 14510
Author:   brion
Date:     2006-05-31 22:58:52 -0700 (Wed, 31 May 2006)

Log Message:
-----------
A few test cases for <ref> behavior

Added Paths:
-----------
    trunk/extensions/Cite/citeParserTests.txt
Added: trunk/extensions/Cite/citeParserTests.txt
===================================================================
--- trunk/extensions/Cite/citeParserTests.txt	                        (rev 0)
+++ trunk/extensions/Cite/citeParserTests.txt	2006-06-01 05:58:52 UTC (rev 14510)
 <at>  <at>  -0,0 +1,99  <at>  <at> 
+# Force the test runner to ensure the extension is loaded
+!! hooks
+ref
+references
+!! endhooks
+
+!! test
+Simple <ref>, no <references/>
+!! input
+Wikipedia rocks!<ref>Proceeds of Rockology, vol. XXI</ref>
+!! result
+<p>Wikipedia rocks!<sup id="_ref-0" class="reference"><a href="#_note-0" title="">[1]</a></sup>
+</p>
+!! end
(Continue reading)

brion | 1 Jun 08:16 2006

SVN: [14511] trunk/phase3

Revision: 14511
Author:   brion
Date:     2006-05-31 23:16:55 -0700 (Wed, 31 May 2006)

Log Message:
-----------
* (bug 5384) Fix <!-- comments --> in <ref> extension
* Nesting of different tag extensions and comments should now work more
  consistently and more safely. A cleaner, one-pass tag strip lets the
  'outer' tag either take source (<nowiki>-style) or pass it down to
  further parsing (<ref>-style). There should no longer be surprise
  expansion of foreign extensions inside HTML output, or differences
  in behavior based on the order tags are loaded.

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/Parser.php
    trunk/phase3/maintenance/parserTests.txt
Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES	2006-06-01 05:58:52 UTC (rev 14510)
+++ trunk/phase3/RELEASE-NOTES	2006-06-01 06:16:55 UTC (rev 14511)
 <at>  <at>  -398,6 +398,13  <at>  <at> 
 * parserTests.php accepts a --file parameter to run an alternate test sutie
 * parser tests can now test extensions using !!hooks sections
 * Fix oddity with open tag parameters getting stuck on </li>
+* (bug 5384) Fix <!-- comments --> in <ref> extension
+* Nesting of different tag extensions and comments should now work more
+  consistently and more safely. A cleaner, one-pass tag strip lets the
(Continue reading)

brion | 1 Jun 08:41 2006

SVN: [14512] trunk/phase3/includes/Parser.php

Revision: 14512
Author:   brion
Date:     2006-05-31 23:41:32 -0700 (Wed, 31 May 2006)

Log Message:
-----------
Fix for DynamicPageList, which registers a mixed-case tag name.
The new system needs tag names to be case-folded internally so
that tags are properly case-insensitive.

Modified Paths:
--------------
    trunk/phase3/includes/Parser.php
Modified: trunk/phase3/includes/Parser.php
===================================================================
--- trunk/phase3/includes/Parser.php	2006-06-01 06:16:55 UTC (rev 14511)
+++ trunk/phase3/includes/Parser.php	2006-06-01 06:41:32 UTC (rev 14512)
 <at>  <at>  -3664,6 +3664,7  <at>  <at> 
 	 *  <at> return The old value of the mTagHooks array associated with the hook
 	 */
 	function setHook( $tag, $callback ) {
+		$tag = strtolower( $tag );
 		$oldVal =  <at> $this->mTagHooks[$tag];
 		$this->mTagHooks[$tag] = $callback;
midom | 1 Jun 09:23 2006

SVN: [14513] trunk/phase3/includes

Revision: 14513
Author:   midom
Date:     2006-06-01 00:22:49 -0700 (Thu, 01 Jun 2006)

Log Message:
-----------
Use AutoLoader to load classes:
* remove require_once() throughout whole code, yet left in few places
* move global functions in HttpUtils, ProxyTools, Credits to class methods
* php5 only: __autoload() now used, combined with class->file map and require()
* move initialization of $wgValidSkinNames to Skin::getSkinNames()
* few more changes that will surely break stuff. 

Modified Paths:
--------------
    trunk/phase3/includes/AjaxDispatcher.php
    trunk/phase3/includes/AjaxFunctions.php
    trunk/phase3/includes/Article.php
    trunk/phase3/includes/Block.php
    trunk/phase3/includes/CacheManager.php
    trunk/phase3/includes/CategoryPage.php
    trunk/phase3/includes/ChangesList.php
    trunk/phase3/includes/Credits.php
    trunk/phase3/includes/Database.php
    trunk/phase3/includes/DatabaseOracle.php
    trunk/phase3/includes/DatabasePostgreSQL.php
    trunk/phase3/includes/DifferenceEngine.php
    trunk/phase3/includes/EditPage.php
    trunk/phase3/includes/Export.php
    trunk/phase3/includes/ExternalStoreDB.php
(Continue reading)

midom | 1 Jun 10:02 2006

SVN: [14514] trunk/phase3/includes/AutoLoader.php

Revision: 14514
Author:   midom
Date:     2006-06-01 01:02:47 -0700 (Thu, 01 Jun 2006)

Log Message:
-----------
fix class_exists() for not existing classes

Modified Paths:
--------------
    trunk/phase3/includes/AutoLoader.php
Modified: trunk/phase3/includes/AutoLoader.php
===================================================================
--- trunk/phase3/includes/AutoLoader.php	2006-06-01 07:22:49 UTC (rev 14513)
+++ trunk/phase3/includes/AutoLoader.php	2006-06-01 08:02:47 UTC (rev 14514)
 <at>  <at>  -213,7 +213,11  <at>  <at> 
 		'memcached' => 'memcached-client.php',
 		'UtfNormal' => 'normal/UtfNormal.php'
 	);
-	require($classes[$class_name]);
+	if (array_key_exists($class_name, $classes)) {
+		require($classes[$class_name]);
+	} else {
+		return false;
+	}
 }

 ?>
\ No newline at end of file
(Continue reading)


Gmane