Did you mean: Template:New page DYM/sandbox? |
This is the template sandbox page for Template:New page DYM (diff). See also the companion subpage for test cases. |
This template is used in MediaWiki:Newarticletext, MediaWiki:Noarticletext, MediaWiki:Noarticletext-nopermission, and MediaWiki:Nocreatetext. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
This template can only be edited by administrators because it is transcluded onto one or more cascade-protected pages. |
This template uses Lua: |
{{New page DYM}} is used in the system messages MediaWiki:Newarticletext, MediaWiki:Noarticletext, MediaWiki:Noarticletext-nopermission, and MediaWiki:Nocreatetext to check for possible intended page titles and display them in "Did you mean" message boxes.
The following page titles are checked:
- The full page title in the Draft: namespace
- The full page title, with a trailing "s" (pluralized using the most common English pluralization suffix)
- The full page title, with a trailing
)
- The full page title, with a trailing
.
- The full page title, without a trailing
/
or\
- The full page title, with any right single quotation mark characters replaced with standard apostrophes
- The full page title, stripped of any soft hyphens (all above titles also have any soft hyphens stripped)