[Wikitech-l] GSoC 2017 project 'Single image batch upload'

2017-03-12 Thread Shanika Ediriweera
Hi,

I am Shanika Ediriweera and I am a 4th year Computer Science and
Engineering undergraduate of University of Moratuwa. I worked as an intern
in an opensource software company(WSO2 Inc.) for my 3rd year Industrial
training. I have experience in programming, opensource contributing and
problem solving.

I have contributed to mediawiki as well. Profile link -
https://phabricator.wikimedia.org/p/Shanikae/

I would like to take up the project 'Single image batch upload' (
https://phabricator.wikimedia.org/T138464) for GSoC 2017.

How should I get started?
What steps do I need to follow?

Best Regards,

Shanika Ediriweera
Undergraduate
Dept. of Computer Science & Eng.
University of Moratuwa
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Error when using OOjs UI/Windows/Message Dialogs

2017-02-23 Thread Shanika Ediriweera
Hi

I got it figured out.

I added 'oojs-ui-core', 'oojs-ui-windows' in Resources.php

'mediawiki.special.movePage' => [
'scripts' =>
'resources/src/mediawiki.special/mediawiki.special.movePage.js',
'dependencies' => [
'jquery.byteLimit',
'mediawiki.widgets',
'oojs-ui-core',
'oojs-ui-windows'
],
],

Thanks for the help.

Best Regards,

Shanika Ediriweera
Undergraduate
Dept. of Computer Science & Eng.
University of Moratuwa

On 23 February 2017 at 05:59, Shanika Ediriweera <shanika...@cse.mrt.ac.lk>
wrote:

> I found the resource loader file.
>
> What should I add here?
>
> // Windows and dialogs module.
> $modules['oojs-ui-windows'] = [
> 'scripts' => 'resources/lib/oojs-ui/oojs-ui-windows.js',
> 'skinStyles' => $getSkinSpecific( 'windows' ),
> 'dependencies' => 'oojs-ui-core',
> 'messages' => [
> 'ooui-dialog-message-accept',
> 'ooui-dialog-message-reject',
> 'ooui-dialog-process-continue',
> 'ooui-dialog-process-dismiss',
> 'ooui-dialog-process-error',
> 'ooui-dialog-process-retry',
> ],
> 'targets' => [ 'desktop', 'mobile' ],
> ];
>
> Best Regards,
>
> Shanika Ediriweera
> Undergraduate
> Dept. of Computer Science & Eng.
> University of Moratuwa
>
> On 23 February 2017 at 05:40, Shanika Ediriweera <shanika...@cse.mrt.ac.lk
> > wrote:
>
>> Yes. I am working on a special page in the mediawiki core.
>>
>> Could you please tell me where is the resource loader modue located?
>>
>> Best Regards,
>>
>> Shanika Ediriweera
>> Undergraduate
>> Dept. of Computer Science & Eng.
>> University of Moratuwa
>>
>> On 23 February 2017 at 02:15, Bartosz Dziewoński <matma@gmail.com>
>> wrote:
>>
>>> Looks like you're not loading the OOjs UI code you're trying to use.
>>> Assuming that you're writing this as part of MediaWiki (or an extension),
>>> you need to add a dependency on the 'oojs-ui' ResourceLoader module.
>>>
>>> --
>>> Bartosz Dziewoński
>>>
>>> ___
>>> Wikitech-l mailing list
>>> Wikitech-l@lists.wikimedia.org
>>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>>
>>
>>
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Error when using OOjs UI/Windows/Message Dialogs

2017-02-22 Thread Shanika Ediriweera
I found the resource loader file.

What should I add here?

// Windows and dialogs module.
$modules['oojs-ui-windows'] = [
'scripts' => 'resources/lib/oojs-ui/oojs-ui-windows.js',
'skinStyles' => $getSkinSpecific( 'windows' ),
'dependencies' => 'oojs-ui-core',
'messages' => [
'ooui-dialog-message-accept',
'ooui-dialog-message-reject',
'ooui-dialog-process-continue',
'ooui-dialog-process-dismiss',
'ooui-dialog-process-error',
'ooui-dialog-process-retry',
],
'targets' => [ 'desktop', 'mobile' ],
];

Best Regards,

Shanika Ediriweera
Undergraduate
Dept. of Computer Science & Eng.
University of Moratuwa

On 23 February 2017 at 05:40, Shanika Ediriweera <shanika...@cse.mrt.ac.lk>
wrote:

> Yes. I am working on a special page in the mediawiki core.
>
> Could you please tell me where is the resource loader modue located?
>
> Best Regards,
>
> Shanika Ediriweera
> Undergraduate
> Dept. of Computer Science & Eng.
> University of Moratuwa
>
> On 23 February 2017 at 02:15, Bartosz Dziewoński <matma@gmail.com>
> wrote:
>
>> Looks like you're not loading the OOjs UI code you're trying to use.
>> Assuming that you're writing this as part of MediaWiki (or an extension),
>> you need to add a dependency on the 'oojs-ui' ResourceLoader module.
>>
>> --
>> Bartosz Dziewoński
>>
>> ___
>> Wikitech-l mailing list
>> Wikitech-l@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
>
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Error when using OOjs UI/Windows/Message Dialogs

2017-02-22 Thread Shanika Ediriweera
Yes. I am working on a special page in the mediawiki core.

Could you please tell me where is the resource loader modue located?

Best Regards,

Shanika Ediriweera
Undergraduate
Dept. of Computer Science & Eng.
University of Moratuwa

On 23 February 2017 at 02:15, Bartosz Dziewoński <matma@gmail.com>
wrote:

> Looks like you're not loading the OOjs UI code you're trying to use.
> Assuming that you're writing this as part of MediaWiki (or an extension),
> you need to add a dependency on the 'oojs-ui' ResourceLoader module.
>
> --
> Bartosz Dziewoński
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Error when using OOjs UI/Windows/Message Dialogs

2017-02-21 Thread Shanika Ediriweera
Hi,

I am working on a phabricator task and I need to use OOjs
UI/Windows/Message Dialogs (https://www.mediawiki.org/
wiki/OOjs_UI/Windows/Message_Dialogs) for a user warning.

But

TypeError: OO.ui.MessageDialog is not a constructor

error occurs when I use:

var messageDialog = new OO.ui.MessageDialog();

What might be the problem?

Best Regards,

Shanika Ediriweera
Undergraduate
Dept. of Computer Science & Eng.
University of Moratuwa

On 22 February 2017 at 08:02, Shanika Ediriweera <shanika...@cse.mrt.ac.lk>
wrote:

> Hi,
>
> I am working on a phabricator task and I need to use OOjs
> UI/Windows/Message Dialogs (https://www.mediawiki.org/
> wiki/OOjs_UI/Windows/Message_Dialogs) for a user warning.
>
> But
>
> TypeError: OO.ui.MessageDialog is not a constructor
>
> error occurs when I use:
>
> var messageDialog = new OO.ui.MessageDialog();TypeError: OO.ui.MessageDialog 
> is not a constructor
>
> What might be the problem?
>
> Best Regards,
>
> Shanika Ediriweera
> Undergraduate
> Dept. of Computer Science & Eng.
> University of Moratuwa
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Error when using OOjs UI/Windows/Message Dialogs

2017-02-21 Thread Shanika Ediriweera
Hi,

I am working on a phabricator task and I need to use OOjs
UI/Windows/Message Dialogs (
https://www.mediawiki.org/wiki/OOjs_UI/Windows/Message_Dialogs) for a user
warning.

But

TypeError: OO.ui.MessageDialog is not a constructor

error occurs when I use:

var messageDialog = new OO.ui.MessageDialog();TypeError:
OO.ui.MessageDialog is not a constructor

What might be the problem?

Best Regards,

Shanika Ediriweera
Undergraduate
Dept. of Computer Science & Eng.
University of Moratuwa
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [T62399] Possible alert message to show

2017-02-20 Thread Shanika Ediriweera
I think more user friendly warning would be better.

Using dev jargon like Foo:Foo:Bar. 'Foo:Foo would not be appropriate since
most of the wiki users are not developers.

If the namespace drop-down menu at Special:MovePage is a misfeature what
would be a better fix?

Best Regards,

Shanika Ediriweera
Undergraduate
Dept. of Computer Science & Eng.
University of Moratuwa

On 21 February 2017 at 08:47, MZMcBride <z...@mzmcbride.com> wrote:

> Shanika Ediriweera wrote:
> >I am working on the task "When moving, warn if people try to move to
> >Foo:Foo:Bar (repeated namespace)" -
> >https://phabricator.wikimedia.org/T62399
> >.
> >
> >What would be a good alert message for the users when there is repeated
> >namespace in title?
>
> Maybe something like this:
>
> "Please verify your new page title: Foo:Foo:Bar. 'Foo:Foo:' in a page
> title is usually a mistake."
>
> But the deeper issue is <https://phabricator.wikimedia.org/T50239>. The
> namespace drop-down menu at Special:MovePage is a misfeature.
>
> MZMcBride
>
>
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] [T62399] Possible alert message to show

2017-02-20 Thread Shanika Ediriweera
Hi,

I am working on the task "When moving, warn if people try to move to
Foo:Foo:Bar (repeated namespace)" - https://phabricator.wikimedia.org/T62399
.

What would be a good alert message for the users when there is repeated
namespace in title?

Thank you.

Best Regards,

Shanika Ediriweera
Undergraduate
Dept. of Computer Science & Eng.
University of Moratuwa
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Contribute to Wikimedia Foundation

2017-01-28 Thread Shanika Ediriweera
Hi Nethmi,

Here are some more resources you should follow.

   1. IRC channel can be found here -
   
https://summerofcode.withgoogle.com/archive/2016/organizations/6644619081154560/
  - Use a client and ask any issue occure while setting up, fixing
  issues and committing patches.
   2. Issues to fix - https://www.mediawiki.org/wiki/Annoying_little_bugs
   3. Open Source Contributors Chat Session with Tony Thomas -
   https://www.youtube.com/watch?v=J2HHHV4xtW8
   4. Past GSoC projects -
   https://www.mediawiki.org/wiki/Google_Summer_of_Code_past_projects

Good luck!


Best Regards,

Shanika Ediriweera
Undergraduate
Dept. of Computer Science & Eng.
University of Moratuwa

On 26 January 2017 at 13:18, Nethmi Pathirana <neth.pathiran...@gmail.com>
wrote:

> Hi Andre,
>
> Thank you for your guidence!
>
> Thanks,
> Nethmi
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Wikimedia-Categories Issue T147762

2017-01-26 Thread Shanika Ediriweera
Hi,

My name is Shanika Ediriweera and I am an undergraduate of University of
Moratuwa. I am new to the wikimedia community.

I would like to tackle this issue https://phabricator.wikimedia.org/T147762.

Since I am new to the community could someone guide me in reproducing the
issue?
Where is the code related to this issue? Is it in the core or in an
extension.

Thank you.

Best Regards,

Shanika Ediriweera
Undergraduate
Dept. of Computer Science & Eng.
University of Moratuwa
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l