Re: [Mediawiki-l] Strange error that shouldn't theoretically happen

2009-08-27 Thread Michael Daly
Juliano F. Ravasi wrote: > Detected bug in an extension! Hook WikilogHooks::UnknownAction > failed to return a value; should return true to continue hook > processing or false to abort. Someone reported a similar bug with FlaggedRev (on msusers.com). I didn't look at the code

Re: [Mediawiki-l] How do you remove edit buttons from the toolbar?

2009-08-16 Thread Michael Daly
Ekompute .info wrote: > If it ever happens, at least I am forewarned. It happened to me with a function in either the 12 to 13 or the 13 to 14 upgrade. I simply put into bugzilla a request to undo the restriction and it was reversed. In my case it was an obvious (to me) example of a functio

Re: [Mediawiki-l] How do you remove edit buttons from the toolbar?

2009-08-16 Thread Michael Daly
Ekompute .info wrote: > Hi Mike, I amended the following parts: > if( $this->iscontent ) { > $subjpage = $this->mTitle->getSubjectPage(); > $talkpage = $this->mTitle->getTalkPage(); > [...] > 'useful_links', $this->mTitle->getNamespace() == 112 && > !$prevent_active_tabs,'', true); > } So it would

Re: [Mediawiki-l] How do you remove edit buttons from the toolbar?

2009-08-16 Thread Michael Daly
Ekompute .info wrote: > Alternatively, how about having a second copy of SkinTemplate.php in the > relevant skin folder and then redirecting the reference to point to the > correct SkinTemplate? I don't know what code changes you're referring to, however, you can probably take advantage of the f

Re: [Mediawiki-l] What is the ideal width for a Mediawiki skin?

2009-08-13 Thread Michael Daly
Ekompute .info wrote: > Would centering a 1024px banner do? I > was thinking of a banner with two parts so that the empty space in the > middle could stretch. It would depend entirely on how the skin looks and how the layout is done. I can't say without seeing the page. Mike

Re: [Mediawiki-l] What is the ideal width for a Mediawiki skin?

2009-08-12 Thread Michael Daly
Ekompute .info wrote: > If I have a > choice, I rather prefer to have a flexible width that fills up any > browser up to 1024px. But then again, how about the banner? Won't it > look awful if I set it at 1024px according to my present screen > resolution and someone uses another resolution? Have

Re: [Mediawiki-l] Debugging: Checking the value of a variable

2009-08-10 Thread Michael Daly
Eric K wrote: > Suppose I have a variable called $Test_int, somewhere in the mediawiki > extension that I'm trying to make. Whats the easiest way to know what value > that variable has been assigned? > I've tried $wgOut but in this case, it probably outputs wgOut but its all > gone in the blink

Re: [Mediawiki-l] MW v. 1.15.1 - How do I safely delete a user?

2009-07-14 Thread Michael Daly
2...@gmaskfx.com wrote: > Because these annoying spambots have created at least a hundred user accounts Install the SpamBLacklist extension and a Captcha extension (reCaptcha is one I like and it helps resolve scanned document text). That gets rid of the majority of spammers. Mike _

Re: [Mediawiki-l] Forgot my password

2009-07-01 Thread Michael Daly
a...@yawez.com wrote: > I see. So say I decided to use the the maintenance script to get my password, > where would I > enter the "php changePassword.php --user='username' --password='foo'" in > changePassword.php? http://www.mwusers.com/wiki/index.php?title=Running_maintenance_scripts __

Re: [Mediawiki-l] php API query <- possible?

2009-06-19 Thread Michael Daly
lly > > But it dosnt work. > I get some error about a hook function missing or something. > > But I would love it if it could work this easily. > > > On Jun 19, 2009, at 9:28 PM, Michael Daly wrote: > >> Adam Meyer wrote: >> >>> Is this doable?

Re: [Mediawiki-l] php API query <- possible?

