Hi everyone,
I am Abhinand N and I have been selected for GSoC'16 for the project -
Extension for page creation/editing notification. I would like to share my
experience in contributing to MediaWiki and my perspective on implementing
the extension in MediaWiki.
*About me*
I am a first year Computer Science major from Amrita University, India. I
am coming from a small town called Palakkad
<https://en.wikipedia.org/wiki/Palakkad_district> in Kerala
<https://en.wikipedia.org/wiki/Kerala>. Kerala is known as Gods own Country
and it is a very beautiful place. I got introduced to MediaWiki through
FOSS community in my campus - FOSS@Amrita <http://foss.amrita.ac.in/>. Its
one of the active club in the campus where we are introduced to a new world
of open source technology apart from the usual academic work. I started
contributing to MediaWiki by fixing small bugs. I noticed this project when
it was put up as featured for GSoC. I went through the project description
the project and got very much excited to work on the same. Yaron Koren is
my mentor for this project. He is one of the coolest guy whom I have ever
met and I am very happy to work with him.
*Project*
This project aims to create notification when a page is created or edited
by any user. There are already existing modules like Watchlist, Semantic
Watchlist, PageCreationNotif etc that helps with notification. However, the
extension that I am going to develop allows the user to configure the
notification system the way he/she needs. The configuration is not limited
to whether the user needs to receive the notification via Email, Echo
notification or as the recent changes in a special page. Also, the user is
given the option to track all pages, pages in specific namespace or
category, or a specified list of pages.
Just as the pages to be tracked are grouped, the people who are to be
notified are also grouped as
- User in a user group,
- A user in a user-list,
- User who signed up to be notified or
- to Email addresses of non MediaWiki users.
That's a brief explanation about the project. Currently I haven't yet
decided on how the extension should be structured and on the user interface
part of the extension, which is one of the most important things to be
considered. Also the priority of the events are not concluded. I would be
grateful to get your valuable suggestions and feedback about the project.
It would help me a lot to make the extension more effective and convenient
for the user.
Kind regards
--
Abhinand N
About <http://www.abhinand7.me/> | Blog
<https://abhilovesto.wordpress.com/> | Github
<https://github.com/abhinand4858>
*"Explore.Dream.Discover"*
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