[Bug 21991] Move common user query parameter validation, edit token requiringness/checking to ApiBase/Similar

2012-11-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21991

Nemo_bis  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21991] Move common user query parameter validation, edit token requiringness/checking to ApiBase/Similar

2011-12-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21991

--- Comment #12 from Reedy  2011-12-06 22:30:57 UTC ---
(In reply to comment #11)
> Just like validation of string/integer/timestamp etc. is centralized in
> ApiBase.php, perhaps a new PARAM_TYPE could be added for 'username' ?

That would work.

The question is how far do we go validating it - Just as far as "Would MW let
you have this username?" and if so, carrying on? And/or it will make a valid
User object (though, shouldn't these 2 things be essentially the same?)?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21991] Move common user query parameter validation, edit token requiringness/checking to ApiBase/Similar

2011-12-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21991

Krinkle  changed:

   What|Removed |Added

 CC||krinklem...@gmail.com

--- Comment #11 from Krinkle  2011-12-06 22:02:26 UTC ---
Just like validation of string/integer/timestamp etc. is centralized in
ApiBase.php, perhaps a new PARAM_TYPE could be added for 'username' ?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21991] Move common user query parameter validation, edit token requiringness/checking to ApiBase/Similar

2011-12-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21991

Reedy  changed:

   What|Removed |Added

 AssignedTo|s...@reedyboy.net|wikibugs-l@lists.wikimedia.
   ||org

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21991] Move common user query parameter validation, edit token requiringness/checking to ApiBase/Similar

2010-02-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21991

Reedy  changed:

   What|Removed |Added

Summary|Move common query parameter |Move common user query
   |(uc, rc) validation, token  |parameter validation, edit
   |requiringness/checking to   |token
   |ApiBase/Similar |requiringness/checking to
   ||ApiBase/Similar

--- Comment #10 from Reedy  2010-02-17 09:45:33 UTC ---
Minor title tweak - rc and uc weren't what we were actually looking at
changing, we were just looking at the *user parameter!

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l