Re: [Wikitech-l] [RFC] Abstract table definitions

2012-08-20 Thread Tyler Romeo
Makes sense. IMHO most of the stuff I mentioned is just minor qualms. The overall syntax is pretty nice, and I think it'd be a great idea to have something like this. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | ty

[Wikitech-l] Wikimedians are rightfully wary

2012-08-21 Thread Tyler Romeo
Hey, Not sure if anybody has seen this article yet: https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2012-08-20/Op-ed Thought it was interesting and possibly worth discussion. --Tyler Romeo ___ Wikitech-l mailing list Wikitech-l

Re: [Wikitech-l] Lua deployed to www.mediawiki.org

2012-08-22 Thread Tyler Romeo
a reasonable maximum call time is? I probably should have looked into this more earlier, but it's been a busy week for me and I haven't had much time. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.co

Re: [Wikitech-l] Lua deployed to www.mediawiki.org

2012-08-22 Thread Tyler Romeo
so there's no problem with that, but with the op-ed on the Signpost, we should seriously question whether the community wants this feature before randomly forcing it on them. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerr

Re: [Wikitech-l] ContentHandler review?

2012-08-22 Thread Tyler Romeo
1300 lines. D: Somebody should really split that. Maybe put the interface into one file, the abstract class into another, etc. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Wed, Aug 22, 2012 at 1:32 PM

Re: [Wikitech-l] Lua deployed to www.mediawiki.org

2012-08-22 Thread Tyler Romeo
s? And no, we cannot be expected to consult every language wiki, but on the other hand we cannot completely ignore the community and suddenly launch this new extension on them as if they'd known about it for years. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major

Re: [Wikitech-l] Lua deployed to www.mediawiki.org

2012-08-22 Thread Tyler Romeo
As long as people in the templating community were at least consulted with, then that's fine. I'm just saying we cannot randomly throw features onto users without discussing it with them. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Comput

Re: [Wikitech-l] organize a bug triage

2012-08-22 Thread Tyler Romeo
> This tool is currently a colossal hack. XD *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Wed, Aug 22, 2012 at 4:26 PM, Sumana Harihareswara wrote: > On 08/22/2012 03:42 AM, matanya wrote:

Re: [Wikitech-l] Lua deployed to www.mediawiki.org

2012-08-22 Thread Tyler Romeo
Speaking of complex templates, has there been any work to move existing templates to Lua? Because I'd love to start on the ArticleHistory template if nobody else is doing it. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | ty

Re: [Wikitech-l] Nested database transactions

2012-08-23 Thread Tyler Romeo
Also, as a matter of record, I just checked and the SAVEPOINT command (or an equivalent) is supported on SQLite, Postgresql, and mssql. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Thu, Aug 23, 2012

Re: [Wikitech-l] Lua deployed to www.mediawiki.org

2012-08-24 Thread Tyler Romeo
not really a need to make a Lua module for something that basic. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Fri, Aug 24, 2012 at 8:56 AM, Helder . wrote: > I think that is > https://bugzilla.wik

Re: [Wikitech-l] best way to clean up the wiki from 3Gb of spam

2012-08-24 Thread Tyler Romeo
Technically speaking, pages and accounts can be permanently deleted. (There is an extension for it I believe.) However, since MediaWiki does not use foreign keys, you have to be careful not to break things in the process. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in

Re: [Wikitech-l] Nested database transactions

2012-08-24 Thread Tyler Romeo
e case in more detail? *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Fri, Aug 24, 2012 at 12:36 PM, Daniel Kinzler wrote: > On 24.08.2012 03:14, Aaron Schulz wrote: > > SAVEPOINTs are useful if

Re: [Wikitech-l] best way to clean up the wiki from 3Gb of spam

2012-08-24 Thread Tyler Romeo
I do! http://wiki.sittv.com has been building up spam for a number of months (or longer). *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Fri, Aug 24, 2012 at 12:52 PM, John wrote: > Ive got a scr

Re: [Wikitech-l] Code ideas thread

2012-08-24 Thread Tyler Romeo
has been on security, so I may take this on in the near future. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Fri, Aug 24, 2012 at 1:05 PM, Daniel Friesen wrote: > Meta discussions over community, Ap

