Content deleted Content added
Hgetnet Bot (ውይይት | አስተዋጽኦ) No edit summary |
ጥ Bot: Replace deprecated <source> tag and "enclose" parameter; cosmetic changes |
||
መስመር፡ 10፦
* A desktop [[Integrated development environment|IDE]] for writing and executing scripts that use Luasóg
You can use Luasóg immediately on Wikipedia by importing [[
Luasóg is only in version 0.3 but already has a robust set of wrapper functions for common API calls. For example, using Luasóg you can read a page or category, log in and edit. All calls the WikiMedia API can be access using the <code>request</code> method. The full Luasóg API is [http://luasog.sourceforge.net/docs/help/ documented here].
መስመር፡ 18፦
If you use a browser other that [[Internet Explorer]], the Luasóg framework can be used directly on Wikipedia to easily script otherwise impossible things. For example, the following script will add an edit counter to the My Contributions link at the top of the page.
If you use the new theme, Vector, add the following code to [[
<
// include the Luasóg framework
importScript('User:Luasóg bot/framework.js');
መስመር፡ 40፦
luasog.request({action:"query", meta:"userinfo", uiprop:"editcount"}, callback);
};
</syntaxhighlight>
== Version 0.3 released ==
[[
Version 0.3 of Luasóg was released on the 24th of March 2010. This should still be considered a development release but is expected to be stable enough for most purposes. All known issues from the previous release have been addressed.
|