An automated run of parserTests.php showed the following failures:
Running test Table security: embedded pipes (http://mail.wikipedia.org/pipermail/wikitech-l/2006-April/034637.html)... FAILED!
Running test Link containing double-single-quotes '' (bug 4598)... FAILED!
Running test Template with thumb image (wiht link in description)... FAILED!
Running test message transform: <noinclude> in transcluded template (bug 4926)... FAILED!
Running test message transform: <onlyinclude> in transcluded template (bug 4926)... FAILED!
Running test BUG 1887, part 2: A <math> with a thumbnail- math enabled... FAILED!
Running test Language converter: output gets cut off unexpectedly (bug 5757)... FAILED!
Running test HTML bullet list, unclosed tags (bug 5497)... FAILED!
Running test HTML ordered list, unclosed tags (bug 5497)... FAILED!
Running test HTML nested bullet list, open tags (bug 5497)... FAILED!
Running test HTML nested ordered list, open tags (bug 5497)... FAILED!
Running test Parsing optional HTML elements (Bug 6171)... FAILED!
Running test Inline HTML vs wiki block nesting... FAILED!
Running test Mixing markup for italics and bold... FAILED!
Running test 5 quotes, code coverage +1 line... FAILED!
Running test HTML Hex character encoding.... FAILED!
Running test dt/dd/dl test... FAILED!
Passed 409 of 426 tests (96.01%) FAILED!
Sorry to those who already read this on wikimania-l, but I'm
especially looking for people who will understand the tech sessions at
Wikimania to act as moderators for those.
If you would like to volunteer, please let me know as soon as possible.
Moderating basically involves introducing the speaker and then making
sure they finish on time, and sometimes handling questions from the
audience at the end when there's time for a Q&A session. You will also
need to find the speaker before the event and make sure they're happy
with the arrangements and know where they're going.
The "Technical infrastructure" sessions that need moderating include:
Session 4 (Saturday)
* Brion Vibber: Hacking MediaWiki
* Hacking days review
Session 6 (Saturday)
* Christoph Sauer: What you see is wiki - Questioning WYSIWYG in
the internet age
* Darniet Jennings: Why WYSIWIKI?
* Timothy Chklovski: Collecting Computer-useable knowledge from
volunteer contributors
* Chris Luer: Disambiguation: the key to information architecture?
Session 7 (Sunday)
* Technical lightning talks/future of search
* Paul Sponagl: Device independent access to Wikipedia
* Kasper Souren: Wikipedia on the Nokia 770
Angela
Hey,
I have written a hook but the only time it is getting called is if I do
a purge. Any ideas?
file: extensions/myext.php
<?php
function testing() {
printf("TESTING 1 2 3\n");
}
$wgExtensionFunctions[] = "wfMyExtension";
function wfMyExtension() {
global $wgParser;
$wgParser->setHook( "myextension", "testing" );
}
?>
Added to the end of LocalSettins.php
require("extensions/myext.php");
Its like the tag is ignored unless an action=purge is specified.
Thanks.
MedaiWiki 1.6.8
php 5.1.4
An automated run of parserTests.php showed the following failures:
Running test Table security: embedded pipes (http://mail.wikipedia.org/pipermail/wikitech-l/2006-April/034637.html)... FAILED!
Running test Link containing double-single-quotes '' (bug 4598)... FAILED!
Running test Template with thumb image (wiht link in description)... FAILED!
Running test message transform: <noinclude> in transcluded template (bug 4926)... FAILED!
Running test message transform: <onlyinclude> in transcluded template (bug 4926)... FAILED!
Running test BUG 1887, part 2: A <math> with a thumbnail- math enabled... FAILED!
Running test Language converter: output gets cut off unexpectedly (bug 5757)... FAILED!
Running test HTML bullet list, unclosed tags (bug 5497)... FAILED!
Running test HTML ordered list, unclosed tags (bug 5497)... FAILED!
Running test HTML nested bullet list, open tags (bug 5497)... FAILED!
Running test HTML nested ordered list, open tags (bug 5497)... FAILED!
Running test Parsing optional HTML elements (Bug 6171)... FAILED!
Running test Inline HTML vs wiki block nesting... FAILED!
Running test Mixing markup for italics and bold... FAILED!
Running test 5 quotes, code coverage +1 line... FAILED!
Running test HTML Hex character encoding.... FAILED!
Running test dt/dd/dl test... FAILED!
Passed 409 of 426 tests (96.01%) FAILED!
Hi,
I encountered a few issues listed below, regarding the timestamps in a
mediawiki database (I am running MediaWiki 1.6.7), when writing an
extension that looks for the user that added a specific category link.
Indeed, the only efficient way I've found is to compare cl_timestamp
and rev_timestamp in the database (any better idea?).
1) Is there a specific reason why the *cl_timestamp* column of the
*categorylinks* table has a different type from the *rev_timestamp*
column of the *revision* table (or page_touched of the page table)?
Cl_timestamp is a timestamp whereas rev_timestamp and page_touched are
strings. This adds complexity - useless I believe - when comparing
these timestamps with each other (formatting with such MySQL functions
as DATE_FORMAT or STR_TO_DATE is necessary). Wouldn't this make easier
to use the same type?
2) Looking at the code, I noticed that cl_timestamp and rev_timestamp
are computed separately (function insertOn in Revision.php for
rev_timestamp, function getCategoryInsertions in LinksUpdate.php for
cl_timestamp). On my system, there is sometimes a difference of 1 for
the seconds between the cl_timestamp value and the corresponding
rev_timestamp. Wouldn't this make more sense to use the same
rev_timestamp for the cl_timestamp value, OR replace the cl_timestamp
column with something like a 'cl_rev' column that links to the rev_id
from the revision table? If not, why.
Thus, it would be easier to get the revision info (e.g. the category
adder) corresponding to any addition of a category link in a page.
3) Should I report a bug for this?
Thanks for your time.
-- Cyril Dangerville
A couple of days ago Ariel, the database master for en.wikipedia, crashed in
some way for a brief time. This was not logged in detail in the admin log, so I
don't really know what happened as I was out at the time.
Today, when applying a full PHP update and sync to the software, en.wikipedia
suddenly began to display a read-only message about being locked due to a server
crash. It was determined that the database configuration file had been edited,
but then not synchronized, during the earlier crisis. The read-only message was
removed and the file resynchronized, opening the wiki back for editing.
Unfortunately, there was a combination of two other problems:
1) The config file also had ariel commented out, presumably to avoid error
messages during the temporary crisis two days ago. As a result, the next server
in the list was considered to be the master by the software.
2) The database slaves for en.wikipedia were misconfigured. All slaves *MUST* be
kept in read_only mode or there is a high risk of data corruption in the case of
wiki configuration errors.
They were *not* set in read_only mode, so db4, one of the slaves, ended up
accepting edits for 40 minutes.
Further, edits went back on ariel for several minutes while figuring out what
had happened.
en.wikipedia is currently locked while we examine the databases to see whether
recovery of the last 40 minutes' work is feasible.
-- brion vibber (brion @ pobox.com)
Hallo all,
I am trying to write a webservice about installation of Mediawiki (just
rewrite config/index.php).
During the implementation i found it is very difficult to find when and
where a global variable
is initialized (e.g. $wgContLang). And there are a lot of global
variables in Mediawiki.
Because of these global variable it is difficult to read and understand
the code of mediawiki.
Is there a way, i can easily work with these global variable.
I use the mediawiki 1.5.7.
Any Suggestion is appreciated
Ting Wang
An automated run of parserTests.php showed the following failures:
Running test Table security: embedded pipes (http://mail.wikipedia.org/pipermail/wikitech-l/2006-April/034637.html)... FAILED!
Running test Link containing double-single-quotes '' (bug 4598)... FAILED!
Running test Template with thumb image (wiht link in description)... FAILED!
Running test message transform: <noinclude> in transcluded template (bug 4926)... FAILED!
Running test message transform: <onlyinclude> in transcluded template (bug 4926)... FAILED!
Running test BUG 1887, part 2: A <math> with a thumbnail- math enabled... FAILED!
Running test Language converter: output gets cut off unexpectedly (bug 5757)... FAILED!
Running test HTML bullet list, unclosed tags (bug 5497)... FAILED!
Running test HTML ordered list, unclosed tags (bug 5497)... FAILED!
Running test HTML nested bullet list, open tags (bug 5497)... FAILED!
Running test HTML nested ordered list, open tags (bug 5497)... FAILED!
Running test Parsing optional HTML elements (Bug 6171)... FAILED!
Running test Inline HTML vs wiki block nesting... FAILED!
Running test Mixing markup for italics and bold... FAILED!
Running test 5 quotes, code coverage +1 line... FAILED!
Running test HTML Hex character encoding.... FAILED!
Running test dt/dd/dl test... FAILED!
Passed 409 of 426 tests (96.01%) FAILED!
I'm getting this both at home and at work, almost every time I try to
edit a page:
Sorry! We could not process your edit due to a loss of session data.
Please try again. If it still doesn't work, try logging out and
logging back in.
Normally, when I've had this message it's been after attempting to
save a page after extended inactivity - you click Save again and the
problem goes away. However, it's currently occurring as soon as I
click "Edit", but doesn't cause any problems when clicking Save.
Just wondering if it's the sort of thing that everyone is
experiencing, but no one thought of reporting? :)
Steve
An automated run of parserTests.php showed the following failures:
Running test Table security: embedded pipes (http://mail.wikipedia.org/pipermail/wikitech-l/2006-April/034637.html)... FAILED!
Running test Link containing double-single-quotes '' (bug 4598)... FAILED!
Running test Template with thumb image (wiht link in description)... FAILED!
Running test message transform: <noinclude> in transcluded template (bug 4926)... FAILED!
Running test message transform: <onlyinclude> in transcluded template (bug 4926)... FAILED!
Running test BUG 1887, part 2: A <math> with a thumbnail- math enabled... FAILED!
Running test Language converter: output gets cut off unexpectedly (bug 5757)... FAILED!
Running test HTML bullet list, unclosed tags (bug 5497)... FAILED!
Running test HTML ordered list, unclosed tags (bug 5497)... FAILED!
Running test HTML nested bullet list, open tags (bug 5497)... FAILED!
Running test HTML nested ordered list, open tags (bug 5497)... FAILED!
Running test Parsing optional HTML elements (Bug 6171)... FAILED!
Running test Inline HTML vs wiki block nesting... FAILED!
Running test Mixing markup for italics and bold... FAILED!
Running test 5 quotes, code coverage +1 line... FAILED!
Running test HTML Hex character encoding.... FAILED!
Running test dt/dd/dl test... FAILED!
Passed 409 of 426 tests (96.01%) FAILED!