Re: [Wikitech-l] Code ideas thread

2012-08-24 Thread Tyler Romeo
Wait a second. Concerning the password reset, currently it uses the user_newpassword field, which means the user is required to reset their password upon login. How is this any different than using a reset token, where the user supplies the reset token and changes their password? *--* *Tyler

Re: [Wikitech-l] Code ideas thread

2012-08-24 Thread Tyler Romeo
Yes, but that's only increased convenience. I'm wondering exactly what security implications there are to our current system v. a token reset system. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com

Re: [Wikitech-l] Code ideas thread

2012-08-24 Thread Tyler Romeo
assword lengths to something like 64, and then shift the Special:ResetPassword and User::mailPasswordInternal logic to use URLs instead of entering the password manually. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...

Re: [Wikitech-l] Code ideas thread

2012-08-26 Thread Tyler Romeo
ebody wants to go ahead and make an extension for a custom authentication protocol, feel free to do so, but I still believe OAuth support should be our ultimate goal in terms of third-party application security. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www

Re: [Wikitech-l] [MediaWiki-l] CentralAuth API access

2012-08-26 Thread Tyler Romeo
I would take it on, but unfortunately I'm trying to work on three different things (and classes are starting for me). But if my time frees up as winter draws closer I might consider doing it. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Sc

Re: [Wikitech-l] Code ideas thread

2012-08-27 Thread Tyler Romeo
number of reasons I will not elaborate on here. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Mon, Aug 27, 2012 at 9:52 AM, Gerard Meijssen wrote: > Hoi, > I have re-read the Wikipedia article

Re: [Wikitech-l] Code ideas thread

2012-08-27 Thread Tyler Romeo
arated). OAuth could change this by allowing bots to operate directly under the user's account. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Mon, Aug 27, 2012 at 12:57 PM, Ryan Lane wrote: > &g

Re: [Wikitech-l] Code ideas thread

2012-08-27 Thread Tyler Romeo
I agree that bot accounts should still be separate, I just wanted to make the point that, theoretically, since the permissions are separated, you could do it that way if so desired. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com

Re: [Wikitech-l] Using ORM patterns in core

2012-08-27 Thread Tyler Romeo
rs of code to load defaults manually. The easy way to fix this would be to change loadFields() so that rather than use the ID, just use any indexed fields in the object to load the fields. That way you can use newRow() to load defaults and then call loadFields() in an attempt to get from the database

Re: [Wikitech-l] Proposed new core feature: page with limited or no history

2012-08-28 Thread Tyler Romeo
basic design of MediaWiki itself, which is to keep revisions of pages. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Tue, Aug 28, 2012 at 4:04 AM, Petr Bena wrote: > Hi, > > There is a number of s

Re: [Wikitech-l] [testing] TitleBlacklist now tested under Jenkins

2012-08-29 Thread Tyler Romeo
Are there any plans to move more extensions (or at least those with unit tests) under Jenkins? Because I know one of my extension (TwoFactorAuthentication) has unit tests. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro

Re: [Wikitech-l] [testing] TitleBlacklist now tested under Jenkins

2012-08-29 Thread Tyler Romeo
> > Ultimately, all extensions hosted on WMF git server will be integrated > in Jenkins. If you get PHPUnit test, I will add a job for it as soon as > the current jobs are stable enough. Awesome! *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Comp

Re: [Wikitech-l] Status on MediaWiki 1.20 release?

2012-08-31 Thread Tyler Romeo
Honestly, I'd love to see Daniel's password hashing system merged before the next release, if that's at all possible. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Fri, Aug 31, 2012 at

[Wikitech-l] Scribunto - Passing All Arguments?

2012-09-02 Thread Tyler Romeo
ngs a lot easier for the Lua version of ArticleHistory I'm working on. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com ___ Wikitech-l mailing list

Re: [Wikitech-l] A few questions about adding user preferences via the API

2012-09-09 Thread Tyler Romeo
e database). *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Sun, Sep 9, 2012 at 8:37 PM, MZMcBride wrote: > Forwarding from <https://bugzilla.wikimedia.org/show_bug.cgi?id=40124#c0>: > > --- &

