Last modified: 2014-07-24 08:31:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27524, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25524 - blacklist may become too big
blacklist may become too big
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Spam Blacklist (Other open bugs)
unspecified
All All
: Normal major with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-14 21:07 UTC by seth
Modified: 2014-07-24 08:31 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description seth 2010-10-14 21:07:08 UTC
At meta (290KB) and at w:en (160KB) the sbl has got many many entries, so it gets hard for some users to edit those pages. Some javascripts seem to fail already on some user's machines.

One can think of many different work-arounds. One fast solution could be, to use transcluded pages, s.t.

 example\.org
{{some transcluded page}}
 example\.com

where "some transcluded page" consists of only
 foo
 bar

will be treated by the extension as
 example\.org
 foo
 bar
 example\.com

The advantages would be:
* sbl gets arbitrarily smaller, so editing gets easier
* rendered sbl looks still the same, because transclusion works anyway
* admins may chose, whether they want to use that feature (i.e. downward compatibility!)
* doesn't need much programming on sbl extension
Comment 1 MER-C 2010-10-16 06:47:54 UTC
If we are going to use this at meta, then I believe this breaks downward compatibility. That's too bad, because I really like this solution.
Comment 2 seth 2010-10-16 07:24:42 UTC
How should this break downward compatibility? (Maybe my explaination was bad.)
Comment 3 MER-C 2010-10-16 07:41:17 UTC
[[mw:Extension:SpamBlacklist]] and the source code says that the URL for fetching the spam blacklist is:

http://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1

This is just the wiki source of the page and does not expand transclusions (see e.g. http://en.wikipedia.org/w/index.php?title=Main_Page&action=raw in your favorite text editor). The character { followed by } is likely to make older spam blacklists spew errors.

Perhaps we can have a syntax like:

#SB_INCLUDE<page>

where the # conveniently comments out the line for those who can't understand it.
Comment 4 MER-C 2010-10-16 07:46:14 UTC
Then again, maybe spewing errors to get people to upgrade might be a good idea.
Comment 5 seth 2010-10-16 08:11:46 UTC
Oh, I didn't know that other (non-wikimedia) wikis use our sbl. Afaics this would be the only compatibility problem.

We could use a combination of our proposals:

#{{some transcluded page}}

So the first line of that transcluded page is ignored and could be used for a comment instead, e.g.

----%<----
please insert a space before each line
 foo
 bar
---->%----

Would that fix the problem, you mentioned?
Comment 6 MER-C 2010-10-16 08:57:34 UTC
Yes.
Comment 7 Gurch 2010-10-16 13:03:12 UTC
Or you could start actually maintaining those blacklists, rather than merely adding a link every time it gets used for spam.
Comment 8 seth 2010-10-16 13:29:14 UTC
(In reply to comment #7)
> Or you could start actually maintaining those blacklists, rather than merely
> adding a link every time it gets used for spam.

The blacklists are maintained already. Maybe you want to discuss that in detail at the meta talk page.
Comment 9 MZMcBride 2011-12-04 01:52:28 UTC
This seems like a duplicate of bug 14322.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links