footer link text comes from MediaWiki:Privacy
, MediaWiki:Aboutsite
and MediaWiki:Disclaimers
. To disable one or more of these links, set the corresponding link text to one hyphen ( -
).
Alternatively, since MediaWiki 1.17 you can also change the footer of the defining hook in your LocalSettings.php .
Ps. For anyone interested in navigating to the source code, the code that processes these links is in the Skin :: footerLink () method. The practice of disabling various interface functions by setting the appropriate message to -
actually quite common (although not universal) in MediaWiki; completely empty messages are processed a little strange for historical reasons, therefore -
it -
usually used as a backup for "no value".
Edit: I just noticed that you also asked the second question about custom pages. To better answer this question, let me start by describing how MediaWiki should handle non-existent pages:
When MediaWiki sees wikilink (most, though not necessarily all, links in the navigation menu are also treated the same way), pointing to a page that does not exist, it creates a so-called redlink . These links are different from regular links (usually they are colored red, hence the name) and point to a URL that looks like this one with the parameters action=edit
(which makes it a special kind of edit link) and redlink=1
.
When a user clicks on such a link, MediaWiki first checks that the page was not created in average time, and if it was not, the user is allowed to create and edit it:
If the page exists, the user is simply redirected to the normal view URL for the page.
If the page does not exist and the user is not allowed to create it, they are also redirected to the usual view URL, which then returns an HTTP 404 status code and a message stating that the page does not exist. (This will happen if you click the βlike thisβ link above, unless you are an administrator on Wikipedia.)
Finally, if the page does not exist, but the user is allowed to create it, MediaWiki simply treats the URL as a regular edit link and displays the edit form.
It seems that for some reason, new users, by clicking on the link to their own user page on your wiki, beat case 2 above, rather than the expected case 3. This may be user rights : in particular, you should check that ordinary registered users ( user
group) on your wiki have createpage
permission.
If you want regular users to be able to create only their own custom pages, there are ways to do this, but all I know is to install extension or write my own getUserPermissionsErrors
. I can give you some examples of how to do this if you want, but requires a bit of coding.
source share