2009-06-19 Thread Michael Daly
Adam Meyer wrote: > Is this doable? There may be a better way to do this, but... In PHP, you can get the wiki page as if it was a file: $myPageUrl ="http://example.com/api.php?action=parse&text={{:Main Page}}__TOC__&prop=sections"; // set to 20 second timeout then restore. $currentTimeout = in

Re: [Mediawiki-l] API - getting the last section, or listing sections

2009-06-19 Thread Michael Daly
Adam Meyer wrote: > Anyone know of anything like this in the API?. http://example.com/api.php?action=parse&text={{:Main Page}}__TOC__&prop=sections Should do it. Replace the text "Main Page" in the example with the actual name of the page you're interested in. Mike _

Re: [Mediawiki-l] $wgHTTPProxy

2009-06-19 Thread Michael Daly
Q wrote: > Enrique wrote: >> I'm configuring $wgHTTPProxy = true; for CURL request and >> $wgForeignFileRepos to see remote images on my local wikipedia i don't >> know where set the our proxy ip address , because the curl is sending >> request to 0.0.0.1: >> heres go an lines of my debug log > >

Re: [Mediawiki-l] 2 instances of Wiki on 1 server

2009-06-17 Thread Michael Daly
David Price wrote: > What is best practice for having multiple Wiki's running on one server? Look at http://www.mediawiki.org/wiki/Manual:Wiki_family. This will give you several options. Personally, I prefer multiple wikis with each having its own prefix. I also created a "pool" or common w

Re: [Mediawiki-l] 2 instances of Wiki on 1 server

2009-06-17 Thread Michael Daly
Sullivan, James (NIH/CIT) [C] wrote: > I also install Mediawiki in separate paths but use separate databases so no > need for prefixes. I prefer this since I can backup and restore the databases > separately, making each wiki independent of the other should something like > corruption happe

Re: [Mediawiki-l] Infoboxes on other wikis

2009-06-14 Thread Michael Daly
Andreas Rindler wrote: > Is anyone aware of some simple instructions on how to copy the templates and > what extensions or configuration are required? If you search for "infobox" in the forums on mwusers.com, you will find lots of discussion on this topic. The key solution steps are: 1 - Insta

Re: [Mediawiki-l] "in other languages" in LocalSettings.php?

2009-06-09 Thread Michael Daly
Jack Bates wrote: > To help translators, I want to put links to translations of the current > article in the sidebar (whether the translations exist yet or not) Just create an empty article containing nothing but the interwiki link for the language. Mike __

Re: [Mediawiki-l] Vertical Test in MediaWiki

2009-06-09 Thread Michael Daly
Platonides wrote: > Some text > > If you can do it with HTML, you almost always can do it in the wiki. > If you can't do it in HTML, you probably can't do it in the wiki. Annoyingly, HTML's align="top" and CSS's "vertical-align: top" aren't quite the same thing and aren't guaranteed to give the

Re: [Mediawiki-l] Custom Login Page Content

2009-05-29 Thread Michael Daly
Robert Cummings wrote: > Hi all, > > Is there an easy way to add custom content to the login page of my wiki? > The MediaWiki:Login page is just the navigation content. The "boilerplate" Mediawiki text on any page can be changed. If you go to Special Pages and then System Messages, you'll find

Re: [Mediawiki-l] [PATCH] anonymous editing

2009-05-29 Thread Michael Daly
jida...@jidanni.org wrote: > How about putting on the Main_Page: > > To edit anonymously, [[Special:Login..|login]] with > User: anonymous > Password: anonymous Or the relatively common *nix approach of "guest" login. Mike ___ MediaWiki-l mailing

Re: [Mediawiki-l] [PATCH] anonymous editing

2009-05-26 Thread Michael Daly
Hanno Böck wrote: > > Attached is a patch to mediawiki that adds a new option > $wgDontSaveIPs It's a bad idea to use a negative in a name. In English, it makes for confusing program statements with double negatives ( e.g. not don't save) It would be better to use a name like: $wgSaveIPs an

