[MediaWiki-l] RedirectSpecialPage.php Shared Host File Deletion

2020-08-17 Thread Tom Hutchison via MediaWiki-l
So, I'm just thinking out loud here to blow off steam. I've seen mod_security block MW edits and some other weird things on shared hosting. Apparently, a shared host I admin for a project must have enabled some type of proactive scanning with ClamAV or more like a ClamAV Frankenstein and it is

Re: [MediaWiki-l] Sane way to add a GoogleAnalytics Opt-Out?

2018-05-29 Thread Tom Hutchison
If you are not sending data to a 3rd party or using analytics for ads. You do not even need to seek consent as long as you are anonymizing ip’s. Everyone seems to forget about two exclusions. Analytics can be viewed as historical data. As long as you’re not doing any third-party tracking -

Re: [MediaWiki-l] Mediawiki Job queue not running

2018-03-26 Thread Tom Hutchison
Oops... some clarity Run a php -i | grep memory (stupid auto capitalization) And.. are you using APC? Tom ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Mediawiki Job queue not running

2018-03-26 Thread Tom Hutchison
Couple questions for more debugging info... What is your setup? Distribution running? Memory? If you are running a VM with 512MB of memory, you could easily be running out of memory if the site has high traffic. What are the older jobs that are stuck? Type of job - aka job_cmd column in the

Re: [MediaWiki-l] EU’s GDPR and MediaWiki on only invited users

2018-02-21 Thread Tom Hutchison
So it goes a even a bit further. @mat54: so even if you are an invite only, even if only one of your users resides in a country in the EU (including the UK until they break) you must be in compliance with GDPR. @Derk-Jan: Not only why you need the data and what the data is, the data has to

Re: [MediaWiki-l] Stopping Users from Creating Account

2017-07-07 Thread Tom Hutchison
Ah, cool that gives me a direction to go in. I'll work up something and test it, then update the docs because it is not clear on how to achieve this. Thanks Brian! Tom -Original Message- From: MediaWiki-l [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of Brian Wolff Sent:

[MediaWiki-l] Stopping Users from Creating Account

2017-07-07 Thread Tom Hutchison
Hi all Perhaps I am missing it, but is there anyway to stop users from using the "create2" function and only allow sysops and * to create a user accounts. I am not talking about "create" or "createaccount" as a permission. What I don't want is existing logged in users to go to

Re: [MediaWiki-l] wfLoadExtension Registration

2017-04-24 Thread Tom Hutchison
Thanks Florian, I'll take a look at ConfirmEdit. Personally, I would have the symlinks put the outside the root custom /extensions into the public www location of /extensions and not have bundled them all together into a custom subdirectory in the /extensions directory. I can't see the benefit

[MediaWiki-l] wfLoadExtension Registration

2017-04-24 Thread Tom Hutchison
Hi all Quick question, is there any downside to doing this: wfLoadExtension('Foo/Bar'); ? It loads the extension and the extension works as expected. I wrote an extension for a project which another developer(s) set up with custom extensions outside of the public www directory. They

Re: [MediaWiki-l] Update to php 7.0.15 breaking MW 1.23

2017-01-30 Thread Tom Hutchison
Hi Bartosz, It gets real interesting... and I had a full circle moment when the host tech tried telling me it was MW problem referencing this thread!!! So here is what I have finally debugged and for the record even though it isn't supported "MW 1.23.15 works with php 7.0.15" just fine. I also

Re: [MediaWiki-l] Update to php 7.0.15 breaking MW 1.23

2017-01-29 Thread Tom Hutchison
Upgraded to 1.27, worked great on my local dev box running 7.0.15. Updated at the host and still having issues. Two backtraces instead of one. Here are the Errors... MediaWiki internal error. Original exception: [WI2ZAMY2ckcAAXoh3Uor] /wiki/Main_Page MWException from line 1285 of

Re: [MediaWiki-l] Witch version to use

