Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a23deeaf6e92cf6a

Jump to content

Template:Search link/testcases

From Wikipedia, the free encyclopedia


This full test suite tests all the parameters in named and unnamed forms:

  1. |query= and |text= tested explicitly per the link label
  2. |label= and |link= tested implicitly during the other tests
  3. |ns= with one and two namespaces

It tests all possible types of values for the parameters.

  • Each grouping should have the same number of hits.
  • Many just search this page (prefix:{{fullpagename}}}, and so they are very fast.
  • Some use a dummy prefix just to test the name and query outputs.
  • For |ns= tests, check the URL.
  • The link should simply look "good". The query is [sandbox] so that the label can be tested to ignore brackets.

Searching for multiple categories

[edit]

a search in Template for the word "heading", displaying a requested 34 results

insource:/\[\[[^:]/ prefix:dummy prefix

text=[sandbox]

query=[sandbox]

1=[sandbox]

[sandbox]


namespaces ns=ns108&ns118

namespaces |ns108|ns118|


namespace ns=all

namespace |all|


namespace zero by default

3=ns0

|ns0|

a search in Template for the word "heading", displaying a requested 34 results

insource:/\[\[[^:]/ prefix:dummy prefix

text=[sandbox]

text=[sandbox]

query=[sandbox]

1=[sandbox]

[sandbox]


namespaces ns=ns108&ns118

namespaces |ns108|ns118|


namespace ns=all

namespace |all|


namespace zero by default

3=ns0

|ns0|