Re: [Mediawiki-l] MediaWiki release candidate 1.15.0rc1

2009-05-17 Thread Michael Daly
Steve VanSlyck wrote: > Living creatures do not come in genders. They come in sexes. It is perfectly correct, in the English language and in the context of human beings, to refer to this as gender. Sociologically speaking, one's gender is not necessarily the same as one's sex. Mike _

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

2009-05-13 Thread Michael Daly
£ukasz Garczewski wrote: > On Wed, May 13, 2009 at 5:53 PM, Thomas Anderson > wrote: >> What would be the easiest way to import all the old articles >> into my new installation, with preserved history? It's about 50 >> articles. > > The easiest way would probably be to setup your new installation

[Mediawiki-l] [SPAM] Re: Importing MySQL tables

2009-05-05 Thread Michael Daly
Ekompute .info wrote: > Hi, I backed up two tables (category, and categorylinks) from my database > and export it into another. Both wikis uses the same Mediawiki Version 1.14. > Although I do see that the two tables are uploaded, I cannot access them. Is > there something that I miss? Do the tabl

[Mediawiki-l] [SPAM] Re: Tell maintenance scripts our URL via LocalSettings

2009-05-04 Thread Michael Daly
jida...@jidanni.org wrote: > Michael Daly writes: > >> why not just eliminate it altogether and put both sets of ID info into >> LocalSettings.php without saying they have to be the same? > > Yes, that's what > http://www.mediawiki.o

[Mediawiki-l] [SPAM] Re: Tell maintenance scripts our URL via LocalSettings

2009-05-03 Thread Michael Daly
jida...@jidanni.org wrote: > I have taken the wild step of telling people the two files can be > combined into one: > http://www.mediawiki.org/wiki/Manual:AdminSettings.php#Merging_with_LocalSettings.php > , If you're going to do that, why do you assume that there need only be one user? If you

[Mediawiki-l] [SPAM] Re: [SPAM] Re: Can I put the AdminSettings jazz into LocalSettings?

2009-05-02 Thread Michael Daly
Darren VanBuren wrote: > The script won't show everyone the DB credentials. The script simply > assigns the variables. Nothing more. But you have to ensure that the web server doesn't serve up the AdminSettings file to anyone who wants to look. You also have to ensure that the web server isn't

[Mediawiki-l] [SPAM] Re: Can I put the AdminSettings jazz into LocalSettings?

2009-05-02 Thread Michael Daly
jida...@jidanni.org wrote: > Michael Daly writes: >> Why not put the server URL into AdminSettings.php where all the other >> maintenance script info goes? No sense using LocalSettings.php for nothing. > > Say, can I put the AdminSettings contents into LocalSettings a

[Mediawiki-l] [SPAM] Re: Transplant help?

2009-05-01 Thread Michael Daly
Jentzen Mooney wrote: > Also I was wondering if I create a new wiki from 1.14 do you recommend > setting up the SVN repository if I plan to upgrade in the coming months > or years? I don't use SVN for upgrades, just for supporting an extension I wrote. When upgrading, I just download the zip

[Mediawiki-l] [SPAM] Re: Transplant help?

2009-05-01 Thread Michael Daly
Jentzen Mooney wrote: > I has be brought to my attention that the wiki installed is > mediawiki-1.6.8. I would like to using all the new included stuff in the > current wiki version like API,etc... > I have read about the trickiness of upgrading your wiki if you are below > a certain version,

[Mediawiki-l] [SPAM] Re: Tell maintenance scripts our URL via LocalSettings

2009-04-30 Thread Michael Daly
jida...@jidanni.org wrote: > Several maintenance scripts wish to use the URL of the server, [...] > Would the solution be to officially say that if the user intends to use > maintenance scripts, he should have something like > https://bugzilla.wikimedia.org/show_bug.cgi?id=18274#c6 > in LocalSettin

