Re: [MediaWiki-l] Serious Spam Problem

2013-11-08 Thread Łukasz Garczewski
Juan, you could also try ReCAPTCHA module for ConfirmEdit. https://www.mediawiki.org/wiki/Extension:ConfirmEdit#ReCaptcha We're using that at Wikia with great results so far. The basic ConfirmEdit (even with the graphic FancyCaptcha) isn't very hard to crack, unfortunately. Good luck! -- Luca

Re: [Mediawiki-l] New Plugin for Extension:ConfirmEdit - RFC

2012-03-19 Thread Łukasz Garczewski
On Mon, Mar 19, 2012 at 9:20 AM, nischay nahata wrote: > Hi, > I have made a Captcha plugin for ConfirmEdit called MCQ (Multiple Choice > Questions) > I admit that I am not up to date on the state of the art in captcha cracking and image recognition, but... Has it advanced so far recently that gi

Re: [Mediawiki-l] Display MediaWiki version

2011-08-08 Thread Łukasz Garczewski
On Mon, Aug 8, 2011 at 11:30 AM, Brian Bell wrote: > My search-fu is weak. > > I want to be able to display the MediaWiki version on my front page, but > cannot find the way to display it. > > How do you display the mediawiki version (preferably that automatically > updates)? Use the {{CURRENTVER

Re: [Mediawiki-l] Automatically make a user a sysop?

2011-06-20 Thread Łukasz Garczewski
On Mon, Jun 20, 2011 at 5:29 AM, Adam Meyer wrote: > It looks like the way to do it would be to run a query like so: > > $user = User::newFromName( $userName ); > > $dbw = wfGetDB( DB_MASTER ); > > $dbw->insert( 'user_groups', > array( 'ug_user'  => $user->getID(), 'ug_group' => 'bot', ), > 'User:

Re: [Mediawiki-l] Seeking assistance with mobile

2011-05-19 Thread Łukasz Garczewski
Hey Daniel, all you should need is an Apache rewrite to the effect of: if URL matches mobile version pattern, add ?useskin=mobile (or whatever your skin is called) to the query and run that against the "desktop" version. So, assuming the "desktop" site is: muppet.wikia.com and the mobile site

Re: [Mediawiki-l] [mediawiki-l] Restoring wiki from xml-dump plus files in folder

2011-02-18 Thread Łukasz Garczewski
On Fri, Feb 18, 2011 at 11:54 PM, Gregor Hagedorn wrote: > All went well, but mediawiki does not know about the files yet. I > thought running > ./maintenance/rebuildImages.php > is the right thing to do, but it is undocumented and does not achieve > anything. > > output is: > Processing image...

Re: [Mediawiki-l] Interchanging namespaces

2011-02-18 Thread Łukasz Garczewski
On Fri, Feb 18, 2011 at 3:31 PM, Ekompute .info wrote: > Hi, this does sound stupid but because I am converting all my individual > websites to use a single set of MediaWiki software, I wonder whether it is > possible to standardize my namespaces. As it is, my chronology namespace, > say, is using

Re: [Mediawiki-l] how do I restrict the length of usernames?

2011-02-08 Thread Łukasz Garczewski
On Tue, Feb 8, 2011 at 7:36 PM, 2...@gmaskfx.com <2...@gmaskfx.com> wrote: > Uh thanks for the help.. just getting frustrated because I'm getting hammered > with spam and I have tried everything in the manual and little of it is > helping. Try installing the ConfirmEdit extension. That should he

Re: [Mediawiki-l] how do I restrict the length of usernames?

2011-02-08 Thread Łukasz Garczewski
On Tue, Feb 8, 2011 at 6:57 PM, 2...@gmaskfx.com <2...@gmaskfx.com> wrote: > how do I restrict the length of usernames? http://www.mediawiki.org/wiki/Manual:$wgMaxNameChars Please check the manual before posting to this list. At the very least you should take a good look at http://www.mediawiki.

Re: [Mediawiki-l] Delete user

2010-12-06 Thread Łukasz Garczewski
On Mon, Dec 6, 2010 at 4:15 PM, Graham wrote: > Hello, > > What is the best method with respect to deleting a user. > > > Mediawiki 1.16.0 > PHP 5.1.6(apache2handler) > MySQL 5.0.77 Don't. MediaWiki relies on having all users present, all the time. You can rename a user, block them infinately o

Re: [Mediawiki-l] Touching a page programmatically?

2010-11-18 Thread Łukasz Garczewski
On Fri, Nov 19, 2010 at 3:55 AM, Daniel Barrett wrote: > I want to "touch" an article by performing an empty edit, as if someone > clicked "Edit" followed by "Save Page". Does anyone know why this code works > sometimes and has no effect other times? > > function touch($page) { >    $title = Tit

Re: [Mediawiki-l] SMW and genealogy

2010-10-21 Thread Łukasz Garczewski
On Fri, Oct 22, 2010 at 4:06 AM, Bruce Whealton wrote: > 1)  Is it difficult to copy some of the content from one wiki into a new > wiki that - that is to say copy some of the articles... an export of > articles and then an import elsewhere.  I know MW lets one export and then > import, so could o

Re: [Mediawiki-l] wgGroupPermissions question

2010-09-28 Thread Łukasz Garczewski
On Tue, Sep 28, 2010 at 8:06 PM, Graham wrote: >  Hello, > > There is a request to have a wiki configured so that anonymous users can > read the main page & a couple of others. The registered users should > have full access. The wiki is configured for manually adding the users > via Special:Userri

Re: [Mediawiki-l] Site skin preferences statistics

2010-09-18 Thread Łukasz Garczewski
On Sat, Sep 18, 2010 at 1:57 AM, Frederick Grose wrote: > Is there a way to determine the number of users who have selected a > particular skin preference? Yes, you can get that by doing an database query, but the complexity depends on which version of MediaWiki you're running. MediaWiki 1.16: e

Re: [Mediawiki-l] Embed page in article

2010-09-13 Thread Łukasz Garczewski
On Mon, Sep 13, 2010 at 6:16 AM, Brett's GMAIL wrote: > Afternoon all, > > I've got a desire to embed a visio diagram into my wiki after saving the > diagram as a webpage. > > How do I embed HTML into a wiki article? Set $wgRawHtml to true. Details are here: http://www.mediawiki.org/wiki/Manual:

Re: [Mediawiki-l] Permissions and Security

2010-07-18 Thread Łukasz Garczewski
On Sun, Jul 18, 2010 at 11:11 PM, B. M. Whealton wrote: > How does one setup a media wiki that has protection against persons who > would want to post very inappropriate material?  I know that many wiki > software engines do have permission settings to only allow registered > users the ability to

Re: [Mediawiki-l] How to Edit User's Profiles

2010-06-19 Thread Łukasz Garczewski
On Sat, Jun 19, 2010 at 1:49 AM, Angela wrote: > On Sat, Jun 19, 2010 at 2:06 AM, Sean McAfee > wrote: >> I use (and like) http://www.mediawiki.org/wiki/Extension:EditUser, but >> it stopped being maintained and may not work on > 1.15. >> >> I'd be interested in hearing about any alternatives out

Re: [Mediawiki-l] Getting page title and namespace from within an extension

2010-05-31 Thread Łukasz Garczewski
On Mon, May 31, 2010 at 5:38 AM, Adam Meyer wrote: > I have a simple tage extension that I wrote. It currently gets the name of > the article through $_GET['article'] > > However this is an issue where pages that are not the main name space do not > work because $_GET['article'] ends up equaling

Re: [Mediawiki-l] Can I customize my mediawiki to restrict account-creation to people with our school's email address?

2010-05-12 Thread Łukasz Garczewski
On Wed, May 12, 2010 at 10:47 PM, Andrew Gradman wrote: > Hello Mediawiki list, > > I posted this question *in more detail at the Wikipedia Reference > Desk*

Re: [Mediawiki-l] Move files from one wiki to an other

2010-05-12 Thread Łukasz Garczewski
On Wed, May 12, 2010 at 7:26 PM, T4b <00t4...@gmail.com> wrote: > Am 12.05.2010 19:23, schrieb T4b: >> Am 12.05.2010 18:58, schrieb Łukasz Garczewski: >>> On Wed, May 12, 2010 at 6:53 PM, T4b<00t4...@gmail.com>  wrote: >>>> I'm currently transform

Re: [Mediawiki-l] Move files from one wiki to an other

2010-05-12 Thread Łukasz Garczewski
On Wed, May 12, 2010 at 6:53 PM, T4b <00t4...@gmail.com> wrote: > I'm currently transforming  a single language wiki into a multilingual > wiki and I need the files which were already uploaded in the single > language wiki in the pool wiki. Any suggestions on how to do that? Assuming you have no i

Re: [Mediawiki-l] Q: I have sysop but I can't edit stuff

2010-04-16 Thread Łukasz Garczewski
On Fri, Apr 16, 2010 at 1:48 PM, Tom Medhurst wrote: > Thanks Lucas, > Sorry, I forgot to mention that I do not have an edit button on > the MediaWiki:Sidebar page either, just: Message, Discussion, Create, and > Watch. Click "create". :) For the rest of us: is this a usability problem we have h

Re: [Mediawiki-l] Q: I have sysop but I can't edit stuff

2010-04-16 Thread Łukasz Garczewski
On Fri, Apr 16, 2010 at 12:56 PM, Tom Medhurst wrote: > The problem is, when I go to Special:SpecialPages and scroll down; I can't > see anything under Restricted special pages. Also when I goto my > preferences, I only have the permissions: Administrators, Autoconfirmed > users, Bereaucrats, and

Re: [Mediawiki-l] Upgrade to 1.15.2 question

2010-03-31 Thread Łukasz Garczewski
On Wed, Mar 31, 2010 at 3:33 PM, Tolliver wrote: > Hello, > > > Excuse me if my question sounds like a newbie, but I still am; I > inherited the Wiki Server some months ago. I am preparing to upgrade > MediaWiki 1.11.0 to 1.15.2, and we currently have 30 wiki’s. > > My understanding is, I can upgr

Re: [Mediawiki-l] WikiaMiniUpload extension for Wikia: can it be used on MediaWiki?

2010-03-06 Thread Łukasz Garczewski
2010/3/6 Brian J Mingus : > Where can I find this extension? Thanks. It's here: http://trac.wikia-code.com/browser/wikia/trunk/extensions/wikia/WikiaMiniUpload Also, you can find it, working :), on any Wikia site -- just pick one from http://www.wikia.com/ -- then go to edit mode and click the im

Re: [Mediawiki-l] WikiaMiniUpload extension for Wikia: can it be used on MediaWiki?

2010-03-06 Thread Łukasz Garczewski
On Sat, Mar 6, 2010 at 9:09 PM, Antonio Orlando wrote: > Can the WikiaMiniUpload extension for Wikia be used on MediaWiki, out of > the box or even with some hacks? > > I have integrated CKeditor and would like to put a button triggering > WikiaMiniUpload, which is really cool: can this be done, o

Re: [Mediawiki-l] parser function testing skin name?

2010-03-06 Thread Łukasz Garczewski
On Sat, Mar 6, 2010 at 8:25 PM, Jim Tittsler wrote: > On 07/03/10 07:32, Łukasz Garczewski wrote: >> On Sat, Mar 6, 2010 at 12:51 AM, Jim Tittsler wrote: >>> How can I #if test the user's current skin name in a template?  I have a >>> template that I would like t

Re: [Mediawiki-l] parser function testing skin name?

2010-03-06 Thread Łukasz Garczewski
On Sat, Mar 6, 2010 at 12:51 AM, Jim Tittsler wrote: > How can I #if test the user's current skin name in a template?  I have a > template that I would like to include different images based on the > user's skin. Use CSS instead. Seriously. -- Lucas 'TOR' Garczewski Wikia Tech Team ___

Re: [Mediawiki-l] Update wiki page automatically

2010-03-01 Thread Łukasz Garczewski
On Tue, Mar 2, 2010 at 1:39 AM, Gmail wrote: > Hi all, > > We want to update some page automatically from our daily data. I tried > to google for a while, however, I have found any information. > > Could we update any mediawiki page automatically from external programs? Sure. Just use the API.

Re: [Mediawiki-l] message on all user discussion pages

2009-12-25 Thread Łukasz Garczewski
On Sat, Dec 26, 2009 at 12:27 AM, nevio carlos de alarcão wrote: >> >> > is there any extension to do that job os is a bot matter? >> >> http://www.mediawiki.org/wiki/Extension:SiteWideMessages leaves a >> dismissible message on the talk page of all users, or you can leave a >> message only for ce

Re: [Mediawiki-l] Two instances on the same host

2009-12-12 Thread Łukasz Garczewski
On Sat, Dec 12, 2009 at 11:22 AM, Florent Georges wrote: >  Hi, > >  I did not find any info relative to this topic in the doc.  I have two > virtual hosts on a server, accessed by two different domain names.  From the > outside they look exactly as two different servers.  From the inside, they

Re: [Mediawiki-l] ConfirmEdit issues

2009-11-27 Thread Łukasz Garczewski
On Sat, Nov 28, 2009 at 12:13 AM, Thomas Quinet wrote: > Hello All, > > I have (tried) to install ConfirmEdit in my Wiki (www.titje.be). > > I have unzipped and installed the files in /extensions/ConfirmEdit > > I have modified the LocalSettings.php with the following: > require_once( "$IP/extensi

Re: [Mediawiki-l] Email notification in mediawiki

2009-10-09 Thread Łukasz Garczewski
2009/10/9 "André Henke" : > Hi all, > > i am looking for a email notification feature for mediawiki - something > like a daily change summary for all registered user. > How can i enable this? We have that. ;) Well, not *exactly* that, but something you can probably work with. Our GlobalWatchlist

Re: [Mediawiki-l] Moving a namespace

2009-09-28 Thread Łukasz Garczewski
On Monday, September 28, 2009, Javier Bezos wrote: > Hello again, > > How can I move a namespace to a new index? All I want > is to change the index from 106 to 112, so that articles > in this namespace are still found correctly. Off the top of my head, the fastest way would be doing the followin

Re: [Mediawiki-l] just installed mediawiki

2009-09-09 Thread Łukasz Garczewski
On Wed, Sep 9, 2009 at 1:20 PM, Ippokratis Gnostopoulos wrote: > in my computer and I cannot login as administrator! I looked the > localsettings.php to check my username and password and all seems ok. Any > ideas? You do not log in with the username and password found in LocalSettings. Those are

Re: [Mediawiki-l] Change logo according to namespace

2009-08-24 Thread Łukasz Garczewski
On Mon, Aug 24, 2009 at 11:57 PM, Haim (Howard) Roman wrote: > I'd like to change the logo (set by $wgLogo) according to the current > namespace.  But how to get the current namespace?  The only way I can see is > to call getNamespace(), e.g., in the Wiki.php of my wiki: > > $ret = Title::newFromUR

Re: [Mediawiki-l] Multilingual Magic Words?

2009-08-24 Thread Łukasz Garczewski
On Mon, Aug 24, 2009 at 11:05 PM, John Thomson wrote: > Hi all, > > I manage a private wiki for an organization whose users are both English > and French.  They would like to be able to use some of the Date & Time > variable Magic Words, having the results displayed in the users' > language of choi

Re: [Mediawiki-l] page appears in both NS_MAIN and NS_PROJECT

2009-08-09 Thread Łukasz Garczewski
On Sun, Aug 9, 2009 at 8:01 PM, wrote: > On http://radioscanningtw.wikia.com/wiki/Special:Allpages do you see > the page台描:頻率間隔 ? > > Well, this is a rare case of a page that was created with a prefix that > would later match NS_PROJECT. > > I.e., not waiting for them to change $wgSitename first,

Re: [Mediawiki-l] query on deleteBatch.php

2009-07-25 Thread Łukasz Garczewski
On Sat, Jul 25, 2009 at 1:11 PM, sirisha mosalikanti wrote: > When I give only the page title, I get the following error. > *Fatal error: Call to a member function getText() on a non-object in > /var/www/mediawiki/extensions/accesscontrol.php on line 594 > > *This line actually tries to substring o

Re: [Mediawiki-l] query on deleteBatch.php

2009-07-25 Thread Łukasz Garczewski
On Sat, Jul 25, 2009 at 12:47 PM, sirisha mosalikanti wrote: > Hi all, > I have Mediawiki 1.13.3 and semantic mediawiki 1.4.1 on ubuntu server > 2.6.17-9-server. > > When I try using deleteBatch.php script in /maintenance/ > to delete a page, it says, > "skipping non-existent page" even when the pa

Re: [Mediawiki-l] How to export all articles from MW 1.7.1 to MW 1.12.0?

2009-05-13 Thread Łukasz Garczewski
On Wed, May 13, 2009 at 5:53 PM, Thomas Anderson wrote: > I had a local Mediawiki 1.7.1 installation on my client Debian 4.0 > Etch computer. I bought a new computer and run Mediawiki 1.12.0 and > Debian 5.0 Lenny on it. I've mounted the old harddrive on the new > computer. What would be the easie