Re: [Wikitech-l] A few questions about adding user preferences via the API

2012-09-10 Thread Tyler Romeo
It should be noted, though, that only the new API for user options allows this. The GUI user preferences form will ignore any user option that is not added using the GetPreferences hook. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science

Re: [Wikitech-l] Problem with unit tests and dataProviders

2012-09-23 Thread Tyler Romeo
This is a functionality of PHPUnit, not of MediaWiki. The idea is that each test case (or function) is considered the most basic unit of testing. So setUp() and tearDown() have to be called before and after each function to ensure the testing environment is clean for the test. *--* *Tyler Romeo

Re: [Wikitech-l] New extension: Diff

2012-09-25 Thread Tyler Romeo
This looks pretty interesting. Is there a reason we don't just put this in the core? *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Tue, Sep 25, 2012 at 6:50 AM, Jeroen De Dauw wrote: > Hey,

Re: [Wikitech-l] Indexing sha1 hashes in mysql

2012-09-25 Thread Tyler Romeo
I see no problem with this. SHA-1 has such a strong avalanche effect that even the chance of having two similar hashes is pretty low. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Tue, Sep 25, 2012 at

Re: [Wikitech-l] Indexing sha1 hashes in mysql

2012-09-25 Thread Tyler Romeo
It would be better, but I believe MediaWiki already uses this type of storage. Changing to binary would require a schema change. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Tue, Sep 25, 2012 at 2:20

Re: [Wikitech-l] Content handler feature merge (Wikidata branch) scheduled early next week

2012-09-25 Thread Tyler Romeo
I think it would be nice to have a changeset in Gerrit showing the actual merge. I'm not sure how this would be possible with Gerrit, but it would definitely be useful as a final review (and for QA purposes). *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Com

[Wikitech-l] Question About wfUrlEncode

2012-09-25 Thread Tyler Romeo
figure out why it's failing, because the actual code hasn't really changed at all (in fact some of wfUrlencode is even copied/pasted). Maybe somebody can offer some insight? *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.c

Re: [Wikitech-l] New extension: Diff

2012-09-26 Thread Tyler Romeo
> > So unless other existing core functionality would need it, it doesn't make > sense > to include it. > This makes sense. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Wed, Sep

Re: [Wikitech-l] Dependency management, MediaWiki and modularity (was Re: New extension: Diff)

2012-09-27 Thread Tyler Romeo
Sounds somewhat viable. I know a number of other projects who use composer. It would be interesting to try it out. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Thu, Sep 27, 2012 at 9:47 PM, Mark A

Re: [Wikitech-l] Dependency management, MediaWiki and modularity (was Re: New extension: Diff)

2012-09-27 Thread Tyler Romeo
e core, but if we're going truly modular some will argue otherwise. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Thu, Sep 27, 2012 at 10:32 PM, Daniel Friesen wrote: > On Thu, 27 Sep

Re: [Wikitech-l] Dependency management, MediaWiki and modularity (was Re: New extension: Diff)

2012-09-28 Thread Tyler Romeo
Well in that case maybe we can get some sort of official design document going so that we're planning rather than plinning. :P *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Fri, Sep 28, 2012 at

Re: [Wikitech-l] SPF (email spoof prevention feature) test-rollout Weds 10/5

2012-09-28 Thread Tyler Romeo
You should also add an SPF record in addition to a TXT record, as recommended by RFC 4408. The format is the same. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Fri, Sep 28, 2012 at 2:04 PM, Daniel

Re: [Wikitech-l] Proposal Extension:Browserid (Mozilla "Persona") - open source

2012-09-28 Thread Tyler Romeo
The login form should be properly implemented as a FormSpecialPage. I have some initial code drafted for that if you want. The only big problem is supporting the various hooks in the current form. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science

Re: [Wikitech-l] Content handler feature merge (Wikidata branch) scheduled early next week

2012-09-29 Thread Tyler Romeo
Thanks Denny. This is pretty helpful for looking at the exact changes being made. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Sat, Sep 29, 2012 at 6:46 AM, Denny Vrandečić < denny.vra

