Manual talk:FAQ

From MediaWiki.org
Jump to: navigation, search
Please do not post support questions here.

Instead,

Further options for contacting appropriate people can be found at Communication.

Language: English  • Deutsch • español • français • 日本語 • 한국어 • Nederlands • polski • português • русский • ไทย
An archive box
Archives
Archive of Meta, Archive 2006, Archive 2007, Archive 2008, Archive 2009, Archive 2010.
Start a new discussion

Contents

Thread titleRepliesLast modified
MW 1.22 breaks the FAQ item "How do I hide the main page title"518:34, 11 December 2013
Equitrac016:34, 26 November 2013
Changing the text of the login link217:42, 23 November 2013
Moving Pages118:45, 20 October 2013
What does wg stand for?309:56, 23 September 2013
How do I create an account?007:37, 16 September 2013
Wrong minimum version number (1.14) given for RevisionDelete feature?022:44, 1 February 2013
Logo clarification118:53, 26 November 2012
Just Why Temporarily let everyone assign rights to promote your initial user ?318:49, 26 November 2012
Table of contents stopped displaying009:32, 8 November 2012
Interwiki / Wiki family: full text search013:14, 29 September 2012
language dependent site-logo url018:56, 28 September 2012
File Summary Heading323:01, 18 February 2012
Is it possible to edit the text on the bottom of the edit page?223:02, 5 February 2012
Strange user creation behavior detected016:51, 1 February 2012
Not working Ctrl+z120:07, 11 January 2012
PDF import311:33, 11 December 2011
Requests to the server (installing Mediawiki)111:06, 9 November 2011
i cant be logged ino a certain wiki...116:07, 16 August 2011
Corrected code and text.009:12, 18 June 2011
First page
First page
Previous page
Previous page
Last page
Last page

MW 1.22 breaks the FAQ item "How do I hide the main page title"

In the FAQ, the methods indicated in How do I hide the main page title won't work with MediaWiki 1.22 per Manual:$wgRestrictDisplayTitle, "Additionally, some inline CSS rules like display: none; which can cause the text to be hidden or unselectable are disallowed." Is there another method? Peculiar Investor (talk) 18:15, 8 December 2013 (UTC)

Peculiar Investor (talk)18:15, 8 December 2013

Try this instead of display: none;:

<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">...</span>

It's the standard method of visually hiding text while leaving it readable by screen readers, etc...

Daniel Friesen (Dantman) (talk)18:47, 8 December 2013

Thank you for this hint. Works perfect! This is the "exended" version:

