[MediaWiki-l] Re: MySQL backup and consistency of database and dump file

2023-04-01 Thread Benjamin Lees
--lock-tables is enabled by default for mysqldump. --single-transaction offers a way to get a consistent dump without locking tables, but the tables have to support transactions (which InnoDB does and MyISAM does not). You should probably use --single-transaction if you can. The mediawiki.org

[MediaWiki-l] Re: array syntax

2023-02-13 Thread Benjamin Lees
Hi Roger, that's still the syntax. What are the errors you're getting? On Tue, Feb 14, 2023 at 12:15 AM wrote: > Hello, > > I have some array declarations in my LocalSettings.php from many years ago > that I am worried may not be compatible with PHP 8+. When I try to run >

[MediaWiki-l] Re: Unable to upgrade to 1.38.x from 1.37.x

2022-07-04 Thread Benjamin Lees
gt; Jeffrey T. Darlington > General Protection Fault > https://www.gpf-comics.com/ > > On Mon, Jul 4, 2022 at 2:07 AM Benjamin Lees wrote: > >> Pretty strange, since the error in question literally checks >> "$wgBaseDirectory !== MW_INSTALL_PATH". Maybe there's

[MediaWiki-l] Re: Unable to upgrade to 1.38.x from 1.37.x

2022-07-04 Thread Benjamin Lees
t; Jeffrey T. Darlington > General Protection Fault > https://www.gpf-comics.com/ > > On Sun, Jul 3, 2022 at 2:57 PM Benjamin Lees wrote: > >> Hi Jeffrey, I think this is indeed the same issue as in the previous >> thread: >> https://lists.wikimedia.org/hyperkitty/list/

[MediaWiki-l] Re: Unable to upgrade to 1.38.x from 1.37.x

2022-07-03 Thread Benjamin Lees
Hi Jeffrey, I think this is indeed the same issue as in the previous thread: https://lists.wikimedia.org/hyperkitty/list/mediawiki-l@lists.wikimedia.org/thread/5YKDMFRHANRXKFDLWGLHXTGWSOW7V676/ Of course, you have reached the point where I didn't have a way forward. :-) A bit of background

[MediaWiki-l] Re: update.php failed for mediawiki-1.38.0

2022-06-06 Thread Benjamin Lees
s/Timeless/skin.json in > /srv/http/wiki.intranet.xyz > .tld/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php:182 > > This time the software is right. Means, there is no "skin.json" in none > of the directories of the skins I am using... > > > On 06.06.22 00:3

[MediaWiki-l] Re: update.php failed for mediawiki-1.38.0

2022-06-05 Thread Benjamin Lees
with > pattern like wfLoadExtension( 'Cite' ); . > > I updated this installalation a few days ago from 1.36.0 to 1.36.2 > without having any issues. The bug suddenly appears when updating from > 1.36.2 to 1.38.0. > > > On 04.06.22 08:51, Benjamin Lees wrote: > > Are you s

[MediaWiki-l] Re: update.php failed for mediawiki-1.38.0

2022-06-04 Thread Benjamin Lees
Are you setting $wgExtensionDirectory in LocalSettings.php? It sounds like it's been set to the root directory instead of the extensions directory. On Fri, Jun 3, 2022 at 2:48 PM Stefanie Leisestreichler < stefanie.leisestreich...@peter-speer.de> wrote: > Hi. > When looking at the error message

Re: [MediaWiki-l] Unknown: file created in the system's temporary directory

2021-04-14 Thread Benjamin Lees
I am not sure this necessarily refers to the upload temp directory. Anyway, did you look at https://bugs.php.net/bug.php?id=74189 ? (The port used in that log entry appears to be the one that Gitblit defaults to, incidentally.) On Thu, Apr 8, 2021 at 3:48 PM Jeffrey Walton wrote: > Hi Everyone,

Re: [MediaWiki-l] Configuration

2021-03-30 Thread Benjamin Lees
Bonjour/hi, you can leave the database prefix blank, if I understand your question correctly. On Mon, Mar 29, 2021, 11:17 AM mailou wrote: > Bonjour, > Je ne comprends pas le système de configuration personnellement j'ai: > > Nom d'utilisateur, Nom de la base, Adresse du serveur, au lieu de: >

Re: [MediaWiki-l] MW 1.34 cleanupUsersWithNoId.php may be out of sync

2020-04-20 Thread Benjamin Lees
Hi Jeffrey, see the deprecation notice on < https://www.mediawiki.org/wiki/Manual:Archive_table#ar_user> and the documentation at . Emufarmers On Mon, Apr 20, 2020 at 5:36 PM Jeffrey Walton wrote: > Hi Everyone, > > We upgraded to MW 1.34.1.