Re: [Wikitech-l] Using mediawiki from within the Social networks?

2012-10-01 Thread Tyler Romeo
Theoretically I guess it's capable with the API and whatnot, but I don't think it's been attempted (or at least not to the extent you're implying). It'd be interesting. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.w

Re: [Wikitech-l] Content handler feature merge (Wikidata branch) scheduled early next week

2012-10-02 Thread Tyler Romeo
That moment of suspense before a big branch merge... *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Tue, Oct 2, 2012 at 9:07 PM, Rob Lanphier wrote: > Hi everyone, > > We now at around the

Re: [Wikitech-l] best way to clean up the wiki from 3Gb of spam

2012-10-06 Thread Tyler Romeo
Indeed. The script eliminated some tens of thousands of spam pages among only ~400 actual content pages. It was not perfect (there were still a few pages that had spam on them), but it definitely worked amazingly and did not have any false positives that I am aware of. *--* *Tyler Romeo* Stevens

Re: [Wikitech-l] Extending the ORMTable functionality (was: Wikidatareview status)

2012-10-06 Thread Tyler Romeo
For some cases I find ORMTable and our framework pretty useful, but on the other hand our current database solution (with DatabaseBase::select and the like) is perfectly fine and works efficiently and securely for most purposes. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015

Re: [Wikitech-l] Make Extensions Aware of the ContentHandler

2012-10-10 Thread Tyler Romeo
This is not a good idea. We should wait until the ContentHandler branch is fully QAd and we are sure it will not be reverted before converting extensions over to using it. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro

Re: [Wikitech-l] ExternalAuth and AuthPlugin relationships

2012-10-11 Thread Tyler Romeo
The problem is that both AuthPlugin and ExternalAuth are pretty hacked together authentication system and both should be tossed in the garbage and replaced with a legitimately designed authnz system. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science

Re: [Wikitech-l] ExternalAuth and AuthPlugin relationships

2012-10-11 Thread Tyler Romeo
both too separate from the local authentication process, not to mention both require users have passwords, which is something that is not necessarily true for certain external authentication methods. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science

Re: [Wikitech-l] Capabilities class (was Re: Make Extensions Aware of the ContentHandler)

2012-10-11 Thread Tyler Romeo
Wouldn't it be simpler to just compare the Wikimedia version? if version < 1.21 { Don't use ContentHandler } *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Thu, Oct 11, 2012 at 1:03 PM, Vi

Re: [Wikitech-l] ExternalAuth and AuthPlugin relationships

2012-10-11 Thread Tyler Romeo
I'll work on that over the next week and see if I can come up with a good design to work off of. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Thu, Oct 11, 2012 at 2:39 PM, Ryan Lane wrote: &g

Re: [Wikitech-l] Capabilities class (was Re: Make Extensions Aware of the ContentHandler)

2012-10-11 Thread Tyler Romeo
I do not think, design-wise, this is a good idea. In addition to what Tim said, extensions would become needlessly complex if we started accounting for every possible MediaWiki feature that's added in a given release. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Maj

Re: [Wikitech-l] ExternalAuth and AuthPlugin relationships

2012-10-11 Thread Tyler Romeo
uld be used in combination with the FormSpecialPage-based Special:Userlogin and Special:ChangePassword that are currently in Gerrit to allow more comprehensive authnz frameworks. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com

Re: [Wikitech-l] ExternalAuth and AuthPlugin relationships

2012-10-12 Thread Tyler Romeo
ication data", which is raw data captured from the authentication point. This is one advantage over AuthPlugin, which requires a username/password scheme. And I believe, if we were to do this, we could have an AuthPluginProvider, which would wrap around $wgAuth for backwards compatibility. *

Re: [Wikitech-l] Tentative specs for MW releases

2012-10-14 Thread Tyler Romeo
made. Maybe this already happens and I just don't know where this resource is. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Sun, Oct 14, 2012 at 9:26 PM, Mark A. Hershberger wrote: > I said I w

Re: [Wikitech-l] Tentative specs for MW releases

