Re: [Wikitech-l] Project deleted?

2015-12-29 Thread Merlijn van Deen
On 28 December 2015 at 17:36, Fako Berkers  wrote:

> I had a project running named algo-news. I can still login and "become"
> algo-news, but all my files seem to have disappeared. There was a Python
> app in ~/www/python/src/ as suggested by the docs, but not any more. Any
> idea what happend? And how can I prevent this in the future?
>

As your public_html is from 19 June, this might be related to the file
system corruption/NFS outage we had back then. See
http://thread.gmane.org/gmane.org.wikimedia.labs/3822 for more information;
I'm not sure if the copy of the crashed filesystem is still available; in
any case, recovery will need some manual intervention. Please create a
Phabricator ticket if you need this.
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] The right way to inject user-supplied JavaScript?

2015-12-29 Thread Derk-Jan Hartman

> On 29 dec. 2015, at 21:59, Daniel Barrett  wrote:
> I also read 
> https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_for_extension_developers
>  but did not find an answer.


Hmm, we should really update parts of those guides btw. They not yet take 1.26 
into account really.

DJ



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Code of Conduct session at Wikimedia Developer Summit 2016

2015-12-29 Thread Matthew Flaschen

The Wikimedia Developer Summit starts this Monday, Jan. 4!

There will be an information and discussion session about the 
in-progress Code of Conduct for technical spaces 
(https://www.mediawiki.org/wiki/Code_of_Conduct/Draft) on Monday.


Thanks,

Matt Flaschen

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

Re: [Wikitech-l] The right way to inject user-supplied JavaScript?

2015-12-29 Thread Legoktm
Hi,

On 12/29/2015 12:59 PM, Daniel Barrett wrote:
> tl;dr:  What's the right way for a tag extension to execute JavaScript 
> provided by the user? (On a private wiki without Internet access.)
> 
> Details:
> I run a private wiki for developers (not accessible from the Internet) that 
> lets any wiki page author run JavaScript on a page by adding a tag:
> 
>  alert("hi"); 
> 
> (We understand  the security implications, which is why the wiki isn't 
> accessible by the world.) When we upgraded to MediaWiki 1.26 (from 1.24), a 
> problem occurred: the  tag stopped recognizing the "mediawiki" 
> and "mw" objects, but otherwise works. The following code reports an 
> undefined variable "mw":
> 
>  mw.loader.using() 
> 
> I assume this is because the  extension builds a 

Re: [Wikitech-l] Fwd: Database administration support (was Re: IRC office hours: Shared hosting)

2015-12-29 Thread Bartosz Dziewoński

On 2015-12-29 23:02, James Salsman wrote:

Sorry I forgot to copy this list.


Hi James, nobody minded, since as it was already pointed out to you 
twice, this is not the place where anyone would want to discuss it. If 
you want to propose a course of action for the WMF, try wikimedia-l.


--
Bartosz Dziewoński

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

[Wikitech-l] Fwd: Database administration support (was Re: IRC office hours: Shared hosting)

2015-12-29 Thread James Salsman
Sorry I forgot to copy this list.

-- Forwarded message --
From: *James Salsman* 
Date: Tuesday, December 22, 2015
Subject: Database administration support (was Re: IRC office hours: Shared
hosting)
To: Wikimedia Mailing List 


On Sunday, December 20, 2015, Brian Wolff > wrote:

> If you want to get Dispenser his hard disk space, you should take it
> up with the labs people, or at the very least some thread where it
> would be on-topic.
>

The labs people are so understaffed that two extremely important anti-spam
bots recently had to be taken offline for much longer than in recent years.

I propose Foundation management allocate the necessary resources and
recommend the hiring of sufficient personnel and purchasing of sufficient,
non NSA-compatible (i.e., discount and homebrew style) equipment
to properly support both existing infrastructural bots and similar projects
such as Dispenser's reflinks cache.

I would also like to propose that the Foundation oppose the TPP provisions
deleterious to our interests, and that this position be endorsed on the
Public Policy list.


> Then by definition it wouldn't be a third-party spam framework if WMF
> was running it.


I am not proposing that the WMF take the bots over, just meet their
necessary service level requirements.

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

Re: [Wikitech-l] The right way to inject user-supplied JavaScript?

2015-12-29 Thread Kevin Israel
On 12/29/2015 03:59 PM, Daniel Barrett wrote:
> I run a private wiki for developers (not accessible from the Internet) that 
> lets any wiki page author run JavaScript on a page by adding a tag:
> 
>  alert("hi"); 
> 
> (We understand  the security implications, which is why the wiki isn't 
> accessible by the world.) When we upgraded to MediaWiki 1.26 (from 1.24), a 
> problem occurred: the  tag stopped recognizing the "mediawiki" 
> and "mw" objects, but otherwise works. The following code reports an 
> undefined variable "mw":
> 
>  mw.loader.using() 
> 
> I assume this is because the  extension builds a 

[Wikitech-l] The right way to inject user-supplied JavaScript?

2015-12-29 Thread Daniel Barrett
tl;dr:  What's the right way for a tag extension to execute JavaScript provided 
by the user? (On a private wiki without Internet access.)

Details:
I run a private wiki for developers (not accessible from the Internet) that 
lets any wiki page author run JavaScript on a page by adding a tag:

 alert("hi"); 

(We understand  the security implications, which is why the wiki isn't 
accessible by the world.) When we upgraded to MediaWiki 1.26 (from 1.24), a 
problem occurred: the  tag stopped recognizing the "mediawiki" and 
"mw" objects, but otherwise works. The following code reports an undefined 
variable "mw":

 mw.loader.using() 

I assume this is because the  extension builds a