[Mediawiki-l] [SPAM] Re: Restore older database to Mediawiki 1.14

2009-04-17 Thread Michael Daly
Verhoeven, Peter wrote: > Hi, > > I want to restore a Mediawiki 1.13 database to a Mediawiki 1.14 > database. > Is this possible? Restore, then run the update.php script to convert it to 1.14. Mike ___ MediaWiki-l mailing list MediaWiki-l@lists.wikim

[Mediawiki-l] [SPAM] Re: WG: How to correctly set up timezone with DST

2009-04-06 Thread Michael Daly
Simon Walker wrote: >> heiner.wulfho...@intermoves.de schrieb am 06.04.2009 12:53: >>> It would be great if there was a note >>> telling the user that "server time" is meant as UTC without any Timezone >>> information. > > Does one of the system messages (MediaWiki namespace) not provide the > cap

[Mediawiki-l] [SPAM] Re: Upgrading Mediawiki

2009-03-30 Thread Michael Daly
Ekompute .info wrote: > Maybe I ought to execute update.php, as has been mentioned many > times previously, although I set up using the Mediawiki installer. As has been mentioned before - if you run the installer, the installer should have run the update.php script. I've never run the installer

[Mediawiki-l] [SPAM] Re: Upgrading Mediawiki

2009-03-29 Thread Michael Daly
Ekompute .info wrote: > I cannot run the update script in my shared hosting. The solution to your problem is to find a better hosting service. If you can't run the update script, you can't upgrade. Mike ___ MediaWiki-l mailing list MediaWiki-l@list

[Mediawiki-l] [SPAM] Re: Upgrading Mediawiki

2009-03-29 Thread Michael Daly
Ekompute .info wrote: > I wonder whether > it is because I changed the name of my database as I didn't want to corrupt > the original one. I've upgraded my wiki many times and never had a problem. I also follow the instructions and don't try to do things that are not in the upgrade instruction

[Mediawiki-l] [SPAM] Re: Reinstalling in place

2009-03-25 Thread Michael Daly
David Gerard wrote: > Our intranet wiki is MediaWiki 1.11. Someone did something unknown to > it and a pile of stuff doesn't work (JPEG upload, for instance - see > previous messages on this topic). I tried an upgrade to the latest > stable version and it failed! Clearly, something is deeply messed

[Mediawiki-l] [SPAM] Re: allowing mediawiki access from one IP-address only

2009-03-23 Thread Michael Daly
Daniela Lentge wrote: > Now, we want to restrict access to our mediawiki from > this salesform platform via ip-restriction only. Does anyone know, if this > ist possible and how to do it? Could you please point me to further > information on it? You can do this in the web server's configuration.

[Mediawiki-l] [SPAM] Re: Re: Problem with upgrading form Mediawiki 1.10 to 1.14

2009-03-21 Thread Michael Daly
Ekompute .info wrote: > Hi Mike, thank you very much for your response. I may have overlooked it > after I didn't quite understand what it means. Now, it is getting clearer. > The oversight is deeply regretted. I will try to ask my webhost to read it > and then run AdminSettings.php for me after I

[Mediawiki-l] [SPAM] Re: Problem with upgrading form Mediawiki 1.10 to 1.14

2009-03-21 Thread Michael Daly
Ekompute .info wrote: > Hi Platonides, how do it use update.php with phpAdmin, or is it MySQL? > This has been answered in messages to you before. Here's a summary of the steps you need to take: http://www.mwusers.com/wiki/index.php?title=Running_maintenance_scripts Mike ___

[Mediawiki-l] [SPAM] Re: Problem with upgrading form Mediawiki 1.10 to 1.14

2009-03-18 Thread Michael Daly
Ekompute .info wrote: > Hi, thank you very much for your response. Sounds like from the frying pan > into the fire, LOL. Anyway, I think I will just use the good old method, ie. > transfer the files one by one. May take me months, but I think I will just > do that. If your hosting service tells yo

