An automated run of parserTests.php showed the following failures:
This is MediaWiki version 1.10alpha (r20138).
Reading tests from "maintenance/parserTests.txt"...
Reading tests from "extensions/Cite/citeParserTests.txt"...
Reading tests from "extensions/Poem/poemParserTests.txt"...
18 still FAILING test(s) :(
* URL-encoding in URL functions (single parameter) [Has never passed]
* URL-encoding in URL functions (multiple parameters) [Has never passed]
* TODO: Table security: embedded pipes (http://mail.wikipedia.org/pipermail/wikitech-l/2006-April/034637.html) [Has never passed]
* TODO: Link containing double-single-quotes '' (bug 4598) [Has never passed]
* TODO: message transform: <noinclude> in transcluded template (bug 4926) [Has never passed]
* TODO: message transform: <onlyinclude> in transcluded template (bug 4926) [Has never passed]
* BUG 1887, part 2: A <math> with a thumbnail- math enabled [Has never passed]
* TODO: HTML bullet list, unclosed tags (bug 5497) [Has never passed]
* TODO: HTML ordered list, unclosed tags (bug 5497) [Has never passed]
* TODO: HTML nested bullet list, open tags (bug 5497) [Has never passed]
* TODO: HTML nested ordered list, open tags (bug 5497) [Has never passed]
* TODO: Inline HTML vs wiki block nesting [Has never passed]
* TODO: Mixing markup for italics and bold [Has never passed]
* TODO: 5 quotes, code coverage +1 line [Has never passed]
* TODO: dt/dd/dl test [Has never passed]
* TODO: Images with the "|" character in the comment [Has never passed]
* TODO: Parents of subpages, two levels up, without trailing slash or name. [Has never passed]
* TODO: Parents of subpages, two levels up, with lots of extra trailing slashes. [Has never passed]
Passed 493 of 511 tests (96.48%)... 18 tests failed!
On 2/27/07, aaron(a)svn.wikimedia.org <aaron(a)svn.wikimedia.org> wrote:
> Revision: 20075
> Author: aaron
> Date: 2007-02-27 14:17:35 -0800 (Tue, 27 Feb 2007)
>
> Log Message:
> -----------
> * Allow /16 and /24 CIDR ips
>
> Modified Paths:
> --------------
> trunk/phase3/includes/SpecialContributions.php
> Modified: trunk/phase3/includes/SpecialContributions.php
> ===================================================================
> --- trunk/phase3/includes/SpecialContributions.php 2007-02-27 22:06:53 UTC (rev 20074)
> +++ trunk/phase3/includes/SpecialContributions.php 2007-02-27 22:17:35 UTC (rev 20075)
> @@ -71,13 +71,18 @@
> if ( $this->username == 'newbies' ) {
> $max = $this->dbr->selectField( 'user', 'max(user_id)', false, 'make_sql' );
> $condition = '>' . (int)($max - $max / 100);
> + } else if ( preg_match("/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/(24|16)/", $this->username) ) {
> + $abcd = explode( ".", $this->username );
> + if( substr( $this->username, -2 ) == 24 ) $ipmask = $abcd[0] . '.' . $abcd[1] . '.' . $abcd[2] . '.%';
> + else $ipmask=$abcd[0] . '.' . $abcd[1] . '.%';
> + $condition = 'rev_user_text LIKE ' . $this->dbr->addQuotes($ipmask);
> }
>
> if ( $condition == '' ) {
> $condition = ' rev_user_text=' . $this->dbr->addQuotes( $this->username );
> $index = 'usertext_timestamp';
> } else {
> - $condition = ' rev_user '.$condition ;
> + #$condition = ' rev_user '.$condition ;
Is it just me, or is this broken? The prefixing of rev_user later was
removed, but the original instance of $condition didn't have the
prefixing added. It seems to me that you'll get conditions like
"WHERE > 12345", which is obviously a syntax error. The patch that
this was copied from didn't have this issue, changing the "$condition
= ..." line to include " rev_user". And commenting out lines rather
than removing them is probably not generally good.
Incidentally, why is this still using the old 1% method of calculating
newbies? Shouldn't it use user_registration?
Changing the following variable in the /etc/my.conf file for mysqld
appears to get around the problems with mwdumper failing to complete
importing of the XML dumps:
set-variable = max_allowed_packet=20M
mwdumper does not always return errors in this case when this value is
not set correctly, but mysqld will display errors in this case provided
it is invoked
from the command line without piping the input to the program.
Fedora Core users are advised to review these settings if they encounter
problems importing with mwdumper on these platforms.
Jeff
An automated run of parserTests.php showed the following failures:
This is MediaWiki version 1.10alpha (r20133).
Reading tests from "maintenance/parserTests.txt"...
Reading tests from "extensions/Cite/citeParserTests.txt"...
Reading tests from "extensions/Poem/poemParserTests.txt"...
18 still FAILING test(s) :(
* URL-encoding in URL functions (single parameter) [Has never passed]
* URL-encoding in URL functions (multiple parameters) [Has never passed]
* TODO: Table security: embedded pipes (http://mail.wikipedia.org/pipermail/wikitech-l/2006-April/034637.html) [Has never passed]
* TODO: Link containing double-single-quotes '' (bug 4598) [Has never passed]
* TODO: message transform: <noinclude> in transcluded template (bug 4926) [Has never passed]
* TODO: message transform: <onlyinclude> in transcluded template (bug 4926) [Has never passed]
* BUG 1887, part 2: A <math> with a thumbnail- math enabled [Has never passed]
* TODO: HTML bullet list, unclosed tags (bug 5497) [Has never passed]
* TODO: HTML ordered list, unclosed tags (bug 5497) [Has never passed]
* TODO: HTML nested bullet list, open tags (bug 5497) [Has never passed]
* TODO: HTML nested ordered list, open tags (bug 5497) [Has never passed]
* TODO: Inline HTML vs wiki block nesting [Has never passed]
* TODO: Mixing markup for italics and bold [Has never passed]
* TODO: 5 quotes, code coverage +1 line [Has never passed]
* TODO: dt/dd/dl test [Has never passed]
* TODO: Images with the "|" character in the comment [Has never passed]
* TODO: Parents of subpages, two levels up, without trailing slash or name. [Has never passed]
* TODO: Parents of subpages, two levels up, with lots of extra trailing slashes. [Has never passed]
Passed 493 of 511 tests (96.48%)... 18 tests failed!
One problem I seem to run into over and over again while working with
data from our projects is invalid UTF-8 sequences that litter our
output. I could go on about how doing this is a horrible offense
against man, but my main concern is to simply get around these issues
in my own code.
Does anyone have a document describing places where we're known to
emit malformed unicode?
Tonight I encountered it in the file history output for a query.php request.
http://commons.wikimedia.org/w/query.php?what=categories|templates|links|pe…
You can see it on the site proper at:
http://commons.wikimedia.org/w/index.php?title=Image:00022279.jpg&action=hi…
Simply striping the bad characters on the serialized output frightens
me because I worry that eventually I'll strip an adjacent delimiter
and make the output unparsable. It would at least be useful to know
all the places I could expect to find junk like this. :)
Hi,
On behave of Wikimania organization team seeking for sponsorship, we have got an request from Nokia Taiwan to seek for a technical contact window for Wikipedia Search on Mobile Devices. Is there anyone know whom we could provide to Nokia Taiwan for this request? And what's the opinion on this from the Foundation?
Thanks and best regards,
--
Hsiang-Tai Chien (H.T.)
Wikipedia, the free online encyclopedia!
My Wikipedia User Page
My blog: Hsiang-Tai @ Taiwan
My Flickr Photo Album
Think Different, Do Smarter, Work for Joy!!
___________________________________________________
您的生活即時通 - 溝通、娛樂、生活、工作一次搞定!
http://messenger.yahoo.com.tw/
Hi,
I'm pretty sure nothing like this exists, but I thought I'd confirm
before running off to setup a shared wiki for uploads, but is there a
similar feature to wgSharedDB for images that allows a user to upload
an image without leaving the wiki and share it with other wikis in the
same group?
Thanks,
Travis
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
is there any reason why wfSajaxSearch is casesensitive and limited to
namespace 0? I just wondered if I can get this nifty feature to show me the
same results as the normal search without hacking core-code or using runkit
functions to redefine wfSajaxSearch?
Kind regards,
Benedikt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
iD8DBQFF4x/NX96C8k2LhU8RAr5KAJsGwVG5sgJ6dQ2kLqtLQglJKFNjnACeJuQM
CyFGdjytERT5YEKYbeSdQc0=
=Olce
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Added Ryan Lane (laner), who has been working on the LDAP authentication
plugin for some time.
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF6kj7wRnhpk1wk44RAhXFAKCk+g71faCHm43lfE1l06DPPgHlQACfY9XE
89KzHAsQmlqWFz9DzbFpycY=
=2KsG
-----END PGP SIGNATURE-----