Search results for "APIs"
Script FlowLast modified Sun Jun 16 21:40:10 UTC 2019 . . . r-written. This is also where several "special" things get declared via: [[
APIs RegCommand|RegCommand]], [[
APIs RegAdminPage|RegAdminPage]], [[
APIs RegPos . . . tAction|RegPostAction]], [[
APIs RegSpecialPage|RegSpecialPage]]
*** **InitDirs**\\Initializes directories . . . rectory.
** **DoPostInit**\\Calls any sub that has been registered using [[
APIs RegPostInitSub|RegPostInitSub]].
* **DoRequest**\\Handles the current requ . . . ** **DoSpecialPage**\\If the current $Page matches something defined via [[
APIs RegSpecialPage|RegSpecialPage]], execute its associated subroutine.
** **D . . .
Considerations for moving to a DB back-endLast modified Tue May 10 01:10:54 UTC 2016 . . . n that attempts to replace the storage method.
====GetPage
Aneuch calls [[
APIs GetPage|GetPage]] to read a page and its associated metadata from the page . . . and author can be something like varchar(31) or similar.
====WritePage
[[
APIs WritePage|WritePage]] is used to store data to a page. It accepts these ar . . . s function to write out the data in that table layout.
====StringToFile
[[
APIs StringToFile|StringToFile]] will have to be replaced, for obvious reasons . . . o replace stat, that way the code will remain modular.
====FileToString
[[
APIs FileToString|FileToString]] is another one that will need to be replaced, . . .
Discuss Version 0.30 DevTrackLast modified Fri Feb 14 03:24:57 UTC 2014 . . . ves]] //Fri Aug 9 00:58:54 UTC 2013// (174.74.32.92)
----
Now that the [[
APIs RegSpecialPage|RegSpecialPage]] API is in place, it would be relatively tr . . . in the areas of Flexible Data Structure and Templates by introducing the [[
APIs WriteDB|WriteDB]] and [[
APIs ReadDB|ReadDB]] functions.
Templates will be . . . ouldn't be able to create templates...
More thought is needed. However, [[
APIs WritePage|WritePage]], [[
APIs AppendPage|AppendPage]], and [[
APIs GetPage| . . .
Version 0.60Last modified Sat Oct 28 21:40:26 UTC 2017 . . . more, without having to maintain their own files and databases. The three
APIs introduced to Aneuch which provide this functionality are [[
APIs GetPrefs| . . . GetPrefs]], [[
APIs SetPrefs|SetPrefs]], and [[
APIs DelPrefs|DelPrefs]].
==Changes
[[Version 0.60 Changelog]]
==Timeline
* B . . .
Version 0.60 DevTrackLast modified Sat Oct 28 21:40:56 UTC 2017 . . . more, without having to maintain their own files and databases. The three
APIs introduced to Aneuch which provide this functionality are [[
APIs GetPrefs| . . . GetPrefs]], [[
APIs SetPrefs|SetPrefs]], and [[
APIs DelPrefs|DelPrefs]].
----
==Partially Implemented
===Code Clean-Up
There . . .
Discuss Version 0.50 DevTrackLast modified Wed Jun 19 15:56:32 UTC 2024 . . . Category:` followed by the category name (similar to Wikipedia). We call [[
APIs RegSpecialPage|RegSpecialPage]] on `Category:.*` and have it call sub `DoC . . . aronGraves]] //Wed Apr 1 15:49:35 UTC 2015// (69.4.28.21)
----
The sub [[
APIs RegDashboardItem|RegDashboardItem]] has been created to allow the registra . . .
APIs GetParamLast modified Mon Oct 30 23:34:03 UTC 2017 . . . form, etc.
**Note** that as of [[Version 0.50]], `GetParam` will call `[[
APIs QuoteHTML|QuoteHTML]]` on the parameter before returning it. So if you are . . . expecting regular HTML in your data, you will have to call `[[
APIs UnquoteHTML|UnquoteHTML]]` on it.
==Syntax
**`GetParam(Name, Default);`** . . .
Developing PluginsLast modified Mon Jul 18 22:56:20 UTC 2016 . . . ;\\*Markup = \&NewMarkup;`**
And then go on to define sub NewMarkup.
==[[
APIs]]==
Aneuch includes several API calls that plugin developers can use. You . . . will find them documented on the page [[
APIs]].
==Examples
You can always see examples of real live Aneuch plugins by . . .
APIsLast modified Wed Apr 2 14:25:33 UTC 2014 . . . alling them from a plugin (or registering a "late load" sub by using the [[
APIs RegPostInitSub|RegPostInitSub]] API call). See [[Script Flow]] for more in . . . he unregister function from a plugin (which gets loaded after InitVars).
%
APIs%
----
CategoryDocumentation
. . .
Version 0.30Last modified Mon Mar 17 15:02:29 UTC 2014 . . . which make it a breeze for wiki administrators to keep spammers out.
**[[
APIs]]** - The 0.30 release of Aneuch has introduced several friendly API calls . . .
DocumentationLast modified Sat Dec 12 17:57:01 UTC 2015 . . . [[Plugins]], and will be interested in reading up on Aneuch's available [[
APIs]].
===Finding Documentation
As a helpful hint, you can see all available . . .
FeaturesLast modified Mon Oct 16 00:26:29 UTC 2017 . . . t about every part of the core of Aneuch can be replaced/extended
* Easy [[
APIs|API calls]]
===Environment
* Written in [[http://www.perl.org/|Perl]], kn . . .
APIs UnregPostActionLast modified Fri Aug 9 16:49:59 UTC 2013 . . . n %PostingActions will be called (and %PostingActions is built using the [[
APIs RegPostAction|RegPostAction]] subroutine).
==Syntax
**`UnregPostAction(Na . . .
APIs StringToFileLast modified Mon Aug 19 17:26:29 UTC 2013 . . . );`**\\Prior to this line being called, //@files// was populated via the [[
APIs ListAllPages|ListAllPages API]]. The sub then writes out that list of file . . .
APIs FileToStringLast modified Thu Aug 22 18:39:18 UTC 2013 . . . his subroutine reads a file in to a string variable. It internally calls [[
APIs FileToArray|FileToArray]], and returns the array joined by "\n".
==Syntax . . .
NewsLast modified Sat Jul 9 12:58:54 UTC 2016 . . . gnificant internal changes have been made, including the introduction of [[
APIs]], moving Aneuch closer to a webapp platform. Don't worry, traditional wik . . .
Version 0.42Last modified Sat Oct 21 16:46:45 UTC 2017 . . . els of the release of [[Version 0.41]]. It fixes the following issues:
* [[
APIs WriteDB|WriteDB]] is not using the correct file handle when locking the fi . . .
Version 0.40 DevTrackLast modified Fri Nov 7 17:23:30 UTC 2014 . . . hat. Some of this has already been accomplished with the introduction of [[
APIs]] in [[Version 0.30]].
. . .
APIs RegSpecialPageLast modified Mon Aug 19 17:59:57 UTC 2013APIs WriteDBLast modified Thu Feb 20 05:49:47 UTC 2014APIs UnregSpecialPageLast modified Fri Aug 9 14:18:01 UTC 2013APIs ListAllPagesLast modified Mon Aug 19 17:27:50 UTC 2013APIs RegPostInitSubLast modified Mon Aug 19 19:10:52 UTC 2013APIs FileToArrayLast modified Thu Aug 22 18:42:21 UTC 2013APIs GetPageLast modified Tue Mar 24 20:49:42 UTC 2015APIs ReadDBLast modified Thu Feb 20 06:01:57 UTC 2014APIs RegCommandLast modified Fri Oct 24 13:40:29 UTC 2014APIs RegPostActionLast modified Fri Aug 9 16:46:37 UTC 2013APIs UnregCommandLast modified Fri Aug 9 16:58:46 UTC 2013APIs RegAdminPageLast modified Mon Nov 24 17:47:48 UTC 2014APIs QuoteHTMLLast modified Mon Aug 19 17:57:05 UTC 2013APIs UnregAdminPageLast modified Fri Aug 9 15:59:36 UTC 2013APIs RegShortCodeLast modified Wed May 14 15:38:37 UTC 2014APIs SetParamLast modified Wed Apr 29 14:35:36 UTC 201534 pages found.