On 02/01/07, brion(a)svn.wikimedia.org <brion(a)svn.wikimedia.org> wrote:
> use the full sm?\195?\182rg?\195?\165sbord of anti-caching headers; 'Cache-Control' alone will be ignored by HTTP 1.0 proxies, which may or may not be out there doing evil things
Thanks, I forgot about HTTP 1.0 proxies and Cache-Control headers. :)
Rob Church
An automated run of parserTests.php showed the following failures:
This is MediaWiki version 1.9alpha (r18764).
Reading tests from "/home/brion/src/wiki/phase3/maintenance/parserTests.txt"...
Running test TODO: Table security: embedded pipes (http://mail.wikipedia.org/pipermail/wikitech-l/2006-April/034637.html)... FAILED!
Running test TODO: Link containing double-single-quotes '' (bug 4598)... FAILED!
Running test TODO: message transform: <noinclude> in transcluded template (bug 4926)... FAILED!
Running test TODO: message transform: <onlyinclude> in transcluded template (bug 4926)... FAILED!
Running test Thumbnail image caption with a free URL... FAILED!
Running test BUG 1887: A ISBN with a thumbnail... FAILED!
Running test BUG 1887: A RFC with a thumbnail... FAILED!
Running test BUG 1887: A mailto link with a thumbnail... FAILED!
Running test BUG 1887: A <math> with a thumbnail- we don't render math in the parsertests by default,
so math is not stripped and turns up as escaped <math> tags.... FAILED!
Running test BUG 1887, part 2: A <math> with a thumbnail- math enabled... FAILED!
Running test Image caption containing another image... FAILED!
Running test Bug 3090: External links other than http: in image captions... FAILED!
Running test TODO: HTML bullet list, unclosed tags (bug 5497)... FAILED!
Running test TODO: HTML ordered list, unclosed tags (bug 5497)... FAILED!
Running test TODO: HTML nested bullet list, open tags (bug 5497)... FAILED!
Running test TODO: HTML nested ordered list, open tags (bug 5497)... FAILED!
Running test Fuzz testing: image with bogus manual thumbnail... FAILED!
Running test TODO: Parsing optional HTML elements (Bug 6171)... FAILED!
Running test TODO: Inline HTML vs wiki block nesting... FAILED!
Running test TODO: Mixing markup for italics and bold... FAILED!
Running test TODO: 5 quotes, code coverage +1 line... FAILED!
Running test TODO: dt/dd/dl test... FAILED!
Running test TODO: Images with the "|" character in the comment... FAILED!
Running test TODO: Parents of subpages, two levels up, without trailing slash or name.... FAILED!
Running test TODO: Parents of subpages, two levels up, with lots of extra trailing slashes.... FAILED!
Running test TODO: Don't fall for the self-closing div... FAILED!
Running test TODO: Always escape literal '>' in output, not just after '<'... FAILED!
Reading tests from "/home/brion/src/wiki/phase3/extensions/Cite/citeParserTests.txt"...
Reading tests from "/home/brion/src/wiki/phase3/extensions/Poem/poemParserTests.txt"...
8 new PASSING test(s) :)
* Prevent conversion with -{}- tags (language variants)
* Prevent conversion of text with -{}- tags (language variants)
* Prevent conversion of links with -{}- tags (language variants)
* -{}- tags within headlines (within html for parserConvert())
* Explicit definition of language variant alternatives
* Adding explicit session-wise language variant mapping (A flag)
* Adding explicit conversion rule for title (T flag)
* Do not convert roman numbers to language variants
Passed 471 of 498 tests (94.58%)... FAILED!
When I run:
java -jar mwdumper.jar -–format=sql:1.5 enwiki-latest-pages-articles.xml.bz2 | c:\wamp\mysql\bin\mysql -u wikiuser -p wikidb
I get:
Exception in thread "main" java.io.FileNotFoundException: -ûformat=sql:1.5 (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.mediawiki.dumper.Tools.openInputFile(Unknown Source)
at org.mediawiki.dumper.Dumper.main(Unknown Source)
Please help!
[This is in response to all the bitching and whining that's taken
place since December 24th, on mailing lists, bug trackers, village
pumps and sleazy little back-alley forums...I apologise for the
crossposting. As ever, please feel free to forward this to other
appropriate parties or lists, but keep responses and/or discussion on
one.]
All right, this bickering has gone far enough. The fact of the matter
is that we're under constant pressure to keep the site alive and
introduce new features and fixes on a regular basis. I can well
understand that a lot of people will object to each change, and we do
our best to make things non-intrusive.
When this feature was first introduced, some bright spark on the
English Wikipedia edited the global CSS and made the numbers bright,
garish green and red, and emboldened them - I didn't agree with that,
but whatever. However, there were a huge number of not-too-polite
complaints blaming us for doing it, and some of these failed to
subside when it was pointed out that this had nothing to do with the
development team.
We might not implement their letter, but the spirit of the ideas of
keeping civil and assuming good faith *are* applied at the development
level; we just reserve the right to be blunt. If I've been
particularly rude to anyone over this issue, I do apologise for it -
and I'm sure anyone else who may have been apologises too.
If we're to implement certain tweaks for this in user preferences,
then we need some co-operation from the user base to allow us time to
determine a clean means of doing so (we want to avoid duplication of
code when generating changes list items), and we want people to
remember that politeness goes both ways.
Just because user A dislikes a feature, it doesn't mean that user B
will, and it is not fair to scream and rant and rave over it because
we tried to implement something that was useful. I would like to note
also that the numbers, as with the "minor edit" flag, and the whole
concept of edit summaries, are advisory - what we provide is a factual
statement of who changed what, and how much they changed, and we allow
that user to present justification for their changes. If that user
chose to lie in their edit summary, or deliberately mis-labelled a
minor edit, then there is nothing any of us can do - and you (the
users) have coped with that well enough over (at least) the past four
years or so.
I will open a fresh feature request, giving an opportunity for Brion
to say "yes" or "no" definitively, and I will avail myself to Leon or
anyone else who would then wish to implement the outcome should they
want any input.
I point-blank refuse, however, to work with any user who feels that it
is acceptable to assume bad faith on the part of the development team.
That attitude could very well lose you a lot of the behind-the-scenes
supporting cast one day, without whom you wouldn't even *have* a
website.
Rob Church
An automated run of parserTests.php showed the following failures:
This is MediaWiki version 1.9alpha (r18741).
Reading tests from "/home/brion/src/wiki/phase3/maintenance/parserTests.txt"...
Running test TODO: Table security: embedded pipes (http://mail.wikipedia.org/pipermail/wikitech-l/2006-April/034637.html)... FAILED!
Running test TODO: Link containing double-single-quotes '' (bug 4598)... FAILED!
Running test TODO: message transform: <noinclude> in transcluded template (bug 4926)... FAILED!
Running test TODO: message transform: <onlyinclude> in transcluded template (bug 4926)... FAILED!
Running test Thumbnail image caption with a free URL... FAILED!
Running test BUG 1887: A ISBN with a thumbnail... FAILED!
Running test BUG 1887: A RFC with a thumbnail... FAILED!
Running test BUG 1887: A mailto link with a thumbnail... FAILED!
Running test BUG 1887: A <math> with a thumbnail- we don't render math in the parsertests by default,
so math is not stripped and turns up as escaped <math> tags.... FAILED!
Running test BUG 1887, part 2: A <math> with a thumbnail- math enabled... FAILED!
Running test Image caption containing another image... FAILED!
Running test Bug 3090: External links other than http: in image captions... FAILED!
Running test TODO: HTML bullet list, unclosed tags (bug 5497)... FAILED!
Running test TODO: HTML ordered list, unclosed tags (bug 5497)... FAILED!
Running test TODO: HTML nested bullet list, open tags (bug 5497)... FAILED!
Running test TODO: HTML nested ordered list, open tags (bug 5497)... FAILED!
Running test Fuzz testing: image with bogus manual thumbnail... FAILED!
Running test TODO: Parsing optional HTML elements (Bug 6171)... FAILED!
Running test TODO: Inline HTML vs wiki block nesting... FAILED!
Running test TODO: Mixing markup for italics and bold... FAILED!
Running test TODO: 5 quotes, code coverage +1 line... FAILED!
Running test TODO: dt/dd/dl test... FAILED!
Running test TODO: Images with the "|" character in the comment... FAILED!
Running test TODO: Parents of subpages, two levels up, without trailing slash or name.... FAILED!
Running test TODO: Parents of subpages, two levels up, with lots of extra trailing slashes.... FAILED!
Running test TODO: Don't fall for the self-closing div... FAILED!
Running test TODO: Always escape literal '>' in output, not just after '<'... FAILED!
Reading tests from "/home/brion/src/wiki/phase3/extensions/Cite/citeParserTests.txt"...
Reading tests from "/home/brion/src/wiki/phase3/extensions/Poem/poemParserTests.txt"...
Passed 463 of 490 tests (94.49%)... FAILED!