Help talk:Namespaces
Add topicNote: This page is for discussion of the Help:Namespaces page only. General software questions or requests for help should be posted on the Support Desk. |
What about the "Category" namespace? I don't recall seeing that in 1.5. --Otheus 12:46, 8 July 2008 (UTC)
The Identifying Namespaces section, API subsection contains a link that does not take into account the scriptpath of the host wiki. --66.210.198.66 17:46, 3 December 2009 (UTC)
Rename namespaces?
[edit]As of the current revision, this help page states "individual namespaces can be renamed, as set by a wiki's system admins". Is this true? If so, I can't figure out for the life of me how to do this. I have a wiki that I've locked down for my own personal use, and I'd like to rename all the talk namespaces to "notes". Can I leverage the localization features of MediaWiki somehow? Add a LocalSettings.php variable? Any help or even just a nudge in the right direction would be much appreciated. —JoeyDay (talk) 04:31, 19 April 2013 (UTC)
- The page currently still says that we can re-name the namespaces, but it deosn't say how. Does this refer to Namespace manager? If anybody knows the answer to this, can you update the page? Otherwise, I'm thinking I'll delete the line or re-word it to point to this "extension." • Supāsaru 18:25, 6 July 2015 (UTC)
- In theory, you can rename the namespace by modifying the code of your MediaWiki installation and/or create an extension that does it for you, but that was probably made difficult to edit the main namespaces because they are important to the software (Esp. the MediaWiki namespace). If they are modified recklessly it could cause your installation to no longer work as intended. I know that does very little to answer your question, but even if someone answered your question now with a step-by-step guide, I genuinely believe that you should keep everything the way it is. MarioSuperstar77 (talk) 20:17, 25 September 2020 (UTC)
- However, there is a workaround, if you translate the talk namespace, you should be able to get your desired namespace. See this link if you are interested: https://translatewiki.net/wiki/Translating:MediaWiki MarioSuperstar77 (talk) 20:30, 25 September 2020 (UTC)
Broken edit links for subsections
[edit]Dunno why, but edit links for subsections in this page are pointing to the next subsection. For instance, if you try to edit "Media", you end up editing the "Special" subsection instead. --Tactica amiga (talk) 22:33, 29 April 2016 (UTC)
- Some headers were not following Help:Extension:Translate/Page_translation_administration. Fixed. Nemo 06:49, 30 April 2016 (UTC)
- Thank you Sir :) --Tactica amiga (talk) 10:51, 2 May 2016 (UTC)
Using a namespace as a category
[edit]Hello, not sure if I've missed this info completely somwhere, but is there a way to use a page within a namespace as a category page? E.g. [[Category:Namespace:Page]]? Because if you do this you will be linked to a page called Namespace:Page rather than the actual page within the namespace. Thanks in advance! Best regards, 62.119.162.130 12:41, 4 July 2016 (UTC)
- That's not possible and I fail to understand why you want to do that. MarioSuperstar77 (talk) 21:01, 29 October 2020 (UTC)
A new talk namespace
[edit]Hello, can I add a new namespace to the pages, like talk namespace, and to call it 'draft'. But I want it to be in a new tab like the tab 'discussion', near the page. Actually, maybe I don't need a new namespace, just a new tab, but not like here or here, because it made the tab inside the page, I want it in the head of the page, near the discussion tab. someone?
Betmidrash (talk) 14:03, 4 May 2017 (UTC)
You need an extension, unfortunately. I do not believe that what you are trying to do is feasible within Mediawiki itself. However, I know for a fact that the extensions are difficult to search on this website which is a shame really. Just for the most basic extensions (E.G: Popups) I had to look around for a while. I wish you good luck to find what you're looking for.You can try to modify mw-head in CSS. Let me know if it works. MarioSuperstar77 (talk) 21:00, 29 October 2020 (UTC)
Change CSS mw-body only for one namespace
[edit]Hello, I would like to change the mw-body only for one namespace. I've tried it in Mediawiki:Common.css, but I could only to change defaults CSS item, like 'a' or 'body', not mw-body. How can I do this modification? Thanks
Typo in Help:Namespaces#Media?
[edit]I think Help:Namespaces#Media would make more sense if the current sentence there...
- This namespace is used for direct linking to media files: the link
[[File:Wiki.png]]
links to just the image rather than the image description page, which would be[[:File:Wiki.png]]
.
...was changed to...
- This namespace is used for direct linking to media files: the link
[[Media:Wiki.png]]
links to just the image rather than the image description page, which would be[[:File:Wiki.png]]
.
That is
[[File:Wiki.png]]
should be changed to
[[Media:Wiki.png]]
The reasons are as follows...
- The wiki markup
[[File:Wiki.png]]
does not, as the sentence currently suggests, "link to just the image rather than the image description page". This wiki markup, in fact, embeds the image in a page, with the image configured to link to the image description page. - On the other hand, the wiki markup
[[Media:Wiki.png]]
does what the current sentence says, that is it does link "to just the image rather than the image description page".- Example:
[[Media:Wiki.png]]
gives → Media:Wiki.png which is a link tohttps://upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png
, that is, "just the image". --Dennis J au (talk) 02:42, 6 May 2019 (UTC)
- Example:
List of avaible namesspaces
[edit]Is there a way to adress the existing namespaces. At the moment i try to adress the whole namespaces with a loop that counts from NS:1000 till NS:2000 to fetch the 50 namespaces. i will half that by double the steps, so it also can ignore the talk pages.
{{#loop: nummer | 1000 | 1000 | {{#ifexist: {{ns: {{#var:nummer}} }}:{{PAGENAME}}|<!-- -->{{#vardefine:text|{{#var:text}}<!-- -->[[{{ns:{{#var:nummer}}}}:{{PAGENAME}}|{{ns:{{#var:nummer}}}}]] }}<!-- }} }}
My problem is the work produces unsecure returns, probably 'cause it is an intense task. An direct array or list would be much simpler and direct. Is there any functions that returns the information or can provide an direct access? --Gunnar.offel (talk) 20:46, 7 November 2020 (UTC)
Help:Namespaces/113
[edit]the text in this sentence does not have the appropriate form after translation, the same UserName is repeated twice. Rebulka (talk) 15:48, 12 February 2024 (UTC)
Comprehensibility
[edit]The article text unfortunately is not well comprehensible for people who want to work on Wikimedia projects and do not know what a namespace is. It is not so easy to analyse why that is, so it's not well possible for me to give tips for optimisation. A reason could be that the text has been written from the perspective of long time users for whom the global structure of Wikipedia and Wikimedia is crystal clear. I believe it might need some context, a little bit of history and some examples of other categories than the namespace. Thanks for your attention and engagement! Kevin Bouwens (talk) 07:09, 25 July 2024 (UTC)
- @Kevin Bouwens: Can you give some examples of things you think you want this documentation about namespaces to say? What is it that you're trying to do or understand that is missing? As written, your comment is unactionable. Jdforrester (WMF) (talk) 13:39, 25 July 2024 (UTC)