[Bug 29261] Translate extension should use correct API hook

2012-10-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29261

Niklas Laxström  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #8 from Niklas Laxström  2012-10-10 
14:21:43 UTC ---
I'm just gonna close this bug, since it depends on core changes which nobody is
working on. Patches are welcome, but not a priority for us.

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


[Bug 29261] Translate extension should use correct API hook

2012-05-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29261

--- Comment #7 from Niklas Laxström  2012-05-29 
12:54:10 UTC ---
Roan did https://gerrit.wikimedia.org/r/#/c/7154/ but we are also using
EditFilterMerged hook which gets executed before ArticleSave, we still get
hookaborted error because errors from that hook are not propagated.

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


[Bug 29261] Translate extension should use correct API hook

2011-09-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29261

--- Comment #6 from Niklas Laxström  2011-09-19 
13:02:38 UTC ---
Using that hook doesn't actually do what I want. I can provide custom error,
but I would need to change my editing interface to specifically handle that.

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


[Bug 29261] Translate extension should use correct API hook

2011-09-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29261

--- Comment #5 from Niklas Laxström  2011-09-18 
16:03:05 UTC ---
Thanks for the clarification. I will look at that at some point.

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


[Bug 29261] Translate extension should use correct API hook

2011-09-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29261

--- Comment #4 from Roan Kattouw  2011-09-18 16:00:46 
UTC ---
(In reply to comment #3)
> Roan: can you tell me whether it is my extension doing wrong, the API doing
> wrong or the current way of doing things just not good?
The current way of doing things sucks (more specifically, EditPage sucks), but
there is a workaround that Translate could be using but isn't. You can use the
APIEditBeforeSave hook to abort the edit and pass information back to the API
client.

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


[Bug 29261] Translate extension should use correct API hook

2011-09-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29261

Niklas Laxström  changed:

   What|Removed |Added

 CC||roan.katt...@gmail.com

--- Comment #3 from Niklas Laxström  2011-09-15 
07:39:45 UTC ---
Roan: can you tell me whether it is my extension doing wrong, the API doing
wrong or the current way of doing things just not good?

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


[Bug 29261] Translate extension should use correct API hook

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

Reedy  changed:

   What|Removed |Added

 Blocks||23855

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


[Bug 29261] Translate extension should use correct API hook

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

Reedy  changed:

   What|Removed |Added

 Blocks||14261
 Depends on|14261   |

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


[Bug 29261] Translate extension should use correct API hook

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

Mark A. Hershberger  changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal

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


[Bug 29261] Translate extension should use correct API hook

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

--- Comment #2 from Niklas Laxström  2011-06-03 
14:18:56 UTC ---
Actually:
// Check syntax for \
$wgHooks['ArticleSave'][] = 'PageTranslationHooks::tpSyntaxCheck';
$wgHooks['EditFilterMerged'][] =
'PageTranslationHooks::tpSyntaxCheckForEditPage';

If the API can't handle that...

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


[Bug 29261] Translate extension should use correct API hook

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

--- Comment #1 from Niklas Laxström  2011-06-03 
14:17:36 UTC ---
I blame MediaWiki. I need to write two hooks to actually do anything useful.

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


[Bug 29261] Translate extension should use correct API hook

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

Mark A. Hershberger  changed:

   What|Removed |Added

 Depends on||14261

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