[Bug 58789] page.Save() does not support sysop parameter

2014-06-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

Sorawee Porncharoenwase  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
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


[Bug 58789] page.Save() does not support sysop parameter

2014-06-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

--- Comment #10 from Gerrit Notification Bot  ---
Change 112299 merged by jenkins-bot:
Mark sysop parameter as deprecated

https://gerrit.wikimedia.org/r/112299

-- 
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


[Bug 58789] page.Save() does not support sysop parameter

2014-02-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

--- Comment #9 from Gerrit Notification Bot  ---
Change 112299 had a related patch set uploaded by Nullzero:
Switch sysop parameter to as_group='sysop'

https://gerrit.wikimedia.org/r/112299

-- 
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


[Bug 58789] page.Save() does not support sysop parameter

2014-02-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

Merlijn van Deen  changed:

   What|Removed |Added

 Status|PATCH_TO_REVIEW |NEW

--- Comment #8 from Merlijn van Deen  ---
There should be a selection box below the comment box ('Status:
[PATCH_TO_REVIEW v]'). If not, ask Andre (aklap...@wikimedia.org) for
'editbugs' rights.

However, I'm keeping this open, as def save should either get a working
'sysop=...' parameter or a @deprecated('sysop', 'as_group="sysop"') decorator.

-- 
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


[Bug 58789] page.Save() does not support sysop parameter

2014-02-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

--- Comment #7 from Sorawee Porncharoenwase  ---
How to change the status to RESOLVED FIXED?

-- 
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


[Bug 58789] page.Save() does not support sysop parameter

2014-02-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

--- Comment #6 from Gerrit Notification Bot  ---
Change 111943 merged by jenkins-bot:
Support editing as a sysop

https://gerrit.wikimedia.org/r/111943

-- 
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


[Bug 58789] page.Save() does not support sysop parameter

2014-02-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

Gerrit Notification Bot  changed:

   What|Removed |Added

 Status|NEW |PATCH_TO_REVIEW

-- 
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


[Bug 58789] page.Save() does not support sysop parameter

2014-02-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

--- Comment #5 from Gerrit Notification Bot  ---
Change 111943 had a related patch set uploaded by Nullzero:
Support editing as a sysop

https://gerrit.wikimedia.org/r/111943

-- 
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


[Bug 58789] page.Save() does not support sysop parameter

2014-02-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

--- Comment #4 from Sorawee Porncharoenwase  ---
I think that new parameter would not be necessary. If we call some functions
whose group='user' and there is the parameter sysop=True, obviously we want to
call that function as sysop but in user manner (like editing).

-- 
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


[Bug 58789] page.Save() does not support sysop parameter

2014-02-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

--- Comment #3 from Merlijn van Deen  ---
I think we should adapt the must_be decorator to take a new runtime parameter
(e.g. as_group), which would override the group defined by the original
function.

(this would adapt kwargs inside must_be.decorator.callee)

-- 
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


[Bug 58789] page.Save() does not support sysop parameter

2014-02-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

--- Comment #2 from Sorawee Porncharoenwase  ---
By the way, here is my workaround. It's ugly, though

# In APISite
def performAsSysop(self, user)
self.logout()
self._username[False] = user
self.login(False)

-- 
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


[Bug 58789] page.Save() does not support sysop parameter

2014-02-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

Sorawee Porncharoenwase  changed:

   What|Removed |Added

 CC||nullzero.f...@gmail.com

--- Comment #1 from Sorawee Porncharoenwase  ---
It doesn't work because of "@must_be(group='user')" on top of Site.editpage().
Should I create a new function like Site.editpage_sysop()? Or should I remove
"@must_be(group='user')"?

-- 
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


[Bug 58789] page.Save() does not support sysop parameter

2013-12-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789

Merlijn van Deen  changed:

   What|Removed |Added

 Blocks||55880

-- 
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