Re: [MediaWiki-l] How to temp ban hosts based on requests

2020-04-20 Thread Benjamin Lees
On Sun, Apr 19, 2020 at 7:48 PM Jeffrey Walton wrote: > It seems like Mediawiki should know it is incorrect for someone to > request load.php. The request should be killed in the application. > Mediawiki has the specialized knowledge required to stop the > shenanigans. > > load.php is meant to

Re: [MediaWiki-l] Help with project

2020-03-02 Thread Benjamin Lees
Actually, I think I've found something that might help Pedro. I will send it to him off-list, though, since this isn't really MediaWiki-related. :-) Emufarmers On Mon, Mar 2, 2020 at 3:00 PM Benjamin Lees wrote: > Hi Pedro, Hackteria is a wiki unaffiliated with the Wikimedia projects,

Re: [MediaWiki-l] Help with project

2020-03-02 Thread Benjamin Lees
Hi Pedro, Hackteria is a wiki unaffiliated with the Wikimedia projects, so your login from Wikipedia won't work. It appears they've disabled registration entirely for the wiki. You could contact whoever runs the site and ask for an account; MediaWiki does have a feature to allow you to email

Re: [MediaWiki-l] MobileFrontend problems

2016-06-22 Thread Benjamin Lees
The 1.26 version of the extension doesn't use the new syntax, so you should probably use it instead of the master version. On Wed, Jun 22, 2016 at 2:20 PM, Bartosz Dziewoński wrote: > It looks like the current version of MobileFrontend requires PHP 5.5. The > specific error

Re: [MediaWiki-l] How to get the top-3 viewed wiki page?

2016-04-11 Thread Benjamin Lees
MediaWiki used to include a built-in feature for counting views. Unfortunately, there were some fundamental problems with the way it was implemented, so it was removed. If you want the feature and are okay with those problems, you can install this extension:

Re: [MediaWiki-l] 1.26.2 : web updater displays index.php without styles and can't find an existing installation

2016-04-07 Thread Benjamin Lees
Maybe your URL configuration is tripping it up. What does the error log say? https://www.mediawiki.org/wiki/Manual:How_to_debug On Wed, Apr 6, 2016 at 1:36 PM, A. Johannsen, vij Koordination wrote: > Dear all, > > I have a problem with updating mediawiki 1.18.1 to the

Re: [MediaWiki-l] PAGESINCATEGORY discrepancy

2016-02-15 Thread Benjamin Lees
I purged[0] the first page, and it shows 405 now. The category page still shows 397, because it only counts files categorized in it, while PAGESINCATEGORY counts subcategories too. You probably want to use {{PAGESINCATEGORY:Order.gif stroke order images|files}} instead. [0]

Re: [MediaWiki-l] Problem with upload directory outside web root

2016-01-17 Thread Benjamin Lees
On Sun, Jan 17, 2016 at 7:30 PM, Jon Theil Nielsen wrote: > Uploads should be outside the web root. To keep it organized and to save > space on the servers drive. I don't see how space-saving comes into it (though it could help for putting all the space on a different drive).

Re: [MediaWiki-l] problem following 1.16 to 1.25 conversion

2015-11-20 Thread Benjamin Lees
You might want to fiddle with $wgDBTableOptions.[0] The current default is different from what you have. [0] https://www.mediawiki.org/wiki/Manual:$wgDBTableOptions On Wed, Nov 18, 2015 at 12:08 AM, kkm wrote: > Below is my LocalSettings.php w/ sensitive info (e.g.,

Re: [MediaWiki-l] no external image displayed by adding $wgAllowExternalImages = true

2015-10-17 Thread Benjamin Lees
With $wgAllowExternalImages, you don't use the [[ ]] internal link format. Instead, you just put the image link by itself. So a line with just http://www.hiastar.com/images/banners/Sangoma-Certified_Cards_Badge.jpg will work. If you want it to be a link, use the [ ] external link format.

Re: [MediaWiki-l] Collection extension

2015-10-07 Thread Benjamin Lees
You can choose which version of the extension to download: https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Collection On Wed, Oct 7, 2015 at 12:38 AM, Poopak Alaeifar wrote: > Hi All, > Is there anyway to have the collection extension installed on mediawiki 1.23

Re: [MediaWiki-l] newbie help?

2015-08-19 Thread Benjamin Lees
You need to increase $wgMaxImageArea. https://www.mediawiki.org/wiki/Manual:$wgMaxImageArea On Wed, Aug 19, 2015 at 12:27 AM, Dave Stevens g...@uniserve.com wrote: I've used cpanel to install mediawiki at kvmf.ca/wiki I want to post an image and can't. I've uploaded the image to

Re: [MediaWiki-l] New install - can upload - but no pics show