2012-10-16 Thread Tyler Romeo
I am aware of the RELEASE-NOTES file. However, it is only updated once a feature has been merged into the codebase, There should be some general idea of at least what is planned for a release before the code is actually written. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015

Re: [Wikitech-l] Tentative specs for MW releases

2012-10-16 Thread Tyler Romeo
You guys should totally do OAuth." or something along those lines. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Tue, Oct 16, 2012 at 12:18 PM, Mark A. Hershberger wrote: > On 10/16/2012 11:

Re: [Wikitech-l] Commit summaries

2012-10-18 Thread Tyler Romeo
Keep in mind this is not a problem with git, but a problem with gerrit. Git will work perfectly fine with summary lines over 62 characters (try git shortlog). *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com

Re: [Wikitech-l] Should JS/CSS pages be parsed?

2012-10-18 Thread Tyler Romeo
It seems like people have some pretty good reasons for parsing JS/CSS pages (categorization, backlinks, speedy deletion templates, etc.), so unless there is some significant disadvantage to MW for enabling parsing, I'm going to have to agree with the bug filer. *--* *Tyler Romeo* Stevens Inst

Re: [Wikitech-l] Expanding +2 access

2012-10-22 Thread Tyler Romeo
Agreed on what Daniel said. I'd much prefer to keep my extensions on Gerrit, but it becomes slightly frustrating when you have to wait two weeks for the repository to be created. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztec

Re: [Wikitech-l] Expanding +2 access

2012-10-22 Thread Tyler Romeo
m a patient man ;) ). *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Mon, Oct 22, 2012 at 8:52 PM, Ori Livneh wrote: > > > On Monday, October 22, 2012 at 5:46 PM, Ori Livneh wrote: > > > >

Re: [Wikitech-l] whether to do Google Code-In

2012-10-22 Thread Tyler Romeo
I think it's a cool idea, especially considering I'm still kicking myself for not getting involved in open-source earlier. The real problem is deciding what to have them work on. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizki

[Wikitech-l] Pretty Timestamps

2012-10-24 Thread Tyler Romeo
So recently https://gerrit.wikimedia.org/r/15746 was merged. It implements a pretty timestamp function. Yet it was somehow completely ignored that we actually have an MWTimestamp class made specifically for timestamp objects in MediaWiki. *--* *Tyler Romeo* Stevens Institute of Technology, Class

Re: [Wikitech-l] Pretty Timestamps

2012-10-25 Thread Tyler Romeo
anguage is used to generate it properly. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Thu, Oct 25, 2012 at 6:27 AM, Siebrand Mazeland wrote: > On Thu, Oct 25, 2012 at 10:16 AM, Antoine Musso > wr

Re: [Wikitech-l] Composer use in MediaWiki

2012-10-25 Thread Tyler Romeo
Well I think we agreed before somewhere that we should not use Composer for installation of MW extensions, and that MW is in dire need of its own extension management code. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro

Re: [Wikitech-l] Composer use in MediaWiki

2012-10-25 Thread Tyler Romeo
uggestion, and then myself and a few others agreed with him. Here's the original thread: http://lists.wikimedia.org/pipermail/wikitech-l/2012-September/063503.html *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmai

[Wikitech-l] SSL Validation in Http

2012-10-25 Thread Tyler Romeo
et it to 2. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Pretty Timestamps

2012-10-26 Thread Tyler Romeo
process the timestamp and then pass the data onto Language to do the formatting. That way it happens transparently. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Fri, Oct 26, 2012 at 5:33 PM, Terry Chay

Re: [Wikitech-l] Pretty Timestamps

2012-10-26 Thread Tyler Romeo
would call in order to get the proper timestamps. I can work on a patch for this now. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Fri, Oct 26, 2012 at 6:18 PM, Chad wrote: > On Fri, Oct 26, 2012 at

Re: [Wikitech-l] SPDY?

2012-10-27 Thread Tyler Romeo
Since Apache tends to be the main web server people use, in order to make MediaWiki use SPDY, we'd have to work with mod_spdy. Does anybody know how stable this is? *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | ty

Re: [Wikitech-l] SPDY?

