Vissa sidtitlar definieras som felaktiga av olika anledningar. Du kan inte skapa sidor med en sån titel.
För detaljer om vad som definieras som felaktigt, läs avsnittet regex eller Title.php
.
Här har vi till exempel en avskyvärd, men giltig titel:
Saker man inte kan använda i en titel:
Dessa skiljer sig åt beroende på programvarans versionsnummer:
Relatively simple PCRE2 regex for many invalid characters and sequences in titles. Note that this does not pick up everything that could be wrong with titles.
# Matchande titlar kommer hållas som ogiltiga. $rxTc = '/' . # Alla tecken som otillåtna tecken är förbjudna. '[^ %!"$&\'()*,\-.\/0-9:;=?@A-Z\\\\^_`a-z~\x80-\x{10FFFF}+]' . # Non-ASCII whitespace, Unicode bidi override characters, the replacement character and noncharacters. '|[\xA0\x{1680}\x{180E}\x{2000}-\x{200A}\x{200E}\x{200F}\x{2028}-\x{202F}\x{205F}\x{3000}\x{FFFD}\p{Noncharacter Code Point}]' . # Starting whitespace/colon or an empty title. '|\A(?:[ :]|\Z)' . # Double/closing whitespace. '| (?: |\Z)' . # URL percent encoding sequences interfere with the ability to round-trip titles, you can't link to them consistently. '|%[0-9A-Fa-f]{2}' . # XML/HTML character references produce similar issues. '|&[A-Za-z0-9\x80-\x{10FFFF}]+;' . # Pages with "/./" or "/../" appearing in the URLs will often be unreachable due to the way web browsers deal with 'relative' URLs. Also, they conflict with subpage syntax. Forbid them explicitly. '|(?:\A|\/)\.\.?(?:\/|\Z)' . # Magic tilde sequences. '|~{3}' . '/u';Se även
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4