Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.


From Wiki
Jump to: navigation, search
Article Metadata
Created: hamishwillee (26 Apr 2011)
Last edited: hamishwillee (10 Sep 2013)

This is a sandbox page for hamishwillee . Please do not edit or delete without permission. It includes tests of some of the wiki extensions


Hiding sections in category pages

, , ,


Page Categories

Not yet delivered: 1203


Test categories in current page (should be FNWiki)


Test categories in specified page: How to scroll a customized list box without using a scroll bar

{{Categories:How to scroll a customized list box without using a scroll bar}}

Result: XXSymbian C++ | Code Examples | UI | S60 5th EditionXX

Test categories in specified page: Listening asynchronously for incoming SMS messages in Java ME

{{Categories:Listening asynchronously for incoming SMS messages in Java ME}}

Result: XXSMS on Java ME | Symbian | Series 40 | S60 3rd Edition (initial release) | Series 40 3rd Edition FP1 | Series 40 6th Edition FP1 | Series 40 5th Edition (initial release) | Series 40 5th Edition FP1 | Series 40 3rd Edition FP2 | Series 40 6th Edition (initial release) | Series 40 Developer Platform 1.0 | Series 40 Developer Platform 1.1 | Series 40 Developer Platform 2.0 | S60 3rd Edition FP1 | S60 3rd Edition FP2 | S60 5th Edition | Symbian^3 | Symbian Anna | Nokia Belle | Code Examples | Java Runtime 2.3 for Symbian | Nokia Asha Platform 1.0 | WMA 2.0 (JSR-205)XX

Test categories coming out of a DPL query

|category=Windows Phone
|format=,,\n* %PAGE% XX - {{Categories:%PAGE%}},
  • All About Designing apps for Big Screen Windows Phone XX -
  • An Optimized Color-Blindness-Simulating Custom Effect XX -
  • AppWrapper for Nokia X and Windows Phone XX -
  • Apps with undocumented URI schemes XX -
  •  :Category:App Marketing for Windows Phone XX -

Test existence of a category

{{#pos:{{Categories:How to scroll a customized list box without using a scroll bar}}|Symbian_C++}}


{{#pos:{{Categories:How to scroll a customized list box without using a scroll bar}}|Symbian C++}}



Test categories if category true in current page (should be FNWiki)

{{isCategory|Symbian C++}}

All version tests (if plugin was working should nothing here, but can copy paste into another page for more rigorous testing). Will work now because the #if detects the text rather than returning nothing. The lists below is based off Template:VersionHint:
Windows Phone 8, Windows Phone 7.5, Nokia Asha Platform 1.0, Series 40 DP 2.0, Series 40 DP 1.1, Series 40 DP 1.0, Series 40 6th Edition FP1, Series 40 6th Edition (initial release), Series 40 5th Edition FP1, Series 40 5th Edition (initial release), Series 40 3rd Edition FP2, Series 40 3rd Edition FP1, Series 40 3rd Edition (initial release), Series 40 2nd Edition, Series 40 1st Edition, Nokia Belle, Symbian Anna, Symbian^3, S60 5th Edition, S60 3rd Edition FP2, S60 3rd Edition FP1, S60 3rd Edition (initial release), S60 2nd Edition FP3, S60 2nd Edition FP2, S60 2nd Edition FP1, S60 2nd Edition (initial release), S60 1st Edition,

New Article Templates

Extension is Extension:NewArticleTemplates.

Boilerplate text is specified in these pages

Open (but DONT SAVE) links below to confirm default text is in place (if defined above)

Documentation (internal)

Toggle Display 2

PROPOSED that this be removed: #1393

Extension is Extension:ToggleDisplay2

Simplest usage:

<toggledisplay>Text that is hidden</toggledisplay>
[show details]

New hide and showtext

<toggledisplay showtext="Expandamatic" hidetext="hide-amatic">Text that is hidden</toggledisplay>

With CSS parameters on link

<toggledisplay linkstyle="font-size:bigger">Text that is hidden</toggledisplay>
[show details]

Sub page support

Extension is Extension:SubPageList3. Can see sub pages at work: (backtrack below title):

Enabled on

Not enabled on

Below are random tests of lists

Sandbox/Hamishwillee/WikiTests/Extensions has no subpages to list.
Tools:A has no subpages to list.
Error [Subpage List 3]: Unknown value for option parent.FNWiki:A test page has no subpages to list.

Error [Subpage List 3]: Unknown value for option parent.FNWiki:A test page has no subpages to list.

Parser Functions

Extension Extension:ParserFunctions (with enabled Extension:StringFunctions)




{{#pos:this is my test string|test|2}}



Thwas was a replacement string

{{#replace:This is a replacement string|is|was}}

you returns you.

{{#explode:And if you tolerate this| |2}} returns you.

Code returns Code.

{{#explode:String/Functions/Code|/|-1}} returns Code.

Percentage returns Percentage.

{{#explode:Split%By%Percentage%Signs|%|2}} returns Percentage.

{{#urlencode:Sandbox/Hamishwillee/WikiTests/Extensions }}

{{#urlencode:{{PAGENAME}} }}

{{#urlencode:Sandbox/Hamishwillee/WikiTests/Extensions }}

{{#urldecode: {{#urlencode:{{PAGENAME}} }}  }}
{{#ifeq: beer|notbeer|arequql|NOT}}


THESE two from Extension:StringFunctions are not supported {{#urlencode:value}} value

Instead use bare format for urlencode: Sandbox/Hamishwillee/WikiTests/Extensions

{{urlencode:{{PAGENAME}} }}


{{urlencode:{{PAGENAME}}|QUERY }}


{{urlencode:{{PAGENAME}}|WIKI} }}


x+y+z+%C3%A1+%C3%A9 x%20y%20z%20%C3%A1%20%C3%A9

Test how much we need urldecode (essentially shows that you can pass in URL encoded pagename and it will be treated as "proper" pagename

using cat


using otherurl

using lang-CN

Video extensions


Extension is Extension:EmbedVideo.


Extension:MediaPlayer supports Lumia 920 browser

The media player is loading...

test videos


mode - categories

mode - parents

mode - pages


mode - all


mode.categories with showcount

Symbian(1987 Pages)
[×] Device Specification(4 Pages)
[×] ESWT API(17 Pages)
Games(58 Pages)
[×] Java Runtime 1.3 for S60(5 Pages)
[×] Java Runtime 1.4 for S60(13 Pages)
[×] Java Runtime 2.3 for Symbian(53 Pages)
[×] Remote Device Access(13 Pages)
[×] Self Signed(8 Pages)
Symbian Platform Versions(0 Pages)
[×] Symbian Signed(101 Pages)
[×] Training(4 Pages)