2012-10-27 Thread Tyler Romeo
ver a socket, or maybe having an improved edit form that tells your browser when another user edits the page. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Sun, Oct 28, 2012 at 2:03 AM, Dmitriy Sintsov

Re: [Wikitech-l] SPDY?

2012-10-28 Thread Tyler Romeo
> > Of course this is pretty much impossible with PHP. Of course this is > pretty much impossible with PHP. No it's not. You use PHP's sockets functions, albeit PHP is probably not the most optimal language for setting up a websocket server. *--* *Tyler Romeo* Stevens Inst

Re: [Wikitech-l] "Fuck OAuth"

2012-11-05 Thread Tyler Romeo
Is this video about OAuth 2.0 only, or the original 1.0 as well? --Tyler Romeo *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Tue, Nov 6, 2012 at 2:40 AM, Daniel Friesen wrote: > The latest in

Re: [Wikitech-l] Can we help Tor users make legitimate edits?

2013-09-27 Thread Tyler Romeo
e discussion on it and maybe I can resume implementation. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Conditional resource loading

2013-09-28 Thread Tyler Romeo
? > This is probably what you're looking for: https://www.mediawiki.org/wiki/ResourceLoader/Developing_with_ResourceLoader#Client-side_.28dynamically.29 There's a JavaScript function mw.loader.using() that loads modules before calling the passed closure. *-- * *Tyler Romeo* Steven

Re: [Wikitech-l] File cache + HTTPS question

2013-10-01 Thread Tyler Romeo
g daemon. Also, like Mark mentioned, I'd like to see some statistics on how many people use shared hosting for MediaWiki before dropping support for them out of principle. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science On Tue, Oct 1, 2013 at 1

Re: [Wikitech-l] File cache + HTTPS question

2013-10-01 Thread Tyler Romeo
gt; a reason that almost every MediaWiki install in existence is completely out > of date. > Do you have some specific examples? Also, if that's the case then removing file caching would be a step backwards. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 20

Re: [Wikitech-l] File cache + HTTPS question

2013-10-01 Thread Tyler Romeo
zed, but the problem is that Antoine suggested earlier in this thread that file caching be removed completely. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science ___ Wikitech-l mailing list Wikitech-l@lists.wikim

Re: [Wikitech-l] Escaping for field and index names

2013-10-07 Thread Tyler Romeo
On Oct 7, 2013 11:55 AM, "Jeroen De Dauw" wrote: > > Hey, > > When constructing an SQL string, how should the following things be > escaped, if at all? > > * Field names > * Index names > > It looks like when doing a select using the Database MW thing, the field > names provided do not get escaped

Re: [Wikitech-l] Escaping for field and index names

2013-10-07 Thread Tyler Romeo
> " bar' into '`foo \" bar`', but 'foo ` bar' comes out wrong as '`foo ` > bar`'. > Good point. Didn't seem to find anything on this in Bugzilla so I filed it: https://bugzilla.wikimedia.org/show_bug.cgi?id=55427 *-- * *Tyler R

Re: [Wikitech-l] Exceptions, return false/null, and other error handling possibilities.

2013-10-07 Thread Tyler Romeo
rows an ErrorPageError, which just bypasses all logic and shows a nice error page. Usually errors that are fatal to the request, i.e., once they occur the request can no longer continue, work well with exceptions. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Maj

Re: [Wikitech-l] Exceptions, return false/null, and other error handling possibilities.

2013-10-07 Thread Tyler Romeo
inction between return values and error values, which is something not always guaranteed by the "return null/false" strategy. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science ___ Wikitech-l mailing lis

[Wikitech-l] Method of Testing DB Queries

2013-10-08 Thread Tyler Romeo
through which I can test queries? Thanks in advance. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Method of Testing DB Queries

