I see. On the page at the link I now notice that there are things
like 5A (039). I'm guessing that 5A is the non-stateful and (039) is
the stateful/permalink. So if you deleted the paragraph, the one
that's currently 5B (040) would become 5A (040), keeping its stateful
tag and changing its non-stateful tag. If you inverted the paragraphs
you'd get 5A(040) and 5B(039).
But if you edit inside a paragraph, you'd have to decide whether to
treat the stateful tag as unaffected or needing replacement. Given
the way wikitext evolves, this could be interesting. It gets close to
the old question of whether you ever step into the same river twice.
Seems like there will be lots of thought provoking edge cases, such as
paragraphs that embed templates or extension tags. Thinking about how
to do purple numbering on an embedded RSS feed makes my brain
explode! It seems like this is most useful for things like Project
Gutenberg, where the text is pretty static.
And you can distribute the extension via
mediawiki.org without an svn
account. A lot of us just link to our own projects.
Jim
On Feb 26, 2008, at 10:20 AM, Viral Gupta wrote:
There are 2 different kinds of tags (stateful,
non-stateful).
The non-stateful is Hierarchical addressing which captures the
relative
hieracrhy of the html element within the document. This is rendered
just
before the viewing the page which is the right time to determine
relative
hierarchy.
The stateful is handled differently. These are more of permanaent
tags added
to a element. When the element is deleted the tag is removed along
with it.
Thanks
--Viral
On Tue, Feb 26, 2008 at 10:44 AM, Jim Hu <jimhu(a)tamu.edu> wrote:
I think purple is not the same. It's
automated and works at a higher
level of granularity.
http://www.eekim.com/software/purple/purple.html
I'm curious - how does purple handle insertions and deletions of
paragraphs that have already been assigned numbers? The example at
the link shows things in ascending consecutive order.
Jim Hu
On Feb 26, 2008, at 7:52 AM, Stephen Bain wrote:
On Tue, Feb 26, 2008 at 11:46 PM, Andrew Garrett
<andrew(a)epstone.net> wrote:
We already have that - it's our Templates feature.
There's also the existing Labeled Section Transclusion extension:
http://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion
--
Stephen Bain
stephen.bain(a)gmail.com
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054