[Bug 43270] Add wgPostEdit as core JavaScript variable

2013-03-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=43270

James Forrester  changed:

   What|Removed |Added

   See Also||https://bugzilla.wikimedia.
   ||org/show_bug.cgi?id=42939

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 43270] Add wgPostEdit as core JavaScript variable

2013-03-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=43270

Matthew Flaschen  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Matthew Flaschen  ---
Merged by Ori.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 43270] Add wgPostEdit as core JavaScript variable

2013-03-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=43270

Matthew Flaschen  changed:

   What|Removed |Added

 CC||sp...@wikimedia.org

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 43270] Add wgPostEdit as core JavaScript variable

2013-03-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=43270

Matthew Flaschen  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #5 from Matthew Flaschen  ---
I've documented this at
https://www.mediawiki.org/wiki/Manual:Interface/JavaScript#Page-specific

The documentation notes that you should depend on
'mediawiki.action.view.postEdit'.  Even though the module will always be added
on views, I believe this is necessary to avoid race conditions.

Loading the module when they did not just save should not cause problems.  I've
just submitted https://gerrit.wikimedia.org/r/#/c/51885/ to guarantee the
variable can never be set on a non-view.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 43270] Add wgPostEdit as core JavaScript variable

2013-02-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=43270

Matthew Flaschen  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Matthew Flaschen  ---
Merged

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 43270] Add wgPostEdit as core JavaScript variable

2013-02-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=43270

Matthew Flaschen  changed:

   What|Removed |Added

   Keywords||patch-in-gerrit,
   ||patch-need-review
 Status|NEW |ASSIGNED

--- Comment #3 from Matthew Flaschen  ---
Initial version at https://gerrit.wikimedia.org/r/#/c/50480/, ready to start
review.

It's basically similar to the Extension:PostEdit implementation of the
variable.  However, it uses the revision ID to avoid conflicts even if you save
the same article twice in close succession (e.g. two sections).

It also uses '/' for the path rather than exporting that.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 43270] Add wgPostEdit as core JavaScript variable

2013-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=43270

Matthew Flaschen  changed:

   What|Removed |Added

   Assignee|wikibugs-l@lists.wikimedia. |mflasc...@wikimedia.org
   |org |

--- Comment #2 from Matthew Flaschen  ---
GuidedTour also uses this.

I'm going to start implementing this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 43270] Add wgPostEdit as core JavaScript variable

2013-02-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=43270

Terry Chay  changed:

   What|Removed |Added

 CC||tc...@wikimedia.org

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 43270] Add wgPostEdit as core JavaScript variable

2012-12-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=43270

Andre Klapper  changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal
Version|unspecified |1.21-git

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 43270] Add wgPostEdit as core JavaScript variable

2012-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=43270

Steven Walling  changed:

   What|Removed |Added

 CC||swall...@wikimedia.org

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 43270] Add wgPostEdit as core JavaScript variable

2012-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=43270

--- Comment #1 from Matthew Flaschen  ---
I mean "just saved a page", not specifically an article.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 43270] Add wgPostEdit as core JavaScript variable

2012-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=43270

Matthew Flaschen  changed:

   What|Removed |Added

Summary|Add wgPostEdit are core |Add wgPostEdit as core
   |JavaScript variable |JavaScript variable

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l