2013-10-09 Thread Tyler Romeo
st wiki is pretty much useless. A smallish wiki with 10ks of pages and the full history and the table data > (not just revision/page/*links stuff from dumps) would probably be useful. > I'm not sure where the threshold roughly starts though. > OK, maybe I'll try this then. Thanks for

Re: [Wikitech-l] New API options problem

2013-10-10 Thread Tyler Romeo
This should probably be filed as a bug if it isn't already. -- Tyler Romeo On Oct 10, 2013 12:17 PM, "Brad Jorsch (Anomie)" wrote: > On Thu, Oct 10, 2013 at 11:13 AM, Aran wrote: > > I see, so is there any way to update user preferences such as real name > > a

Re: [Wikitech-l] include google api with ResourceLoader

2013-10-11 Thread Tyler Romeo
ope of what RL does. RL is made only for internal JavaScript modules that can be maintained and managed within the application. You will probably just have to use OutputPage::addScriptFile( " http://www.google.com/jsapi"; ) to do it. *-- * *Tyler Romeo* Stevens Institute of Technology, Cl

Re: [Wikitech-l] RFC: Refactoring the Title object

2013-10-23 Thread Tyler Romeo
itself" pattern. However, a value object needs to be easily serializable. So what representation is used for serializing a TitleValue? It can't be the display title or DB key since that's part of the TitleFormatter class. *-- * *Tyler Romeo* Stevens Institute of Te

Re: [Wikitech-l] RFC: Refactoring the Title object

2013-10-23 Thread Tyler Romeo
issions, etc.". I think there comes a point when you have to acknowledge that some properties of Title objects are indeed part of the value object. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science ___ W

Re: [Wikitech-l] Code Climate for Ruby and JavaScript

2013-10-25 Thread Tyler Romeo
God I hate Ruby, but the JS reports look interesting, albeit it's kind of just JSHint in a nicer GUI with some cyclomatic complexity checks. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science On Fri, Oct 25, 2013 at 7:38 AM, Željko Filipin wrote:

Re: [Wikitech-l] Should MediaWiki CSS prefer non-free fonts?

2013-10-27 Thread Tyler Romeo
ck and dirty move to hide changes from people who subscribe to the new patchset feed. Please don't do that again in the future. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science ___ Wikitech-l mailing list Wiki

Re: [Wikitech-l] Subclassing User?

2013-10-27 Thread Tyler Romeo
Agreed with Brion here. The User class has a large mixture of functionality and is hardcoded all over the place. There are very few use cases I can think of where it would work, and even then there's no guarantee the solution will continue to work in future versions. -- Tyler Romeo On O

[Wikitech-l] More TLS Problems

2013-10-28 Thread Tyler Romeo
About time another issue with TLS popped up. Thought I'd share it here: http://bit-player.org/2013/the-keys-to-the-keydom *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science ___ Wikitech-l mailing list Wik

Re: [Wikitech-l] More TLS Problems

2013-10-28 Thread Tyler Romeo
to be made vulnerable. The process can be performed by anybody and only takes a day or two of processing along with an hour of computation (about $5 on EC2). *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science On Mon, Oct 28, 2013 at 5:04 AM, Tyler Romeo

Re: [Wikitech-l] More TLS Problems

2013-10-28 Thread Tyler Romeo
Not sure what embedded systems WMF might have, but if somebody has the time they may want to double-check. You never know... *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science ___ Wikitech-l mailing list Wikitech-l@lis

Re: [Wikitech-l] Secure and split

2013-10-31 Thread Tyler Romeo
Yay! I've been waiting for this day and almost forgot about it. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science On Thu, Oct 31, 2013 at 6:25 PM, Brion Vibber wrote: > Hear, hear! > > There's a cake in the office, hopefully someo

Re: [Wikitech-l] H.264

2013-11-02 Thread Tyler Romeo
ill serve existing H.264 videos. So if somebody uploads an MP4 to Commons, that video can be served without having to transcode it into another less efficient format. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Scie

Re: [Wikitech-l] H.264

2013-11-02 Thread Tyler Romeo
On Sat, Nov 2, 2013 at 6:55 AM, Brion Vibber wrote: > If all this makes you want to just punch patents in the nose and run away, > that's understandable... > :/ it does. It really does. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Co

Re: [Wikitech-l] Module storage is coming

2013-11-03 Thread Tyler Romeo
MediaWiki: Manually fixing broken browser functionality since 2012. Also I do wonder how useful this actually is. Does site JavaScript really change that often? I suppose we'll find out after testing. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Sc

<    1   2   3   4   5   6   7   8   >