2017-01-26 Thread Tom Hutchison
I think you mean 5.6, there is no such thing as php version 6.5. PHP skipped from 5.x to 7.x version wise. Tom -Original Message- From: MediaWiki-l [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of ma...@ziggo.nl Sent: Thursday, January 26, 2017 3:05 PM To:

Re: [MediaWiki-l] DynamicArticleList

2014-07-28 Thread Tom Hutchison
Hmm, now I'm curious. Why are you using DPL with SMW?  If you are doing just a mw update.php DPL will *cough* and error out the update from 1.19 to a higher version. Just comment out DPL in LocalSettings.php, update and then uncomment it.  Tom ---Sent from my iPhone php rebuildData.php

Re: [MediaWiki-l] upgrade from 1.22.7 to 1.23 gives error

2014-07-10 Thread Tom Hutchison
Hmm Did you read this?[0] Running mw-config is not required with shell.  Tom [0] https://m.mediawiki.org/wiki/Manual:Upgrading I’m attempting to upgrade from MW 1.22.7 to 1.23 and am getting this error when going to the web config at wiki-pathmw-config/index.php : Error starting

Re: [MediaWiki-l] Open External Links in new page

2014-07-03 Thread Tom Hutchison
Did you purge the page? Then try clicking link again? Tom ---Sent from my iPhone I'm trying to figure out how to Open External Links in new tab/window or even internal links in a new tab/window. I found this $wgExternalLinkTarget = '_blank'; Does not seem to work for links like

Re: [MediaWiki-l] Annoying: In the sidebar, the header of the first section appears and then vanishes (Vector skin)

2014-06-16 Thread Tom Hutchison
This?$wgVectorFeatures['collapsiblenav']['global'] = false;Only thing I'm seeing is the navbar collapsing unless I'm missing something. Tom Sent from my iPhone On my the header of the first sidebar section (usually Navigation) will appear and then disappear. Sometimes

Re: [MediaWiki-l] Annoying: In the sidebar, the header of the first section appears and then vanishes (Vector skin)

2014-06-16 Thread Tom Hutchison
Hmm which I don't see collapsing on semantic mw.  What mw version. I think you don't have to call the vector extension any longer in localsettings if you're 1.22+. Vaguely remember that from somewhere.  Could cause issues.  Tom ---Sent from my iPhone This?

Re: [MediaWiki-l] Annoying: In the sidebar, the header of the first section appears and then vanishes (Vector skin)

2014-06-16 Thread Tom Hutchison
, Jun 16, 2014 at 2:33 PM, Tom Hutchison t...@hutch4.us wrote: Hmm which I don't see collapsing on semantic mw. What mw version. I think you don't have to call the vector extension any longer in localsettings if you're 1.22+. Vaguely remember that from somewhere. Could cause issues. Tom

Re: [MediaWiki-l] Translating a wiki

2014-06-03 Thread Tom Hutchison
That's ok if they are on different continents. That is actually a plus because work is getting done 24 hours a day. What they need is a support group chat for each other. They would all be able to read English if they are translating right? Teach a few simple wiki markup such as links and what

Re: [MediaWiki-l] upgrade 1.20.2 to 1.22.7

2014-06-02 Thread Tom Hutchison
Did you account for /images or /skins and a whole lot of other things in your .htaccess file? Always a bad idea to put the install in the root. This is only the start of what you need to think of. Robots.txt, google verification file, /extensions which store files such as processed widgets.

Re: [MediaWiki-l] Question regarding modifying a wiki sidebar menu

2014-05-22 Thread Tom Hutchison
Hi Shirley Perhaps you could better explain what exactly you are trying to accomplish? You stated dynamically, which to me (and probably others) mean 'on the fly' or based on content of the page, user group, date, etc...  Chris pointed you at Mediawiki:Sidebar which is how you would build the

Re: [MediaWiki-l] Question regarding modifying a wiki sidebar menu

2014-05-21 Thread Tom Hutchison
Did you look at this? http://www.mediawiki.org/w/index.php?title=Manual%3AHooks%2FSkinBuildSidebar or you could look at the code for ideas for this extension  http://www.mediawiki.org/w/index.php?title=Extension%3ADynamicSidebar Tom ---Sent from my iPhone Am drilling down through the

[MediaWiki-l] $wgContentNamespaces and ['isarticle']

2014-05-18 Thread Tom Hutchison
Maybe I'm missing something, but is there a way to check the $wgContentNamespaces against (or should it) $this-data['isarticle'] to include or not include something in output in a skin. I have about 6 namespaces considered content with $wgContentNamespaces in the array. So using ?php if (

Re: [MediaWiki-l] https

2014-03-19 Thread Tom Hutchison
If you want to check it out, just go to http://www.univie.ac.at/rel_jap/an/ and ask for Buddha in the search box. You will see that among the results, there are several https links Well, the SSL cert question is answered. Looks like you are on a University server in a subfolder so I would

Re: [MediaWiki-l] https

2014-03-19 Thread Tom Hutchison
...@lists.wikimedia.org [mailto:mediawiki-l-boun...@lists.wikimedia.org] Im Auftrag von Scheid, Bernhard Gesendet: Mittwoch, 19. März 2014 14:33 An: Tom Hutchison; MediaWiki announcements and site admin list Betreff: Re: [MediaWiki-l] https The other wikis are also mine. The rel_jap/an.. Wiki

Re: [MediaWiki-l] https

2014-03-18 Thread Tom Hutchison
-- Original Message -- From: Jonathan Aquilina eagles051...@gmail.com To: MediaWiki announcements and site admin list mediawiki-l@lists.wikimedia.org Sent: 3/18/2014 2:34:47 AM Subject: Re: [MediaWiki-l] https Why do that when you can just use a redirect in an apache vhost accept the

Re: [MediaWiki-l] https

2014-03-17 Thread Tom Hutchison
Just use .htaccess to rewrite incoming https to http and send a 301 back.  Tom From: Scheid, Bernhard bernhard.sch...@oeaw.ac.at For unknown reasons, google sometimes refers to my wiki-pages by using https instead of http. The result is that the page is displayed, but without css.

Re: [MediaWiki-l] Extension Installer v2.2 on 1.21.x

2014-02-10 Thread Tom Hutchison
Hey Jeroen I got it all sorted out. I think I figured out what I did. I was using the instructions on https://github.com/JeroenDeDauw/ExtensionInstaller/blob/master/README.md. The default contents of the json file specifies nothing should be installed, and looks as follows: { require:

[MediaWiki-l] Extension Installer v2.2 on 1.21.x

2014-02-09 Thread Tom Hutchison
Hi All Don't know what I missed, but everything appeared to run right from the command line. I was trying to install subpagelist v1.0. I installed composer in the ExtensionInstaller v2.2 directory per directions. Ran php composer.phar after I created the json file. Output threw everything

Re: [MediaWiki-l] MW 1.23 Can't create image thumbnail

2013-11-26 Thread Tom Hutchison
First thing I would check is: $wgMaxImageArea = ' some value '; See if it is accidentally explicitly set to a smaller value in LocalSettings as this will make thumbnailing fail. e.g. 40 for 2000px X 2000px image would prevent thumbs on a 2200x1900 image which is 418000 in size or any

[MediaWiki-l] APC Cache setting

2013-11-25 Thread Tom Hutchison
Hi all Is there a recommended apc.stat setting for Mediawiki? I've read all the apc.stat=0 (production) vs apc.stat=1 (development), but is there any hard data on the impact of =0 vs =1? What I'm finding is LocalSettings.php can live for 40 mins, sometimes 2 hours before any changes are

Re: [MediaWiki-l] Need Help with Short URLs

2013-08-10 Thread Tom Hutchison
The site is redirecting just fine. You said: I have recently moved my wiki from http://www.knitting-and.com/wiki to http://www.knitting-and.com/w and want the entries to still show at http://www.knitting-and.com/wiki They are and all short URL work fine. I am guessing from your original

[MediaWiki-l] MobileFrontend - some advice/testers?

2013-07-31 Thread Tom Hutchison
Hi All Just wanted to run this by some on the list. Been scratching my head on how to deal with file caching and using the MobileFrontend extension on one domain. I know the preferred method is a mobile domain and a desktop domain. I have no way of installing AMF and the manual page is a

[MediaWiki-l] Custom extension

2013-04-26 Thread Tom Hutchison
Hi All Looking for some advice. Trying to do version noticingand archived notices on a Open Source software docs wiki. Trying to keep it light and simple but I wonder if OutputPageBeforeHTML is the better choice. I forked the Page Notice extension, just don't know if I should consider

Re: [MediaWiki-l] Special:ActiveUsers End Game?

2013-04-06 Thread Tom Hutchison
On 4/6/2013 8:27 AM, Bartosz Dziewoński wrote: FWIW the bug (https://bugzilla.wikimedia.org/show_bug.cgi?id=41078) has been reopened by somebody else requesting this feature to be re-added, and Aaron already commented

Re: [MediaWiki-l] [API] Can't edit with API in custom namespace

2013-02-22 Thread Tom Hutchison
Did you set: $wgGroupPermissions['editsd']['writeapi'] = true; Tom -Original Message- From: mediawiki-l-boun...@lists.wikimedia.org [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of Al Johnson Sent: Friday, February 22, 2013 5:25 PM To:

Re: [MediaWiki-l] Sidebar cache

2013-02-04 Thread Tom Hutchison
Yep, Collection is forcing the printable to its section: // Move the 'printable' link into our section for consistency if ( $action == 'view' || $action == 'purge' ) { global $wgOut; if ( !$wgOut-isPrintable() ) {

Re: [MediaWiki-l] Sidebar cache

2013-02-02 Thread Tom Hutchison
On 2/2/2013 5:28 PM, Platonides wrote: What do you mean? The print version link pointing to title=fooprintable=yes even on article bar? That should never happen, the sidebar cache refers to the upper part of the sidebar,

Re: [MediaWiki-l] Rewrite Rules

2013-01-12 Thread Tom Hutchison
On 1/12/2013 8:18 PM, Steve VanSlyck wrote: Yep, tried that. Wouldn't work. It reported, We found a rel=EditRSD for your wiki, however the resulting document did not declare the location of a MediaWiki installation's API

Re: [MediaWiki-l] URL Being Sanitized?

2013-01-08 Thread Tom Hutchison
Perhaps I might have figured out what is going on, just someone a bit more knowledgeable about the table structures to double check me. page table page_title set to varchar with a collation of UFT-8 on other wikis page table page_title set to varbinary(255) Storing the %3F as a ?, could

Re: [MediaWiki-l] URL Being Sanitized?

2013-01-08 Thread Tom Hutchison
UTF-8 is what I meant. Being a little dyslexic today. Not making myself clear. Trying again. %3F is a special encoding specific to URL encoding and decoding. ascii nor UTF-8 should matter, it is a hexadecimal value and reserved, % escapes and the 3F is the value for aquestion mark. What I

Re: [MediaWiki-l] URL Being Sanitized?

2013-01-08 Thread Tom Hutchison
Thanks Theirry Good tutorial for newbies on how article titles are parsed by Mediawiki and basic URL encoding. I'm pretty well versed in all the mechanics of Rewriting, and URL encoding and the use of ?, , Mediawiki, etc. I am now convinced the problem I'm having seems to be with the host,

Re: [MediaWiki-l] help with WikiMedia GraphViz extension

2012-11-22 Thread Tom Hutchison
On 11/20/2012 12:16 PM, Mathew Davies wrote: I've followed the install instructionshttp://www.mediawiki.org/wiki/Extension:GraphVizfor the GraphViz extension and so far everything seems OK - GraphViz dot commands work, permissions look fine - but although the page is parsing the graphviz

[MediaWiki-l] Security concern with {{FULLURL}} in edit of Portal pages

2012-09-25 Thread Tom Hutchison
Wondering if anyone else has run into this. Clicking on the edit link in a portal styled page which uses the magic word, {{fullurl}} like this, [{{fullurl:{{{editpage|/}}}|... Seems as if some are DNS'ing back to this wiki and the actual link when hovered over the word edit is resolving back

Re: [MediaWiki-l] Security concern with {{FULLURL}} in edit of Portal pages

2012-09-25 Thread Tom Hutchison
the correct domain? Thanks Tom On 9/25/2012 2:28 PM, Tom Hutchison wrote: Wondering if anyone else has run into this. Clicking on the edit link in a portal styled page which uses the magic word, {{fullurl}} like

Re: [MediaWiki-l] thumbnail-dest-create

2012-09-19 Thread Tom Hutchison
Permissions would be the first thing I would look at. What are they for the /images directory? Tom On 9/19/2012 3:06 PM, Michel Balmont wrote: Since I moved my mediawiki from

[MediaWiki-l] DPL 3rd party Extension

2012-08-10 Thread Tom Hutchison
What are Mediawiki views on providing links in their Extension pages which point to an virus/malware infected site? This Dynamic Page List 3rd party extension, http://www.mediawiki.org/wiki/Extension:DynamicPageList_(third-party) is flagged as a major security risk by Mediawiki. Which oddly is

Re: [MediaWiki-l] Namespace alias

2012-07-22 Thread Tom Hutchison
On 7/22/2012 10:04 AM, Platonides wrote: Hi Tom, You shouldn't have any problem in using a period in the namespace name. If you're making a constant for the namespace name, you can't reference a constant with a period on its name, but the constant could be anything (eg. NS_FOO11), as it isn't

Re: [MediaWiki-l] Namespace alias

2012-07-22 Thread Tom Hutchison
Oops $wgExtraNamespaces[NS_FOO] = Foo1.1; should be $wgExtraNamespaces[NS_FOO11] = Foo1.1; On 7/22/2012 10:52 AM, Tom Hutchison wrote: On 7/22/2012 10:04 AM, Platonides wrote: Hi Tom, You shouldn't have any problem

[MediaWiki-l] Namespace alias

2012-07-21 Thread Tom Hutchison
Hope Platonides, Jeroen or someone else very familiar with Mediawiki's core can answer this and provide a quick explanation or recommendation. I know it is recommended when setting custom namespaces to use standards, like FOO or FOO_TALK. What are the pitfalls of FOO1.0 or FOO1.1 as a

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

2012-07-06 Thread Tom Hutchison
From: Benjamin Lees [mailto:emufarm...@gmail.com] Sent: Friday, July 06, 2012 2:14 PM To: MediaWiki announcements and site admin list; t...@hutch4.us Subject: Re: [MediaWiki-l] 16.5 to 19.1 install issue update.php adds only 1 table The updater isn't looking at the right database (or it's

Re: [MediaWiki-l] MediaWiki Bug

2012-07-05 Thread Tom Hutchison
On 7/5/2012 5:54 AM, Brandon Pimenta wrote: My code in LocalSettings.php: $wgUseRCPatrol = true; $wgUseNPPatrol = true; So what went wrong? Brandon, Missed the Flagged Rev extension in your very first post. IMO, many times it is an extension which causes unexpected results. I don't use

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

2012-07-05 Thread Tom Hutchison
Hoping someone can help me figure out why 1.19.1 update.php script is dying by what is coming next in the script MediaWiki 1.19.1 Updater Going to run database updates for mw_update Depending on the size of your database this may take a while! Abort with control-c in the next five seconds

Re: [MediaWiki-l] MediaWiki Bug

2012-07-03 Thread Tom Hutchison
Here is the Localsettings.php code... session_save_path( '/absolute/path/to/sessions/folder' ); Usually something like, /home/youraccountname/thefolder Like Platonides said, make sure it is writable by your web server. I have one host I deal with which is a bit twitchy, so I have to use this

Re: [Mediawiki-l] Hiding a namespace from being displayed inCategory

2012-02-14 Thread Tom Hutchison
Hurm, I guess I maybe did not explain well, if article/page lives inside of the STAR namespace id like it to just not show any page with that, my other thought would be some how to make the template smart and know that if the title/pagename contains ^STAR: to not add it to the category

[Mediawiki-l] REVISIONTIMESTAMP of a Template

2012-02-08 Thread Tom Hutchison
Hi all- Is there anyone who knows of an extension or work around for retrieving the REVISIONTIMESTAMP of a template without it picking up the page’s timestamp. I have a page which is a complex table/chart. The columns of the table are constructed from Templates, which all call a standard

Re: [Mediawiki-l] Installation

2012-01-31 Thread Tom Hutchison
It's fine as is but the standard way is the have mediawiki live in subdir of the docroot like /w/ and then some other path (like /wiki/) is where the pretty (aka short) URLs live. Yes, heed Jeremy's advice, drop it in wiki/w/ which will allow for wiki.thesii.org/w/index.php to work,

Re: [Mediawiki-l] [DT] - View XLM Page blank

2012-01-17 Thread Tom Hutchison
That did it, thanks Yaron. Tom From: Yaron Koren Sent: Tuesday, January 17, 2012 1:11 PM To: Tom Hutchison Cc: mediawik...@wikimedia.org Subject: [Mediawiki-l] [DT] - View XLM Page blank Hi Tom, Indeed - it looks like no one, or at least very few people, have used the Special:ViewXML page

Re: [Mediawiki-l] actuality of every page?

2012-01-16 Thread Tom Hutchison
Just use a template to call magicwords in a nice infobox. American date mo-day-year-username with a link to user page. Only shows the last page revision user though. {{REVISIONMONTH}}-{{REVISIONDAY}}-{{REVISIONYEAR}}-by:[[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] Tom -Original Message-

[Mediawiki-l] [DT] - View XLM Page blank

2012-01-16 Thread Tom Hutchison
Is there a bug in Data Transfer? 2 wikis I have it installed on, View XLM Page after a select is blank. I checked discoursedb.org and it shows a blank page too. $wgShowSQLErrors = true; $wgDebugDumpSql = true; error_reporting( E_ALL ); ini_set( 'display_errors', 1 ); shows nothing. Tom

Re: [Mediawiki-l] $wgNamespaceRobotPolicies for Wiki's Namespace

2012-01-12 Thread Tom Hutchison
, 2012 at 7:55 AM, Tom Hutchison t...@hutch4.us wrote: NS_MY_WIKI_NAME, NS_My_Wiki_Name, 'NS_My Wiki Name' (had to use ' ' to enclose, 500 error without), and every variation I can think of, but it still excludes the Wiki's NameSpace. I even tried %20 in between. The value you use