{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
[[kgh]] (talk)11:56, 11 December 2013
 

Is there a specific reason to duplicate the clip: rect(1px 1px 1px 1px); part of the CSS? I found it equally working in ommitting the second lot.

[[kgh]] (talk)12:37, 11 December 2013

Support for IE5-7, older versions of IE used the non-standard version of clip+rect without the commas.

https://developer.mozilla.org/en-US/docs/Web/CSS/clip

Daniel Friesen (Dantman) (talk)17:07, 11 December 2013

Great, thank you for the info and the interesting link. A feeling told me that it could be a compat thing. I added this information to the FAQ page. Cheers

[[kgh]] (talk)18:34, 11 December 2013
 
 
 
 

Welche Leser funktionieren mit Equitrac

81.63.190.14516:34, 26 November 2013

Changing the text of the login link

Edited by another user.
Last edit: 00:29, 22 November 2013

Is it possible to change the text from login to something like IT Admin Login?

Thanks

Wade.courtney (talk)23:29, 21 November 2013

Yes, see Help:System message.

Nemo08:43, 23 November 2013

Thank you! I found it.

Wade.courtney (talk)17:42, 23 November 2013
 
 

Moving Pages

So I've disabled editing on my wiki for anybody that's not a developer. I made a test account and tried everythign out, and I ran into a problem where anybody can move a page and/or rename it. How can I block users from being able to move/rename a page?

Gabessdsp (talk)18:21, 20 October 2013

The ability to move is controlled by the 'move' permission. Take that away wherever you also take away edit rights.

Daniel Friesen (Dantman) (talk)18:45, 20 October 2013
 

What does wg stand for?

Wg stands for "Wikipedia global", before MediaWiki expanded beyond Wikipedia. That should always be asked in order to remember the name of a variable. It should be a FAQ.

Cpiral (talk)04:54, 30 March 2013

That's more of a historical fact. Knowing that isn't really necessary. I could see people equally considering 'wg' as 'Wiki global' and not having any issues without knowing the historical fact.

Daniel Friesen (Dantman) (talk)05:03, 30 March 2013

Fine, lets see it in the FAQ with your answer, short and sweet "A. wg stands for a Global variable on the Wiki system."?
I believe mnemonics are an important learning tool, and that variable naming is necessarily a mnemonic except when it's an abbreviation or initialism like "wg". (The rest of the name of the variable, after the "wg" is already a mnemonic.)

Cpiral (talk)01:10, 1 April 2013
 
 

How do I create an account?

When I click on log in/create account from a normal page I only get a log in option. I notice on this page that log in & create account are separate links, so I'll see if this works.

79.69.200.1007:37, 16 September 2013

Wrong minimum version number (1.14) given for RevisionDelete feature?

Section How do I delete an old version of a page? reads

  • For newer MediaWikis (1.14+), you can enable the core RevisionDelete feature

(emphasis added). I seem to gather from other statements in the manual that it should probably read 1.16+. Could someone please check this and fix it or add a remark why it is correct?

Thanks, 87.175.36.218 22:44, 1 February 2013 (UTC)

87.175.36.21822:44, 1 February 2013

Logo clarification

Can you please add that, when adding a logo URL to the LocalSettings.php file, the URL should point to the image itself and not the image description page? That threw me for a few minutes, and I'd like to spare someone else the trouble, or is this obvious?

98.82.104.15119:22, 27 June 2011

For me that is obvious.

That is made clear by the examples; none points to a page. Instead they all point to actual files.

88.130.84.2418:53, 26 November 2012
 

Just Why Temporarily let everyone assign rights to promote your initial user ?

Please excuse my lapse in case this should be something obvious I'm missing, but for me it just doesn't add up.

Why should anyone want to, even temporarily, let everyone assign rights when the objective is precisely and only to promote one single user, whether he/she is to be rewarded for having earned the merit of being the initial user on a new installation or not?

(This refers to http://www.mediawiki.org/wiki/Manual:FAQ # 1.14.3 Temporarily let everyone assign rights to promote your initial user)

  1. Isn't it so that giving rights to a user simply involves one activity by someone with sufficient rights to do so?
  2. Why does the whole userbase have to become active to perform whatever the author of this question had in mind, in order to do something that will be complete as soon as one person has done it?
  3. provided the case meant were that there's only one user on a new installation and that user has insufficient rights -- which would be a handling error doing the installation in the first place -- to, say, promote him/herself to Admin/Bureaucrat, then, seeing as changing a local variable is just as deep an intervention as changing a database record, why does the question (and the answer) propose doing it this way round while even stating already that this way round is most dangerous to system integrity?

Could somebody please state for me what I'm missing?

If I am seeing it correctly, it might (also) help to more clearly state the real objective (and/or scenario) meant than just say "to promote your initial user".

TIA, --217.81.174.189 15:55, 14 September 2011 (UTC)

217.81.174.18915:55, 14 September 2011

Because that's a simple config change which allows to change permissions on wiki, while a direct permission change on the wanted account would require direct database access and modification.

Nemo13:23, 29 September 2012

While I also would not recommend to do that on a daily basis, it definitely is helpful in certain edge-cases:

I have ones used this procedure to give myself admin rights again after I had removed all users from the wiki. (Removing all accounts happened on purpose; some were later re-added in some modified way.) However, after that step, I followed exactly this description to give myself admin rights again.

88.130.84.2418:49, 26 November 2012
 
 

Table of contents stopped displaying

A thread, Thread:Manual talk:FAQ/Table of contents stopped displaying, was moved from here to Project:Support desk. This move was made by Nemo bis (talk | contribs) on 8 November 2012 at 09:32.

Interwiki / Wiki family: full text search

A thread, Thread:Manual talk:FAQ/Interwiki / Wiki family: full text search, was moved from here to Talk:Multilingual MediaWiki. This move was made by Nemo bis (talk | contribs) on 29 September 2012 at 13:14.

language dependent site-logo url

A thread, Thread:Manual talk:FAQ/language dependent site-logo url, was moved from here to Talk:Multilingual MediaWiki. This move was made by Nemo bis (talk | contribs) on 28 September 2012 at 18:56.

File Summary Heading

When you upload a file, the edit summary (if given) is automatically added to its page. Is there a way to automatically append a headline to the top of these summaries that says something like "Summary" or "File Summary" rather than doing it manually?

71.197.220.20807:37, 16 February 2012

Edit interface message "filedesc" on your wiki to achieve this.

This can be found on MediaWiki:Filedesc on your local wiki, edit that page to modify this interface message.

Krinkle (talk)19:35, 17 February 2012

I edited that page and put "== Summary ==", and then uploaded a test file to see if it worked, but nothing's changed.

Maybe I'm not explaining what I'm trying to do clearly enough.

71.197.220.20822:39, 18 February 2012

Also, there was already text saying "Summary" and judging by some other system messages I don't need a "== ==" around it. But if it's already there, why don't file pages show it?

71.197.220.20823:01, 18 February 2012
 
 
 

Is it possible to edit the text on the bottom of the edit page?

Can I edit this text: "By editing this page, you agree to irrevocably release your contributions under the CC-BY-SA 3.0 License. If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here. You are also confirming that you wrote this yourself, or copied it from a public domain or similar free resource. See Project:Copyright for full details of the licenses used on this site. DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!" ?

187.121.124.25221:53, 4 February 2012

Yes, if you have sysop rights: MediaWiki:Copyrightwarning.

Sincerely, Mikołka22:04, 4 February 2012

Thank you!

187.121.124.25223:02, 5 February 2012
 
 

Strange user creation behavior detected

Hi there,

I have been experiencing a very strange user creation phenomenon on our wikirating.org website and I hope someone can help me to understand or solve this problem: Yesterday Feb. 1st, 2012, a visitor created an account (Deguest) on wikirating: (User creation log); 00:47 . . Deguest (Talk | contribs | block)‎ New user account

Few minutes later, a new user Fernandosjp has been created by the very same account Deguest: (User creation log); 01:30 . . Deguest (Talk | contribs | block)‎ created new account User:Fernandosjp (interested in the idea!)

I contacted the user Deguest and asked him why he created a second user, and he told me that he never did that. OK, he could be a liar but I am pretty sure that he told me the truth. Especially because the user Fernandosjp entered his real name (a spanish name) and the user Deguest is a french guy. I know this does not mean anything at this stage. Then I could find the user Deguest on the internet from his real name. There is no way that this guy would try to cheat. He has a very high and respected profile.

Would anyone have an explanation for that? Thank you very much in advance Erwan Wikirating

Wanagain16:51, 1 February 2012

Not working Ctrl+z

Updated to 1.18 in the browser is not working Ctrl + z. What's the problem?

2.60.16.2720:14, 10 January 2012
  • I one with this problem?
2.60.236.22120:07, 11 January 2012
 

PDF import

How can I import a pdf-file to a mediawiki page (inclusive bookmarks)?

Speedtook11:33, 4 November 2011

Special:Upload on your wiki and install Extension:PdfHandler ? ~ Seb35 09:41, 9 November 2011 (UTC)

~ Seb3509:41, 9 November 2011

PdfHandler only show me the documents. But I need the documents as wiki pages, because we want edit this pages directly in browser.

Speedtook16:24, 23 November 2011

This is quite difficult, there is no such functionality as it. Perhaps you can look at Extension:Proofread Page (used on Wikisource), but it’s not exactly what you want. This extension can retrieve text layer of DjVu files (and there are tools to convert pdf to djvu), but this is quite complicated.

~ Seb3511:33, 11 December 2011
 
 
 

Requests to the server (installing Mediawiki)

I would like to install Mediawiki with Extensions (BlueSpice fully feature, ect.). For this, I need a new server.

The number of users (accounts) will be about 300. In addition, we also want save files in our wiki.

Now my question: could you recommend me a server and what are the server-requirements (Hard disk storage capacity,....)?

Speedtook11:54, 4 November 2011

The number of users is not sufficient to speak about the requirements, it’s mainly the mean number of active users which is important (1 active, 10 active, 100 active?), where "active" could mean "edit once a day". An out-of-the-box MW is not very demanding in ressources for a small wiki (tens of edits daily), typically on my unoptimized laptop pages are loaded in half a second (no other user but me), and you will have to optimize Apache, MySQL and PHP to get good response time. BlueSpice could be more demanding, but I didn’t installed it. If you have hundred or thousands edits daily, you need a more powerful server and look at caching systems (see documentation). For disk storage, you need some hundreds of MB for 10 users for 1 year (I think, experience from a small public wiki using only image files), and is mainly depending of the mean number of active users and your usage of the files (is it an archiving wiki with many files or just for some images/documents sometimes?).

~ Seb3511:06, 9 November 2011
 

i cant be logged ino a certain wiki...

i cant log into a certain page....

im GASSYPOOTS n roblox00:17, 8 August 2011

Please provide specifics (steps to reproduce, observed result, expected result).

siebrand16:07, 16 August 2011
 

Corrected code and text.

Changes made:

  • Use example.com see RFC 2602.
  • Improved code logic and efficiency.
  • Added escaping.
  • Changed from 302 to 301 redirect.
  • Added L flag.
  • Changed wording from "rewrite" to "redirect".
  • Mass redirects to root are a 'signal of low technical quality' as far as searchengines are *concerned. Preserved page name in the redirect.

Replacement wording for section:

After hiding all the appropriate links (see above), if you are using the Apache web server, you can disable actions and special pages using the following rewrite rules:

# Lock down the site (disable MediaWiki commands)

RewriteEngine On

#RewriteLog /tmp/rewrite.log

#RewriteLogLevel 9

## See http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php#Actions

RewriteCond %{QUERY_STRING} (^|&)action=(&|$)
RewriteRule (.*) http://www.example.com/$1? [R=301,L]

RewriteCond %{REQUEST_URI} Special:
RewriteCond %{REQUEST_URI} !^/index\.php/Special:Search
RewriteRule (.*) http://www.example.com/$1? [R=301,L]

## Catch a trick...
RewriteCond %{QUERY_STRING} Special:
RewriteRule (.*) http://www.example.com/? [R=301,L]

Above, a request for 'http://www.example.com/wiki/Page_name?action=edit', for example, will be simply redirected to 'http://www.example.com/wiki/Page_name'. Similarly any page in the Special namespace (with the exception of Special:Search) will be redirected to 'http://www.example.com/wiki/Special:Page_name'. Remember, this is only a hack, and isn't intended as a solution for a secure CMS.

G1smd.109:11, 18 June 2011
First page
First page
Previous page
Previous page
Last page
Last page