Re: [Wikitech-l] Changing a default system message

2016-10-22 Thread Aran
Oh sorry I mis-read your message, you mean the article not the file..
but still it would be preferable if the functionality could be all
packaged into the extension without needing to apply content as well.


On 22/10/16 16:15, James Hare wrote:
> On Saturday, October 22, 2016 at 2:12 PM, Aran wrote:
>> Hi,
>>  
>> I have an extension that change some of the default system messages for
>> example "talk" to "comment", but since upgrading to 1.27 these messages
>> no longer change. I've tried rebuildmessages.php and
>> rebuildLocalisationCache.php but nothing seems to allow me to override
>> these default messages any more. New messages that the extension
>> introduces can be changed no problem.
>>  
>> Does anyone here know the proper procedure for doing this?
>>  
>> Thanks,
>>  
>> Aran
>>  
> Is there any reason this needs to be handled by the extension? Can you edit 
> the corresponding MediaWiki-namespace page to change the label?
>
> —
> James Hare
> http://harej.co  
>
> ___
> 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] Changing a default system message

2016-10-22 Thread Aran
All the functionality really needs to be packaged into the extension so
that there's no code-base files being changed - and also that's only one
example, there are other messages changed too that are not namespaces,
such as the failed login message.


On 22/10/16 16:15, James Hare wrote:
> On Saturday, October 22, 2016 at 2:12 PM, Aran wrote:
>> Hi,
>>  
>> I have an extension that change some of the default system messages for
>> example "talk" to "comment", but since upgrading to 1.27 these messages
>> no longer change. I've tried rebuildmessages.php and
>> rebuildLocalisationCache.php but nothing seems to allow me to override
>> these default messages any more. New messages that the extension
>> introduces can be changed no problem.
>>  
>> Does anyone here know the proper procedure for doing this?
>>  
>> Thanks,
>>  
>> Aran
>>  
> Is there any reason this needs to be handled by the extension? Can you edit 
> the corresponding MediaWiki-namespace page to change the label?
>
> —
> James Hare
> http://harej.co  
>
> ___
> 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] Changing a default system message

2016-10-22 Thread James Hare
On Saturday, October 22, 2016 at 2:12 PM, Aran wrote:
> Hi,
>  
> I have an extension that change some of the default system messages for
> example "talk" to "comment", but since upgrading to 1.27 these messages
> no longer change. I've tried rebuildmessages.php and
> rebuildLocalisationCache.php but nothing seems to allow me to override
> these default messages any more. New messages that the extension
> introduces can be changed no problem.
>  
> Does anyone here know the proper procedure for doing this?
>  
> Thanks,
>  
> Aran
>  
Is there any reason this needs to be handled by the extension? Can you edit the 
corresponding MediaWiki-namespace page to change the label?

—
James Hare
http://harej.co  

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Changing a default system message

2016-10-22 Thread Aran
Hi,

I have an extension that change some of the default system messages for
example "talk" to "comment", but since upgrading to 1.27 these messages
no longer change. I've tried rebuildmessages.php and
rebuildLocalisationCache.php but nothing seems to allow me to override
these default messages any more. New messages that the extension
introduces can be changed no problem.

Does anyone here know the proper procedure for doing this?

Thanks,

Aran


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Automatic gerrit authentication and retrieval of reviews

2016-10-22 Thread Strainu
Thank you all for your suggestions. I'll discuss with the people who
implemented the original application and decide on the best approach
given the limited resources and time.

Strainu

2016-10-22 3:23 GMT+03:00 Gergo Tisza :
> On Fri, Oct 21, 2016 at 3:38 PM, Strainu  wrote:
>
>> I'm simply trying to make it easy for the users. In the current
>> version of the tool, they login with the github account and the rest
>> happens "magically": the tool retrieves their pull requests and scores
>> them according to a predefined set of criteria - no need for user
>> input of any kind. I just want the same workflow for patches submitted
>> to gerrit and I needed a way to authenticate the users and match the
>> information I have from the OAuth endpoint with reviews from gerrit.
>
>
> In that case, I would require them to prove account ownership by sending an
> email to the gerrit email address with a verification link.
>
> Or you could require that that email address is present in Github (it does
> not have to be the primary address, and this is a good practice anyway as
> it will ensure that the clone repo on Github attributes the patch to them
> correctly once it gets merged - although in theory the Gerrit owner,
> committer and author email address could be three different things, but
> that's unlikely to happen) and then verify that somehow. You can probably
> just upload a gist with that address and check whether Github attributes it
> to them.
> ___
> 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] Deploying the Linter extension to Wikimedia wikis

2016-10-22 Thread Bináris
Sounds well, looking forward to see it in practice. :-)
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Deploying the Linter extension to Wikimedia wikis

2016-10-22 Thread Legoktm
Hi,

Arlo and myself have been working on a new MediaWiki extension to expose
Parsoid's "lint errors" to users.

A little bit of background, Parsoid has a linter that identifies some
issues in wikitext that while may not result in user-facing errors, are
still not wanted in wikitext. An example might be
[[File:Example.png|foo|bar|baz]]. In this case, "foo" and "bar" are
ignored, and "baz" is the actual caption - but the bogus image options
should be removed. Other errors include missing end tags, obsolete HTML
tags, fostered content, etc.

The main advantage of this over tracking categories is that we know the
location in the wikitext so it should be easier to identify the error
and fix it, as well as knowing whether the issue was caused via a
template or not.

The main ticket tracking deployment is
.

-- Legoktm

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l