[Bug 22601] Turn on AssertEdit

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

--- Comment #5 from Reedy s...@reedyboy.net 2010-02-22 20:52:13 UTC ---
if ( $assertName != '' ) {
$pass = AssertEdit::callAssert( $assertName, false );
if ( !$pass ) 
$result['assert'] = $assertName;
}

Currently, it just adds it... Adding to the results for the API, but not
actually failing (leaving that upto the user etc etc)...

-- 
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 22601] Turn on AssertEdit

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

--- Comment #3 from Reedy s...@reedyboy.net 2010-02-21 16:36:55 UTC ---
As an aside to this (ie it's not possible to tell if AssertEdit is installed
via the Api help), i'm making a api documentation module for it...

-- 
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 22601] Turn on AssertEdit

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

m.p.ropp...@web.de changed:

   What|Removed |Added

   Priority|Normal  |Low
 Status|RESOLVED|REOPENED
 Resolution|INVALID |
   Severity|normal  |enhancement

--- Comment #4 from m.p.ropp...@web.de 2010-02-21 18:03:48 UTC ---
1. You were right: I forgot to use it with a modifying action. My fault.

2. As I play with it: Can the API return the assert *result* also as a
MediaWiki-API-Error in the HTML header lines, or generally as an *error*? Or
could this not be done due to the result/error implementation style? A failed
assertion is not harmless and almost always (assert=user) returns in a login,
doesn’t it?

-- 
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 22601] Turn on AssertEdit

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

Reedy s...@reedyboy.net changed:

   What|Removed |Added

 CC||s...@reedyboy.net

--- Comment #1 from Reedy s...@reedyboy.net 2010-02-21 01:27:14 UTC ---
http://en.wikipedia.org/wiki/Special:Version

It's listed as included into the site...

-- 
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 22601] Turn on AssertEdit

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

Gurch matthew.brit...@btinternet.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||matthew.brit...@btinternet.
   ||com
 Resolution||INVALID

--- Comment #2 from Gurch matthew.brit...@btinternet.com 2010-02-21 02:34:33 
UTC ---
AssertEdit affects editing, not viewing.

http://en.wikipedia.org/w/index.php?title=Foobarassert=bot -- normal
http://en.wikipedia.org/w/index.php?title=Foobaraction=editassert=bot --
assertion error message

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