2015-08-10 Thread Benjamin Lees
Since there's a 500 error, there should be an entry in the server error log. If you're lucky, it might even be something helpful. :) https://support.hostgator.com/articles/specialized-help/technical/apache-htaccess/can-i-access-my-apache-log-files On Sun, Aug 9, 2015 at 7:15 PM, Brion Vibber

Re: [MediaWiki-l] use ssl to access the database

2015-07-26 Thread Benjamin Lees
https://www.mediawiki.org/wiki/Manual:$wgDBssl On Sat, Jul 25, 2015 at 8:51 PM, Tim Dunphy bluethu...@gmail.com wrote: Hi all, I just added a remote database to my media wiki setup. I can access the database from the command line and using that info the wiki site shows up in a browser and

Re: [MediaWiki-l] Web host blocking policy

2015-07-26 Thread Benjamin Lees
On Sun, Jul 26, 2015 at 5:26 AM, Mathieu Stumpf psychosl...@culture-libre.org wrote: While do occasionally launch a web service, this is my home IP where I currently don't run permanently such a service. So a first technical concern is, does this filter does have a good pattern recognition

Re: [MediaWiki-l] Mediawiki 1.25 installation hangs

2015-07-23 Thread Benjamin Lees
On Wed, Jul 22, 2015 at 6:29 PM, Jim Long ja...@umpquanet.com wrote: ... or ways to produce a verbose logging trail? I would expect something in the Apache error log for this But I would also expect MediaWiki to whine or just give you a white screen right away, so this is pretty strange. Is

Re: [MediaWiki-l] Mediawiki portability

2015-06-10 Thread Benjamin Lees
Hi Juuso! On Tue, Jun 9, 2015 at 11:28 AM, juke - zar...@hotmail.com wrote: Does the import to other wiki platform depend on a platform, or is it possible to just take a SQL and XML dumps and import those to some other wiki platform? It depends on the platform. There are all sorts of

Re: [MediaWiki-l] restoring old database for the current wiki

2015-05-20 Thread Benjamin Lees
Your database dump includes the email addresses and password hashes of users. You probably don't want to make it publicly available. Anyway, MediaWiki stores images on the file system, rather than in the database, so if you don't have a dump of the files, they're gone for good. On Wed, May 20,

Re: [MediaWiki-l] runJobs memory

2015-04-29 Thread Benjamin Lees
On Tue, Apr 28, 2015 at 2:37 PM, Peter Presland pe...@wikispooks.org wrote: php.ini memory_limit is set at 1000M. So can somebody tell what exactly is setting a max memory size of only 256K for this script? You might have multiple PHP config files, one for the CLI and one for Apache.

Re: [MediaWiki-l] Thumbnail error

2015-04-14 Thread Benjamin Lees
The error sounds like it might be that the target directory isn't writable. If you haven't changed $wgUploadDirectory, that will be the /images (and /images/thumb) directory in your main MediaWiki directory. Then again, I don't know if things are the same with Bitnami. :\ On Tue, Apr 14, 2015

Re: [MediaWiki-l] Still having problems with Reset password functionality in 1.22.x

2015-02-23 Thread Benjamin Lees
It uses one field, not both. If you want it to use the email address, do not fill in the username. On Mon, Feb 23, 2015 at 8:19 AM, Rowe, Dolores A dolores.a.r...@boeing.com wrote: Shouldn't it be able to use the email address I have just filled in to send the user a new password, even if

Re: [MediaWiki-l] User Right Issues and Special:SpecialPages Blank

2015-02-05 Thread Benjamin Lees
On Thu, Feb 5, 2015 at 4:35 PM, Stefen Moss stefenmo...@gmail.com wrote: Looking over the error log after getting in contact with the person that is hosting it the following appears the most: [24-Jan-2015 03:05:03 America/New_York] PHP Warning: mysql_connect() [a

Re: [MediaWiki-l] Upgrade vom 1.12.0 to current version

2015-02-02 Thread Benjamin Lees
On Mon, Feb 2, 2015 at 7:43 AM, Marc Patermann hans.mo...@ofd-z.niedersachsen.de wrote: The error is: Table 'wikidb.watchlist' doesn't exist (localhost) It sounds like your database dump is missing the watchlist table. Make a new dump and make sure the watchlist table is actually in there.

Re: [MediaWiki-l] America/New_York] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted

2014-11-12 Thread Benjamin Lees
To elaborate, if you are receiving that error, PHP thinks your memory limit is 40MB. Your host might have a separate php.ini file for the PHP CLI (as opposed to when it's run through the web server). On Wed, Nov 12, 2014 at 8:44 AM, Rob Kam rob...@ymail.com wrote: and memory_limit = 195M

Re: [MediaWiki-l] Off topic: Wiki spammer is using spoofed IP addresses???

2014-10-24 Thread Benjamin Lees
On Fri, Oct 24, 2014 at 3:25 PM, Al alj62...@yahoo.com wrote: 226 is out of range for IPs and so isn't even a valid IP address. I don't think that's correct. The max is 255, not 225. ___ MediaWiki-l mailing list To unsubscribe, go to:

Re: [MediaWiki-l] Merging two existing wikis in a wiki-farm?

2014-10-17 Thread Benjamin Lees
You probably don't need to worry about the farm/family stuff. Just move your second wiki onto the server you're keeping: https://www.mediawiki.org/wiki/Manual:Moving_a_wiki On Fri, Oct 17, 2014 at 3:08 AM, Katharina Wolkwitz wolkw...@fh-swf.de wrote: Hello everybody, I've been set the task

Re: [MediaWiki-l] Changing email over to site name the cracking of dynamic questions for the ConfirmEdit extension.

2014-09-11 Thread Benjamin Lees
On Thu, Sep 11, 2014 at 7:06 PM, chris tharp tharpena...@gmail.com wrote: Today I had to change my wiki over to only allowing edit post email confirmation and in the process I noticed the email says Mediawiki Mail. I'm looking for the quickest way to change the email over to saying my site

Re: [MediaWiki-l] Images disappearing (recurrent problem), ?memory management

2014-09-09 Thread Benjamin Lees
If you think you're running out of memory, you should try to figure out where it's all going. Try ps aux. ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Images disappearing (recurrent problem), ?memory management

2014-09-08 Thread Benjamin Lees
What image thumbnailer are you using? Have you enabled $wgUseImageMagick? ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] How to fix autodiscovery error

2014-09-07 Thread Benjamin Lees
What is the error? :) ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] dumpHTML not worknig

2014-08-20 Thread Benjamin Lees
On Tue, Aug 19, 2014 at 7:06 PM, ban...@openmailbox.org wrote: PHP Fatal error: Cannot access protected property LocalRepo::$thumbScriptUrl in /var/www/w/extensions/DumpHTML/dumpHTML.inc on line 1163 Are you using the version of dumpHTML that's designated for the version of MediaWiki you

Re: [MediaWiki-l] AbuseFilter block duration - can it be made different for IPs?

2014-08-03 Thread Benjamin Lees
It looks like this functionality is actually present, just not documented. Set $wgAbuseFilterAnonBlockDuration. ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Forms inside the wiki

2014-07-11 Thread Benjamin Lees
On Thu, Jul 10, 2014 at 10:09 PM, Chris Tharp tharpena...@gmail.com wrote: On another note, can SOMEONE connected with Mediawiki.org fix the Extension Matrix? After all it's only been October 2013 that it hasn't worked.

Re: [MediaWiki-l] ImageMap

2014-05-15 Thread Benjamin Lees
Did you try the tools listed on the extension page? https://www.mediawiki.org/wiki/Extension:ImageMap#See_also ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Where to publish

2014-05-13 Thread Benjamin Lees
https://www.mediawiki.org/wiki/Snippets ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] MediaWiki hooks and event handlers (was: MediaWiki hooks and params)

2014-03-17 Thread Benjamin Lees
On Mon, Mar 17, 2014 at 5:56 PM, Amelia Ireland amelia.irel...@gmod.orgwrote: Perhaps someone can help me sort out the syntax for writing an event handler that modifies an existing value. I believe you want the ampersands in the function definition, not the function call.

Re: [MediaWiki-l] Error message is new to me during FileUpload

2014-03-08 Thread Benjamin Lees
Is safe_mode enabled? Is the disk full? :-) On Fri, Mar 7, 2014 at 10:04 AM, John Foster jfoster81...@verizon.netwrote: On Thu, 2014-03-06 at 10:56 -0500, Benjamin Lees wrote: On Wed, Mar 5, 2014 at 12:37 PM, John Foster jfoster81...@verizon.net wrote: Could not create directory

Re: [MediaWiki-l] Error message is new to me during FileUpload

2014-03-06 Thread Benjamin Lees
On Wed, Mar 5, 2014 at 12:37 PM, John Foster jfoster81...@verizon.netwrote: Could not create directory mwstore://local-backend/local-public/5/55. This generally indicates the /images directory is not writable by the webserver. Somebody should fix

Re: [MediaWiki-l] How to redirect the Privacy Policy to an External link in other website?

2014-01-08 Thread Benjamin Lees
On Wed, Jan 8, 2014 at 2:14 PM, Bartosz Dziewoński matma@gmail.comwrote: This doesn't seem to be currently possible. You can change the contents of MediaWiki:Privacypage on your wiki to point it to a different page, but it still must be an internal page name, not an URL. :( It can be an

