On Jan 31, 2008 11:46 AM, <siebrand(a)svn.wikimedia.org> wrote:
> * add OBSOLETE for GiveRollback, Makebot, Makesysop, and Oversight
I might be wrong, but it seems to me that Oversight does a lot more
than provide an interface for adding a new group. It adds the
functionality -- the hiderevision right doesn't exist in core. In
fact, Oversight doesn't provide an interface for adding the right at
all, and is completely unaffected by the Userrights improvements,
isn't it? Oversight was always added by stewards using
Special:Userrights.
In findColonNoLinks replace:
if( $pos === false) {
with
if( $pos === false || $pos == strlen($str)-1) {
Rationale: currently this input renders without a colon:
;Example:
:Blah blah
I don't know if there is a reported bug for this, but the behaviour
has bitten me once or twice, and I don't think there's anything useful
in treating a trailing colon as the start of a (non-existent)
definition.
Steve
PS It may be preferable to implement this by searching the left($str,
strlen($str)-1) or something, but I leave that to people who actually
know PHP :)
Hi all.
I'm adding some tweaks to the WikiXRay parser of meta-history dumps. I now extract internal, external links, and so on, but I'd also like to extract the plain text (without HTML code and, possibly, also filtering wiki tags).
Does anyone nows a python library to do that? I believe there should be something out there, as there exist bots and crawlers automating the data extraction process from one wiki to other.
Thanks in advance for your comments.
Felipe.
---------------------------------
¿Con Mascota por primera vez? - Sé un mejor Amigo
Entra en Yahoo! Respuestas.
Hi all developers. Can I somehow get a developer permission for a short time. I would to translate messages to Czech language and I can do some minor repairs in extensions, too. Thanks for any reactions. --Pavel
Discussions on the checkuser list (which is Wikimedia-wide) suggest
that an all-project blocking mechanism would be very useful in keeping
our more persistent vandals from hopping from project to project,
wreaking havoc. This happens quite a bit.
A variant of Wikia's regex block would be a likely candidate for a
useful implementation.
One detail it would need (in some coder's Copious Free Time) would be
an option to unblock a globally-blocked IP or range locally. (One use
case would be a local ISP which has several good editors from a small
project, but has open proxies or similar that are a source of
vandalism on many other projects.)
Presumably such a global block would only be available to stewards, on
due consideration.
Before anyone starts coding - what are the devs' thoughts on a global
blocking mechanism? What could go badly wrong?
- d.
I wanted to edit the lead section of an article just now, so I
tried the standard trick of editing the first section and then
changing §ion=1 to §ion=0. But then three weird things
happened:
1. I got redirected to §ion=0#892555963146827592.
2. I got a "Wikipedia does not have an article with this exact title"
message and a blank edit box instead of the lead section I expected
3. I got a message from [[NoScript]] saying "NoScript filtered a
potential cross-site-scripting attempt from [chrome:]."
I know some sweeping preprocessor changes were rolled out
recently -- would they have affected section 0 editing?
(The specific article this happened on was [[Calliope (music)]],
id=183157865.)