Extension:PhpTags/pl

The PhpTags extension implements the concept of Magic expressions with PHP language syntax that allows you to create and use compatible but not monolithic MediaWiki extensions, which greatly increases the convenience, flexibility and performance. More ...

Opis
The PhpTags extension has its own the runtime environment PHP code which supports scalar types, arrays, variables, operators, control structures. It also supports constants, functions and objects but it does not implement any of them except for some language constructs.

When using a function, object or constant PhpTags calls corresponding extension. Therefore, a set of constants, functions, objects and actions that they produce only depend on additionally installed compatible extensions which can be found here.

PhpTags designed so to be as similar to native PHP, therefore you should have the illusion of direct execution PHP code although this never happens.

Użycie
Kod powinien być umieszczony pomiędzy znacznikami  a. Może być obecny w dowolnej przestrzeni nazw, jeśli zezwala na to zmienna.

Powyższy kod wyświetli:

 Hello world!!!

Demo
 * the function  is implemented in Extension:PhpTags_Functions.

More details can be found in the quick start guide.

Opcjonalna instalacja
@todo


 * PhpTags CodeEditor
 * PhpTags Debugger

Dodatkowa instalacja
The PhpTags extension implements only magic expressions and one is not contain any implementation of functions.

Install also additional extensions which are compatible with magic expressions of the PhpTags.

Najważniejsze z nich to:


 * PhpTags Wiki - allows query various data from MediaWiki core
 * PhpTags Functions - contains many functions for data processing
 * PhpTags Widgets - displays the data in different ways

Parametry konfiguracyjne

 * $wgPhpTagsMaxLoops: Maximum number of allowed loops
 * $wgPhpTagsNamespaces: Array of namespaces that is allowed to use PhpTags extension, and if set to true, then it allows unlimited namespaces
 * $wgPhpTagsBytecodeExptime: Storage time of the compiled bytecode at cache, by default is 2592000 seconds (30 days)