Hi,
We need the country code with the user's IP-address and use MaxMind to provide that. At this moment that is done very inefficiently: each time we need it on a page the lookup is done.
Is there a way to do that more efficiently? We were thinking about some kind of web storage, but don't see any support or example for that.
Anyone out there with an idea?
Ad
Hello everyone,
in tomorrow's MediaWiki Stakeholders' meeting, we will talk about the idea of having a separate MediaWiki organisation, it's potential scope and how we all could get there. So if you are interested, please join in. This will be a Google Hangout, on May 6th at 15:00 UTC. Meeting details can be found here:
https://plus.google.com/u/0/events/cg7smqcl5pqa30ina6ggb55f3cg
Best,
Markus
Markus Glaser
(User:Mglaser)
Update.
So my job queue had 3 jobs in it after I uploaded a gif from it's [[File:folder.gif]] link.
At that point I still could not see the image on the page where it's link was. Then I
selected Edit of that page, and after saving I COULD see the image instead of it's link.
HOWEVER, the same 3 jobs are still in the queue after that ? Why aren't they gone ?
And why aren't they being executed automatically ? How could they still exist now that I
can see the folder.gif image ? Oooohhh, we must be getting really close to my issue fix.......??
My wiki is pretty much using the generic 1.26.2 LocalSettings.php, and so the cache settings
were default. We have no external cache mechanism set up.
## Shared memory settings
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();
thx,
L
G:\wwwroot-tss-wiki-secure\tsgs-catalog\maintenance>php showJobs.php --list
refreshLinks File:Folder.gif table=imagelinks recursive=1 rootJobIsSelf=1 rootJo
bSignature=6678a4af73dcbe6bc426f0d5591f87c6aee25deb rootJobTimestamp=20160503185
544 (id=112,timestamp=20160503185544) status=unclaimed
htmlCacheUpdate File:Folder.gif pages=array(1) rootJobSignature=80acc047983e061d
ba0c3e0c695f00e9e533e2bf rootJobTimestamp=20160503185544 (id=113,timestamp=20160
503185544) status=unclaimed
recentChangesUpdate Special:RecentChanges type=cacheUpdate (id=111,timestamp=201
60503185502) status=unclaimed
------------------------------
Message: 2
Date: Mon, 2 May 2016 17:36:19 +0300
From: Vedmaka <raketa.me(a)gmail.com>
To: mediawiki-l(a)lists.wikimedia.org
Subject: Re: [MediaWiki-l] MW 1.26.2 issue with image loading
Message-ID: <362e8601-5c47-0c53-e249-4234c7d29aa1(a)gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
I believe you should also check your cache settings in wiki - there are only two reasons exists why you encountering this behavior:
1) You have caches enabled ( either local or external like CloudFlare )
2) You have job queue overfilled with jobs, so new job is not executing after you uploaded image. Please try to execute maintenance script /maintenance/runJobs.php and see if it will help
02.05.2016 16:05, Rowe, Dolores A пишет:
> The $wgJobRunRate is set to 1 (DefaultSettings.php) in v1.26.2 where the image is not loading automatically, however it was set to 1 in v1.22.x as well where the images are working correctly.
>
>
>
> What is yours set to ? Are you using v1.26.2, and do you see the same problem with the image loading ?
>
> thx,
>
> L
>
>
>
>> Message: 1
>
>> Date: Fri, 29 Apr 2016 23:37:37 +0300
>
>> From: Vedmaka <raketa.me(a)gmail.com<mailto:raketa.me@gmail.com>>
>
>> To:
>> mediawiki-l(a)lists.wikimedia.org<mailto:mediawiki-l@lists.wikimedia.or
>> g>
>
>> Subject: Re: [MediaWiki-l] MW 1.26.2 issue with image loading
>
>> Message-ID:
>> <fb305142-dba5-90ed-0076-9735ded76344(a)gmail.com<mailto:fb305142-dba5-
>> 90ed-0076-9735ded76344(a)gmail.com>>
>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>
>
>
>> Check your https://www.mediawiki.org/wiki/Manual:$wgJobRunRate value
>
>
>
>> 25.04.2016 18:51, Rowe, Dolores A пишет:
>
>> Dear Teammates,
>
>>
>
>> In MW 1.22.x family, we could edit a page and insert an image link
>
>> like [[File:myImage.png]], save the page, upload the image from it's link on the saved page, and voila it was there !!
>
>>
>
>> With MW 1.26.2, after the upload, the image is not showing unless we
>
>> edit and save the page again. Is this a bug ? Or are we missing a setting ?
>
>>
>
>> thanks for any help or suggestions,
>
>> Lori
>
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
--
_____________________________________________________________
Mediawiki & Semantic Mediawiki support: https://mediawiki.pro
------------------------------
Message: 3
Date: Mon, 2 May 2016 17:36:19 +0300
From: Vedmaka <god.vedmaka(a)gmail.com>
To: mediawiki-l(a)lists.wikimedia.org
Subject: Re: [MediaWiki-l] MW 1.26.2 issue with image loading
Message-ID: <362e8601-5c47-0c53-e249-4234c7d29aa1(a)gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
I believe you should also check your cache settings in wiki - there are only two reasons exists why you encountering this behavior:
1) You have caches enabled ( either local or external like CloudFlare )
2) You have job queue overfilled with jobs, so new job is not executing after you uploaded image. Please try to execute maintenance script /maintenance/runJobs.php and see if it will help
02.05.2016 16:05, Rowe, Dolores A пишет:
> The $wgJobRunRate is set to 1 (DefaultSettings.php) in v1.26.2 where the image is not loading automatically, however it was set to 1 in v1.22.x as well where the images are working correctly.
>
>
>
> What is yours set to ? Are you using v1.26.2, and do you see the same problem with the image loading ?
>
> thx,
>
> L
>
>
>
>> Message: 1
>
>> Date: Fri, 29 Apr 2016 23:37:37 +0300
>
>> From: Vedmaka <raketa.me(a)gmail.com<mailto:raketa.me@gmail.com>>
>
>> To:
>> mediawiki-l(a)lists.wikimedia.org<mailto:mediawiki-l@lists.wikimedia.or
>> g>
>
>> Subject: Re: [MediaWiki-l] MW 1.26.2 issue with image loading
>
>> Message-ID:
>> <fb305142-dba5-90ed-0076-9735ded76344(a)gmail.com<mailto:fb305142-dba5-
>> 90ed-0076-9735ded76344(a)gmail.com>>
>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>
>
>
>> Check your https://www.mediawiki.org/wiki/Manual:$wgJobRunRate value
>
>
>
>> 25.04.2016 18:51, Rowe, Dolores A пишет:
>
>> Dear Teammates,
>
>>
>
>> In MW 1.22.x family, we could edit a page and insert an image link
>
>> like [[File:myImage.png]], save the page, upload the image from it's link on the saved page, and voila it was there !!
>
>>
>
>> With MW 1.26.2, after the upload, the image is not showing unless we
>
>> edit and save the page again. Is this a bug ? Or are we missing a setting ?
>
>>
>
>> thanks for any help or suggestions,
>
>> Lori
>
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
--
_____________________________________________________________
Mediawiki & Semantic Mediawiki support: https://mediawiki.pro
------------------------------
Subject: Digest Footer
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
------------------------------
End of MediaWiki-l Digest, Vol 152, Issue 1
*******************************************
I have implemented the solr search on my wiki using the SolrStore
extension. I used the filter based search feature of the Solr. One of the
filters in the search is the year input. For now, the year input is a
dropdown (user can select a particular year and search for results in that
year). I want to change it to a range ( where user can select a group of
years, say from a to b, to search for results in those years.
How cam I achieve this?
Thanks in advance.
Palash
There's a reported ImageMagick security vulnerability making the rounds:
http://arstechnica.com/security/2016/05/easily-exploited-bug-exposes-huge-n…
Many MediaWiki sites are configured to use ImageMagick's 'convert' command
to perform image rescaling/thumbnailing, so it's worth double-checking that
everything is secure...
MediaWiki already performs file type validation checks on uploads, which
*should* prevent exploitation of the vulnerability for the standard image
types (JPEG, PNG, GIF, SVG etc) -- this is one of the recommended
mitigation strategies. But I am not confident enough to pronounce us immune
without actually checking!
Some folks are also recommending tweaking the ImageMagick policy.xml to
disable the most dangerous code modules; see the article linked above for
further links.
-- brion
The $wgJobRunRate is set to 1 (DefaultSettings.php) in v1.26.2 where the image is not loading automatically, however it was set to 1 in v1.22.x as well where the images are working correctly.
What is yours set to ? Are you using v1.26.2, and do you see the same problem with the image loading ?
thx,
L
>Message: 1
>Date: Fri, 29 Apr 2016 23:37:37 +0300
>From: Vedmaka <raketa.me(a)gmail.com<mailto:raketa.me@gmail.com>>
>To: mediawiki-l(a)lists.wikimedia.org<mailto:mediawiki-l@lists.wikimedia.org>
>Subject: Re: [MediaWiki-l] MW 1.26.2 issue with image loading
>Message-ID: <fb305142-dba5-90ed-0076-9735ded76344(a)gmail.com<mailto:fb305142-dba5-90ed-0076-9735ded76344@gmail.com>>
>Content-Type: text/plain; charset=utf-8; format=flowed
>Check your https://www.mediawiki.org/wiki/Manual:$wgJobRunRate value
>25.04.2016 18:51, Rowe, Dolores A пишет:
> Dear Teammates,
>
> In MW 1.22.x family, we could edit a page and insert an image link
> like [[File:myImage.png]], save the page, upload the image from it's link on the saved page, and voila it was there !!
>
> With MW 1.26.2, after the upload, the image is not showing unless we
> edit and save the page again. Is this a bug ? Or are we missing a setting ?
>
> thanks for any help or suggestions,
> Lori