[Mediawiki-l] [SPAM] Re: Re: Database corruption

2009-03-08 Thread Michael Daly
Ekompute .info wrote: > Hi Schnee. Thank you very much for your advice. Actually rerunning the web > installer was what I did. > > I will see if my webhost can help me to run the script as suggested by Mike. > So far, they have been very helpful, unless this takes a lot of their time. If you ran

[Mediawiki-l] [SPAM] Re: [SPAM] Re: Database corruption

2009-03-08 Thread Michael Daly
Ekompute .info wrote: > If you see this > homepageusing > Firefox (IE shows a blank page), the problem is with only 2 lines in > the includes/media/Bitmap.php file, i.e.: I don't see any problem. What am I supposed to see? I certainly

[Mediawiki-l] [SPAM] Re: Database corruption

2009-03-08 Thread Michael Daly
Ekompute .info wrote: > **I tried to restore the database but apparently, the same errors still > remain. When you restored the database, did you run the update.php script in /wiki/maintenance/? If so, check that the database does not contain a table in need of repair. Check the MySQL manual

[Mediawiki-l] [SPAM] Re: Perte des mots de passe/Lost passwords

2009-03-05 Thread Michael Daly
Julien Pedrono wrote: > I'm really used to change my password through mysql command line, Why not just use the changePassword.php script in /wiki/maintneance/? Mike ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia

Re: [Mediawiki-l] Unable to upload XLS [was:(no subject)]

2008-12-22 Thread Michael Daly
Christensen, Courtney wrote: > Are you using Office 2007? I've heard there is something screwy with the > mime-type from that. Or more generally, Dave, do you have the proper mime settings for XLS in MW config? Mike ___ MediaWiki-l mailing list

Re: [Mediawiki-l] Media Wiki log files and querying MySQL

2008-12-11 Thread Michael Daly
Jan Steinman wrote: >> From: Linda Rose >> >> I'd also like to query the MySQL database to see if the image files >> are >> actually being deployed to the database. > > I'm probably misunderstanding, but image files are not stored in the > database. They are in a hashed directory structure, w

Re: [Mediawiki-l] mediawiki issues

2008-12-01 Thread Michael Daly
Platonides wrote: > Platonides wrote: >> Mixed wiki/html tables are not supported anymore. It was changed a long >> time ago, look on the mailing list archives for the exact announce. > > Not really, your exaple is working on Wikipedia :S > Then, even though your host has Tidy enabled, your wiki

Re: [Mediawiki-l] mediawiki issues

2008-12-01 Thread Michael Daly
K. Peachey wrote: > its having issues with mixed wiki/html tables. Add the missing templates and that will likely clear up. Mike ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [Mediawiki-l] mediawiki issues

2008-11-30 Thread Michael Daly
Sly Cooper wrote: > I am just trying to figure out why it randomly decides to ignore HTML tags It doesn't. If you click on *edit* for that template and look down at the bottom of the page, you'll see a list of the templates used in Template:Infobox_Country. You're missing quite a few of those

Re: [Mediawiki-l] Newbie question - Move from Ubuntu to Windows

2008-11-20 Thread Michael Daly
Menachem Bazian wrote: > Which is precisely my problem. This has already been installed and used. I > need to move it FROM ubuntu to Windows. Is there any guide on where things > are when installed from the .deb? You only need to move the database contents. The MW code is essentially the same.

Re: [Mediawiki-l] CSS not being applied on unix firefox

2008-11-19 Thread Michael Daly
Schuh, Peter wrote: > Clearing firefox's cache and reloading fixes the problem. Has anyone heard > of this happening? I've seen this on rare occasions with Windows Firefox. It appears that in some instances, the CSS files are not served (or Firefox gives up waiting for them and displays the