FlightGear wiki:Instant-Refs: Difference between revisions

Jump to navigation Jump to search
m
→‎Feature requests & ideas: Add link to https://www.mediawiki.org/wiki/API:Edit#Editing_via_Ajax
m (→‎Feature requests & ideas: Add link to https://www.mediawiki.org/wiki/API:Edit#Editing_via_Ajax)
Line 113: Line 113:
* Use the script to update previously created Cquotes automatically
* Use the script to update previously created Cquotes automatically
** Instead of using the <code>getSelection()</code> helper, we could register a match for <tt>wiki.flightgear.org</tt> with <code>action=edit</code> set, so that we can directly process all text of an edited page, using AJAX calls to open the URL in the background. {{Not done}}
** Instead of using the <code>getSelection()</code> helper, we could register a match for <tt>wiki.flightgear.org</tt> with <code>action=edit</code> set, so that we can directly process all text of an edited page, using AJAX calls to open the URL in the background. {{Not done}}
** See [https://www.mediawiki.org/wiki/API:Edit#Editing_via_Ajax MW:API:Edit § Editing via Ajax]


== The Script ==
== The Script ==

Navigation menu