I've noticed that Wikipedia and Meta have a spam blacklist that disallows external links that match certain regexps. How do I enable this on my local Wiki?
I've tried setting up a page Spam_blacklist, copied from the version on Meta. I've searched for information both on Meta, and by grepping the php code.
I'm currently running MediaWiki version 1.3.10, but I grepped the sources in 1.4.2.
All help appreciated,
Charles
Charles Sutton wrote:
I've noticed that Wikipedia and Meta have a spam blacklist that disallows external links that match certain regexps. How do I enable this on my local Wiki?
I've tried setting up a page Spam_blacklist, copied from the version on Meta. I've searched for information both on Meta, and by grepping the php code.
http://cvs.sourceforge.net/viewcvs.py/*checkout*/wikipedia/extensions/SpamBl...
-- brion vibber (brion @ pobox.com)
On 4/28/05, Brion Vibber brion@pobox.com wrote:
Charles Sutton wrote:
I've noticed that Wikipedia and Meta have a spam blacklist that disallows external links that match certain regexps. How do I enable this on my local Wiki?
I've tried setting up a page Spam_blacklist, copied from the version on Meta. I've searched for information both on Meta, and by grepping the php code.
http://cvs.sourceforge.net/viewcvs.py/*checkout*/wikipedia/extensions/SpamBl...
-- brion vibber (brion @ pobox.com)
Brion, there's nothing on meta about this. [[MetaWikiPedia:Anti-spam Features]] mentioned just to make the page, so I've edited it to also note that you must have the extension.
I ask someone out there more knowledgeable on this to add some info on setting up the plugin to this page.
Thanks!
Hi,
Is it possible, in an article, to have a link to the current logged user page ? Something like [[User:~]] to go to [[User:JohnDoe]] whether JohnDoe is the user actually logged.
Read you, jej
Jej wrote:
Is it possible, in an article, to have a link to the current logged user page ? Something like [[User:~]] to go to [[User:JohnDoe]] whether JohnDoe is the user actually logged.
[[Special:Mypage]] does this in 1.5. Note that it does not change the text of the link, as page text is fixed when saved; it redirects to the current user's user page when it's visited.
-- brion vibber (brion @ pobox.com)
Is it possible, in an article, to have a link to the current logged user page ? Something like [[User:~]] to go to [[User:JohnDoe]] whether JohnDoe is the user actually logged.
[[Special:Mypage]] does this in 1.5. Note that it does not change the text of the link, as page text is fixed when saved; it redirects to the current user's user page when it's visited.
ok thanks. No backport planed ? :)
jej
Is it possible, in an article, to have a link to the current logged user page ? Something like [[User:~]] to go to [[User:JohnDoe]] whether JohnDoe is the user actually logged.
[[Special:Mypage]] does this in 1.5. Note that it does not change the text of the link, as page text is fixed when saved; it redirects to the current user's user page when it's visited.
-- brion vibber (brion @ pobox.com)
To wait until the 1.5 stable is released, here is a simple patch to enable the notation : [[User:~|My page]]
Hope it will be useful!
jej
--- old/index.php 2005-04-27 14:04:15.000000000 +0200 +++ index.php 2005-04-29 13:36:49.411985032 +0200 @@ -37,6 +37,14 @@ $wgOut->setPrintable(); }
+if ($title == ($ns=$wgContLang->getNsText( NS_USER )).':~') { + $un = $wgUser->getName(); + if (substr($un, 0, 2)!="::") + $title = "$ns:$un"; + else + $title = ''; +} + if ( '' == $title && 'delete' != $action ) { $wgTitle = Title::newFromText( wfMsgForContent( 'mainpage' ) ); } elseif ( $curid = $wgRequest->getInt( 'curid' ) ) {
mediawiki-l@lists.wikimedia.org