{title}{tr}Rename page:{/tr} {$page}{/title}
{ticket} {if isset($page_badchars_display)} {if $prefs.wiki_badchar_prevent eq 'y'} {remarksbox type=errors title="{tr}Error{/tr}"} {tr _0=$page_badchars_display|escape}The page name specified contains unallowed characters. It will not be possible to save the page until those are removed: %0{/tr} {/remarksbox} {else} {remarksbox type=tip title="{tr}Tip{/tr}"} {tr _0=$page_badchars_display|escape}The page name specified contains characters that may render the page hard to access. You may want to consider removing those: %0{/tr} {/remarksbox} {/if} {/if} {if $prefs.feature_wiki_pagealias eq 'y'} {tr}Redirect original page{/tr} {icon name='information'} {/if}
{jq} $("input[name=newpage]").keyup(function () { var length = $(this).val().length; if(length > 158) { alert(tr("You have exceeded the number of characters allowed (158 max) for the page name field")); } }); {/jq}