Re: [MediaWiki-l] Mass deletion of pages: HOW?

2013-12-18 Thread Benjamin Lees
Try the deleteBatch.php maintenance script. On Wed, Dec 18, 2013 at 9:33 PM, John W. Foster jfoster81...@gmail.comwrote: I want to be able to take a list of pages delete them in a fashion similar to the Export Pages function. Just toss the list in and wipe them. This would be extremely

Re: [MediaWiki-l] Links to Filesystem not work after Update

2013-12-13 Thread Benjamin Lees
So are you getting [file://intranet\foldera\folderb\folderc\Dokuments MyDocuments] displayed unparsed as the output, or is it actually making a link for you that then does nothing when you click it? ___ MediaWiki-l mailing list

Re: [MediaWiki-l] Links to Filesystem not work after Update

2013-12-12 Thread Benjamin Lees
On Thu, Dec 12, 2013 at 10:21 AM, Bartosz Dziewoński matma@gmail.comwrote: You will need to add the file:// protocol to $wgUrlProtocols. It does seem odd in this particular case, though: file:// wasn't in $wgUrlProtocols by default in 1.19 either, was it? If your 1.21 setup is in a

Re: [MediaWiki-l] Is there a a way to mass create category pages for wanted categories

2013-11-02 Thread Benjamin Lees
It's nothing fancy, but Special:WantedCategories (or, better, its API equivalent) will give you the list, and the edit.php maintenance script, Pywikibot, or the bot framework of your choice will let you create pages from the list. On Fri, Nov 1, 2013 at 11:48 PM, Geth N7 infiltrato...@gmail.com

Re: [MediaWiki-l] Error: could not open single-table tablespace file .\mysql\innodb_table_stats.ibd

2013-09-10 Thread Benjamin Lees
This sounds like a MySQL problem, rather than a MediaWiki problem. All the MediaWiki error messages you've mentioned are just your database is missing tables (possibly all of them). Sorry. :-( ___ MediaWiki-l mailing list

Re: [MediaWiki-l] Multi-server Mediawiki instance - File uploads

2013-08-23 Thread Benjamin Lees
There's $wgFileBackends, which the WMF uses in combination with a Swift backend. https://wikitech.wikimedia.org/wiki/Media_storage has some notes, and the relevant MediaWiki config file is probably https://noc.wikimedia.org/conf/filebackend.php.txt I imagine someone on the ops team could give

Re: [MediaWiki-l] Interlinks in MediaWiki

2013-07-29 Thread Benjamin Lees
I don't think you can do this when linking, but you can change the interwiki link target itself: make your de: prefix point to http://yoursite.com/index.php?title=$1setlang=de On Mon, Jul 29, 2013 at 7:51 AM, agata.corr...@unibas.ch wrote: Dear all, I've tried the solution above but

Re: [MediaWiki-l] How to disable Printable version link on my extension's Special page?

2013-07-06 Thread Benjamin Lees
$wgHooks['BaseTemplateToolbox'][] = 'eWhateverBaseTemplateToolbox'; function efWhateverBaseTemplateToolbox ( $tpl, $toolbox ) { if( //check whether it's your extension's page ) { unset($toolbox['print']); } return true; } ___

Re: [MediaWiki-l] Link backups? Archive links (webcitation, archive.org) with an extension?

2013-06-28 Thread Benjamin Lees
On Fri, Jun 28, 2013 at 10:52 AM, adrelanos adrela...@riseup.net wrote: (The ArchiveLinks extension [1] looks very well, serving exactly this purpose, but its really stresses, not to use in in production wiki.) The experimental label isn't a good indicator of production-worthiness. Some

Re: [MediaWiki-l] Link backups? Archive links (webcitation, archive.org) with an extension?

2013-06-28 Thread Benjamin Lees
be willing to share. On Fri, Jun 28, 2013 at 3:01 PM, adrelanos adrela...@riseup.net wrote: Benjamin Lees: On Fri, Jun 28, 2013 at 10:52 AM, adrelanos adrela...@riseup.net wrote: (The ArchiveLinks extension [1] looks very well, serving exactly this purpose, but its really stresses, not to use

Re: [MediaWiki-l] How to Control Thumbnail Image Path/URL for File: Wiki Markup - Amazon S3 and Heroku Issues

2013-06-24 Thread Benjamin Lees
Set $wgUseImageResize = false; or adjust $wgThumbnailScriptPath. On Sun, Jun 23, 2013 at 2:18 AM, Mike Papper bod...@gmail.com wrote: Hi, we have a fairly large MediaWiki install and I've been porting it to run on Heroku. Part of this has been upgrading from 1.13 to 1.20 and moving images

Re: [MediaWiki-l] Disabling object cache completely not working

2013-06-24 Thread Benjamin Lees
It looks like the ResourceLoader always acts as if CACHE_ANYTHING is set for reading, which seems to be intentional, and for writing, which perhaps is not. From includes/resourceloader/ResourceLoader.php (similar code is also in includes/resourceloader/ResourceLoaderLanguageDataModule.php): //

Re: [MediaWiki-l] php display_errors = off but they still appear

2013-06-20 Thread Benjamin Lees
You might have error reporting enabled in LocalSettings.php (it's a common recommendation for debugging). Something like error_reporting( -1 ); ini_set( 'display_errors', 1 ); Anyway, it's better to fix the underlying issue when possible. What version of automaticREMOTE_USER are you using? It

Re: [MediaWiki-l] User list - is it possible to show full names?

2013-06-16 Thread Benjamin Lees
I was going to recommend the SpecialListusersFormatRow and SpecialListusersQueryInfo hooks, but it looks like someone already made an extension using them: https://www.mediawiki.org/wiki/Extension:ShowRealUsernames On Sun, Jun 16, 2013 at 9:47 PM, David Mills david.mi...@medibank.com.auwrote:

Re: [MediaWiki-l] Had an error upgrading from MW 1.2.05

2013-05-22 Thread Benjamin Lees
Check the error log: https://www.mediawiki.org/wiki/Manual:How_to_debug On Tue, May 21, 2013 at 6:37 PM, Arcane 21 arc...@live.com wrote: When MW 1.20.6 came out, I decided to upgrade to it from 1.20.5, and I decided to run the web updater afterwards. All I got was a blank screen no matter

Re: [MediaWiki-l] Apache 2.4 MediaWiki Debian tips

2013-05-08 Thread Benjamin Lees
I imagine that module is enabled by default. Maybe you ran a2dismod dir at some point in the past? ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] no search box in my mediawiki on the sidebar

2013-04-18 Thread Benjamin Lees
The search bar is actually at the top-right of the page if you're using the Vector skin. On Thu, Apr 18, 2013 at 9:49 AM, Jason Zhou jie.z...@qyer.com wrote: Hi, I just installed mediawiki 1.20.4, it works find for creating pages and browsing them, but I just find there is no search box on

Re: [MediaWiki-l] Squid do not cache dynamic mediawiki content

2013-04-08 Thread Benjamin Lees
On Mon, Apr 8, 2013 at 7:45 AM, s9gf4ult s9gf4...@gmail.com wrote: What can be the cause of cache MISS on main page ? Are you logged in to the wiki? Squid will always bypass its cache for page requests from logged-in users. ___ MediaWiki-l mailing

Re: [MediaWiki-l] Spambots and CPU usage

2013-03-29 Thread Benjamin Lees
On Thu, Mar 28, 2013 at 11:32 PM, Dan Fisher danfisher...@gmail.com wrote: Here's one idea: If a certain IP address fails the captchas a specified number of times in 5 minutes or so, it should be banned temporarily for say, 24 hours (through htaccess or firewall etc). Humans regularly get

Re: [MediaWiki-l] Blank page will display the

2013-03-14 Thread Benjamin Lees
My guess is that your host injects text into pages that include a 404 response. (This is similar to https://bugzilla.wikimedia.org/show_bug.cgi?id=18270 ) On Wed, Mar 13, 2013 at 11:59 AM, Steven Zhong ste...@giprs.net wrote: Dear all, All blank page will display the inexplicable figure in

Re: [MediaWiki-l] Blank page will display the

2013-03-14 Thread Benjamin Lees
The best solution would probably be to move to a different host. If that's not an option, there is a configuration setting that was added to work around this issue: https://www.mediawiki.org/wiki/Manual:$wgSend404Code On Thu, Mar 14, 2013 at 2:12 AM, Steven Zhong ste...@giprs.net wrote:

Re: [MediaWiki-l] Searching media wiki for IP addresses

2013-03-03 Thread Benjamin Lees
On Sat, Mar 2, 2013 at 4:17 PM, Joseph Spenner joseph85...@yahoo.comwrote: Hello, I'm curious why pages containing IP addresses in their content don't turn up on searches for those IP addresses. They do.

Re: [MediaWiki-l] Searching media wiki for IP addresses

2013-03-03 Thread Benjamin Lees
On Sun, Mar 3, 2013 at 3:06 PM, Joseph Spenner joseph85...@yahoo.comwrote: Perhaps THE Wikipedia does, but try it on your own installation. I did. :-) http://test.emufarmers.com/w/index.php?title=Special%3ASearchprofile=defaultsearch=127.0.0.1fulltext=Search

Re: [MediaWiki-l] SMTP error from remote mail server after end of data

2013-02-26 Thread Benjamin Lees
I can't be sure, since you redacted your IP, but my guess is that you're on a shared host, and the IP you're on (which you share with dozens or hundreds of other sites) is blocked. If so, your host might be able to transfer you to a different IP, or you might have to move to a different host to

Re: [MediaWiki-l] Deny users to change email address.

2013-02-06 Thread Benjamin Lees
Your extension should probably perform apply the checks that it applies to registration to email changes as well. But for an easy hack, you could just disable Special:ChangeEmail with something like

Re: [MediaWiki-l] Loss of session data when using memcached

2012-12-18 Thread Benjamin Lees
On Tue, Dec 18, 2012 at 2:22 PM, Daniel Renfro bluecu...@gmail.com wrote: I guess the session data in memcached is just as volatile as any other data in memcached, i.e. it is subject to being invalidated over time or being deleted to make room for other cached data. Is there a way I can

Re: [MediaWiki-l] Older Versions of the DumpHTML Extension

2012-12-05 Thread Benjamin Lees
On Wed, Dec 5, 2012 at 8:01 PM, nhoel...@sinet.ca wrote: Is there a 1.15 version of the extension? https://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_15/extensions/DumpHTML/ ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org

Re: [MediaWiki-l] A couple of basic question about users

2012-09-04 Thread Benjamin Lees
On Tue, Sep 4, 2012 at 5:03 PM, Brion Vibber br...@pobox.com wrote: If you go back far enough you may find user accounts created under versions of MediaWiki that didn't record the account creation date; this is probably what you're seeing. There has to be more to it than that. The creation

Re: [MediaWiki-l] Database Issues Upgrading from 1.14 to 1.19

2012-09-02 Thread Benjamin Lees
On Sat, Sep 1, 2012 at 10:37 AM, Dave Humphrey d...@uesp.net wrote: My next guess on what to try is to set $wgCacheDirectory to a local directory which should completely avoid using the database for any localization messages if I understand things correctly. Yes, that's right.

Re: [MediaWiki-l] Help : Wiki pages are not displayed properly

2012-08-30 Thread Benjamin Lees
What do you get if you go to http://172.21.59.164/piperwiki/load.php (both from localhost and from elsewhere on the network)? ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Slow and unusable Wiki after upgrading to 1.19

2012-08-11 Thread Benjamin Lees
Your CGI processes were being killed because your user was using too much memory. (When a CGI process is killed, the Apache connections will time out and give a 500 error.) Adjust the number of processes that are spawned (which you might or might not be able to do, depending on how much fiddling

Re: [MediaWiki-l] 16.5 to 19.1 install issue update.php adds only 1 table

2012-07-06 Thread Benjamin Lees
On Fri, Jul 6, 2012 at 1:43 AM, Tom Hutchison t...@hutch4.us wrote: Set $wgShowExceptionDetails = true; in LocalSettings.php to show detailed debugging information. You should set $wgShowExceptionDetails to true. ___ MediaWiki-l mailing list

Re: [MediaWiki-l] 16.5 to 19.1 install issue update.php adds only 1 table

2012-07-06 Thread Benjamin Lees
The updater isn't looking at the right database (or it's not looking at the right tables in it). Check $wgDBname and $wgDBprefix, Perhaps you have an AdminSettings.php file that's lying around with old values? ___ MediaWiki-l mailing list

Re: [MediaWiki-l] master-slave question

2012-06-28 Thread Benjamin Lees
I'm also not entirely clear on why this data needs to be different on the two instances, but it sounds like ParserFunctions might be helpful here: {{#ifeq: {{SERVERNAME}} | 192.168.whatever | 192.168.whatever | some.other.address }} ___ MediaWiki-l

Re: [Mediawiki-l] Sum of hit counts in a namespace?

2012-06-20 Thread Benjamin Lees
I don't know of any existing magic word for view counts on a page-by-page basis, but you could create one, or just query the database for the specific number you want: SELECT SUM(page_counter) FROM page WHERE page_title LIKE VTK/Examples/Cxx% ___

Re: [Mediawiki-l] Does any one use varnish?

2012-06-15 Thread Benjamin Lees
On Thu, Jun 14, 2012 at 6:44 PM, 晒太阳的冰 zog...@gmail.com wrote: But unfortunately, only 20% hit rate. Does anyone use varnish can teach me how to increase the hit rate? You should look at the misses to see why they aren't hits. If it's just that 80% of your traffic comes from logged-in

Re: [Mediawiki-l] Newbie question about short Urls

2012-05-30 Thread Benjamin Lees
You spelled $wgArticlePath wrong, which means the variable isn't getting set the way you want it to. On Wed, May 30, 2012 at 6:21 AM, Phil Rice phil.rice.erud...@googlemail.com wrote: I have attached localsettings.php and httpd.conf Attachments are scrubbed from posts sent to this list.

Re: [Mediawiki-l] user creation policy

2012-05-08 Thread Benjamin Lees
http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [Mediawiki-l] protect images and pdfs

2012-05-05 Thread Benjamin Lees
http://www.mediawiki.org/wiki/Manual:Image_Authorization ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [Mediawiki-l] $wgNoincludableNamespaces

2012-04-10 Thread Benjamin Lees
I'm not clear on what the problem is. $wgNonincludableNamespaces prevents pages in a namespace from being included in other pages as if they were templates. It doesn't stop you from linking to those pages. ___ MediaWiki-l mailing list

Re: [Mediawiki-l] How can I disable reading certain namespaces? (MW1.18.2)

2012-04-07 Thread Benjamin Lees
You want to stop people from reading the templates that get included in pages they can read? Anyway, http://www.mediawiki.org/wiki/Extension:Lockdown ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org

Re: [Mediawiki-l] How to allow user registration ?

2012-04-03 Thread Benjamin Lees
On Tue, Apr 3, 2012 at 2:40 PM, Aaron Gray aaronngray.li...@gmail.com wrote: How do I (re)enable and disable user registration ? In LocalSettings.php, remove the line $wgGroupPermissions['*']['createaccount'] = false; or change false to true. See

Re: [Mediawiki-l] Receiving an email when new discussion entry has been made?

2012-03-29 Thread Benjamin Lees
On Wed, Mar 28, 2012 at 9:46 AM, Isabell Alcott uv22ealc...@googlemail.com wrote: yes, but this gives out emails also when a page is edited, and i am editing much, so this means many emails. The page I linked shows how to make it only apply to talk pages. Is that insufficient for your

Re: [Mediawiki-l] Receiving an email when new discussion entry has been made?

2012-03-28 Thread Benjamin Lees
On Tue, Mar 27, 2012 at 6:19 PM, Isabell Alcott uv22ealc...@googlemail.com wrote: *But:* is it also possible that user_test does not become E-Mails when he changes things? So every time i change things in the wiki, i get an email. But I would only like to get an email when someone writes into

Re: [Mediawiki-l] Default Search

2012-03-08 Thread Benjamin Lees
My guess is that you didn't define the namespace constant NS_DBA. On Thu, Mar 8, 2012 at 12:10 PM, Shaffer, Kurt kurt_shaf...@steris.com wrote: Hi all, New to the list so if asked please excuse me. I am trying to get the default search to search a new Namespace, I've added it to the

Re: [Mediawiki-l] CAPTCHA recommendation for account-creation bots?

2012-03-06 Thread Benjamin Lees
On Mon, Mar 5, 2012 at 4:32 PM, Platonides platoni...@gmail.com wrote: I think you could generate the captcha images locally and upload them to the server. It's much easier to fullfil the python requisites at the user box than in the server. I don't think it has been proposed before, though.

Re: [Mediawiki-l] Re : je suis perdu: comment configurer mediawiki sous deux langues: [fr] et [en] ???

2012-03-05 Thread Benjamin Lees
On Mon, Mar 5, 2012 at 4:50 AM, HiddenId courriel_achevr...@yahoo.fr wrote: For exemple, I've already tried to copy Template:Language from meta, books or mediawiki, but it did not works. Something missed. Then, if we had to say to somebody the minimum list of templates that should be

Re: [Mediawiki-l] After Upgrade to 1.18 - every page blocked

2012-02-25 Thread Benjamin Lees
On Fri, Feb 24, 2012 at 11:08 AM, Peter Velan pv0...@dynapic.net wrote: Where could I start to debug this problem? Special:BlockList? ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [Mediawiki-l] ConfirmEdit QuestyCaptcha 'badlogin' not producing captcha challenge

2012-02-20 Thread Benjamin Lees
On Mon, Feb 20, 2012 at 6:12 PM, ro...@rogerchrisman.com wrote: I have QuestyCaptcha working on http://teflpedia.com. However, for some reason it fails to challenge users on bad login (multiple failed login attempts is not producing the captcha challenge). What happens if you use a different

Re: [Mediawiki-l] Newbee Question

2012-02-13 Thread Benjamin Lees
On Mon, Feb 13, 2012 at 12:09 PM, Steve Stevenson st...@clemson.edu wrote: It's on localhost, the database is wickedproblems, the prefix is mct, the user is root, and password is what it is. I can get into my sql just fine, but the configuration script says it can't find anything. It's gotta

  1   2   3   >