Index: trunk/extensions/ParserFun/RELEASE-NOTES |
— | — | @@ -1,13 +1,13 @@ |
2 | | - 'Parser Fun' Changelog:
|
3 | | - =======================
|
4 | | -
|
5 | | - * (trunk) -- Version 0.1rc (initial release)
|
6 | | - - Magic word prefix 'THIS:', which is working with basically all functions returning page related information:
|
7 | | - 'FULLPAGENAME', 'PAGENAME', 'BASEPAGENAME', 'SUBPAGENAME', 'SUBJECTPAGENAME', 'TALKPAGENAME', 'NAMESPACE',
|
8 | | - 'SUBJECTSPACE', 'ARTICLESPACE', 'TALKSPACE' and their URL-encoded equivalents (ending with '...EE').
|
9 | | - - Hook 'GetThisVariableValueSwitch' allows to make other magic variables work with 'THIS:'.
|
10 | | - - 'parse' parser function with following parameters:
|
11 | | - + <1> - input text (required)
|
12 | | - + unstrip - 'none', 'nowiki', 'general', 'all' to unstrip input first. Allows to parse text inside <nowiki>.
|
13 | | - + parse - whether text should really be parsed (in case you want to unstrip only)
|
| 2 | + 'Parser Fun' Changelog: |
| 3 | + ======================= |
| 4 | + |
| 5 | + * (trunk) -- Version 0.1rc (initial release) |
| 6 | + - Magic word prefix 'THIS:', which is working with basically all functions returning page related information: |
| 7 | + 'FULLPAGENAME', 'PAGENAME', 'BASEPAGENAME', 'SUBPAGENAME', 'SUBJECTPAGENAME', 'TALKPAGENAME', 'NAMESPACE', |
| 8 | + 'SUBJECTSPACE', 'ARTICLESPACE', 'TALKSPACE' and their URL-encoded equivalents (ending with '...EE'). |
| 9 | + - Hook 'GetThisVariableValueSwitch' allows to make other magic variables work with 'THIS:'. |
| 10 | + - 'parse' parser function with following parameters: |
| 11 | + + <1> - input text (required) |
| 12 | + + unstrip - 'none', 'nowiki', 'general', 'all' to unstrip input first. Allows to parse text inside <nowiki>. |
| 13 | + + parse - whether text should really be parsed (in case you want to unstrip only) |
14 | 14 | - Distributed under ISC license and put into mediawiki.org svn repository.a |
\ No newline at end of file |
Property changes on: trunk/extensions/ParserFun/RELEASE-NOTES |
___________________________________________________________________ |
Added: svn:eol-style |
15 | 15 | + native |
Index: trunk/extensions/ParserFun/COPYING |
— | — | @@ -1,13 +1,13 @@ |
2 | | -Copyright (c) 2011 by Daniel Werner < danweetz@web.de >
|
3 | | -
|
4 | | -Permission to use, copy, modify, and/or distribute this software for any
|
5 | | -purpose with or without fee is hereby granted, provided that the above
|
6 | | -copyright notice and this permission notice appear in all copies.
|
7 | | -
|
8 | | -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
9 | | -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
10 | | -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
11 | | -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
12 | | -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
13 | | -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
| 2 | +Copyright (c) 2011 by Daniel Werner < danweetz@web.de > |
| 3 | + |
| 4 | +Permission to use, copy, modify, and/or distribute this software for any |
| 5 | +purpose with or without fee is hereby granted, provided that the above |
| 6 | +copyright notice and this permission notice appear in all copies. |
| 7 | + |
| 8 | +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 9 | +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 10 | +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 11 | +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 12 | +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 13 | +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
14 | 14 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
\ No newline at end of file |
Property changes on: trunk/extensions/ParserFun/COPYING |
___________________________________________________________________ |
Added: svn:eol-style |
15 | 15 | + native |
Index: trunk/extensions/ParserFun/README |
— | — | @@ -1,47 +1,47 @@ |
2 | | -== About ==
|
3 | | -
|
4 | | -The 'Parser Fun' extension Enhances MediaWiki with the following features:
|
5 | | -
|
6 | | -(1) A new parser function to do several parser tasks manually on wikitext.
|
7 | | - The following can be achieved by the '#parse' parser function:
|
8 | | - - Parsing wikitext
|
9 | | - - Un-stripping '<nowiki>' and general stripped text
|
10 | | -
|
11 | | -(2) Prefix 'THIS:' (available in some other languages) which can be put in front
|
12 | | - of site information related magic words like '{{THIS:PAGENAME}}'. This
|
13 | | - allows to get the information from the page the phrase actually is literally
|
14 | | - defined on instead of the page which is being parsed and where the phrase was
|
15 | | - expanded into. '{{THIS}}' simply is synonym for '{{THIS:FULLPAGENAME}}'.
|
16 | | - IF 'THIS:' is used with an un-supported variable it will be interpreted as
|
17 | | - template call. Currently the following functions are supported:
|
18 | | - 'FULLPAGENAME', 'PAGENAME', 'BASEPAGENAME', 'SUBPAGENAME', 'SUBJECTPAGENAME',
|
19 | | - 'TALKPAGENAME', 'NAMESPACE', 'SUBJECTSPACE', 'ARTICLESPACE', 'TALKSPACE'
|
20 | | - as well as their URL-encoded equivalents (ending with '...EE').
|
21 | | - It is possible for other extensions to support the 'THIS:' prefix, currently:
|
22 | | - - All 'Subpage Fun' extension variables:
|
23 | | - http://www.mediawiki.org/wiki/Extension:Subpage_Fun
|
24 | | -
|
25 | | -* Website: http://www.mediawiki.org/wiki/Extension:Parser_Fun
|
26 | | -* Author: Daniel Werner < danweetz@web.de >
|
27 | | -
|
28 | | -
|
29 | | -== Installation ==
|
30 | | -
|
31 | | -Once you have downloaded the code, place the 'ParserFun' directory within your
|
32 | | -MediaWiki 'extensions' directory. Then add the following code to your
|
33 | | -[[Manual:LocalSettings.php|LocalSettings.php]] file:
|
34 | | -
|
35 | | - # Parser Fun
|
36 | | - require_once( "$IP/extensions/ParserFun/ParserFun.php" );
|
37 | | -
|
38 | | -This extension requires Jeroen De Dauws 'Validator' extension in a version higher
|
39 | | -than 0.4.11. It must be included before the 'Parser Fun' extension.
|
40 | | -You can get it at: http://www.mediawiki.org/wiki/Extension:Validator
|
41 | | -
|
42 | | -
|
43 | | -== Contributing ==
|
44 | | -
|
45 | | -If you have bug reports or feature requests, please add them to the 'Parser Fun'
|
46 | | -Talk page [0]. You can also send them to Daniel Werner < danweetz@web.de >
|
47 | | -
|
48 | | -[0] http://www.mediawiki.org/w/index.php?title=Extension_talk:Parser_Fun
|
| 2 | +== About == |
| 3 | + |
| 4 | +The 'Parser Fun' extension Enhances MediaWiki with the following features: |
| 5 | + |
| 6 | +(1) A new parser function to do several parser tasks manually on wikitext. |
| 7 | + The following can be achieved by the '#parse' parser function: |
| 8 | + - Parsing wikitext |
| 9 | + - Un-stripping '<nowiki>' and general stripped text |
| 10 | + |
| 11 | +(2) Prefix 'THIS:' (available in some other languages) which can be put in front |
| 12 | + of site information related magic words like '{{THIS:PAGENAME}}'. This |
| 13 | + allows to get the information from the page the phrase actually is literally |
| 14 | + defined on instead of the page which is being parsed and where the phrase was |
| 15 | + expanded into. '{{THIS}}' simply is synonym for '{{THIS:FULLPAGENAME}}'. |
| 16 | + IF 'THIS:' is used with an un-supported variable it will be interpreted as |
| 17 | + template call. Currently the following functions are supported: |
| 18 | + 'FULLPAGENAME', 'PAGENAME', 'BASEPAGENAME', 'SUBPAGENAME', 'SUBJECTPAGENAME', |
| 19 | + 'TALKPAGENAME', 'NAMESPACE', 'SUBJECTSPACE', 'ARTICLESPACE', 'TALKSPACE' |
| 20 | + as well as their URL-encoded equivalents (ending with '...EE'). |
| 21 | + It is possible for other extensions to support the 'THIS:' prefix, currently: |
| 22 | + - All 'Subpage Fun' extension variables: |
| 23 | + http://www.mediawiki.org/wiki/Extension:Subpage_Fun |
| 24 | + |
| 25 | +* Website: http://www.mediawiki.org/wiki/Extension:Parser_Fun |
| 26 | +* Author: Daniel Werner < danweetz@web.de > |
| 27 | + |
| 28 | + |
| 29 | +== Installation == |
| 30 | + |
| 31 | +Once you have downloaded the code, place the 'ParserFun' directory within your |
| 32 | +MediaWiki 'extensions' directory. Then add the following code to your |
| 33 | +[[Manual:LocalSettings.php|LocalSettings.php]] file: |
| 34 | + |
| 35 | + # Parser Fun |
| 36 | + require_once( "$IP/extensions/ParserFun/ParserFun.php" ); |
| 37 | + |
| 38 | +This extension requires Jeroen De Dauws 'Validator' extension in a version higher |
| 39 | +than 0.4.11. It must be included before the 'Parser Fun' extension. |
| 40 | +You can get it at: http://www.mediawiki.org/wiki/Extension:Validator |
| 41 | + |
| 42 | + |
| 43 | +== Contributing == |
| 44 | + |
| 45 | +If you have bug reports or feature requests, please add them to the 'Parser Fun' |
| 46 | +Talk page [0]. You can also send them to Daniel Werner < danweetz@web.de > |
| 47 | + |
| 48 | +[0] http://www.mediawiki.org/w/index.php?title=Extension_talk:Parser_Fun |
Property changes on: trunk/extensions/ParserFun/README |
___________________________________________________________________ |
Added: svn:eol-style |
49 | 49 | + native |