How to redirect a JavaScript page to MediaWiki?

How to redirect a JavaScript page to MediaWiki?

This syntax allows for proper execution of the page by the browser’s JavaScript engine, as well as being recognised by MediaWiki as a redirect. To create a redirecting JavaScript page, the format that must be used is as follows:

How to prevent a redirect to a category page?

To redirect to a category page and prevent the redirect appearing in this category, precede the word “Category” with a colon, otherwise the redirect page will also be categorized to the category itself: Users with the ” suppressredirect ” right may move a page without creating a redirect.

Is it possible to redirect from one wiki page to another?

In wikis with $wgDisableHardRedirects enabled (such as most public Wikimedia projects), it’s not possible to create a hard redirect to special pages (e.g. Special:MyLanguage) or pages located on another wiki; they will be automatically “softened”. You may start a new page with the name you want to direct from (see Help:Starting a new page ).

When do you need to delete a redirect on a website?

If you do need to delete a redirect, e.g. if the page name is offensive, or you wish to discourage people from referring to a concept by that name, then you simply go to the redirect page as mentioned above, and follow the procedures at Help:Deletion and undeletion .

How to avoid multiple redirects on a website?

Lighthouse flags pages that have multiple redirects: A page fails this audit when it has two or more redirects. Point links to flagged resources to the resources’ current locations. It’s especially important to avoid redirects in resources required for your Critical Rendering Path.

Is there a magic word to skip double redirects?

There is an option, $wgFixDoubleRedirects , to automatically fix double redirects with a job queue . However, it tends to aggravate page move vandalism, so it is disabled by default. The __STATICREDIRECT__ magic word can be used to skip the double-redirect fix on a particular page.

How can I see the history of a redirect?

Click this to go to the redirecting page. On the redirecting page, you can do all the things that any other wiki page allows. You can go to the associated discussion page to discuss the redirect. You can view the history of the page before the redirect was put in place.

How to enable a redirect in MySQL using interwiki?

Example with MySQL to enable a redirect to a forum, using interwiki: Then you can put the redirect tag in the Help page in the sidebar: we can store other information below the redirect line, and only see it when clicking on the back link from the redirected target page peblusto 11:41, 28 December 2007 (UTC)

How does MediaWiki work to suppress newlines?

The MediaWiki software suppresses single newlines and converts lines starting with a space to preformatted text in a dashed box. HTML suppresses multiple spaces. It is often desirable to retain these elements for poems, lyrics, mottoes, oaths and the like. The Poem extension adds HTML-like tags to maintain newlines and spaces.

How to hide redirects in what links here?

Double redirects and redirects to sections are set up at /demo rdcheck . To only show incoming links, click on “What links here” and then click both “Hide transclusions” and “Hide links”. To hide incoming redirects, click on “Hide redirects”.

What are the configuration settings for mediawiki.php?

$wgLogo – The URL of the site logo. $wgMainPageIsDomainRoot (introduced in 1.34) – Controls if the main page should be served as the domain root. $wgReferrerPolicy – Value for the referrer policy meta tag. $wgRestPath (introduced in 1.34) – The URL path to rest.php.

How to find the manual page in MediaWiki?

Please use the search box to find the relevant manual page (e.g. Manual:$wgAllowAnonymousMinor ). $wgSitename – The name of the site. $wgVersion (deprecated in 1.35) – MediaWiki version number. $wgAutoloadLocalClasses – Array mapping class names to filenames, for autoloading.