~ubuntu-branches/ubuntu/utopic/mediawiki-extensions/utopic

« back to all changes in this revision

Viewing changes to dist/mediawiki-extensions-base/usr/share/doc/mediawiki-extensions/base/ParserFunctions/stringFunctionTests.txt

  • Committer: Package Import Robot
  • Author(s): Thorsten Glaser
  • Date: 2013-12-31 11:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20131231114458-g45961ac13xvf81t
Tags: 3.5
* Remove old (harmful) mediawiki-extensions postrm in
  new mediawiki-extensions-base preinst (Closes: #698438)
* Stop shipping extensions that moved to core in 1.19
* Policy 3.9.5 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# @todo expand
2
 
!! functionhooks
3
 
len
4
 
!! endfunctionhooks
5
 
 
6
 
!! test
7
 
#len
8
 
!! input
9
 
{{#len:}}
10
 
{{#len:0}}
11
 
{{#len:test}}
12
 
!!result
13
 
<p>0
14
 
1
15
 
4
16
 
</p>
17
 
!! end
18
 
 
19
 
!! test
20
 
#urldecode
21
 
!! input
22
 
{{#urldecode:}}
23
 
{{#urldecode:foo%20bar}}
24
 
{{#urldecode:%D0%9C%D0%B5%D0%B4%D0%B8%D0%B0%D0%92%D0%B8%D0%BA%D0%B8}}
25
 
{{#urldecode: some unescaped string}}
26
 
!! result
27
 
<p>foo bar
28
 
МедиаВики
29
 
some unescaped string
30
 
</p>
31
 
!! end
32