Content deleted Content added
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 [[Userአባል:Luasóg bot/framework.js|this page]] in to [[Specialልዩ:MyPage/vector.js|your vector.js]] or [[Specialልዩ:MyPage/monobook.js|your monobook.js]] page (non-Internet Explorer browsers only, see example below). To use the Luasóg framework to access the Wikipedia API off-site, download the desktop IDE from [http://sourceforge.net/projects/luasog/ the project page on SourceForge.net].
 
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 [[Specialልዩ:MyPage/vector.js|your vector.js]] page. If you use the old theme, Monobook, add it to [[Specialልዩ:MyPage/monobook.js|your monobook.js]] page. After adding the code, follow the instructions on that page about how to refresh your browser to see the results.
 
<sourcesyntaxhighlight lang="JavaScript">
// include the Luasóg framework
importScript('User:Luasóg bot/framework.js');
መስመር፡ 40፦
luasog.request({action:"query", meta:"userinfo", uiprop:"editcount"}, callback);
};
</syntaxhighlight>
</source>
 
== Version 0.3 released ==
[[Fileስዕል:GPL black.png|right|Luasóg is released under the GNU GPL v.3.]]
 
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.