Hi
I'm planning to add rev_parent_id column to revision table in order to
put revisions in a tree structure (using the Adjacency List Model).
This field is the key to rev_id in the same table. I've made
corrections to several files (take a look at
http://svn.wikimedia.org/viewvc/mediawiki/branches/roman/trunk/phase3/maint…).
I need this patch for incremental diff (and blamemaps) however it
could be also used for example to render history as a tree (think
slashdot discussion).
Please cc your reply to my email: rnosov at gmail dot com
Best regards
Roman
In LocalSettings.php I do:
function jidanni_less_skin_mess( $this, $nav_urls, $oldid, $revid ){
$nav_urls['permalink'] = false; #discourage permalinking on my site
$wgHooks['SkinTemplateBuildNavUrlsNav_urlsAfterPermalink'][]='jidanni_less_skin_mess';
Seems to work. Guess that's how to do it.
An automated run of parserTests.php showed the following failures:
This is MediaWiki version 1.10alpha (r19736).
Reading tests from "maintenance/parserTests.txt"...
Reading tests from "extensions/Cite/citeParserTests.txt"...
Reading tests from "extensions/Poem/poemParserTests.txt"...
2 previously passing test(s) now FAILING! :(
* Gallery
* <references> after <gallery> (bug 6164)
18 still FAILING test(s) :(
* URL-encoding in URL functions (single parameter)
* URL-encoding in URL functions (multiple parameters)
* TODO: Table security: embedded pipes (http://mail.wikipedia.org/pipermail/wikitech-l/2006-April/034637.html)
* TODO: Link containing double-single-quotes '' (bug 4598)
* TODO: message transform: <noinclude> in transcluded template (bug 4926)
* TODO: message transform: <onlyinclude> in transcluded template (bug 4926)
* BUG 1887, part 2: A <math> with a thumbnail- math enabled
* TODO: HTML bullet list, unclosed tags (bug 5497)
* TODO: HTML ordered list, unclosed tags (bug 5497)
* TODO: HTML nested bullet list, open tags (bug 5497)
* TODO: HTML nested ordered list, open tags (bug 5497)
* TODO: Inline HTML vs wiki block nesting
* TODO: Mixing markup for italics and bold
* TODO: 5 quotes, code coverage +1 line
* TODO: dt/dd/dl test
* TODO: Images with the "|" character in the comment
* TODO: Parents of subpages, two levels up, without trailing slash or name.
* TODO: Parents of subpages, two levels up, with lots of extra trailing slashes.
Passed 487 of 507 tests (96.06%)... 20 tests failed!
An automated run of parserTests.php showed the following failures:
This is MediaWiki version 1.10alpha (r19757).
Reading tests from "maintenance/parserTests.txt"...
Reading tests from "extensions/Cite/citeParserTests.txt"...
Reading tests from "extensions/Poem/poemParserTests.txt"...
1 previously failing test(s) now PASSING! :)
* <references> after <gallery> (bug 6164)
19 still FAILING test(s) :(
* URL-encoding in URL functions (single parameter)
* URL-encoding in URL functions (multiple parameters)
* TODO: Table security: embedded pipes (http://mail.wikipedia.org/pipermail/wikitech-l/2006-April/034637.html)
* TODO: Link containing double-single-quotes '' (bug 4598)
* TODO: message transform: <noinclude> in transcluded template (bug 4926)
* TODO: message transform: <onlyinclude> in transcluded template (bug 4926)
* BUG 1887, part 2: A <math> with a thumbnail- math enabled
* TODO: HTML bullet list, unclosed tags (bug 5497)
* TODO: HTML ordered list, unclosed tags (bug 5497)
* TODO: HTML nested bullet list, open tags (bug 5497)
* TODO: HTML nested ordered list, open tags (bug 5497)
* TODO: Inline HTML vs wiki block nesting
* TODO: Mixing markup for italics and bold
* TODO: 5 quotes, code coverage +1 line
* Gallery
* TODO: dt/dd/dl test
* TODO: Images with the "|" character in the comment
* TODO: Parents of subpages, two levels up, without trailing slash or name.
* TODO: Parents of subpages, two levels up, with lots of extra trailing slashes.
Passed 488 of 507 tests (96.25%)... 19 tests failed!
Liang Chen <bigreat(a)gmail.com> wrote:
> Also, I'm not sure whether it's actually implemented.
As Far As I'm Aware, submitting through API has not yet been implemented,
because some serious code refactoring is needed to implement it.
Disclaimer: I'm not sure about this, but I'm sure a bit of browsing on the
API page on meta will give you whatever info you need. Worse case scenario:
read the code.
Andrew Garrett
(werdna)
On 03/02/07, hashar(a)svn.wikimedia.org <hashar(a)svn.wikimedia.org> wrote:
> Revision: 19742
> Author: hashar
> Date: 2007-02-03 13:47:53 -0800 (Sat, 03 Feb 2007)
>
> Log Message:
> -----------
> Fix #6844: Semantically correct tags for diffchanges (<ins> && <del>)
> Bumps wgStyleVersion to 55.
> Patch by Messi <messias+spam(a)gmail.com>
Won't wikidiff and wikidiff2 also need to be updated?
Rob Church
HI,
I read some doc of mediawiki api, and is able to get the content
of one page or login. However I failed to use api.php?action=submit to
save one page. It seems that the action not include the "submit".
Could some body give a help?
THanks!
--
---BiGreat---
www.Liang-Chen.com
I second this!
Birgitte SB
--- wikitech-l-request(a)lists.wikimedia.org wrote:
Thanks to the continual help and expertise of
User:Sanbeg, Labeled Section
Transclusion is now a full-fledged MediaWiki extension
that has been put to use
at external sites.
This extension allows selective transclusion of
marked-off sections of text on a
wiki-page. It is a great deal more flexible than
<onlyinclude> and <noinclude>, and will allow for many
unforseen future uses.
See:
http://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion
Every type of functionality that was requested for
this extension has been
implemented, and various small issues have been ironed
out over the past few
months.
Labeled Section Transclusion was originally requested
as a feature for
Wikisource, and the current extension more than meets
Wikisource's needs.
It would be great if it could be applied live at the
Wikisource wikis.
Among other things, doing so would allow it to get
some heavy-duty testing,
since the uses for this extension might eventually go
beyond Wikisource.
Dovi Jacobs
____________________________________________________________________________________
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail