Project:Support desk/Flow/2016/05
| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
| This page is an archive. |
| Please ask questions on the current support desk. |
Need some help with extension ConfirmAccount
I have installed the extension ConfirmAccount.
I have uploaded the Directory to Folder Extension.
I have added require_once "$IP/extensions/ConfirmAccount/ConfirmAccount.php"; at the end oaf the LocalSettings.php
I have started the update with the Browser ../mw-config/index.php
But when i now will create an account and click on the link (in german "Benutzerkonto beantragen") i become an error: Exception encountered, of type "TypeError"
What do i wrong?
Thank you for helping ;) 2003:86:AD4B:F800:BD5E:3B78:4072:277B (talk) 13:24, 1 May 2016 (UTC)
- No more problems ;) 84.156.91.1 (talk) 14:14, 1 May 2016 (UTC)
Upgrade from 1.15.5-2 to 1.19.20: no style/skin
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi,
I'm currently moving to a new server with a newer Debian version and with that the version of MediaWiki changes as well. So MediaWiki is installed from the Debian sources.
I copied over the config files, upload folders etc. and exported/imported the databases. (I'm actually running 3 MediaWikis with /etc/mediawiki/LocalSettings.php pointing to 3 different LocalSettings files which always worked fine in the past ans still seems to work).
After running the update skript for the different databases the Wikis seem to work. The problem I have is that I'm missing any style or skin, it looks like a pure white html page. And I don't find any hint in the log even when changing the apache LogLevel to debug. Nothing changes when I comment out the line $wgDefaultSkin = 'monobook'; in my LocalSettings.php
I already read in another post that creating a symlink load.php -> /usr/share/mediawiki/load.php in /var/lib/mediawiki would help but it exists already in my case.
Do you have any hint for me what is needed to get a beautiful and user friendly layout on the new server?
Thanks in advance.
Regards,
Yvonne YvonneM (talk) 14:32, 1 May 2016 (UTC)
- Hi Yvonne,
- see Manual:Load.php!
- Another place to check is Manual:Errors_and_symptoms#The_wiki_appears_without_styles_applied_and_images_are_missing. 87.123.34.27 (talk) 15:22, 1 May 2016 (UTC)
- Hi,
- The Manual:Load.php mentions a .htaccess file which I think I don't have. But there are already rewrite rules in /etc/apache2/sites-available/mywiki.conf so I assume I can add it there?! I simply copied this part from the old server and inserted the new line now:
- RewriteEngine On
- RewriteRule ^(api|load)\.php - [L]
- RewriteCond %{REQUEST_FILENAME} "^/upload"
- RewriteRule ^(.*)$ $1 [PT,L]
- RewriteCond %{REQUEST_FILENAME} "^/extensions"
- RewriteRule ^(.*)$ $1 [PT,L]
- RewriteCond %{REQUEST_FILENAME} "^/skins"
- RewriteRule ^(.*)$ /wiki/$1 [PT,L]
- RewriteRule ^(.*)$ /wiki/index.php/$1 [PT,L,QSA]
- Is there something wrong with it?
- It still does not work :-(
- Concerning the second link:
- How can I "Try to browse the load.php file of my MediaWiki installation with my web browser"? YvonneM (talk) 17:31, 1 May 2016 (UTC)
- From reading your source code, I found something interesting at least:
- In the last rule you are redirecting everything to wiiki/index.php. Obviously you have the wiki installed in the subfolder called wiki/. In exactly this folder there are the files api.php and load.php. These two files should be made accessible with the very first rule. Does it work, if you replace the line
RewriteRule ^(api|load)\.php - [L]- with this one (wihout the "^" at the start?
RewriteRule (api|load)\.php - [L]87.123.49.6 (talk) 17:58, 1 May 2016 (UTC)- By the way, you can just view the HTML source code of a wiki page with your web browser. In the head of that page there will be several links to load.php. Just follow one of them and see, what it shows you... 87.123.49.6 (talk) 17:59, 1 May 2016 (UTC)
- Unfortunately it does not work neither when I replace the line as you described it above.
- The link to load.php in the source code of the wiki in the browser is in both cases the same. When I call this link in the browser I get:
- "There is currently no text in this page." (The path is exactly like the one to the main page, "Main_Page" is simply replaces with "Load.php".)
- I found that I should put
- $wgLoadScript = "{$wgScriptPath}/load.php";
- into my LocalSettings.php
- but it does not make a difference. YvonneM (talk) 18:29, 1 May 2016 (UTC)
- In the line with $wgLoadScript, which you quoted above, the value is identical to it's default value. I would just remove that line. This should not influence the problem.
- The _correct_ situation would be that you click the link to load.php and the result is _not_ a wiki page, but it is some CSS styles or some JavaScript lines.
- If the link instead shows a wiki page, then the RewriteRules do not fit. Whatever it is that is linked as load.php, exactly this file should be accessible without Apache rewriting the according requests.
- Note that after a change in the .conf files of Apache, you have to restart the server for these changes to take effect! 87.123.49.6 (talk) 18:40, 1 May 2016 (UTC)
- Thanks for your help! I found the last missing piece: In addition to the rewrite rule I had to change $wgScriptPath from "" to "/wiki" after the upgrade on the new server and now all wikis are up and running again :-) YvonneM (talk) 21:05, 1 May 2016 (UTC)
Office365 for mail
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Has someone Office365 working?
I use a Office365 user with a mailbox (smtp@acme.com) for sending and the following configuration:
$wgSMTP = array(
'host' => "smtp.office365.com", //could also be an IP address
'IDHost' => "acme.com",
'port' => 587,
'auth' => true,
'username' => "smtp@acme.com",
'password' => "PassWord123"
);
When I try to send a Confirmation email for user@acme.com, I get the following message:
Confirm email address
Jump to: navigation, search
Acme wiki could not send your confirmation mail. Please check your email address for invalid characters.
Mailer returned: Failed to send data [SMTP: Invalid response code received from server (code: 550, response: 5.7.60 SMTP; Client does not have permissions to send as this sender)]
I would very grateful for some useful remarks.
- Jac Jac09876 (talk) 15:14, 1 May 2016 (UTC)
- As a test, the following powershell command works:
- Send-MailMessage -From smtp@acme.com -To user@acme.com -Subject "Test Email" -Body "Test SMTP Relay Service" -SmtpServer smtp.office365.com -Credential $msolcred -UseSsl -Port 587
- - Jac Jac09876 (talk) 16:52, 1 May 2016 (UTC)
- And from the Centos server itself, this also works:
- echo "This is the message body and contains the message" | mailx -v -r "smtp@acme.com" -s "This is the subject" -S smtp="smtp.office365.com:587" -S smtp-use-starttls -S smtp-auth=login -S smtp-auth-user="smtp@acme.com" -S smtp-auth-password="PassWord123" -S ssl-verify=ignore -S nss-config-dir=/etc/pki/nssdb/ user@acme.com
- - Jac Jac09876 (talk) 17:46, 1 May 2016 (UTC)
- I found an article about how to test Pear mail with Office365
- http://stackoverflow.com/questions/22623908/php-smtp-office365-com-for-email
- And this too, works.
- - Jac Jac09876 (talk) 18:52, 1 May 2016 (UTC)
- Solved!
- $wgPasswordSender = "smtp@acme.com";
- this must be identical to the username above.
- - Jac Jac09876 (talk) 19:05, 1 May 2016 (UTC)
- Thanks! I've added a note in Manual:$wgPasswordSender about this Ciencia Al Poder (talk) 21:54, 1 May 2016 (UTC)
wikipedia
merhaba okulumun bir wikipedia sayfasını oluşturmak istiyorum profesyonel bir sayfa olmalı kimden destek alabilirim. Hakan1319 (talk) 18:44, 1 May 2016 (UTC)
- I understand that you want to write an article in Wikipedia, maybe in the Turkish version.
- If you need help with that, I am pretty sure that the Turkish Wikipedia has some Help pages, which contain information e.g. on how to write good articles. 87.123.49.6 (talk) 18:54, 1 May 2016 (UTC)
Help:Assigning permissions seems out of date
The page above seems to be significantly out of date: it assumes that bureaucrats are the only ones assigning permissions. However, as an administrator on English Wikipedia, I have the ability to assign rights such as Account Creator and Confirmed. Does this vary from one wiki to another? Can somebody more knowledgeable than myself help update the page? -Pete F (talk) 03:18, 2 May 2016 (UTC)
- I think you overlooked this part:
- By default, you will need to be a 'Bureaucrat' (in the 'Bureaucrat' group) before you can access the Special:UserRights page. The first user created when setting up a MediaWiki installation is a bureaucrat.
- My guess is that in (English) Wikipedia either (some) admins are given the "userrights" permission OR someone granted those rights to you for whatever reason. IMHO the page is OK as it is. Tactica (talk) 03:48, 2 May 2016 (UTC)
- If you can access this page, then you have the "userrights" right.
- Note that user rights can always only be assigned to groups. So if you can access the Special:UserRights page, then you have the "userrights" permission in at least one of your groups. Which of the groups that is/are, can be checked on Special:ListGroupRights! 87.123.49.6 (talk) 08:39, 2 May 2016 (UTC)
- Thank you Tactica amiga and 87. I had indeed seen that sentence, but both of your remarks help me better understand its significance.
- It seems to me that there are two overlapping, but not identical needs:
- We should have (and perhaps do have) good documentation of how the MediaWiki software works; and
- We should have good documentation of how Wikimedia wikis work.
- As a trainer, facilitator, and functionary on Wikimedia wikis, my interest is much more with #2. Perhaps I will work on a page that is more finely tuned to that need. Many thanks for your help! -Pete F (talk) 18:53, 2 May 2016 (UTC)
- Your #1, the technical aspect inside the MediaWiki software, is documented on Manual:$wgGroupPermissions! 87.123.57.72 (talk) 19:04, 2 May 2016 (UTC)
Cerques més genèriques
Hola soc nou en açò i necessitaria que quan vull fer una cerca en el quadre de cerques, em proposara termes que comencen igual que el que jo estic emplenant, sense tenir en compte majúscules ni accents.
Es a dir: si jo escric al quadre tar... ell em propose Tàrtar, tarjeta, categoría: taronja, ...
Es possible?
Gràcies 193.145.201.52 (talk) 10:26, 2 May 2016 (UTC)
- Sóc l'autor del post: Oblideu-se, la traducció és prou dolenta, no s'enten res. 193.145.201.52 (talk) 10:28, 2 May 2016 (UTC)
- Segons diu API:Opensearch#Note_on_case_sensitivity, si instal·les Extension:TitleKey això farà que les suggerències de cerca no tinguin en compte majúscules ni minúscules. Els accents encara els tindrà en compte. Ciencia Al Poder (talk) 09:38, 3 May 2016 (UTC)
Searches more generics
Hello, I'm a new user in mediawiki. I have created a wiki and I need to resolve a problem with search box.
The search box is differ capital letters of lower cases, accentuated words of no accentuated words.
I need to configure my search box, for no differing this cases.
It's possible?
Thank's 195.77.16.215 (talk) 10:57, 2 May 2016 (UTC)
Someone has stolen my account and posting false images of me
Media wiki Hello I am crystal l Taliefero The photo that you have posted of me is not a fair representation of only crystal L. Taliefero. I donot know who changed my photo or who has locked my account but it needs to be corrected at once! My email is ctalie@aol.com This is my photo 166.137.98.15 (talk) 15:51, 2 May 2016 (UTC)
- Hello and welcome at the MediaWiki Support Desk, the Support Desk for MediaWiki!
- MediaWiki is a software, which can be used to run wikis like Wikipedia. However, Wikimedia Foundation, who is running Wikipedia, is not responsible for third party websites, which might have been created using MediaWiki.
- In case you have problems with content on such a third party site, please try contacting that site's owner. In case this did not help and if you think the problemaic information might be legally relevant, you should contact your lawyer to get the matter settled! 87.123.57.72 (talk) 16:42, 2 May 2016 (UTC)
Problema no upload imagem
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Boa tarde.
Eu carrego uma imagem e ela aparece deste tipo: [1]
Quando clico na imagem ele retorna um error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. 138.204.191.121 (talk) 19:31, 2 May 2016 (UTC)
- It's a possible problem with .htaccess in the upload directory. See Manual:Configuring file uploads#Check .htaccess file. A directive in the .htaccess file may not be allowed in your setup, causing an error when you load a file inside that folder Ciencia Al Poder (talk) 09:31, 3 May 2016 (UTC)
- Não consegui compreender.
- Abrir o arquivo .htaccess mas não encontrei nada lá dentro.
- Você poderia me explicar melhor ?
- Grato 138.204.191.121 (talk) 16:15, 3 May 2016 (UTC)
- Es extraño que el archivo .htaccess esté vacío. Prueba a cambiar el nombre del archivo .htaccess para que no lo tome en cuenta y ver si se produce el error. Si se sigue produciendo el error, deberías consultar el registro de errores de apache, que debería contener un mensaje más detallado del motivo del error. Normalmente está en /var/log/apache/error.log o similar. Ciencia Al Poder (talk) 19:21, 3 May 2016 (UTC)
- Vou tentar verificar aqui então.
- Obrigado pela ajuda. 138.204.191.121 (talk) 19:45, 4 May 2016 (UTC)
- dosn't say if right if typed in right 2602:306:366A:F1D0:6957:F8DA:139B:BF32 (talk) 21:40, 4 May 2016 (UTC)
- Não entendi mano.
- Erro ainda persistem. Faço o upload da imagem e ela me retorna o seguinte erro:
- The server encountered an internal error or misconfiguration and was unable to complete your request
- Todas as pastas estão com 777 no ftp. 138.204.191.121 (talk) 19:00, 5 May 2016 (UTC)
- Este tipo de error normalmente no se debe a permisos.
- Solo para confirmar, eliminó o renombró el archivo .htaccess de la carpeta /images/? De ser así, sugiero contactar con el soporte de tu hosting. Ciencia Al Poder (talk) 21:23, 5 May 2016 (UTC)
- Boa tarde.
- Muito obrigado. Deu certo. Apaguei o arquivo .htaccess da pasta imagem e deu certo.
- Obrigado.@Ciencia Al Poder 138.204.191.121 (talk) 16:18, 6 May 2016 (UTC)
Image thumb link= full url?
How can you create a thumb which links to its full url?
[[File:Example.jpg|200px]] should link to https://upload.wikimedia.org/wikipedia/mediawiki/a/a9/Example.jpg.This is for a template, so I don't know the URL. [[Media:File:Example.jpg]] is only a text link. User587668 (talk) 11:27, 3 May 2016 (UTC)
- Use the filepath magic word. I'd post an example, but this stupid comment system doesn't allow it. 137.147.55.98 (talk) 04:01, 4 May 2016 (UTC)
Subfader (talk) 11:12, 5 May 2016 (UTC)
API json result for prop=imageinfo fails
I want to receive image info via the API in json. The Sandbox looks fine: https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&format=json&prop=imageinfo&titles=File%3AExample.jpg&iiprop=timestamp%7Cuser%7Curl%7Csize
But running the query in real life, the imageinfo array is empty:
How would I properly iterate over the result objects? User587668 (talk) 13:06, 3 May 2016 (UTC)
- I also note that the separator for iiprop is a pipe character not a comma and that this call does not require a POST. —TheDJ (Not WMF) (talk • contribs) 18:01, 3 May 2016 (UTC)
Уважаемая администрация помогите,
- помогите, Я создал статью про музыкальную группу,почему у меня не получается основную информацию под фотографии поместить Wwweeerrr724 (talk) 14:23, 3 May 2016 (UTC)
- Привет!Добро пожаловать в службу поддержки!
- Рекомендую зайти на форум и поднять свой вопрос. Ivario64 (talk) 08:25, 4 May 2016 (UTC)
- Hi and welcome to the help desk for technical aspects of the MediaWiki software which runs behind Wikipedia.
- It is unclear to me where you created an article, but if you refer to the Russian Wikipedia (and the rules for articles and photos by the Russian community), https://ru.wikipedia.org/wiki/Википедия:Форум might be a good place to bring up your topic. AKlapper (WMF) (talk) 08:05, 4 May 2016 (UTC)
Unable to post new query to PostgreSQL
Hi,
I am new at mediawiki. I have postgres 9.3 installed and mediawiki 1.26. I have created a table called pragas which has the following definition:
Column id_praga: Type private key integer
Column nome: Type character
I have added just 1 record to "pragas" table. The table is created under Schemas/public. I have granted access to my user within the database called "teste".
In my LocalSettings.php, I have the following:
wfLoadExtension( 'ExternalData' );
$edgDBServer['wikimedia'] = "localhost";
$edgDBServerType['wikimedia'] = "postgres";
$edgDBName['wikimedia'] = "wikimedia";
$edgDBUser['wikimedia'] = "teste";
$edgDBPass['wikimedia'] = "aaa";
I am trying to access the database through "get_db_data", as below:
"{{#get_db_data: db=wikimedia|from=pragas|data=nome=nome}}"
I am getting the following error:
[97e6ca33] /mediawiki/mediawiki-1.26.2/index.php?title=Main_Page&action=submit DBUnexpectedError from line 495 of /var/www/html/mediawiki/mediawiki-1.26.2/includes/db/DatabasePostgres.php: Unable to post new query to PostgreSQL
Backtrace:
0 /var/www/html/mediawiki/mediawiki-1.26.2/includes/db/Database.php(1032): DatabasePostgres->doQuery(string)
1 /var/www/html/mediawiki/mediawiki-1.26.2/includes/db/Database.php(1601): DatabaseBase->query(string, string)
2 /var/www/html/mediawiki/mediawiki-1.26.2/includes/db/Database.php(1690): DatabaseBase->select(string, array, array, string, array, array)
3 /var/www/html/mediawiki/mediawiki-1.26.2/includes/cache/LocalisationCache.php(1160): DatabaseBase->selectRow(string, array, array, string)
4 /var/www/html/mediawiki/mediawiki-1.26.2/includes/cache/LocalisationCache.php(349): LCStoreDB->get(string, string)
5 /var/www/html/mediawiki/mediawiki-1.26.2/includes/cache/LocalisationCache.php(263): LocalisationCache->loadItem(string, string)
6 /var/www/html/mediawiki/mediawiki-1.26.2/languages/Language.php(3299): LocalisationCache->getItem(string, string)
7 /var/www/html/mediawiki/mediawiki-1.26.2/includes/parser/Parser.php(2048): Language->linkPrefixExtension()
8 /var/www/html/mediawiki/mediawiki-1.26.2/includes/parser/Parser.php(2013): Parser->replaceInternalLinks2(string)
9 /var/www/html/mediawiki/mediawiki-1.26.2/includes/parser/Parser.php(1262): Parser->replaceInternalLinks(string)
10 /var/www/html/mediawiki/mediawiki-1.26.2/includes/parser/Parser.php(439): Parser->internalParse(string)
11 /var/www/html/mediawiki/mediawiki-1.26.2/includes/content/WikitextContent.php(331): Parser->parse(string, Title, ParserOptions, boolean, boolean, NULL)
12 /var/www/html/mediawiki/mediawiki-1.26.2/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, NULL, ParserOptions, boolean, ParserOutput)
13 /var/www/html/mediawiki/mediawiki-1.26.2/includes/EditPage.php(3627): AbstractContent->getParserOutput(Title, NULL, ParserOptions)
14 /var/www/html/mediawiki/mediawiki-1.26.2/includes/EditPage.php(2415): EditPage->getPreviewText()
15 /var/www/html/mediawiki/mediawiki-1.26.2/includes/EditPage.php(582): EditPage->showEditForm()
16 /var/www/html/mediawiki/mediawiki-1.26.2/includes/actions/EditAction.php(58): EditPage->edit()
17 /var/www/html/mediawiki/mediawiki-1.26.2/includes/actions/SubmitAction.php(40): EditAction->show()
18 /var/www/html/mediawiki/mediawiki-1.26.2/includes/MediaWiki.php(490): SubmitAction->show()
19 /var/www/html/mediawiki/mediawiki-1.26.2/includes/MediaWiki.php(287): MediaWiki->performAction(Article, Title)
20 /var/www/html/mediawiki/mediawiki-1.26.2/includes/MediaWiki.php(714): MediaWiki->performRequest()
21 /var/www/html/mediawiki/mediawiki-1.26.2/includes/MediaWiki.php(508): MediaWiki->main()
22 /var/www/html/mediawiki/mediawiki-1.26.2/index.php(41): MediaWiki->run()
23 {main}
I have already done all the changes suggested in FAQ and other links but the error continues the same. Could anyone point me what am I missing or doing wrong? Or point me any link that could help me with this issue?
Thanks in advance. Thiagomerino (talk) 01:53, 4 May 2016 (UTC)
Does the NewUserMessage extension works with flow?
Does the NewUserMessage extension works with the flow extension? If not, is there an other extension that would welcome new users on their flow talk page with the welcome message I set? 81.182.241.7 (talk) 05:32, 4 May 2016 (UTC)
- Oh sorry, I forgot to log in when creating this post, but this is my account. Innosflew (talk) 05:33, 4 May 2016 (UTC)
Site just stopped working - (cannot access the database)
Hi, the website www.vetbook.org just stopped working last night. The host - godaddy - confirmed there were no updates to the server. There are no error messages on the server log. I tried turning on debug as well with no errors being reported. The only indication i get is
Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.
(Cannot access the database)
I also checked the database path and the password - re entered just to make sure. I checked all database tables - these are ok. The tech support at godaddy had no answers confirming database paths/passwords and consistency of database tables. So assuming the database and connectivity is fine does anyone else know what it could be? Please click on the link above and click any of the subjects to test. Thanks 211.30.52.68 (talk) 07:19, 4 May 2016 (UTC)
- Please set $wgShowExceptionDetails and $wgShowSQLErrors to true in LocalSettings.php and see if it gives at least a reason for the "Cannot access the database". Also, what SQL engine (mysql, sqlite...) are you using? Ciencia Al Poder (talk) 09:31, 4 May 2016 (UTC)
- Thank you... I will give that a try... You reply is much appreciated. The database engine is mysql 211.30.52.68 (talk) 14:14, 4 May 2016 (UTC)
- I changed the variables as suggested. Still nothing reported. The same error presents. No error log being triggered... It has me a bit baffled. 211.30.52.68 (talk) 00:22, 6 May 2016 (UTC)
Extension UserMerge is giving me an error
I have successfully merged and deleted accounts before using the extension called UserMerge, but now I'm trying to merge and delete an other account and it keeps giving me the following error:
An error has occurred.
Return to Main Page.
[558bb686] /wiki/Special:UserMerge Flow\Exception\InvalidInputException from line 85 of /var/www/html/extensions/Flow/includes/Data/Index/TopicHistoryIndex.php: Missing "workflow" metadata: Flow\Model\PostRevision
Backtrace:
#0 /var/www/html/extensions/Flow/includes/Data/Index/TopicHistoryIndex.php(36): Flow\Data\Index\TopicHistoryIndex->findTopicRootId(Flow\Model\PostRevision, array)
#1 /var/www/html/extensions/Flow/includes/Data/ObjectManager.php(131): Flow\Data\Index\TopicHistoryIndex->cachePurge(Flow\Model\PostRevision, array)
#2 /var/www/html/extensions/Flow/includes/Data/Utils/UserMerger.php(125): Flow\Data\ObjectManager->cachePurge(Flow\Model\PostRevision)
#3 /var/www/html/extensions/Flow/includes/Data/Utils/UserMerger.php(94): Flow\Data\Utils\UserMerger->purgeTable(EchoBatchRowIterator, integer, array, string)
#4 /var/www/html/extensions/Flow/Hooks.php(1431): Flow\Data\Utils\UserMerger->finalizeMerge(integer, integer)
#5 [internal function]: FlowHooks::onMergeAccountFromTo(User, User)
#6 /var/www/html/includes/Hooks.php(201): call_user_func_array(string, array)
#7 /var/www/html/extensions/UserMerge/MergeUser.php(289): Hooks::run(string, array)
#8 /var/www/html/extensions/UserMerge/MergeUser.php(46): MergeUser->mergeDatabaseTables()
#9 /var/www/html/extensions/UserMerge/SpecialUserMerge.php(136): MergeUser->merge(User)
#10 [internal function]: SpecialUserMerge->onSubmit(array, HTMLForm)
#11 /var/www/html/includes/htmlform/HTMLForm.php(580): call_user_func(array, array, HTMLForm)
#12 /var/www/html/includes/htmlform/HTMLForm.php(503): HTMLForm->trySubmit()
#13 /var/www/html/includes/htmlform/HTMLForm.php(518): HTMLForm->tryAuthorizedSubmit()
#14 /var/www/html/includes/specialpage/FormSpecialPage.php(154): HTMLForm->show()
#15 /var/www/html/includes/specialpage/SpecialPage.php(384): FormSpecialPage->execute(NULL)
#16 /var/www/html/includes/specialpage/SpecialPageFactory.php(553): SpecialPage->run(NULL)
#17 /var/www/html/includes/MediaWiki.php(281): SpecialPageFactory::executePath(Title, RequestContext)
#18 /var/www/html/includes/MediaWiki.php(714): MediaWiki->performRequest()
#19 /var/www/html/includes/MediaWiki.php(508): MediaWiki->main()
#20 /var/www/html/index.php(41): MediaWiki->run()
#21 {main}
What should I do in order to bypass this error and successfully delete that user account? Innosflew (talk) 09:39, 4 May 2016 (UTC)
Mediawiki Reports
Hi MediaWiki team,
Is there any kind of report generation feature associated with mediawiki sites. Please let me know what kind of reports can be run on the mediawiki sites. VaishakhMohan92 (talk) 12:20, 4 May 2016 (UTC)
How to intergrate Media Wiki with Azure active directory
I have created an app service for Media wiki and hosted in Azure. Transferred all the contents to azure site using ftp. Everything looks fine but the users from the Azure AD cant login to this wiki site using their credentials.
I have created separate logins in wiki using special pages options and is working. Tried to install the service from Azure Market place also but that is also not working. Sherin chacko (talk) 12:40, 4 May 2016 (UTC)
Category Display Option
Is there a setting somewhere for having all the categories/subcategories open on the Main page so that you don't have to click on each arrow to display the subcategories below? DempsDaddy31 (talk) 14:44, 4 May 2016 (UTC)
LDAP using single AD domain support
I'm having trouble authenticating to our AD domain using LDAP. I've gone through all of the various support pages and tried various options but I keep getting Login errors.
RedHat Enterprise Linux v7
MediaWiki version 1.26.2
PHP version 5.4.16
MySQL version 5.7.12 Lgillerman (talk) 14:49, 4 May 2016 (UTC)
Vector Skin Messed Up After MW 1.26.2 Upgrade
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
After upgrading MediaWiki from 1.24.1 to v1.26.2 (Windows) none of my pages display the logo or the top menu (View Edit Read View source View History) or anything outside of the main page frame. I noticed that the navigation pane (sidebar) is displayed below the website data. I downloaded the latest Vector skin and re-installed it but it didn't make any difference. Changing to Modern works OK, but changing back the Vector breaks it again. Any ideas? Jon Adcock (talk) 19:13, 4 May 2016 (UTC)
- version info:
- MW: 1.26.2
- PHP: 5.5.11
- MySQL: 5.7.9
- Windows Server 2008 R2
- Internal wiki only. Jon Adcock (talk) 19:16, 4 May 2016 (UTC)
- Do you still have old files, which may cause errors?
- See Upgrade for more information on this issue! 87.123.18.1 (talk) 21:53, 4 May 2016 (UTC)
- To "87.123.18.1" I have two questions. 1) Specifically what old files are you talking about? I downloaded MW 1.26.2 to a separate directory, so yes I have the original 1.24.1 directory structure. 2) I read "Upgrade" in detail before I upgraded, and again in detail after I ran into this issue post-upgrade. There is NOTHING listed about this issue. What on that "Upgrade" page addresses the Vector skin issue that I listed? Jon Adcock (talk) 23:00, 4 May 2016 (UTC)
- What I mean is that you should install the new MediaWiki version into an empty directory and then copy over only those things, which you still need, e.g. LocalSettings.php, the folder images/ and so on. If you have files from your old MediaWiki version inside the new folder, then these files may cause problems. I would have liked to link you the exact section on the Upgrading page, it is called "Files remaining that may cause errors", but the spam filter won't let me.
- If you downloaded the tarball of the 1.26 release, then you should not have to download the Vector skin separately again. In contrast it should be included in the 1.26 tarball. Inside the skins/ folder, make sure you delete the folder Vector/ and the file Vector.php. Same for the other skins, which come with the tarball, e.g. Monobook/ and ... you got it. Then put the new folder Vector/ in the skins/ directory. 87.123.18.1 (talk) 08:05, 5 May 2016 (UTC)
- OK, I'm a little clearer on what you are saying now. Yes I performed the "upgrade" by extracting the tarball (.tar.gz file) to a new directory structure. Not overwriting the existing directory structure. So there SHOULD have been no "old" files involved. Therefore the "Files remaining that may cause errors" section is N/A.
- Regarding the fact that I re-downloaded/re-added the Vector skin, you are correct that I shouldn't have had to, but I did that because Vector was not displaying properly (and it's still not).
- Does anyone have any troubleshooting tips on how I can figure this out? Jon Adcock (talk) 14:29, 5 May 2016 (UTC)
- Does the wiki have a URL so that I could have a look at it?
- In the source code of your wiki pages, there are a few links to load.php. I am guessing that there is something wrong with the output of these load.php calls, if you are using the Vector skin. Maybe one of the according calls gives an error... 87.123.31.114 (talk) 16:42, 5 May 2016 (UTC)
- "87.123.31.114" it's an internal only site, so no. But good news. I got it working!
- I did a lot more "Google'ing" and found several references to a known bug relating to this (https://phabricator.wikimedia.org/T119934). I made my TEMP directory writable for the IIS_IUSR group and that didn't resolve it. But on another site discussing this (https://www.concrete5.org/community/forums/installation/a-tale-of-two-sites-an-odd-sighting-of-the-phpsession.save_path-) landollweb said that they deleted the files in the TEMP directory and that fixed it for him. So I deleted a bunch of old files/folders in TEMP and it worked for me too.
- The Vector skin is working for me now. Jon Adcock (talk) 18:05, 5 May 2016 (UTC)
- I spoke too soon!
- About 5 minutes later, it quit working. I was still seeing the error in the "Web Console" (press F12 in Firefox).
- More "Google'ing"... I found the MediaWiki key/variable $wgCacheDirectory. It was set to false. I set it to a specific directory that the IIS_IUSR had permissions to, and it's working again. I hope it lasts for more than 5 minutes... Jon Adcock (talk) 19:44, 5 May 2016 (UTC)
LightnCandy class
Hi, im kinda new. I used Mediawiki verison 1.25.3. And i faced this problem which is Error: LightnCandy class not defined whenever im trying to upload file. Can someone help me.. Kinda desperate and in hurry.. huhuhh.. Thanks 124.82.101.196 (talk) 02:37, 5 May 2016 (UTC)
- This error should not happen, if you installed MediaWiki from an official tarball, which is built for "Upload-Install-Use". So, if all you want is version 1.25.x, then grab a recent tarball of it and make sure you actually uploaded all files.
- If you in contrast want to do development with this wiki, then run composer update to get the latest dependencies. If you installed from Git, then you need to do some more steps to set up. The Git version is built for use on wmf wikis only. You can use it, but you need to know the risk and what to do if something doesn't work. 87.123.18.1 (talk) 07:59, 5 May 2016 (UTC)
- Interestingly, I have an old wiki (v 1.25.2) that has only recently started giving me this error. It's had years of use with no issues, but now I get this same error when I try to upload most file types. For some reason, the error does not occur with png and jpeg files. Very strange! 24.34.216.191 (talk) 18:14, 11 May 2021 (UTC)
Problem with LDAP after MW 1.26.2 Upgrade
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I upgraded MW to 1.26.2, and I also updated the LDAPAuthentication extension to the latest version. The domains no longer show up in the dropdown box on the Login page. The dropdown box is now empty. Logins are not working anymore. 146.137.70.71 (talk) 20:33, 5 May 2016 (UTC)
- I solved the issue. I don't think it is MW version related. The update for the LDAPAuthentication extension changed the order in which you can place the config options in LocalSettings.php. You must specify the following options first before any other options:
- require_once('extensions/LdapAuthentication/LdapAuthentication.php');
- $wgAuth = new LdapAuthenticationPlugin();
- In an older version of the extension, it was perfectly valid to specify these items last. That was useful because I have many separate wiki instances sharing the same MW code base, and I always put these lines in each wiki's custom LocalSettings file. Then, if for some reason I wanted to disable LDAP for a particular wiki, I would just comment out these lines for that wiki. The other wiki instances would continue to use LDAP. I have the domains and the other LDAP options in a global LocalSettings file so that every wiki instance gets the same LDAP domains and settings. 146.137.70.71 (talk) 21:00, 5 May 2016 (UTC)
Official signature for board members
Currently I control a nonprofit organization entirely by myself. As a democratic (in wide sense) person, I want to recruit "board members" and make the decisions and money to be controlled by voting.
New board members can be hired by agreement of most existing board members. Currently I am the only board member.
I want the new board members to sign an official document.
My question: What format to present this document in? Should it be a PDF file? or can it be done as a MediaWiki page (how to style it, possibly for printing?) Should we accept an electronic signature? (If yes, what could be counted as electronic signature? just press of "Agree" button? if yes, what should happen on pressing?) or should we require to send a signed paper? VictorPorton (talk) 22:28, 5 May 2016 (UTC)
PHP SEND MAIL
Hello Comunity. Good morning.
Actually my Wiki, is configured to send mails using php mail, but i need to change to smtp autenticated. I need to know where i can change the parameters like username password and the smtp server.
Any one knows? Maxedrom (talk) 03:25, 6 May 2016 (UTC)
Moving a Wiki: Migrate from Sqlite to MySQL
Hi All.
Wonder if you could help? We've been running a MediaWiki instance on SQLite for about a year now, but we're outgrowing it now!
I'm looking into possible methods for migrating the database to MySQL at the moment. The best option I've found so far is to use the maintenance scripts:
The import basically works using these three, but I'm encountering a couple of problems.
- Any protected pages become unprotected
- Images appear correctly on the site, but links appear broken on the pages (until the page is edited, then the image shows)
For that second one, I'm experimenting with the refreshlinks.php script, and a few others, but I've not had much luck yet.
Am I taking this in the right direction, or is there a neater way to achieve this that anyone can recommend?
Thanks Dshinks (talk) 15:56, 6 May 2016 (UTC)
- Note that those dumps won't copy private data like user accounts. A better solution would be to dump the contents of all tables into mysql. You should search for a tool capable of doing this. Ciencia Al Poder (talk) 00:11, 9 May 2016 (UTC)
- Thanks Ciencia,
- Recommendations, for such a tool, anyone?
- Incidentally, I'm not too worried about user accounts, I don't think. We use the LDAP Authentication Plugin, so all of our users are granted access via our Active Directory. Still testing that part though just to make sure there are no other side effects! Dshinks (talk) 08:05, 9 May 2016 (UTC)
- I don't know any, but you can try searching for one: google:migrate+sqlite+to+mysql Ciencia Al Poder (talk) 01:34, 10 May 2016 (UTC)
- Thanks Ciencia,
- I think you're right on the point about the dump/import approach. I'll take some time to investigate means of importing to MySQL and report any significant findings back here. Dshinks (talk) 10:21, 11 May 2016 (UTC)
Database error on big page
I have kind of a big page on my wiki, altough it used to wwork fine before so Im not sure why suddently it stopped working (maybe some of the templates were increased a bit, Im not sure.
It loads for like 30 seconds and then nothing, Ive enabled debugging cvars and this is the error I have.
I have gone as far as setting max_allowed_packet = 128M on mysql config and it still doesnt work.
Any help?
Database error
A database query error has occurred. This may indicate a bug in the software.
- Query: SELECT rev_id,rev_page,rev_text_id,rev_timestamp,rev_comment,rev_user_text,rev_user,rev_minor_edit,rev_deleted,rev_len,rev_parent_id,rev_sha1,rev_content_format,rev_content_model,page_namespace,page_title,page_id,page_latest,page_is_redirect,page_len,user_name FROM `mw_revision` INNER JOIN `mw_page` ON ((page_id = rev_page)) LEFT JOIN `mw_user` ON ((rev_user != 0) AND (user_id = rev_user)) WHERE page_namespace = '10' AND page_title = '16DETeamBracket' AND (rev_id=page_latest) LIMIT 1
- Function:
Revision::fetchFromConds - Error: 2006 MySQL server has gone away (localhost) Kanecow (talk) 17:34, 6 May 2016 (UTC)
- Changing max_allowed_packet in fact is what you should do. I would have told you to try 16 or maybe 32 MB. 128 is kind of huge if you ask me. Is MySQL actually using the new value now? Or is it still using the old one? 87.123.39.156 (talk) 18:05, 6 May 2016 (UTC)
- Ive restarted mysql and my vps several times so Im pretty sure it's using the new value. Kanecow (talk) 19:41, 6 May 2016 (UTC)
- Can anyone help me out with this? Kanecow (talk) 14:25, 9 May 2016 (UTC)
- bump Kanecow (talk) 17:53, 13 May 2016 (UTC)
Article contribution denied
Where can I find the original article that was created called "Finding a Quality Mattress" by Qmotucson? Qmotucson (talk) 18:35, 6 May 2016 (UTC)
- I could not find anything under that lemma in Wikipedia. However, if the content of that article fit to its name, then you cannot find it anywhere, because it got deleted. See en:Wikipedia:Advertising for more information! 87.123.39.156 (talk) 18:41, 6 May 2016 (UTC)
Weird forwarding rewrite
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
So yesterday I switched my site successfully to https, but I am getting one (probably more, but this is the first occurance I noticed) crazy weird rewrite, forward.
I uploaded an image at https://www.grindhousedatabase.com/index.php/File:Mariposaregia.jpg
but for some inexplicable reason it forwards to http://www.grindhousedatabase.com/angryman.jpe
I am clueless what is going on here. Any ideas? Already purged varnish cache and now running some maintenance scripts 2A00:C1A0:48C6:CC00:5D35:2F35:BBB4:6E6C (talk) 09:12, 7 May 2016 (UTC)
- Yes, so all File: pages seem to point to that angryman URL, I am puzzled 2A00:C1A0:48C6:CC00:5D35:2F35:BBB4:6E6C (talk) 09:23, 7 May 2016 (UTC)
- So it was a measure against file hotlinking. case closed 2A00:C1A0:48C6:CC00:4888:47B7:707B:B34 (talk) 09:30, 7 May 2016 (UTC)
Maximum number of template calls?
Where is this value, and which category does it trigger when exceeded? I searched and couldn't find it. Urhixidur (talk) 16:22, 7 May 2016 (UTC)
- See e.g. https://en.wikipedia.org/wiki/Wikipedia:Template_limits AKlapper (WMF) (talk) 13:46, 11 May 2016 (UTC)
Determine the "_blank" target for links pointing to external sites
Hi, message to developers: why don't set links pointing to external pages to open in another browser window? Thanks 151.50.0.99 (talk) 18:24, 7 May 2016 (UTC)
- Hi, message to you: Manual:$wgExternalLinkTarget! 87.123.53.62 (talk) 06:07, 8 May 2016 (UTC)
Mismatch between UploadPath and UploadDirectory
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi all,
Apologies for writing something probably very trivial - I've been exploring this for days and got in quite a muddle.
I've installed Mediawiki on a Raspberry Pi. It's working really well, but the images/upload directory is going to outgrow the internal SD card, so I want to keep uploads on an external USB stick.
The stick is in and images upload fine ($wgUploadDirectory = "/media/usbstick/Mediawiki_Upload_Path";). But I can't then view the images (Not found. The requested URL /media/usbstick/Mediawiki_Upload_Path/Image.jpg was not found on this server.).
I've read lots but I'm struggling to work out why - I see $wgUploadPath is a relative path but I've tried all the permutations I can think of (including just setting it to $wgUploadPath = "/media/usbstick/Mediawiki_Upload_Path";) but to no avail. I've not yet started to fiddle with $wgScriptPath, but I suspect the problem is in a base variable somewhere. FYI I've currently set HashedUploadDirectory to false to simplify matters.
Any guidance would be much appreciated.
John. John 2016 Mediawiki (talk) 08:08, 8 May 2016 (UTC)
- Well obviously you wouldn't be able to access files on the web from outside of your webserver's public directory. The simple solution is to create a symbolic link between the normal images directory and the USB so it seems like it is inside the public directory. Alternatively, you could directly mount the USB drive to the directory inside the public directory. 137.147.55.98 (talk) 11:36, 8 May 2016 (UTC)
- I see, yes, thank you. As an ex developer, albeit with very little unix or web development experience, this is very frustrating - I really should be better at it than this!
- I now think I'm pointing the wrong way, I'll try with a fresh pair of eyes tomorrow. Thanks, John 2016 Mediawiki (talk) 19:46, 8 May 2016 (UTC)
- Thank you, .98, the symbolic link works a treat. John 2016 Mediawiki (talk) 10:32, 15 May 2016 (UTC)
WikiEditor not showing up
Hi, for some reason the WikiEditor extension isn't showing up in the Splash theme, all I've got is the really basic editor. Can anyone help? Twigwolf (talk) 09:57, 8 May 2016 (UTC)
- See How to debug and check the developer tools' console of your web browser. Furthermore, version information is welcome. Malyacko (talk) 17:39, 8 May 2016 (UTC)
Very light skin similar to wikihow
I'am new to mediawiki, can i find a very light and cool skin that looks like wikihow
also how do i make my home page looks sweet like wikihow Willysawa (talk) 12:04, 8 May 2016 (UTC)
Automatic Username Change
My user name was changed from lm13700 to lm13700~enwiki.
- How do I change it back to the correct name? Lm13700~enwiki (talk) 22:20, 9 May 2016 (UTC)
- That's expected to happen if User:Lm13700 already existed on this wiki before central auth was in place and it wasn't unified. However, it doesn't exist here, so I don't know why this happened. See m:Help:Unified login Ciencia Al Poder (talk) 01:41, 10 May 2016 (UTC)
- Does anyone else know why this happened? Lm13700~enwiki (talk) 02:13, 10 May 2016 (UTC)
- How do I change it back to the correct name? Lm13700~enwiki (talk) 04:14, 10 May 2016 (UTC)
- Guess what...
- Turns out, I can login as both, but all my articles have the WRONG name on them.
- Seriously though...
- - How do I fix this username mess? Lm13700 (talk) 04:19, 10 May 2016 (UTC)
- See https://meta.wikimedia.org/wiki/Steward_requests/Username_changes AKlapper (WMF) (talk) 11:03, 10 May 2016 (UTC)
How to delete an account
Hi. I have an account with Plane Spotting Wiki. How do I delete that account? 98.17.89.152 (talk) 04:26, 10 May 2016 (UTC)
Error creating thumbnail
Dear Wiki Family Members,
We recently migrated mediawiki to a new server. We're on 1.23.6
Here is the link to the page where we're seeing the issue http://vanipedia.org/wiki/Help:Promotional_Tools
We're seeing this error
Error creating thumbnail: Unable to save thumbnail to destination
Its the first image under PDF
Here's the link to the uploaded file whose thumbnail is not displaying correctly.
http://vanimedia.org/wiki/File:64_maneras_de_cantar_HK-Spanish_Page_1.jpg
What could be the issue behind this?
Any thoughts?
Sincerely,
Arnab 123.201.123.8 (talk) 15:05, 10 May 2016 (UTC)
- Hi,
- any insight will be helpful. please do let me know how i could resolve this issue.
- Sincerely,
- Arnab 123.201.44.15 (talk) 06:24, 11 May 2016 (UTC)
- I've forced the creation of the thumbnail by doing a request to thumb.php. Now the error has gone but the image is still missing, because it has a srcset property malformed: srcset=" 1.5x, http://vanimedia.org/w/images/thumb/f/f9/64_maneras_de_cantar_HK-Spanish_Page_1.jpg/500px-64_maneras_de_cantar_HK-Spanish_Page_1.jpg 2x"
- you should try to edit the page again and save without any edit, and see if it fixes itself. Probably the thumbnail took too much time to get generated. Ciencia Al Poder (talk) 01:25, 12 May 2016 (UTC)
Google rejecting automated MediaWiki messages
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I am trying to get mail working using my gmail account as the outgoing address. I am using the following configuration:
$wgSMTP = array( 'host' => 'ssl://smtp.gmail.com', 'IDHost' => 'gmail.com', 'port' => 465, 'username' => '<redacted>@gmail.com', 'password' => '<redacted>', 'auth' => true );
All mail then gets bounced back to my gmail account with a message similar to this:
Delivery to the following recipient failed permanently:
<redacted>@gmail.com
Technical details of permanent failure:
Message rejected. See https://support.google.com/mail/answer/69585 for more information.
Any ideas on how I can fix this? Entropy (talk) 20:09, 10 May 2016 (UTC)
- It turns out my firewall was blocking port 465. Re-enabling it, and enabling less secure apps under my Gmail Account Settings, has fixed the issue. ~ Entropy (talk) 22:49, 10 May 2016 (UTC)
Special:ViewXML gives 'error parsing attribute name'
When using Extension:Data Transfer to export data to XML-format I get an error message (regardless of which namespace or category I choose):
This page contains the following errors:
error on line 1 at column 8: error parsing attribute name
Below is a rendering of the page up to the first error.
What am I doing wrong? Waanders (talk) 09:27, 11 May 2016 (UTC)
- Nobody? Waanders (talk) 07:54, 6 April 2017 (UTC)
- Save the exported file, open it in a text editor like notepad, and see how it looks. It's probably bad XML and maybe because there's a PHP error message there breaking the XML syntax. In that case post the error message here, for us to see it. Ciencia Al Poder (talk) 09:31, 6 April 2017 (UTC)
- error on line 16 at column 65786: error parsing attribute name
- I'm getting a similar error 74.96.83.6 (talk) 20:16, 28 August 2020 (UTC)
- You may need to bugreport it, with all the relevant information (MediaWiki version, and generated XML file) Ciencia Al Poder (talk) 11:46, 1 September 2020 (UTC)
install Parsoid
I added the visual editor to my wiki, but I can't install Parsoid. I'm using a host in hostinger.com and I upload the files with ftp. can I install Parsoid? how?
my wiki Beyond doubt (talk) 14:07, 11 May 2016 (UTC)
- parsoid is a service, it can't be installed by just uploading files to a server. See VisualEditor/Installation on a shared host Ciencia Al Poder (talk) 00:24, 12 May 2016 (UTC)
Automatic welcome message for new users with Flow extension
Hi. How can I create an automatic welcome message for every new user on their flow boards? Is there an extension for that or something? Thanks! :) Tribly (talk) 14:36, 11 May 2016 (UTC)
Thumbnail do not fetch the Image to display instead only thumbnail name appears
When updated to Mediawiki 1.26, the images do not appear at respective places instead the thumbnail name only appears. And when I right click on the link and click on show Image, it takes me to thumb.php script while in older version is used to go mediawilki/images/thumb path.
In html file when I checked srcset was not referring to proper path and when manually added correct path, It worked fine.
Please let me know it it make sense and if need some other info to resolve it. 125.16.228.42 (talk) 16:02, 11 May 2016 (UTC)
- Please check your configured paths in LocalSettings.php, you probably have something wrong there. You probably have $wgThumbnailScriptPath set. Ciencia Al Poder (talk) 00:19, 12 May 2016 (UTC)
- Hi Ciencia, so do you say that I need to comment $wgThumbnailScriptPath . As currently it is as follows:
- $wgThumbnailScriptPath = "{$wgScriptPath}/thumb{$wgScriptExtension}"; 125.16.228.42 (talk) 06:37, 12 May 2016 (UTC)
- Yes, if you don't want your images to link to the thumb.php script, you should comment out that variable assignment. Be sure you haven't also set $wgGenerateThumbnailOnParse to false Ciencia Al Poder (talk) 00:47, 13 May 2016 (UTC)
Changing Pages Using MySQL
I apologize if this topic has been discussed before, but I cannot find any reference to what I want to do.
I've inherited an existing MediaWiki site which has over 1,500 pages with malformed external URL links. The only way to fix these pages is through a rather complex MySQL UPDATE command against the Text table. The command looks something like this:
UPDATE page p
INNER JOIN revision r
ON p.page_latest = r.rev_id
INNER JOIN text t
ON r.rev_text_id = t.old_id
set t.old_text = <a concat statement involving temp tables I created to form good URLs>
where t.old_id like '< a string that identifies the rows I want to change>';
When I execute the statement I can see that the old_text is set to what I want it to be. However, when I look at a page in MediaWiki, it still has the same bad link. If I edit the page I see the changed text. I have to save the page in order to "activate" the changed text.
Is there a way to "approve" the new old_text value without having to manually save each MediaWiki page?
Thanks Jruggieromfa (talk) 16:22, 11 May 2016 (UTC)
- That's because the page is cached, either in your browser and/or in the parser cache of MediaWiki or other cache.
- You can try setting $wgCacheEpoch to discard old cached pages. Ciencia Al Poder (talk) 00:16, 12 May 2016 (UTC)
CAPTCHA Security check
I can't read the CAPTCHA Security check because it's to fuzzy! 75.138.27.94 (talk) 21:10, 11 May 2016 (UTC)
how do i create an wiki page
how do i create a wiki page Beauty Bridget Gwara. aka B.B. Goldsmith (talk) 00:28, 12 May 2016 (UTC)
- In the address bar type in:
https://www.'yourwikisaddress'/wiki/'the_name_of_the_page_you_want_to_create'
Then on the page that comes up click on the "Create" button on the top right. Example: https://www.mediawiki.org/wiki/New_Page_test Tribly (talk) 07:49, 12 May 2016 (UTC)
Registracion Username
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello Every one, i have a problem with the registration of a new user. The users can be created with spaces if it is requiered.
For example anyone can create a user like this "Rom Cat"
Do you know how i can disable that?
Best regards Maxedrom (talk) 02:28, 12 May 2016 (UTC)
- See Manual:$wgInvalidUsernameCharacters! You can use that setting to disallow certain characters. Adding a space to that value should prevent creation of accounts with spaces in them:
$wgInvalidUsernameCharacters = "@ :"87.123.40.133 (talk) 20:13, 12 May 2016 (UTC)
How do I delete an image?
I work with Dressmanns digital marketing.The images of Dressmann are really old and I would like to delete them. Can you please help me? 84.49.3.100 (talk) 08:56, 12 May 2016 (UTC)
- For wikis like Wikipedia, you cannot delete images yourself, but you can request deletion by putting a template like {{delete}} on the wiki page of that image and adding a reason for your request. Another option would be to upload a new version of the old file under the same filename that way effectively "overwriting" the old file.
- In your own wiki, if you have the according permission, you can delete an image yourself, basically by hitting the "delete" button in the upper right hand corner of the screen. 87.123.40.133 (talk) 20:07, 12 May 2016 (UTC)
importimages.php in wikifarm
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Would be great to have an optional paramater like -conf LOCALSETTINGS.PHP for an better usability in wikifarms. Because it's not so easy to import lots of images to a specific wiki. M art in (talk) 10:25, 12 May 2016 (UTC)
- --conf parameter is common to all maintenance scripts IIRC Ciencia Al Poder (talk) 01:14, 13 May 2016 (UTC)
- See Manual:Maintenance scripts#Standard command-line options! 87.123.40.133 (talk) 07:52, 13 May 2016 (UTC)
- Thanks a lot! M art in (talk) 09:29, 25 May 2016 (UTC)
Bloquear conteúdo à usuários não cadastrados
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Bom dia.
Instalei o mediawiki, mas todos usuários mesmos não logados conseguem ver todos os conteúdos.
Existe alguma forma de bloquear tudo para usuários que não estão logados no mediawiki ?
Obrigado. 138.204.191.121 (talk) 11:03, 12 May 2016 (UTC)
- Yes, there is a way to restrict users from viewing content in MediaWiki. See Manual:Preventing access! 87.123.40.133 (talk) 17:25, 12 May 2016 (UTC)
- Deu certo. Muito obrigado ;) Arturmafezzoli (talk) 18:09, 12 May 2016 (UTC)
Instalar extensão mediawiki
Bom dia.
Baixei a extensão MultimidiaViewer e segui como o descrito na página.
Coloquei a extensão na pasta extensão do mediawiki e acrescentei a linha:
require_once " $ IP /extensions/MultimediaViewer/MultimediaViewer.php" ;
Depois mostra no manual que tenho que ir em Special:Version para ver se a extensão instalou corretamente.
Mas não acho esta página.
Alguém poderia me ajudar ?
Obrigado desde já. Arturmafezzoli (talk) 12:42, 12 May 2016 (UTC)
- When you try to install Extension:MultimediaViewer, you have to add this line to LocalSettings.php:
require_once "$IP/extensions/MultimediaViewer/MultimediaViewer.php";- Note that there are no spaces around the $IP.
- After that, when you visit Special:Version, the extension must be listed there. 87.123.40.133 (talk) 17:21, 12 May 2016 (UTC)
- Obrigado pela ajuda.
- Mas já fiz isso tudo. E não aparece esta página para mim. Special:Version. Arturmafezzoli (talk) 17:59, 12 May 2016 (UTC)
- So what do you see at Special:Version? Do you get a blank page? If so, see blank page! 87.123.40.133 (talk) 18:05, 12 May 2016 (UTC)
- Eu nem chego a ver essa página.
- A unica pagina que tem ali é Special:Page
- Entro nela, mas não tem a aba Recursos Betas nem Gadgets.
- Não consigo utilizar a extensão. Arturmafezzoli (talk) 18:07, 12 May 2016 (UTC)
- I am sorry, but can you tell that in English, please?
- The page, which you should visit is called Special:Version in your wiki. The page will be accessible under exactly that name also if you are using a different language than English (Portuguese in your case). 87.123.40.133 (talk) 20:01, 12 May 2016 (UTC)
- For better understanding, I sent photos
- 1º http://s32.postimg.org/p9hphc7et/image.png
- 2º http://s32.postimg.org/79wecew05/image.png
- 3º http://s32.postimg.org/v047k2nwl/image.png
- Sorry. I am communicating through a translator. The translation is not perfect Arturmafezzoli (talk) 11:16, 13 May 2016 (UTC)
- According to https://br.wikimedia.org/wiki/Especial:Vers%C3%A3o, the MultimediaViewer is installed correctly.
- If not all preferences are shown correctly, then this is a configuration problem. Your images show the tabs "Gadgets" and "Beta features" in the user preferences. I think these can be configured using the options of Extension:MultimediaViewer and Extension:BetaFeatures. 87.123.40.133 (talk) 13:47, 13 May 2016 (UTC)
- Hello.
- I downloaded it o extension BetaFeatures and now the beta special page appears.
- But when I click on the page it does not charge.
- Look at Print:
- http://s32.postimg.org/8p7u4a191/image.png Arturmafezzoli (talk) 19:32, 16 May 2016 (UTC)
- Alguém pode me ajudar ? Já aconteceu com vocês ? Arturmafezzoli (talk) 16:48, 18 May 2016 (UTC)
Flashing sidebar - Expand by default?
On our old MW 1.19 company wiki the sidebar is now "flashing" on every page load, i.e. it expands after the page is rendered.
I remember that newer MW version don't have a toggable sidebar anyway. So how could I make or sidebar expanded by default? --Unsigned, 2016-05-12 93.184.128.22 (talk) 14:33, 12 May 2016 (UTC)
- Not exactly the answer you asked for, but I think that in newer versions of MediaWiki, the extension (not the skin) Extension:CollapsibleVector contains the expandable sidebar again. Maybe that's some help already... 87.123.40.133 (talk) 17:17, 12 May 2016 (UTC)
- Thanks, that reminded me to look for the installed extensions. For Vector.php we had settings $wgVectorFeatures['collapsiblenav']['global'] and $wgVectorFeatures['collapsiblenav']['user'] true. --Unsigned, 2016-05-13 93.184.128.22 (talk) 08:18, 13 May 2016 (UTC)
- The variable have been renamed. With the CollapsibleNav extension, try it with
$wgCollapsibleVectorFeatures['collapsiblenav']['global'] = true;$wgCollapsibleVectorFeatures['collapsiblenav']['user'] = true;87.123.40.133 (talk) 10:47, 13 May 2016 (UTC)
Edits not saving when copy large swathes of text
I used to some information on another wiki of mine, but I'm transferring it to a new one by copying and pasting the information, but whenever I do, it doesn't save if the copy+paste is large, and I don't know why. I thought that there might be a limit for edit size maybe to prevent vandalism?
I can definitely edit the page, if I go in and type "test test test" 100x it works, but if I copy and paste it doesn't. Why? 85.159.128.21 (talk) 11:45, 13 May 2016 (UTC)
- Seems to be a problem when class=wikitable comes into it. It doesn't want to save that class 85.159.128.21 (talk) 11:54, 13 May 2016 (UTC)
- See Manual:Errors and symptoms#Attempting to save an edit gives you a 403 Forbidden error, or you get redirected to the main page Ciencia Al Poder (talk) 02:26, 14 May 2016 (UTC)
How to enable notification system?
Hi,
How to enable Mediawiki notification system? Bekircem (talk) 13:33, 13 May 2016 (UTC)
How to send a test e-mail
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Is there any way to get MediaWiki to send a test e-mail notification? I tried editing my own user page (I'm subscribed to it) and did not receive any e-mails. I do not know if this is correct or not. ZianFirstWatch (talk) 22:56, 13 May 2016 (UTC)
- It won't trigger the email if you edit your own user page. You can try editing it without being logged in or with a test account. Ciencia Al Poder (talk) 02:25, 14 May 2016 (UTC)
- The wiki's access is limited to people with Windows domain accounts and I can't easily make a completely new Windows domain account.
- Are there any other ways to trigger a notification? ZianFirstWatch (talk) 17:37, 20 May 2016 (UTC)
- Solution:
- Disable Windows domain authentication in LocalSettings.php
- Make sure anonymous people can't see or do anything on the wiki
- Run the changepassword maintenance script to give my wiki account a password
- Login to the wiki using the new password
- Logout
- Set $wgShowExceptionDetails = true;
- Walk through the password recovery screen. ZianFirstWatch (talk) 22:17, 30 August 2016 (UTC)
svg files
I import Ambox template, and i need to upload the svg files into my wiky to make it work the template.
But when i try to upload the svg files this error appear:
The XML in the uploaded file could not be parsed.
Any one can help me? Maxedrom (talk) 23:16, 14 May 2016 (UTC)
- Edit the svg file with a plain text editor like notepad/vi and see if it looks like an XML file.
- Other things to try: http://www.gossamer-threads.com/lists/wiki/mediawiki/466316
- Be sure the SVG is valid: https://phabricator.wikimedia.org/T43174 Ciencia Al Poder (talk) 13:52, 15 May 2016 (UTC)
How to disable CSS or JS as a USER?
TL;DR: As a user, I don't want the common.css/js or [skin-name].css/js to be rendered. Is their any solution, apart from writing a User:user-name/common.css(js) to override the site's ones? Provided that I have logged in, can edit and create pages (except MediaWiki namespace), and can edit my preferences, but can do nothing else other than above. (End of TL;DR)
I'm a user of many Mediawiki sites. For about 5-10% of sites with their own domain and about 15-25% sites hosted on Wikia (a wiki farm), the webmasters / admins have spent lots of time editing the common.css or vector.css to make their site look fancy (eg. changed the mouse cursor, made hyperlinks another color, or made things glow when mouse hover over certain elements), and for one particular wiki, the admin edited the common.js page so that when a user clicks a link, an ad will show up (and that admin gets the money).
I am not very comfortable with some of these JS and CSS's, so I tried to write my own CSS to override the whole-site ones. However I'm not a good CSS writer, and it often turned out that (1) some CSS I wrote didn't work as I supposed, (2) for some special effects they added, I either don't know which thing they modified, or don't know how to override it.
So here comes the question:
1. Is it possible to disable the site's common or skin CSS/JS, either by adding some simple lines to my own CSS/JS, or by changing my preferences?
2. If the answer to above question is NO (which means I either have to tolerate their CSS, or write my own to override), how can I make sure that my browser renders MY CSS rather than THEIRS? And where can I find the "default" css or things like that so that I can make the overridden style closer to the default? (Assume I can find some websites to learn CSS...)
For the above question, assume that:
- I have logged in and am not blocked;
- I can read all pages (a site only allows admins to read MediaWiki namespace pages, which disallows me to see what they have done);
- I can edit and create any page except the MediaWiki namespace (a site disallows creating page for ANY usergroup - I wonder what the admins would do if they want a new page);
- I can edit my preferences;
- I CANNOT make any modification to the MediaWiki or my web browser;
- Neither the MediaWiki nor my web browser have special extensions that greatly change their behavior. User670839245 (talk) 11:31, 15 May 2016 (UTC)
- The common.css page can be disabled completely with $wgUseSiteCss and the ability of users to use _their_ own CSS styles can be disabled with $wgAllowUserCss. However, these settings are site-wide - they cannot be changed by a single user. If you only are a normal user, I don't know of a solution, which would work _without_ using user CSS in an own user page. Analogously, the same is valid for that kind of JavaScript code.
- You should be able to view the offending code by hecking out the head of the source code of one of the affected pages. If you add debug=true, the ResourceLoader serves non-minified JavaScript and CSS. That should make it easier to understand, which code they are using. See ResourceLoader/Features#Debug mode for more information! 87.123.17.229 (talk) 11:55, 15 May 2016 (UTC)
- There's nothing much you can do... only ask the admin to put that code as a gadget so you can selectively disable them in your preferences, or provide another way to prevent that execution by checking for a specific cookie value or JavaScript variable.
- Otherwise you'll require a browser addon. For example, AdBlock, and find the particular URL that serves the site's JavaScript code to block it. Another option is to use a personal proxy software to also filter those URLs. I think fiddler can do that. Ciencia Al Poder (talk) 13:33, 15 May 2016 (UTC)
- Educate the site admins is what I would say.... —TheDJ (Not WMF) (talk • contribs) 13:52, 16 May 2016 (UTC)
Module
Hello, how can i install this module and use it?
https://en.wikipedia.org/wiki/Module:Citation Maxedrom (talk) 13:13, 15 May 2016 (UTC)
- You need to install Extension:Scribunto and import code to your wiki. wargo (talk) 12:27, 16 May 2016 (UTC)
- How i can import the code to my wiki? Maxedrom (talk) 20:25, 16 May 2016 (UTC)
- Copy code you can see on page you linked. You can also use Import feature. wargo (talk) 14:43, 17 May 2016 (UTC)
- Is there another posibility to import that code? The import feature is not working for me. Maxedrom (talk) 23:45, 17 May 2016 (UTC)
Special:Export
Hello i am trying to download some templates, for example
But the EXPORT web app, only generates an xml without the ifnormation, so when you want to import the template on your wiki, a message appear that the xml has not any information. Maxedrom (talk) 13:39, 15 May 2016 (UTC)
Problem Template AMBOX
Hello I export and import TEMPLATE:AMBOX (Template:Ambox), but in my wiky some format is missing, please comparte the MEDIAWIKI TEMPLATE:AMBOX with my Template:Ambox, YOU CAN SEE IN THE FOLLOWING IMAGE:
http://imgur.com/tUOTN31 Maxedrom (talk) 17:22, 15 May 2016 (UTC)
- You also need to import the related styling statements of mbox from MediaWiki:Common.css —TheDJ (Not WMF) (talk • contribs) 13:50, 16 May 2016 (UTC)
- Hello, thanks for your answer.
- How can import the Styling statements, and where i have to put it? I am using Vector.
- I tried to export the css using the Special:Export utility but the xml is without information.
- ?? Maxedrom (talk) 20:23, 16 May 2016 (UTC)
- Hello Anyone can help me? Maxedrom (talk) 23:45, 17 May 2016 (UTC)
- MediaWiki:Common.css is a wiki page in your wiki like this one here: MediaWiki:Common.css. That is the page which DJ meant you should add the styles to. 87.123.59.195 (talk) 13:02, 18 May 2016 (UTC)
- Thanks for your answer. One more question, where i get the css for mbox? Maxedrom (talk) 18:57, 18 May 2016 (UTC)
Extracting template variables from one page for use in another
I'm using a local installation of MediaWiki v.1.23.13 for a family genealogy project.
Is there a template or extension which will let me extract specific template variables (date of birth and date of death in this case) automatically from one page into another? In other words, how can I extract variables defined in the page entitled John Smith by templates {{birth date|1920|01|01}} and {{death date and age|1940|12|01|1920|01|01}} using some function or template on the Smith family tree page, which (manually - VERY manually!) aggregates many people on one page using the {{chart}} template, with each box containing that person's name, dob and dod - i.e.:
Smith
1920-1940
Each of the people cited on the family tree page has a page in their own name, including an {{infobox}} with the two date of birth/death templates included and populated. Currently, I'm just adding date of birth and date of death manually to the {{chart}}, so automation would MASSIVELY help with consistency of data and speed of creation of the chart pages. I was wondering if {{Persondata}}) might be the answer, but I can't seem to work out how to use it since it's been deprecated, and WikiData itself seems more than a little opaque on the matter! Hope that's clear, and thank you in advance. CharlesSpencer (talk) 19:09, 15 May 2016 (UTC)
- You can't, wiki's by default don't have structure.
- You might want to look into Semantic MediaWiki and it's related extensions. —TheDJ (Not WMF) (talk • contribs) 13:47, 16 May 2016 (UTC)
Account creation error Incorrect password entered. Please try again.
Hi. I'm trying to create some dummy accounts so that I can retrieve and display the info for a college project. I just keep getting the above message all the time. Is there a simple workaround to help me? Why is it doing this? Orbital676 (talk) 09:39, 16 May 2016 (UTC)
- It may be because the password doesn't meet $wgPasswordPolicy, but I'd expect a more descriptive error message if that happens. Ciencia Al Poder (talk) 01:28, 17 May 2016 (UTC)
deleting prior year transactions
I would like to delete prior years transactions in gnucash, I have about five years worth on file now. Is there a way to delete this information? Thank you Sainttanthony (talk) 14:22, 16 May 2016 (UTC)
- Welcome to MediaWiki.org's Support desk, where you can ask MediaWiki questions! Apparently you are on the wrong support desk forums Ciencia Al Poder (talk) 01:24, 17 May 2016 (UTC)
Moving MW site to new server
Hello.
What is the best way to move MW site to new server?
I don't have access to SSH TraaBBIT (talk) 17:29, 16 May 2016 (UTC)
New install not creating user pages
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Shared hosting (hosting.com). MySQL. Installed both in and out of a sub domain. Installed with cPanel Softaculous and also downloaded and FTP up and ran install script. Multiple installs, same problem, no change. I search for a solution for this online and haven't even found other people having this issue! This is my last resort, sadly.
There are no "user pages" being created with an account setup! Even the admin, upon installation, is missing its user page! There are also no group pages... Users, Admin, Bureaucrat... Nothing. It's that simple. The acct. creation process is NOT doing everything its supposed to. And this is the only problem that is apparent to me. I am New to MediaWiki. Just created my acct here and sure enough it created my user page too! :)
I just don't know where to turn. I want to run Mediawiki. No idea why its not creating the pages. Since its also not creating the GROUP pages that means something beyond just user creation is affected. Please help, thanks! HappyCatLand (talk) 01:45, 17 May 2016 (UTC)
- None of those pages should exist. When you create a wiki, the only page that should exist is the main page (and special pages, but those aren't user editable). 120.144.18.13 (talk) 08:51, 17 May 2016 (UTC)
- Creating a user alone does _not_ create a user page. A user page can be created additionally. Users can create pages, if they are member of a user group, which is allowed to create and edit pages.
- For the different user groups, there _are_ some pages inside the MediaWiki namespace. These pages however only contain some words, like the name of the group in English language (e.g. "Administrators") or the name of group members ("Administrator"). These pages however do not create the group. Groups are created by defining $wgGroupPermissions in LocalSettings.php. By default, without changing $wgGroupPermissions in LocalSettings.php, some default groups are always present. The Admin and Bureaucrat groups are two of them.
- In all, what you describe is normal behaviour. (This behaviour could be changed using some extension to import data for user pages from some external source or so, but that is not what MediaWiki is doing by default). 87.123.57.65 (talk) 09:06, 17 May 2016 (UTC)
- What happens when you do try to create the user page it just goes tot he main page. So no registered user can edit their user page.
- thanks HappyCatLand (talk) 09:22, 17 May 2016 (UTC)
- Sounds like it's this problem: Manual:Errors and symptoms#Attempting to save an edit gives you a 403 Forbidden error.2C or you get redirected to the main page. 87.123.57.65 (talk) 09:30, 17 May 2016 (UTC)
- Excellent. Well done and thanks. Couldn't find that, was too focused on searching for something on "user page" :) HappyCatLand (talk) 11:08, 17 May 2016 (UTC)
Can I block access?
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Share hosting: While running the install can I have all access blocked to the install directory except for my IP, via an htaccess? There are a lot of spam bots hitting that directory and I don't want anything accessing until after I finished the install. So my question really is does Mediawiki need any inbound connections to hit it while installing or no?
Thank you HappyCatLand (talk) 08:08, 17 May 2016 (UTC)
- Accessing the mw-config/ directory alone should not be a problem. Settings can only be changed by putting the file LocalSettings.php on the server and the installer does not do that. It only offers the file for download and you have to upload it to the server yourself, e.g. via SFTP. So an attacker would need SFTP access to do any harm. Also, if LocalSettings.php already exists and you actually want the installer to be working, you have to add $wgSecretKey to LocalSettings.php. Before the installer allows you to change anything, you have to enter the key. If you don't know the key, the installer won't continue.
- What you should however do is to set the wiki up in a useful way: If you now already see spam bots stopping by, then in the installer you should set the wiki up as a "closed wiki" or "private wiki" or how it's called. Maybe best in a way that editing is not possible for anonymous users (= for IP users) and so that IP users cannot create accounts themselves. Otherwise spammers will start creating accounts and will then spam your wiki. 87.123.57.65 (talk) 09:15, 17 May 2016 (UTC)
- Thanks! I just blocked access (htaccess) until files were uploaded and the rest worked like you said. :) HappyCatLand (talk) 11:10, 17 May 2016 (UTC)
I do not install Parsoid
Hello,
I do not install Parsoid despite the tutorial I found (Parsoid/Developer Setup#Windows setup)
Can you help me?
Thank You 90.6.157.189 (talk) 15:57, 17 May 2016 (UTC)
Forgotten Castle
Hello,
New to the game: 2 months, started the Forgotten Castle event this morning and leveled up my dragons before the battle; however, it deducted the food but kept the dragons at the same level before I feed them....Food is too expensive to loose! The game keeps freezing, need this fixed!!!!! Also lost dice I accumulated! I do not know how to submit a ticket....Please advise and replace my food and dice. Thank you 2602:306:B836:9DB0:8150:F6DC:459A:6941 (talk) 16:47, 17 May 2016 (UTC)
- Welcome to MediaWiki.org's Support desk, where you can ask MediaWiki questions! Apparently you are on the wrong support desk forums... 87.123.59.195 (talk) 16:54, 17 May 2016 (UTC)
AdSense is not shown in Vector skin
Hello.
I created fielf for AdSense. On tool bar on left side.
It is not shown in Vector skin:
http://wiki.westeros.pl/index.php?title=Strona_g%C5%82%C3%B3wna&useskin=vector
But it is displayed in other skins:
http://wiki.westeros.pl/index.php?title=Strona_g%C5%82%C3%B3wna&useskin=cologneblue
http://wiki.westeros.pl/index.php?title=Strona_g%C5%82%C3%B3wna&useskin=monobook
http://wiki.westeros.pl/index.php?title=Strona_g%C5%82%C3%B3wna&useskin=modern
Has anybody any idea what could be wrong? TraaBBIT (talk) 21:36, 17 May 2016 (UTC)
- Has anybody any idea what could be wrong? TraaBBIT (talk) 14:26, 31 May 2016 (UTC)
- I do not see a difference: In Monobook, I see an empty "Ads" section in the left-hand menu. And in Vector such a section is there as well. This looks the same! 87.123.26.85 (talk) 20:50, 31 May 2016 (UTC)
- Ad is shown only in http://wiki.westeros.pl/index.php?title=Strona_g%C5%82%C3%B3wna&useskin=cologneblue
- I'm not sure why it is not shown in Vector.
- Mayby somebody has ide how to display AdSense in left bar? TraaBBIT (talk) 09:14, 1 June 2016 (UTC)
Reinstall, new database
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
New install but I want a new database now, I just want a start fresh. So, if I want to use a NEW database, I'm guessing THIS is the way to do it...? (btw my install has no mods, no customization, clean install, shared hosting)
create the new mysql database
remove LocalSettings.php from the install directory
this will start the install script I'm guessing? (no LocalSettings.php present)
go through setup adding the new blank database along the way
upload the new LocalSettings.php
Now I should have a nice new install, correct?? (provided I changed no files in the install directory, except for LocalSettings.php)
Thanks HappyCatLand (talk) 01:30, 18 May 2016 (UTC)
- yes, that's the way to go Ciencia Al Poder (talk) 01:45, 18 May 2016 (UTC)
Manual:$wgExpensiveParserFunctionLimit
Hi, I recently put together template:preloaddraft, which is used in redlink lists on English Wikipedia (e.g. WP:MISSING/Art of the Middle East). However, because each copy of the template contains two #ifexistss, after 250 names or so, the template malfunctions due to the limitations on expensive functions.
Is there a way to edit the Manual:$wgExpensiveParserFunctionLimit for this template to raise it from 500 to 5000? I believe that this would still represent an acceptably small small server burden.
Any help/advice appreciated! (N.b. also asked at en:Wikipedia:Village pump (technical)#limits on Template:Preloaddraft ) T.Shafee(Evo﹠Evo)talk 01:32, 18 May 2016 (UTC)
Directly edit text by clicking on it (inline edit extension?)
Hi,
Is there a way to edit text on a page by clicking on the text you want to edit and then having a text box appear right there?
Maybe an extension does that already?
Right now I'm double clicking a page to edit it, but inline editing would be much faster.
Thank you! Loicloicloicloic (talk) 03:26, 18 May 2016 (UTC)
- There is Extension:VisualEditor... 87.123.59.195 (talk) 05:55, 18 May 2016 (UTC)
how do I recover lost spreadsheets after upgrading from open office 3 to open office 4
how do I recover lost spreadsheets after upgrading from open office 3 to open office 4 Tinlizzy1929 (talk) 15:27, 18 May 2016 (UTC)
- Welcome to the Support desk for the MediaWiki software. MediaWiki is not related to OpenOffice. Please see the OpenOffice support instead: https://www.openoffice.org/support/ Malyacko (talk) 07:28, 23 May 2016 (UTC)
Fatal Exception error of the type "MWException
Hello there,
I set up a mediawiki page on bplaced. The thing with bplaced is that allow_url_fopen isn't allowed so there are other ways.
I searched online for solutions but was quite unsuccessful. I can't input commands to the server so it must be something in the LocalSettings.php to change.
Thanks for your help :) AcousticAnimal (talk) 16:14, 18 May 2016 (UTC)
- The Error is:
- [edc8f5cf] /wiki/index.php?title=Springschw%C3%A4nze_(Collembola)&action=submit MWException from line 333 of /users/bplaceduser/www/wiki/includes/HttpFunctions.php: MWHttpRequest::factory: allow_url_fopen needs to be enabled for pure PHP http requests to work. If possible, curl should be used instead. See http://php.net/curl. AcousticAnimal (talk) 17:10, 18 May 2016 (UTC)
Auto reload Page
Hello Every one, how can i do that specific one of the my wiki page to reload the page every 5 minutes? Like pushin F5.
Any ideas? Maxedrom (talk) 21:28, 18 May 2016 (UTC)
- That is possible with JavaScript.
- E.g.
- setTimeout(function(){
window.location.reload(1);- }, 300000); 87.123.12.134 (talk) 14:06, 19 May 2016 (UTC)
- okey. thanks, but how can i install that on my wiki page ?
- best regards. Maxedrom (talk) 13:06, 23 May 2016 (UTC)
- E.g. by putting it in the wiki page MediaWiki:Common.js in your wiki.
- nd yes, you will most likely want to only have it applied to some and not to all pages and no, I do not know the solution for that. 87.123.35.37 (talk) 14:05, 23 May 2016 (UTC)
- Perhaps put it for "Your page" on "Your page.js". I think I did this for some other thing some time ago. I think some config had to be done in LocalSettings.php before. Well, I have no idea about JS . Carchaias (talk) 20:12, 23 May 2016 (UTC)
review comments
I want to know that is there any option to review the comments of anonymous users before posting it to our site? 106.51.227.79 (talk) 13:35, 19 May 2016 (UTC)
Table Header Orientation text rotation
hello,
i want to rotate the table header it normal text is from left to right i want that the table header text ist from bottom to top without using svg images. it is not neccessary thats internet explorer 8 compatible. is there any solution?
i try this css:
.rotate { -moz-transform:rotate(-90deg); -webkit-transform: rotate(-90deg); -o-transform: rotate(-90deg); }
{| class="sortable"
|- style="background-color: #D0D0D0"
!data-sort-type="number" |<div class="rotate">Test</div>
.....
}
the text is no from bot to top but the column witdh and the row height is wrong.
any solution for this?
thx a lot 217.91.242.65 (talk) 09:33, 20 May 2016 (UTC)
- In how far are width and height wrong? Is what you are seeing a browser bug? 87.123.25.217 (talk) 14:25, 20 May 2016 (UTC)
- i try chrome and firefox on bothe the same result 217.91.242.65 (talk) 15:47, 20 May 2016 (UTC)
Support desk
Where can i get information about the board, which is used here. 188.233.132.110 (talk) 10:11, 20 May 2016 (UTC)
Transcluding tag onto template
I'm trying to make a template on Wikipedia at Wikipedia:User:MorbidEntree/put that will include the <noinclude> tag onto the template it is transcluded onto. So basically, I would transclude Wikipedia:User:MorbidEntree/put onto the top of Wikipedia:User:MorbidEntree/tools as a notice that is displayed when someone views the Wikipedia:User:MorbidEntree/tools page directly, but is not transcluded onto the pages that I transclude Wikipedia:User:MorbidEntree/tools onto. Currently, the Wikipedia:User:MorbidEntree/put page is transcluded onto Wikipedia:User:MorbidEntree/tools, yet it isn't displaying the notice. (diff)
Any ideas how I can transclude <noinclude> onto another template without it taking effect on the template it is transcluded onto? MorbidEntree (talk) 12:08, 20 May 2016 (UTC)
Enabling email: Unknown error in PHP's mail() function
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi there, I have just installed 1.26.3 on my Hostmonster account. Everything works fine, but I would like to enable emails as well (for notifications, and for password reminders).
If I set $wgEnableEmail = true; and create a new user, I get this error message
Mailer returned: Unknown error in PHP's mail() function.
How can I troubleshoot this please?
I have tried creating a test.php page that sends an email
<?php print "Sending email...
"; mail("myaddress@gmail.com","My subject","My message body"); print "Sent!
"; ?>
If I load it from my browser, it sends the email OK. The From: field comes as "myHostmonsterAccountName@hostxxx.hostmonster.com". I would like to reproduce what MediaWiki is doing with a minimal PHP script, so I can take it to Hostmonster's tech support.
By the way, how can I test this from WikiMedia without having to create a new user every time?
Thanks a lot for any help! :) 146.198.223.71 (talk) 09:36, 21 May 2016 (UTC)
- This might help: Manual:$wgSMTP#Error sending mail: Unknown error in PHP.27s mail.28.29 function Mediawiki 87.123.46.59 (talk) 10:29, 21 May 2016 (UTC)
- Thanks, I've seen that, but it's a bit of a sledgehammer solution that I keep as a last resort. My web server can clearly send emails via PHP, so I don't understand why MediaWiki cannot do that. Thanks. 146.198.223.71 (talk) 11:09, 21 May 2016 (UTC)
- This error happens in includes/mail/UserMailer.php. Search the file for the text "php-mail-error-unknown"; at these places the mail function has been used and one of these places is where it failed... 87.123.46.59 (talk) 11:26, 21 May 2016 (UTC)
- OK, thanks, I fixed the problem. I had to set
$wgEmergencyContact = "myHostmonsterAccountName@hostxxx.hostmonster.com";$wgPasswordSender = "myHostmonsterAccountName@hostxxx.hostmonster.com";- in LocalSettings.php to make it work. I suspect Hostmonster (and probably many other hosting providers) check the headers to beat the spammers, so "From:" and "Return-Path:" need to be genuine, not spoofed.
- I am surprised that this problem never came up, I think it should be added to the documentation.
- As a minimum, the error message should contain a link to the relevant documentation.
- Thanks! 146.198.223.71 (talk) 23:27, 21 May 2016 (UTC)
invalid magic word 'noglossary'
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi, my wiki produces this error. The cache directory is empty. I have no clue how to debug it. I cant remember setting a **magic word** anywhere.
1.26.2 PHP 5.6 MySQL 5.5
https://docs.digitale-lernumgebung.de/mw-config/
Vorhandenes Wiki
[1ae0606c] /manager/mw-config/?page=ExistingWiki MWException from line 337 of /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/MagicWord.php: Error: invalid magic word 'noglossary'
Backtrace:
- 0 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/MagicWord.php(262): MagicWord->load(string)
- 1 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/MagicWord.php(778): MagicWord::get(string)
- 2 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/MagicWord.php(801): MagicWordArray->getBaseRegex()
- 3 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/MagicWord.php(948): MagicWordArray->getRegex()
- 4 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/parser/Parser.php(4335): MagicWordArray->matchAndRemove(string)
- 5 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/parser/Parser.php(1259): Parser->doDoubleUnderscore(string)
- 6 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/parser/Parser.php(439): Parser->internalParse(string)
- 7 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/installer/Installer.php(632): Parser->parse(string, Title, ParserOptions, boolean)
- 8 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/installer/WebInstaller.php(680): Installer->parse(string, boolean)
- 9 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/installer/WebInstallerPage.php(392): WebInstaller->getInfoBox(string)
- 10 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/installer/WebInstallerPage.php(380): WebInstallerExistingWiki->showKeyForm()
- 11 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/includes/installer/WebInstaller.php(280): WebInstallerExistingWiki->execute()
- 12 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/mw-config/index.php(77): WebInstaller->execute(array)
- 13 /var/www/virtual/docs.digitale-lernumgebung.de/htdocs/manager/mw-config/index.php(36): wfInstallerMain()
- 14 {main} Koalopete (talk) 10:46, 21 May 2016 (UTC)
- You are using an extension, which adds the magic word "noglossary" to MediaWiki. You have to find out, which extension that is and update it for MediaWiki 1.26. From your extension list, extension Semantic Glossary and especially extension Lingo are two candidates. If I were to guess, I would say it's Lingo. 87.123.46.59 (talk) 11:31, 21 May 2016 (UTC)
- Ah and please make sure that you are updating to MediaWiki 1.26.3, not to MediaWiki 1.26.2. You are currently running 1.26.2, which since yesterday contains known security holes. 87.123.46.59 (talk) 11:32, 21 May 2016 (UTC)
- Thanks. But I installed the Lingo 2.0 and now my wiki is dead. It says "Semantic Glossary depends on the Lingo extension. You need to install Lingo first." But it is installed altough the file structure looks very suspecious to me, e.g. why would I put .gitignore on my server or src or .travis.yml and the like.
- General question: Why do the extensions and the mediawiki itself not update with a simple button click like Piwik or Joomla? Koalopete (talk) 19:42, 21 May 2016 (UTC)
- I was able to update to 1.26.3 by disabling LIngo during the process. But that still does not solve the problem with the weird file structure of Lingo 2.0 which prevents me from updating that extension. Koalopete (talk) 20:47, 21 May 2016 (UTC)
- I am no expert in regards to the Lingo extension, but after checking the Git repository, I think that Stephan Gambke should be able to tell you more... 87.123.45.55 (talk) 21:24, 21 May 2016 (UTC)
- Thanks. Stephan Gambke made an update. I reinstalled the MLEB and now it works. Koalopete (talk) 19:08, 28 May 2016 (UTC)
How to differ completed pages from unfinished pages
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi,
Just started using Mediawiki as a personal sort of notebook for a fictional world I am building.
I am wondering what would be the best way to mark pages that are completed (or "published") from pages that still need information? And to take it a step further, can I create a Special Page that tallies this information up? Like one special page for completed pages and another for the needs-work pages?
I hope that makes sense. Thanks for your help in advance!
| MediaWiki | 1.26.2 |
| PHP | 7.0.0 (apache2handler) |
| MySQL | 5.7.9 |
| ICU | 56.1 |
- You can use templates or categories to mark pages. If you e.g. add a template called "unfinished" to a page and in the template you add the category "unfinished page", then all pages, which have the template on them, will appear in the category named "Unfinished page". 87.123.46.59 (talk) 14:27, 21 May 2016 (UTC)
- thank you for the tip! will try this out :) TerrylSeeker (talk) 16:18, 21 May 2016 (UTC)
Can I make a bot for this wiki?
Is it possible to have a bot on this wiki itself? Banana439monkey (talk) 13:21, 22 May 2016 (UTC)
- If it is designed to do a valid task and approved by the local admins on this wiki. P858snake (talk) 05:45, 23 May 2016 (UTC)
- How can I request a bot? Banana439monkey (talk) 19:09, 24 May 2016 (UTC)
- you can request permission to run a bot on Project:Requests. P858snake (talk) 08:14, 25 May 2016 (UTC)
cannot create an account, cannot view cacha
I cannot creat an account on Wikipedia flkr.commons, cannot read cacha 112.200.174.253 (talk) 05:50, 23 May 2016 (UTC)
checkImages.php is missing ALL files, even though they exist
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I tried the checkImages.php (Manual:CheckImages.php) maintenance script today, but on any Wiki I execute, it replies each file that is on the wiki "missing". What is going wrong with this? Carchaias (talk) 08:03, 23 May 2016 (UTC)
- You are most likely using an outdated version of MediaWiki. Please upgrade MediaWiki to a current version, e.g. to 1.26.3. In this version this bug (T64148) has been fixed. 87.123.35.37 (talk) 14:03, 23 May 2016 (UTC)
- Ah, thanks for that hint. Carchaias (talk) 20:05, 23 May 2016 (UTC)
Deutscher Support?
Hallo Leute,
kann man hier auch deutschen Support bekommen? 2003:56:6F37:6000:5BB:E94A:C6E9:C522 (talk) 09:27, 23 May 2016 (UTC)
Can't login in rightpedia wiki
My username or password is not recognized. I've checked the cookies. They are not blocked. What should I do? Exposethemall (talk) 10:05, 23 May 2016 (UTC)
- Welcome to Mediawiki- Support desk. Rightpedia just uses the software mediawiki. Please contact the operators of rightpedia about your user account. Carchaias (talk) 20:33, 23 May 2016 (UTC)
- Problem is when I went on the help sections it always gets redirected to you guys at MediaWiki... I spent a lot of time on it last night. I go on here I am still logged in but when I go to Rightpedia... it's not logged in. Not making anything up. I wish I had an email address. I hate computer problems. I've countered problems like this before. Nothing makes much sense. Exposethemall (talk) 03:33, 24 May 2016 (UTC)
- I tried to login here and nothing worked: http://en.rightpedia.info/wiki/index.php?title=Special:UserLogin&returnto=Main+Page Exposethemall (talk) 03:34, 24 May 2016 (UTC)
- The Help Link in the side bar is always linked to mediawiki Help when someone installs mediawiki out of the box. They simply did not change this. I believe mediawiki has nothing to do with rightpedia and vice versa Carchaias (talk) 18:29, 24 May 2016 (UTC)
Get rid of spam
My site got hacked, and got many spam page on it (page that are advertising, and other weird stuff).
We have now managed to get rid of the spammer account and block them all, but all pages are still there. There is no link to them in the main page, but they still could get access with direct link (e.g. in a spam mail campaign).
How do I get rid of those 2000+ orphan pages. Nuke and other extension were only install after the attack happen.
There is unfortunately no pattern in the content of the spam page (from lip gloss, to DVD).
They were all created by several different users as well.
How can I delete many (2000+) pages effectively? I managed to merge all spam users together. The best scenario would be to delete all pages by those merged users. Remember Nuke was only installed after the attack.
Mediawiki 1.26.3 Volleyballheinz (talk) 13:04, 23 May 2016 (UTC)
- See combating spam! 87.123.35.37 (talk) 14:01, 23 May 2016 (UTC)
- I had very good experiance with the simple captcha function. A hand full of stupid questions about the main theme of the wiki holds back spam for years now. Iḿ very lucky about that.
- like : How many wheels has a Threewheeler? or the like. Carchaias (talk) 20:39, 23 May 2016 (UTC)
Version 1.26.3 setting $wgVersion to 1.26.2 in DefaultSettings.php
$wgVersion is set to 1.26.2 in DefaultSettings.php from mediawiki-1.26.3.tar.gz.
There are many warnings to never change this value, but it certainly seems wrong and makes it appear as if an upgrade is not working. Mwbucky (talk) 15:54, 23 May 2016 (UTC)
- I've downloaded it and in DefaultSettings.php I see:
$wgVersion = '1.26.3';- Please be sure you've downloaded and extracted the file correctly! Ciencia Al Poder (talk) 01:54, 24 May 2016 (UTC)
- The MediaWiki developers sometimes change the content of released versions. This is bad habit and should not be done, but they do it und that is what happened again this time. Yes, it _is_ possible that you downloaded MediaWiki 1.26.3 and it says 1.26.2 in DefaultSettings.php. If you download the "same" file again now, you will get a newer version, which in fact contains the updated version number - and which additionally also works with PHP 5.3, which the "old" 1.26.3 version did not do correctly anymore.
- On your note as to change §wgVersion: I do not understand why this is not put inside a constant. That way it would just be impossible to simply overwrite it... I would like to see that changed! 87.123.5.137 (talk) 13:58, 24 May 2016 (UTC)
- Thanks 87.123.5.137. Yes, they did make changes. I see file dates in the 'new' mediawiki-1.26.3.tar.gz I just downloaded that are newer than the file date on the 'old' mediawiki-1.26.3.tar.gz. I agree, this is a terrible idea. I know people don't like to continuously spin the version for small changes, but sounds like they are doing some pretty big fixes too.
- Is their a build number in to the code anywhere that might have been incremented? Mwbucky (talk) 19:44, 25 May 2016 (UTC)
- The version number is stored in $wgServer in includes/DefaultSettings.php. This is the place, which needs to be changed prior to a release, and which was forgotten this time. If there would not be a normal variable, but a constant at this place, then it would at least be impossible to overwrite this variable... 87.123.0.3 (talk) 20:06, 25 May 2016 (UTC)
- I think 87.123 means $wgVersion and not $wgServer. A constant wouldn't change anything because devs would have forgotten to change that constant anyway. That point is moot.
- I guess they may include a .gitinfo or similar file with the sha commit of that specific version, but that doesn't seem to be the case for now Ciencia Al Poder (talk) 20:52, 25 May 2016 (UTC)
- Right, I mean $wgVersion. Sure, the devs have to update that constant, but that is not the point.
- The point is that there was the advise to simply overwrite $wgVersion in LocalSettings, which is one of the worst things you could ever do. Such - stupid - advise will no longer work, if it's defined as a constant instead of as an ordinary variable. 87.123.0.3 (talk) 05:51, 26 May 2016 (UTC)
Problem import templates
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello,
I would Importing templates, I took through export Wikipedia, but I have an error message that appears "Import failed. Loss of session data, please try again."
I wonder where my problem?
Thank you 86.204.250.146 (talk) 16:46, 23 May 2016 (UTC)
- Does anyone help me please ? 109.221.152.70 (talk) 09:29, 3 June 2016 (UTC)
- How big is the size of the upload? This error has sometimes appeared for large uploads.
- https://www.mediawiki.org/wiki/Manual_talk:Importing_XML_dumps#Error_message
- I don't know whether these instructions are up-to-date or not, but try these to increase the allowed upload size:
- https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Set_maximum_size_for_file_uploads
- The default upload max size according to this page appears to be 2MB.
- From Manual:$wgMaxUploadSize: "By default, PHP does not allow uploaded files to be more than 2 megabytes." AhmadF.Cheema (talk) 12:17, 3 June 2016 (UTC)
- Hello, thank you for your help.
- The template is imported I want this one
- But the problem is that I have already made this operation, and I still have the same problem.
- But I have other question, when I see the model source, I see there are plenty of templates used by the page are, can I imported one by one?
- Excuse me for my English, I use Google Traduction 109.221.152.70 (talk) 10:08, 7 June 2016 (UTC)
- Can you mention which specific template you are trying to import?
- Regarding the second question, yes templates can be imported one by one; or you can also copy/paste the Wikipedia source code into your Wiki.
- Note: In addition to simple templates, these Wikipedia pages usually include "Modules" also. For which you will need to have Extension:Scribunto. AhmadF.Cheema (talk) 13:40, 7 June 2016 (UTC)
- Excuse me I completely forgot to give the template here : https://fr.wikipedia.org/wiki/Mod%C3%A8le:Album
- It comes from the French Wikipedia
- And thank you for your response 109.221.152.70 (talk) 14:55, 7 June 2016 (UTC)
- I went to https://fr.wikipedia.org/wiki/Sp%C3%A9cial:Exporter,
- Entered "Modèle:Album" in the "Ajouter des pages manuellement :" box, and then imported the created XML file into my own Wiki.
- The Template appears to have imported successfully.
- Are you sure, you followed this method?
- Note: If you have the "Inclure les modèles" option checked while exporting the template, the import will not work in case you don't have Extension:Scribunto installed.
- Regards, AhmadF.Cheema (talk) 15:38, 7 June 2016 (UTC)
- Thank you, I was able to import my Template.
- In made, I incorrectly installed Scribunto, I forgot to put this "$wgScribuntoDefaultEngine = 'luastandalone" in my localsetting.php,
- I only had marked as "require_once "$ IP / extensions / Scribunto / Scribunto.php";
- Now all is in order :)
- Thank you for your help 109.221.152.70 (talk) 17:08, 7 June 2016 (UTC)
- You are always welcome...
- (and there is no need to thank at every step, just once should be enough)
- Regards, AhmadF.Cheema (talk) 18:35, 7 June 2016 (UTC)
Search Query
Hi everyone,
I installed mediawiki 1.26.2 with MSSQL 2008 and I am having some issues with search.
The table [mediawiki].[searchindex] contains data (seems encrypted), but the query that searchs on it has the raw value of the search.
Is there any configuration or known bug with MSSQL ?
thanks Pedrogolino (talk) 18:42, 23 May 2016 (UTC)
- What does "the query that searchs on it has the raw value of the search" mean? Can you provide a specific example with a complete list of steps to reproduce? AKlapper (WMF) (talk) 08:23, 24 May 2016 (UTC)
- I'm sorry about the lousy explanation.
- For example:
- I search for "product" .
- In searchindex table, the column si_text has a values like this: "瀠楲믯獢猲汱污".
- The query generated by mediawiki is:
- SELECT TOP 20 page_id, page_namespace, page_title, ftindex.[RANK]FROM [mediawiki].[page],FREETEXTTABLE([mediawiki].[searchindex] , si_title, 'product', LANGUAGE 'English') as ftindex WHERE page_id=ftindex.[KEY] AND page_namespace IN (0,2,6,8,10,12,14,3000,3100,3200,3201,3202,3203,4000,5000,5100,5200,5300,5900,6000,6100,6200,6900,7000) ORDER BY ftindex.[RANK] DESC
- So, I have no result from it. Pedrogolino (talk) 11:47, 24 May 2016 (UTC)
- MSSQL is not really supported, it's somewhat supported on LTS versions but not on latest stable. I'd say it's a bug, but you can fill one and make it a blocker of T11767 Ciencia Al Poder (talk) 03:17, 25 May 2016 (UTC)
- Compatibility does not even list MSSQL. The RELEASE-NOTES file in fact lists MSSQL as supported database management system. However, it is not used very widely and trying to use it there are a few flaws, which you would not run into, if you used MySQL. From my experience, changing to MySQL/MariaDB often is less trouble han trying to get MSSQL issues fixed in MediaWiki. 87.123.28.202 (talk) 07:38, 25 May 2016 (UTC)
- Hi. In case anybody finds it helpful I fixed this by amending the function 'update' in includes\search\SearchMssql.php.
- Assinging the variables $si)title and $si_text is the two lines I replaced as follows:
- $si_title = $this->db->addQuotes($title);
- $si_text = $this->db->addQuotes($text);
- This means that the searchindex fields are not stored as UTF-8 byte order but I'm okay with that.I do think that using MySQL would have been a *lot* easier but unfortunately that wasn't an option for me... Donkeydash (talk) 15:51, 11 August 2016 (UTC)
Parsoid installation?
Hi,
I want to use VisualEditor extension on my wiki. VisualEditor extension needs to Parsoid. So, i must install Parsoid. I am using Digital Ocean VPS with Serverpilot.
Do you know better guide for that? And if i install to Parsoid, must i install NodeJS?
Thank you for answers. Bekircem (talk) 01:58, 24 May 2016 (UTC)
- I installed Parsoid and NodeJS.
- I have error: "parsoidserver http 0"
- require_once "$IP/extensions/VisualEditor/VisualEditor.php";
- Localsettings.php
- // Enable by default for everybody
- $wgDefaultUserOptions['visualeditor-enable'] = 1;
- // Don't allow users to disable it
- $wgHiddenPrefs[] = 'visualeditor-enable';
- $wgVisualEditorParsoidURL = 'http://localhost:8142';
- $wgVirtualRestConfig['modules']['parsoid'] = array(
- // URL to the Parsoid instance
- // Use port 8142 if you use the Debian package
- 'url' => 'http://localhost:8142',
- // Parsoid "domain", see below (optional)
- 'domain' => 'localhost',
- // Parsoid "prefix", see below (optional)
- 'prefix' => 'localhost'
- );
- Settings.js
- parsoidConfig.setMwApi({ prefix: 'localhost', uri: 'http://viki.gameofthronestr.com/api.php' }); Bekircem (talk) 03:31, 24 May 2016 (UTC)
- See Parsoid for installation instructions. If you run into errors, feel free to post the exact error message and steps how to get the error message. (In the last comment I have no idea what is copied from some file and what is some output and what is some comment text, due to missing text formatting) Malyacko (talk) 09:52, 25 May 2016 (UTC)
- Hi Malyacko,
- When i click edit link i get an error. This is the error:
- "parsoidserver-http: HTTP 0 problem"
- How i fix it? Bekircem (talk) 17:35, 25 May 2016 (UTC)
Can't create page with quotes in page name
Hi,
I upgraded MediaWiki from 1.24.6 to 1.26.3. And now I am having problem with double quotes in page name. I can't create page with this characters in name. And I can't also find page with this symbols in name. My browser (Chrome 50) return error ERR_TOO_MANY_REDIRECTS. I have other MediaWiki version 1.24.6 on this server. Works without problems.
MediaWiki 1.26.3; PHP 5.5.35; MySQL 5.6.30; Apache 2.4.20.
Thanks. Tupero (talk) 11:37, 24 May 2016 (UTC)
- This may be caused by changed behaviour inside MediaWiki together with your RewriteRules. You should check the HTTP headers of the pages and see, which kind of redirect is happening. Meaning: What happens to which signs? 87.123.5.137 (talk) 13:34, 24 May 2016 (UTC)
- Apache module mod_rewrite is turned off in my installation.
- Problem appears since version 1.26 and if MediaWiki is behind reverse proxy (nginx).
- If set variable wgUsePathInfo to false, then problem disappears. Very strange problem. May be a bug. Tupero (talk) 14:58, 25 May 2016 (UTC)
Cannot get HTML code to resolve
I've imported tons of templates and modules into my MediaWiki installation, including everything I could find HTML related, but I still have pages with HTML code that won't resolve. What do I need to do to get these fixed? Is this a CSS issue, and if so how do I fix it? Below is an example of what I see when I view a page.
Template:Citation Style documentation/display
<span id="csdoc_display" /><span id="csdoc_mode" />mode: Sets element separator, default terminal punctuation, and certain capitalization according to the value provided. For |mode=cs1, element separator is a semicolon (;); terminal punctuation is a period (.); where appropriate, initial letters of certain words are capitalized ('Retrieved...'). For |mode=cs2, element separator is a comma (,); terminal punctuation is omitted; where appropriate, initial letters of certain words are not capitalized ('retrieved...'). To override default terminal punctuation use postscript. <span id="csdoc_author-mask" />author-mask: Replaces the name of the first author with em dashes or text. Set author-mask to a numeric value n to set the dash n em spaces wide; set author-mask to a text value to display the text without a trailing author separator; for example, "with". You must still include the values for all authors for metadata purposes. Primarily intended for use with bibliographies or bibliography styles where multiple works by a single author are listed sequentially such as shortened footnotes. Do not use in a list generated by {{reflist}}, <references /> or similar as there is no control of the order in which references are displayed. You can also use editor-mask and translator-mask in the same way. <span id="csdoc_display-authors" /><span id="csdoc_displayauthors" />display-authors: Controls the number of author names that are displayed when a citation is published. To change the displayed number of authors, set display-authors to the desired number. For example, |display-authors=2 will display only the first two authors in a citation. By default, all authors are displayed. |display-authors=etal displays all authors in the list followed by et al. Aliases: displayauthors. <span id="csdoc_display-editors" /><span id="csdoc_displayeditors" />display-editors: Controls the number of editor names that are displayed when a citation is published. To change the displayed number of editors, set display-editors to the desired number. For example, |display-editors=2 will display only the first two editors in a citation. By default, all editors are displayed. |display-editors=etal displays all editors in the list followed by et al. Aliases: displayeditors. <span id="csdoc_lastauthoramp" />last-author-amp: Switches the separator between the last two names of the author list to space ampersand space ( & ) when set to y, yes, or true. Example: |last-author-amp=yes <span id="csdoc_postscript" />postscript: Controls the closing punctuation for a citation; defaults to a period (.); for no terminating punctuation, specify |p 198.2.5.101 (talk) 12:17, 24 May 2016 (UTC)
- A plain wall of text is not very helpful here. Maybe you need to install an extension used by the original wiki Ciencia Al Poder (talk) 03:04, 25 May 2016 (UTC)
Problem with Template
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I copied the template from antoher wiki site to use it on mine. but when i try to fill the items it doesn't work fine.
http://tuning-scene-salzburg.com/wiki/index.php?title=Vorlage:Infobox_Spiel
http://tuning-scene-salzburg.com/wiki/index.php?title=Sandbox
Thanks
Hermann MrLine (talk) 15:12, 24 May 2016 (UTC)
- The Problem is solved, i needed the insert
wfLoadExtension( 'ParserFunctions' );- into the LocalSettings.php MrLine (talk) 19:25, 24 May 2016 (UTC)
bios?
hi. Can it be faulty and be the leading course of my computer suddenly giving instant messages (from time to time) such as "not responding" when on a page on the net or just slowing down the computer dramatically only to find at a latter stage the computer speed is normal. Note that my computer still knows it has 4 gigs ram. Of course as with many cases and other computers that doesn't mean its using all 4gigs of the ram. Intel d-core 2600. Its running at about 40 - 44c in temp so thats on par. I am convinced a new bios will solve the problem since ive never had this kind of experience. Any advice, confirmation, similar experiences? 197.86.192.136 (talk) 16:44, 24 May 2016 (UTC)
- Welcome to the support desk for the MediaWiki software. Your question seems to be unrelated to MediaWiki. https://en.wikipedia.org/wiki/Wikipedia:Reference_desk might be a better suited place for your question. Malyacko (talk) 09:45, 25 May 2016 (UTC)
Strange problem with register's IP.
As you may know that Mediawiki can set to send a confirmation email regarding user's registration. It contain the IP address that the user used.
For some reason after we set up full ssl and varnish cache, the only IP address in log regarding register is 127.0.0.1.
However, if user submit a page edit then we could get correct IP address though Special:UserRights by Extension:CheckUser.
What's the different between Special:UserRights and registration IP detect mechanism? What I might do to fix this problem? Deletedaccount4567435 (talk) 19:59, 24 May 2016 (UTC)
- Maybe you forgot to set up Manual:$wgSquidServers? Ciencia Al Poder (talk) 02:57, 25 May 2016 (UTC)
- Both $wgSquidServers & $wgSquidServersNoPurge were set. Deletedaccount4567435 (talk) 02:51, 30 May 2016 (UTC)
- It may be worth to file a bug. I haven't found an open issue like this one. You would need to put more details about your setup, like exact values for those variables, etc Ciencia Al Poder (talk) 02:11, 31 May 2016 (UTC)
Find my draft article
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
New to Wiki. I create a draft using the "article creation wizard." I signed out of Wiki and came back in. This novice can no longer find the draft of the article created. PROPLAYERS (talk) 01:24, 25 May 2016 (UTC)
- What is the "article creation wizard"? Some third-party extension? Is that a public wiki that you refer to? Any link to it? Malyacko (talk) 09:44, 25 May 2016 (UTC)
- It was something that I stumbled on, through Wiki, that had a stage progression in creating a new article. I have since found where "Draft:" articles are located. My opinion, is that "article creations" by novices, such as myself, is NOT an easy process. PROPLAYERS (talk) 23:14, 25 May 2016 (UTC)
- Here it is: https://en.wikipedia.org/wiki/Draft:Coach_Steve_C._Tucker I found it by viewing your global contributions. 87.123.36.193 (talk) 18:14, 26 May 2016 (UTC)
- Thank you! I just recently discovered how to find articles by going to the "Contributions" tab. However, I sincerely thank you for your efforts! PROPLAYERS (talk) 20:30, 26 May 2016 (UTC)
Does not recognize my MediaMonkey Key.
I have brought everything up to date but MM does not recognize my key number;
I HAVE BEEN WITH Media Monkey since June 15, 2007
Product Number; 300066316 Gold
Thanks 2606:6000:DFC0:21:E427:15A3:96E4:1A80 (talk) 16:00, 25 May 2016 (UTC)
- Welcome on the Support Desk for MediaWiki! MediaWiki is not related to Media Monkey - I think you are wrong here. 87.123.0.3 (talk) 16:09, 25 May 2016 (UTC)
How to edit menu's
Hi all,
I like to know how I can edit menu's. I've searched for it for a while now, and are only able to find howto edit the navigation menu. But can't find it for the toolbox, user and edit menu's. We want move and remove some of the menu items.
MediaWiki 1.26.3, 10.0.23-MariaDB-0+deb8u1-log (10.0) , PHP 5.6.20-0+deb8u1 (fpm-fcgi) . https://permanentfuturelab.wiki/wiki/Permanent_Future_Lab_Wiki
Thanks,
Jurjen Jurjendevries (talk) 17:47, 25 May 2016 (UTC)
- Hi Jurjen,
- these or at least most of these menus should be configurable using hooks. E.g. PersonalUrls can be used to modify personal user menu or SkinTemplateNavigation to change the tabs. 87.123.0.3 (talk) 20:03, 25 May 2016 (UTC)
Monospaced font in 1.26 wikieditor
Ever since I updated to MW 1.26, when editing pages my monospaced font on the edit page is gone (however not on pages edit via the semantic forms extension ("edit with form"). Do you know how I can restore the monospaced font? Thanks a lot,
Hans Hans Oleander (talk) 19:04, 25 May 2016 (UTC)
- Go to Special:Preferences#mw-prefsection-editing. FriedhelmW (talk) 19:25, 25 May 2016 (UTC)
- Thanks, and sorry I forgot to mention that this setting does not seem to have any effect. Neither does setting the number of columns to e.g. 55. However setting a smaller number of rows, e.g. 5, does work. Puzzling, isn't it? Hans Oleander (talk) 12:28, 26 May 2016 (UTC)
- Maybe you have Universal Language Selector installed? This was happening some time ago because of a bug on that extension Ciencia Al Poder (talk) 01:52, 27 May 2016 (UTC)
- No, Universal Selector is not installed. - The wrong font also appears in the "old" editor window, i.e. when WikiEditor extension is disabled. However the monospaced font correctly appears when editing the page content (free text area) using the Semantic Forms extension. Hans Oleander (talk) 09:51, 27 May 2016 (UTC)
- You can inspect the textarea with developer tools of your browser (right-click → inspect element, or hit F12 and use the inspect this element tool), looking at the CSS rules applied to the textarea, to see what styles are applied and maybe have a hint as of what is changing that appearance. Using "debug=true" in the URL often helps identifying what CSS file is responsible of each style. Ciencia Al Poder (talk) 02:37, 28 May 2016 (UTC)
- I have further digged into this. The obvious difference when inspecting the html is that in my cases (in 3 wikis) the textarea element is assigned class="mw-ui-input", whereas in a fourth fresh test wiki this class assignment is not there.
- This seems to be a long known, nasty MW bug:
- https://phabricator.wikimedia.org/T92496
- https://phabricator.wikimedia.org/T72028
- https://phabricator.wikimedia.org/T95831
- Possibly the workaround $wgUseMediaWikiUIEverywhere is gone in MW 1.26.3
- I am still unable to understand why in my test wiki the effect does not occur. Maybe the different php version and windows instead of debian OS.
- Probably have to wait until the core team fixes this. Hopefully they are at least aware of this.
- Cheers,
- Hans Hans Oleander (talk) 11:40, 30 May 2016 (UTC)
- Try removing extensions one by one and see if you find the culprit. Ciencia Al Poder (talk) 02:11, 31 May 2016 (UTC)
Editing perrmision
I want to remove permission to editing articles on my Wiki for all users except me (I'm administrator).
Is that enought:
$wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['sysop']['edit'] = false; 93.105.96.131 (talk) 21:26, 25 May 2016 (UTC)
- If your users are not member of other groups, of which at least one does have the edit right, then this is enough. By default, users belong to the "*" and to the "user" group only and depending on settings they might become member of the "autoconfirmed" group after time/edits.
- $wgGroupPermissions['sysop']['edit'] = false; removes edit permissions from administrators. You want to set that permission to true, instead. 87.123.0.3 (talk) 05:49, 26 May 2016 (UTC)
403 forbidden error when editing page
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Only noticed this today so I don't know how long it has been like this. The wiki returns a 403 forbidden error when I try to edit, view history, delete etc one page. Is this a sign of a larger problem? I was worried because somebody created an account and uploaded a random picture earlier today, which I thought was suspicious.
The page is http://coasterpedia.net/wiki/Star_Jet_%28Casino_Pier%29 I would really appreciate some advice on what to do. 194.75.14.28 (talk) 19:44, 26 May 2016 (UTC)
- Maybe unrelated to your problem, but you should upgrade the wiki to version 1.25.6. This will close open security holes, which you are currently having.
- Such 403 errors are often caused by mod_security, which disallows the according requests. 87.123.36.193 (talk) 20:26, 26 May 2016 (UTC)
- Sorry for the late reply, I have been putting off updating the wiki as it's a big hassle for an inexperienced linux user like me. I hope to update it tonight or tomorrow though.
- After some investigation, it appears the word "Casino" followed by a space (but not on its own) trips mod security (I have tested by turning mod security on and off).Any page with the word casino in the title can't be edited.
- Now I am finding out how to disable this rule without disabling mod security entirely. 194.75.14.28 (talk) 18:45, 29 May 2016 (UTC)
- Actually, the word casino followed by anything trips the system, but not when casino is the final word in the page title. 194.75.14.28 (talk) 19:09, 29 May 2016 (UTC)
- This was in part documented at Manual:Errors and symptoms#Attempting to save an edit gives you a 403 Forbidden error, or you get redirected to the main page Ciencia Al Poder (talk) 00:50, 30 May 2016 (UTC)
Random Navbox Behavior
Getting some random behaviour on my Navboxes.
http://jurassicoutpost.com/encyclopedia/index.php?title=Main_Page#The_Franchise
Odd </tr> appearing. Strange column behaviour.
I've updated all of the templates as well as Common.css
Thoughts? 86.157.191.44 (talk) 20:45, 26 May 2016 (UTC)
- Done a little more digging... it's only appearing on Template:Navbox with columns. Updated to the last version, still no change. 86.157.191.44 (talk) 18:06, 27 May 2016 (UTC)
Category not showing his pages.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Some time ago , the category pages displayed their indexed articles . But now , category pages show only the old pages indexed but the new pages are not displayed even if I create a new category and index some pages to this category pages are not shown . There is another error may be related : can not exclude any categories. Trying rebuildall give me back a error: INSERT IGNORE INTO `categorylinks` (cl_from,cl_to,cl_sortkey,cl_timestamp,cl_sortkey_prefix,cl_collation,cl_type) VALUES ('28','Normativa_Interna','PORTARIA NORMATIVA Nº 49, DE 27 DE AGOSTO DE 2015','20160526211606','','uppercase','page')
Função: LinksUpdate::incrTableUpdate
Erro: 1305 PROCEDURE dbwikiprf.do_insert_category_closure_catlinks does not exist.
Versions:
MediaWiki 1.26.2
PHP 5.4.16 (apache2handler)
MySQL 5.6.24-enterprise-commercial-advanced-log
ICU 50.1.2
Elasticsearch 2.3.1
Extensions:
CategoryTree
CiteThisPage
Interwiki
Nuke
Hooks do analisador (parser)
CategoryTree
Cite
ImageMap
InputBox
ParserFunctions
PDFEmbed
Poem
SyntaxHighlight Orthophilos (talk) 20:49, 26 May 2016 (UTC)
- Apparently you have a database trigger on the categorylinks table, but MediaWiki does not use triggers... And that trigger is broken.
- I've searched for "do_insert_category_closure_catlinks" but I haven't found anything. Maybe you or somebody else added custom triggers to MediaWiki database? You should find out what triggers are on the database and fix or delete them Ciencia Al Poder (talk) 01:43, 27 May 2016 (UTC)
- Thanks, but excepting the trigger have you ever seen a error about not working to put pages on categories or denied to delete categories? I'm suspecting is some error on database but, it' s weird. Orthophilos (talk) 01:50, 27 May 2016 (UTC)
- You probably don't get the error on normal edits because the update on categories is delayed on the Job queue, and if an error happens there it won't be shown. But the error is caused by the trigger. The categorylinks table is what tracks what pages are on each category, and if the trigger is making updates on that table to fail, categories will stop tracking changes on them. Ciencia Al Poder (talk) 02:23, 27 May 2016 (UTC)
- Thanks one more time , but, if I don't find any trigger on my database (I'll check it tomorrow - not access at now), I should to do another thing else? Orthophilos (talk) 02:54, 27 May 2016 (UTC)
- SOLUTION :
- Some time ago the application was in another server, we was doing some tests, and newly we moved the application to a server , and database to another. During the tests period we tested this unofficial plugin intraACL, it do changes in database ( tables, trigger and procedures). After uninstall this plugin it leave that junk in database. When migrated the database to production enviroment my partner forgot to generate the dump with the procedure - by default in mysql the dumps not comming with procedures , but comming with triggers . Detected this database junk, and the origin - from a uninstalled extension - trigger has been erased and the application starts to working well .
- Thanks Ciencia Al Poder, thanks everyone. Orthophilos (talk) 20:09, 27 May 2016 (UTC)
CSS not loading
This is the website I am working http://keukenwiki.nl.It was first installed at http://wiki.werkeninwonen.nl and we are moving it to http://keukenwiki.nl.I
Mediawiki 1.21.4
Mysql 5 database
All the content and images have loaded correctly.
The wiki is installed under /wiki/w.
Only the CSS isn't loading. I also see that in the console.
I tried this: https://m.mediawiki.org/wiki/Manual:Load.php
And this
But doesn't work. Any help? JFokker (talk) 13:27, 27 May 2016 (UTC)
- The page source code contains links to wiki/w/load.php, which do not return CSS, but a wiki page. Since you say that the wiki would be installed in that place, your path variables in LocalSettings.php obviously are set correctly. My guess is that calls to load.php are redirected to index.php, which cuases the trouble.
- The solution on Manual:Load.php is what helps in this case. Note that you have to adjust the RewriteRule so that it matches with your folder structure. 87.123.36.193 (talk) 13:46, 27 May 2016 (UTC)
- Ok thanks.
- This is my .htaccess now.
- I am not familiar with the Rewriterule.
- How would you change the Rewriterule according to my folder structure?
- # Enable the rewrite engine
- RewriteEngine On
- RewriteRule ^(api|load)\.php - [L]
- # Short url for wiki pages
- RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/wiki/w/index.php [L]
- # Redirect to Main Page
- RewriteRule ^/*$ %{DOCUMENT_ROOT}/wiki/w/index.php [L] JFokker (talk) 14:45, 27 May 2016 (UTC)
- It should work, if you remove the "^" in front of (api|load)\.php so that the line looks like this:
RewriteRule (api|load)\.php - [L]87.123.36.193 (talk) 14:47, 27 May 2016 (UTC)- I have just updated Manual:Load.php, so that it also works in your case. In your case, these rules should be working as well:
RewriteCond %{REQUEST_FILENAME} -fRewriteRule (api|load)\.php - [L]87.123.36.193 (talk) 15:20, 27 May 2016 (UTC)- ok thanks. That worked! JFokker (talk) 15:39, 27 May 2016 (UTC)
Downloading SyntaxHighlight 1.26 not working -> 404
Downloading SyntaxHighlight 1.26 not working -> 404
https://www.mediawiki.org/w/index.php?title=Special:ExtensionDistributor&extdist_name=SyntaxHighlight_GeSHi&extdist_version=REL1_26&extdist_submit= 91.82.100.59 (talk) 15:37, 27 May 2016 (UTC)
- Yes, I see that as well. The SHA hash of the commit is the one of the newest commit, from May 18th at this time. But the link is broken.
- Maybe this has to do with the fact that the extension has been renamed from SyntaxHighlight_GeSHi to SyntaxHighlight? The repo however has not been renamed (yet)...
- Please open a bugreport in Phabricator so that someone who knows can have a look! 87.123.34.189 (talk) 07:28, 28 May 2016 (UTC)
Some images and text not showing
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Working on this website: http://keukenwiki.nl.
I migrated it from http://wiki.werkeninwonen.nl
The wiki.werkeninwonen.nl has text on the frontpage (from different pages). It doesn't show on keukenwiki.nl.
Any idea what is going on? JFokker (talk) 15:41, 27 May 2016 (UTC)
- Two questions:
- What is it that you are missing?
- How have you moved the wiki? Have you exported/imported the data or have you copied the complete database with a tool like mysqldump? Using something like mysqldump is recommended. 87.123.34.189 (talk) 16:02, 27 May 2016 (UTC)
- You used a different name for the project namespace (
Keukenwikiinstead ofWoonWerkWiki). 110.149.164.23 (talk) 09:55, 28 May 2016 (UTC) - Thanks. Renaming the Project Namespace to WoonWerkWiki did the trick.
- But how do I change the name of the project namespace and not loose this text?
- And I am still missing the favicon and the search icon image and the Powered by Mediawiki image. JFokker (talk) 09:07, 30 May 2016 (UTC)
- This is my local settings.php
- I think it doesn't load the skins folder correctly
- # Protect against web entry
- if ( !defined( 'MEDIAWIKI' ) ) {
- exit;
- }
- ## Uncomment this to disable output compression
- $wgDisableOutputCompression = false;
- $wgSitename = "WoonWerkWiki";
- ## The URL base path to the directory containing the wiki;
- ## defaults for all runtime URL paths are based off of this.
- ## For more information on customizing the URLs
- ## (like /w/index.php/Page_title to /wiki/Page_title) please see:
- ## http://www.mediawiki.org/wiki/Manual:Short_URL
- $wgScriptPath = "/wiki/w"; ## "http://keukenwiki.nl/index.php";
- $wgScriptExtension = ".php";
- $wgArticlePath = '/wiki/w/$1';
- ## The protocol and server name to use in fully-qualified URLs
- $wgServer = "http://keukenwiki.nl";
- ## The relative URL path to the skins directory
- $wgStylePath = "/wiki/w/skins";
- ## The relative URL path to the logo. Make sure you change this from the default,
- ## or else you'll overwrite your logo when you upgrade!
- $wgLogo = "/wiki/w/images/logo.png";
- $wgFavicon = "/wiki/w/favicon.ico"; JFokker (talk) 09:21, 30 May 2016 (UTC)
- For the favicon and the Powered by MediaWiki image: When I hit the according URLs, I get a wiki page instead. I guess your RewriteRules are rewriting these requests to the index.php script of MediaWiki.
- It might help to prepend the according RewriteRule with a condition so that it only kicks in, if the requested "thing" is not an existing file:
RewriteCond %{REQUEST_FILENAME} !-f# If it is not an existing file, then rewrite the request to index.phpRewriteRule .....87.123.26.85 (talk) 20:40, 31 May 2016 (UTC)- Thanks that did the trick that it showed them.
- But I still get these problems in the console:
- Failed to load resource: the server responded with a status of 404 (Not Found)
- http://keukenwiki.nl/wiki/w/skins/vector/images/search-ltr.png?303
- Failed to load resource: the server responded with a status of 404 (Not Found)
- http://keukenwiki.nl/wiki/w/Skins/common/images/poweredby_mediawiki_88x31.png
- Failed to load resource: the server responded with a status of 404 (Not Found)
- http://keukenwiki.nl/wiki/w/Skins/common/images/magnify-clip.png
- This is my .htaccess
-
- Enable the rewrite engine
- RewriteEngine On
- www to non-www
- RewriteCond %{HTTP_HOST} !^keukenwiki\.nl$ [NC]
- RewriteRule ^(.*)$ http://keukenwiki.nl/$1 [R=301,L]
- Load css
- RewriteRule (api|load)\.php - [L]
-
- Short url for wiki pages
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/wiki/w/index.php [L]
-
- Redirect to Main Page
- RewriteRule ^/*$ %{DOCUMENT_ROOT}/wiki/w/index.php [L] JFokker (talk) 14:21, 2 June 2016 (UTC)
- The search-ltr.png image displays correctly for me.
- For the poweredby_mediawiki_88x31.png link, please note the capital "S" in Skins. However this happens, this capital S is wrong. It should be a small s - then the image shows up. The link for this image, as it shows up in the source code of your pages is correct, with small s. The image is displayed correctly for me. Same for the magnify-clip.png.
- I do not see any of the problems you mentioned. However, if they should reappear, it should help to disable rewriting for the skins/ folder. 87.123.63.222 (talk) 16:05, 2 June 2016 (UTC)
- Yes I see. All problems are solved. Thanks for the help. JFokker (talk) 15:45, 3 June 2016 (UTC)
Login issue in ArchLinux wiki
- I am attempting to login from an account I had just created. The error is my username does not exist. I tried lower case, uppercase, email address all which do not exist.
- Password recovery also does not detect my username.
- Suggestions? KGCybeX (talk) 19:48, 27 May 2016 (UTC)
- thats with me but i cant find away to log out. iv been doing this for2HOURS 24.18.26.9 (talk) 23:55, 27 May 2016 (UTC)
- My guess is that the usernames you tried really do not exist. Maybe you spelled the name somehow differently? Anyway, users can also be deleted, e.g. using a maintenance script.
- If ou know the name of an article, which you have edited, you can look up your username in the page history of that article! 87.123.34.189 (talk) 21:04, 27 May 2016 (UTC)
- I would like to edit an article, hence the reason for me signing up,
- I basically have 4 variations of the same name. KGCybeX, kgcybex, cybex, CybeX. Tried all 4, none of which work...
- I also got a confirmation email :
- Hello KGCybeX, welcome to MediaWiki and our community!
- I am very much confused! KGCybeX (talk) 21:36, 27 May 2016 (UTC)
Creating a Mediawiki link with HTML code as text
- I have created a table inside my template, using the Mediawiki programming language as explained in the documentation. In the table cells are an image and a text. Now I would like to make the whole table clickable, so that it links to a different page. To do this I use the wiki syntax and define the page, where the user should get referred. Then using the Pipe-character, I set the table code instead of a standard text.
- Unfortunately, only the table gets displayed, while the source code of the Link syntax gets print out as a text. Is there a fix you can recommend me?
- Here is my source code:
[[:Category:{{{1|}}} Products| {| |[[File:Apple.png|50px|left|link=]] |Order our apples |}]]
- This should be the html code it should generate:
- 188.98.192.198 (talk) 14:32, 28 May 2016 (UTC)
<a href="example.com/Category:Apple_Products"> <table> <tbody> <tr> <td> <div class="floatleft"> <img src="http://example.com/Apple.png"> </div> </td> <td> Order our apples </td> </tr> </tbody> </table> </a>
- Block content is not allowed inside inline content, additionally links can't contain links, so even without the table it would never work. 121.220.16.35 (talk) 11:56, 29 May 2016 (UTC)
Making tables sortable
Hi,
I'm hacking a little gadget for Wikidata and would like to use "sortable" tables. Just declaring the tables
class="wikitable sortable"
doesn't cut it, as the jQuery events would still need to get registered. Any hint how I could re-do that after I wrote my table into the DOM? Aeroid (talk) 15:36, 28 May 2016 (UTC)
- Call
$().makeCollapsible()on it. 121.220.16.35 (talk) 11:49, 29 May 2016 (UTC) - Thanks, that's the kind of method I was looking for. But it makes it collapsible, not sortable. I was looking looking around in jquery.tablesorter.js for something similar, but there is just nothing like that. Any other suggestion? Aeroid (talk) 13:12, 29 May 2016 (UTC)
- found it myself...
- var sortableTables = $('table.sortable');
- if (sortableTables.length) {
- mw.loader.using('jquery.tablesorter', function () {
- sortableTables.tablesorter();
- });
- } Aeroid (talk) 15:18, 29 May 2016 (UTC)
How do i change the image licensing ??
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
i've uploaded a photo to update a wikipedia page, but it seems that i've selected the wrong license, from the one you can choose from the menu of those that are NOT content of your own, it's the common 4.0 I'm not sure if i can use it, even thoug i've described and linked the real author. Help!!!! C300g97 (talk) 15:55, 28 May 2016 (UTC)
- You can fix the wrong licensing information by editing the image page. Just change it to the correct license. 87.123.50.212 (talk) 16:01, 28 May 2016 (UTC)
- How do i put the right license, i mean i'm noob on this website, can you paste here the corret phrase to edit it? I mean, the phrase of the last license , ''the one you took from the internet'', between the parenthesis. C300g97 (talk) 16:24, 28 May 2016 (UTC)
- Since you mentioned "Commons 4.0", the correct template for the Creative Commons 4.0 license is {{cc-by-sa-4.0}}.
- If you select "I found the image on Google or a random website", then there will not be a license template inserted. Instead, there will be a note that the image is missing information on its license.
- You need to know the name of the license to use! Which one is it? Without an appropriate license, the image cannot be used on Wikimedia Commons. 87.123.50.212 (talk) 16:59, 28 May 2016 (UTC)
- I have no license, and not asked for any. I've just put the image on the commons, describing the real author.
- I don't know what my situation is right now :( C300g97 (talk) 17:34, 28 May 2016 (UTC)
- When the author of the image published it, he most likely did in some way provide the license under which he does that. That does not mean that he has to grant you the right to use the file; he only needs to tell under which license he provides the image. If he is a commercial photographer, he will most likely use a license, which does not allow others to use his work free of charge.
- If the license can be determined, it either allows using the image on Commons or it does not.
- Anyway, if the license cannot be determined, the image cannot be used on Commons and will sooner or later be deleted from there again. That is the situation. 87.123.50.212 (talk) 17:55, 28 May 2016 (UTC)
- He is a photographer that works for a small journal, he published the image there, and this image has been used almost anywhere, on all socials (posted by important and relevant pages), and on other journals or in tv services. So my guess is that it does use the license creative commons 4.0 C300g97 (talk) 18:23, 28 May 2016 (UTC)
- I'm aware that in my last post I kind of guessed myself. However, guessing does not help. Maybe he had contracts with photo agencies, which again had contracts with major newspaper allowing them to use the image. Others however might just have used it without ever having been allowed to do so. Even if that should have been the case, it does not make others' illegal actions any better. It all boils down to this: If the license is unknown, the image cannot be used and will be - or at least: should be - deleted from commons. 87.123.50.212 (talk) 18:38, 28 May 2016 (UTC)
- How do i delete the image? C300g97 (talk) 10:48, 29 May 2016 (UTC)
- You cannot delete it yourself, but you can request deletion by adding a delete template on the image page, e.g. like so:
{{delete|1=License unknown, image possibly not usable here}}87.123.50.212 (talk) 11:22, 29 May 2016 (UTC)- Many thanks to you, you've helped me in many ways, and with much kindness. C300g97 (talk) 11:36, 29 May 2016 (UTC)
How to exclude users from "move"
I set $wgGroupPermissions['user']['edit'] = false; but they still can move the page. The docs say that "move" requires the edit right. What am I doing wrong? Thanks Koalopete (talk) 19:12, 28 May 2016 (UTC)
- Maybe the docs are wrong? 87.123.50.212 (talk) 19:15, 28 May 2016 (UTC)
- I don't know. That is why I am asking here. Koalopete (talk) 19:55, 28 May 2016 (UTC)
- @Koalopete Try adding the following to LocalSettings:
- $wgGroupPermissions['user']['move'] = false; Music1201 (talk) 02:43, 29 May 2016 (UTC)
- Note that permissions from $wgGroupPermissions are cumulative: If the user is member of only one single group, which grants him the edit right, then setting the move right to true for another of the user's groups will effectively allow him to move pages - even if for that group, where the move right comes from, the edit right has been set to false. 87.123.50.212 (talk) 08:47, 29 May 2016 (UTC)
- Thanks, I could not figure out why a user can move a page despite edit is not allowed. I endet up setting all possible permissions for "user" to false and grant the appropriate permissions one by one to my groups. Koalopete (talk) 00:10, 2 June 2016 (UTC)
"UnusedFiles" are in use
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
When I call "Special:UnusedFiles" at my MediaWiki installation I got erroneously results: files which are in use. The wrong mentioned files (which are in use) have suffixes ".pdf" and ".ged", not the most usual files with suffixes like .jpg/.png/.bmp/...
How can I avoid this? --~ Hasenläufer (talk) 20:16, 28 May 2016 (UTC)
- The UnusedImages page uses the database tables images and imagelinks and possibly some others depending on the value of $wgCountCategorizedImagesAsUsed.
- You can update that data by running the maintenance script rebuildall.php to refresh the data in the according tables! 87.123.50.212 (talk) 20:59, 28 May 2016 (UTC)
- Thanks for the reply. I tried the mentioned rebuild, without success. Then I set the value $wgCountCategorizedImagesAsUsed to "true" and let another rebuild run; again: without success. Hasenläufer (talk) 22:00, 28 May 2016 (UTC)
- Files are only counted as used if they are embedded (
[[File:]]), or directly linked to ([[Media:]]) in a page. Just linking to the file page ([[:File:]]) doesn't count. 121.220.16.35 (talk) 11:45, 29 May 2016 (UTC) - @121.220.16.35: You made my day! Changing links to "Media" without preceding colon solved my problem. Thanks for the hint! Hasenläufer (talk) 12:31, 30 May 2016 (UTC)
Interwiki rights
I have a wikifarm of 3 wikis, and i'm trying to create a "Steward" user group that can change rights on all Wikis. So I assigned the 'userrights-interwiki' right to the steward group (on the "meta-wiki") and gave myself steward rights, although I don't know how I change rights on other wiki's because my Wikifarm is using a shared database with 3 table prefixes. Is it possible to change interwiki rights when I'm using prefixes instead of databases? Music1201 (talk) 01:28, 29 May 2016 (UTC)
VisualEditor install -- Revision ID returned by server do not match
So i've trying to install the VisualEditor extension and keep running into the same problem. After I install parsoid and visual editor I keep getting the following error:
Error loading data from server:ve-api:Revision IDs (doc=0,api=2). returned by server do not match. Would you like to retry?
Googling the error leads to page telling me to install parsoid, which is installed.
running:
Ubuntu Linux 14.04.3 LTS 64-bit
Mediawiki 1.26.2
Php 5.6.21 (fpm-fcgi)
Visual Editor -- correct branch for 1.26
nodejs v0.10.25
Tried installing on three different wikis and always the same error.
I've tried having the settings.js be both the actual api & http://localhost:8142
I get a curl error if it's set to localhost, but with api I get the revision id error.
In the localsettings.php I have:
url => as the actual api
prefix is set to localhost, but I've also tried other terms (mediawiki).
So far I've, I think, I've tried all the different suggestions on:
Parsoid/Troubleshooting#Configuration
Also outside of Mediawiki I've tried these suggestions:
http://edutechwiki.unige.ch/en/VisualEditor
Any help would be greatly valued. Thanks Christharp (talk) 19:26, 29 May 2016 (UTC)
- I'm also having the issue, did you manage to solve it yet? 77.218.226.250 (talk) 11:02, 8 June 2016 (UTC)
Having trouble with creating pretty URLs on my wiki.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello.
I have my wiki site on sub-domain https://libra.4ho.pw
I would like to create pretty URLs with .htaccess so it is not index.php/Article_Name, but wiki/Article_Name
However most of the tutorials are for wikis who are installed on directory /wiki/ , but my wiki is installed on root directory not a normal directory. I don't know, but I suppose that my sub-domains directory is classified as official root directory, however full path from base root directory would be /subs/4ho.pw/libra because I am hosting my wiki under my e-mail service site in the same hosting account.
I just want someone to give me a short tutorial what to put in .htaccess and what to put in LocalSettings.php because all the short URL tutorials that I have tried out didn't work for me.
Thank you for reading! 95.68.16.123 (talk) 08:08, 30 May 2016 (UTC)
- The results of http://shorturls.redwerks.org/ looks good to me: [2].
- See also Manual:Short URL/Apache Ciencia Al Poder (talk) 02:32, 31 May 2016 (UTC)
- Thank you alot :).
- It worked. I never knew that there existed great tool like this.
- Thank you again!!!
- I wish you all the best 95.68.16.123 (talk) 05:12, 31 May 2016 (UTC)
- i wish you all the best 95.252.174.246 (talk) 12:05, 31 May 2016 (UTC)
Editing description after uploading file
I have uploaded a file and have used it in "Davangere" page. But now I feel that the description needs to be edited a bit. But I'm not able to find the way out to edit it. Please help Suchitmore (talk) 09:38, 30 May 2016 (UTC)
- Press the edit tab on its file page like any other page. 121.220.10.241 (talk) 10:31, 30 May 2016 (UTC)
- yeah I did the same , edited and saved it ( summary ) , but still when viewed on the page , the edits are not displayed. But when we open the file , there under the section "Summary" the edited text is displayed Suchitmore (talk) 17:52, 30 May 2016 (UTC)
- The file https://commons.wikimedia.org/wiki/File:Chhtrapati_Shivaji_Statue_Davangere.jpg displays the current version of the text correctly.
- The article en:Davangere however is an own article. It does not use the image description from the image page. If you e.g. want the image caption in the article to be different, then you have to edit the text inside the Davangere article. I have just edited the Davangere article to show what I mean. 87.123.56.104 (talk) 18:05, 30 May 2016 (UTC)
Is there a way to search Project:Support desk?
Is there a way to search posts? If there is, I can't find it. Laurindavis (talk) 11:29, 30 May 2016 (UTC)
- By using Google with the "site:" operator. So "term site:site:https://www.mediawiki.org/wiki/Project:Support_desk" Waanders (talk) 14:55, 30 May 2016 (UTC)
Windows + Apache - setup hangs at determining diff exe & styling won't load
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I'm sure this is a permissions issue, but I can't figure out what it is. I don't want to use IIS, FYI.
Everytime I start the installation process, the script hangs on line 2897 of GlobalFunctions.php and the command it's trying to run is ""c:\Git\usr\bin\diff3.exe" --version 2>&1". When that happens diff3.exe starts using about 25% of my CPU and won't stop until I kill the process manually (even once the script times out, I had 3 of them at one point). If I kill diff3.exe manually, the script will finish, and I can even complete setup, but styling won't load.
Based on Manual:Errors and symptoms#The wiki appears without styles applied and images are missing, I tried loading load.php directly and the browser responds by trying to get to download load.js.
Due to the need to access network resources (on Windows), our service runs as Network Service. To try to resolve this, I've given User modify access to Apache, the document root, c:\Windows\Temp, c:\inetpub\Temp, but nothing works (and a mix of those fix permission issues we've had with other sites). Laurindavis (talk) 11:37, 30 May 2016 (UTC)
- You can use "sysinternals process explorer" to see that diff3.exe program in detail when this happens, where you can see the user executing the process, command line parameters, etc, maybe you can reproduce the problem directly on a shell, in case diff3.exe is just broken
- calling load.php directly, without any parameter, shouldn't require write access to temp directory. Try to see the downloaded file contents in case it contains an error Ciencia Al Poder (talk) 02:26, 31 May 2016 (UTC)
- For some reason, I never got a notification of your reply.
- I had already tested diff3.exe and it's working:
- _______________________________________
- C:\Git\bin>C:\Git\usr\bin\diff3.exe --version 2>&1
- diff3 (GNU diffutils) 3.3
- Copyright (C) 2013 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
- Written by Randy Smith.
- _________________________
- As I stated above,
- "Based on Manual:Errors and symptoms#The wiki appears without styles applied and images are missing, I tried loading load.php directly and the browser responds by trying to get to download load.js."
- The contents of load.js is:
- ____________________________
- /* This file is the Web entry point for MediaWiki's ResourceLoader:
- <https://www.mediawiki.org/wiki/ResourceLoader>. In this request,
- no modules were requested. Max made me put this here. */ Laurindavis (talk) 21:01, 11 June 2016 (UTC)
- Ok, so I used this method to test: Manual:Errors and symptoms#The installer is unstyled when installing under IIS
- Which gave me this:
- Exception encountered, of type "Less_Exception_Parser"<br />
- [7285fc5b] /mw-config/index.php?css=1 Less_Exception_Parser from line 447 of C:\inetpub\mediawiki\vendor\oyejorge\less.php\lib\Less\Parser.php: Less.php cache directory isn't writable: C:\Windows<br />
- Backtrace:<br />
- #0 C:\inetpub\mediawiki\includes\resourceloader\ResourceLoader.php(1620): Less_Parser->SetCacheDir(string)<br />
- #1 C:\inetpub\mediawiki\includes\resourceloader\ResourceLoaderFileModule.php(987): ResourceLoader::getLessCompiler(GlobalVarConfig)<br />
- #2 C:\inetpub\mediawiki\includes\resourceloader\ResourceLoaderFileModule.php(912): ResourceLoaderFileModule->getLessCompiler(NULL)<br />
- #3 C:\inetpub\mediawiki\includes\resourceloader\ResourceLoaderFileModule.php(883): ResourceLoaderFileModule->readStyleFile(string, boolean, NULL)<br />
- #4 C:\inetpub\mediawiki\includes\installer\WebInstallerOutput.php(174): ResourceLoaderFileModule->readStyleFiles(array, boolean)<br />
- #5 C:\inetpub\mediawiki\includes\installer\WebInstaller.php(1216): WebInstallerOutput->getCSS()<br />
- #6 C:\inetpub\mediawiki\includes\installer\WebInstaller.php(185): WebInstaller->outputCss()<br />
- #7 C:\inetpub\mediawiki\mw-config\index.php(77): WebInstaller->execute(array)<br />
- #8 C:\inetpub\mediawiki\mw-config\index.php(36): wfInstallerMain()<br />
- #9 {main}<br />
- We run Apache as Network Service, and that has permissions to write to c:\inetpub\temp. In php.ini, I set the temp directory manually:
- sys_temp_dir = "c:/inetpub/temp"
- Now, the /mw-config/index.php?css=1 works (I get the CSS file), but the pages still load with no styling. Laurindavis (talk) 21:18, 11 June 2016 (UTC)
- I deleted Localsettings.php, started setup from scratch and now it does not hang and all styling is working. :) Laurindavis (talk) 21:22, 11 June 2016 (UTC)
Request a account
Hello Admins I want to request a creation of a account on the www.mediawiki.org becuse i cant complate the captcha 46.103.37.135 (talk) 13:22, 30 May 2016 (UTC)
- What is the user name you want?
- Should the account have an email address? If so, which one? 87.123.49.225 (talk) 14:51, 30 May 2016 (UTC)
How find duplicate uploaded files?
I've uploaded a lot of pdf-files using Manual:ImportImages.php and now it appears that some files are duplicated (different name, same file), I forgot the "--skip-dupes" parameter.
How can I make a list of duplicate uploaded files in the wiki? Waanders (talk) 14:51, 30 May 2016 (UTC)
- There is the speical page Special:ListDuplicatedFiles, which shows duplicates.
- Additionally there also is API:Duplicatefiles, but in order to use this API you have to provide the name of the file(s), for which you want to get possible duplicates listed. 87.123.56.104 (talk) 18:13, 30 May 2016 (UTC)
- Nice! Thanks a lot! Waanders (talk) 20:54, 30 May 2016 (UTC)
Wrong translation of namespace tab after upgrade
Hello, I upgraded mediawiki to 1.26. Everything seems to work fine, except one thing.
When I click "Main page" in my language "Hlavní strana" in the namespace tab I can see
"main page". But I need to be translated it to my language. Translations in another tabs or pages
works fine. Only "Main page" stays in english. Can someone help me how can change it please ?
Thanks Lobokn (talk) 15:37, 30 May 2016 (UTC)
- Seems lik something is wrong with the localization of that text.
- You can try running rebuildLocalisationCache.php to see, if that fixes the cache... 87.123.56.104 (talk) 18:09, 30 May 2016 (UTC)
- You can also change MediaWiki:Mainpage-nstab on your wiki if it's wrong. Apparently, the translation was created in 2015 [3], unless it was there already before translatewiki.net Ciencia Al Poder (talk) 02:17, 31 May 2016 (UTC)
- Thanks for your help and pointing me right direction. Finally I had to insert mainpage-nstab with equal translation in
- my language json file in languages/i18n folder. And run php rebuildLocalisationCache.php .
- Mainpage-nstab is missing in 1.26 stable release in most translations. Lobokn (talk) 07:00, 1 June 2016 (UTC)
Hi. How can I draw a circle tangent to two others?
Hi. How can I draw a circle tangent to two others? 79.76.12.87 (talk) 16:57, 30 May 2016 (UTC)
- Hi!
- Where do you want to draw that? In an SVG image? Is that question related to MediaWiki at all? 87.123.56.104 (talk) 18:07, 30 May 2016 (UTC)
Error in includes/installer/i18n/ru.json
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
The file includes/installer/i18n/ru.json contains "config-page-welcome": "MediaWiki проектына рәхим итегез!",, but it is in Tatar. In Russian it should be: "config-page-welcome": "Добро пожаловать в MediaWiki!", StasR (talk) 21:55, 30 May 2016 (UTC)
- You can fix it yourself in https://translatewiki.net/ Ciencia Al Poder (talk) 02:12, 31 May 2016 (UTC)
- Thanks ) StasR (talk) 09:26, 31 May 2016 (UTC)
page deleted
my page was deleted by Bgwhite at 06:15, on 31 May 2016 Adibmb (talk) 10:09, 31 May 2016 (UTC)
- If you don't agree with his decision, you my use Bgwhite's talk page to discuss this matter further. 87.123.56.104 (talk) 10:14, 31 May 2016 (UTC)
- how do i do that ? how do i access her talk page ? Adibmb (talk) 10:17, 31 May 2016 (UTC)
- His talk page is here: en:User talk:Bgwhite. 87.123.56.104 (talk) 10:36, 31 May 2016 (UTC)
- thx... so i went there and created a new section with my comment... what happens next ? Adibmb (talk) 10:54, 31 May 2016 (UTC)
- Wait for Bgwhite's response. If the text has previously been published elsewhere, you have to prove that you are allowed to use it in Wikipedia. I do not know the exact rules, which the English Wikipedia has for that, but I am sure there are ways to use it inside Wikipedia as well.
- Technically not only Bgwhite, but every administrator is able to undelete texts. So should you want to do an undeletion request, this request can be directed towards any admin. 87.123.56.104 (talk) 11:52, 31 May 2016 (UTC)
- perfect... can you please guide me as to how i could contact any admin as you're suggesting. thanks a million Adibmb (talk) 16:35, 31 May 2016 (UTC)
- After clicking through a few of the English Wikipedia rule pages, en:Wikipedia:Requests for undeletion seems to be what you want. 87.123.26.85 (talk) 20:28, 31 May 2016 (UTC)
Professor Oak's Lab
Hello! I have a question. When Ash leaves Unova and returns to Kanto via Vermillion City, at Professor Oak's Lab, Team Rocket reappears to steal all pokemon. I remember that something like this has happened again. On that episode, there were Ash, Professor Oak, Ash's mother and maybe Professor Elm. When Team Rocket appeared, Professor Elm tried to call his pokemon and Ash's mother stopped him by saying "Let it to the children". Does anybody remember which is this episode? If yes, answer at either mitavras@windowslive.com or at mitilineosavras@gmail.com. Thanks! 2A02:587:BC07:6E00:5920:9109:1294:721F (talk) 12:10, 31 May 2016 (UTC)
- Since this is not related to MediaWiki, I am sad to tell you that this is the wrong place to ask. 87.123.56.104 (talk) 12:14, 31 May 2016 (UTC)
Problems with skins loading
I have this website http://keukenwiki.nl
Some of the skins/images aren't loading.
This is my localsettings.php.
Any idea what the problem is?
- Uncomment this to disable output compression
$wgDisableOutputCompression = false;
$wgSitename = "WoonWerkWiki";
- The URL base path to the directory containing the wiki;
- defaults for all runtime URL paths are based off of this.
- For more information on customizing the URLs
- (like /w/index.php/Page_title to /wiki/Page_title) please see:
$wgScriptPath = "/wiki/w"; ## "http://keukenwiki.nl/index.php";
$wgScriptExtension = ".php";
$wgArticlePath = '/wiki/w/$1';
- The protocol and server name to use in fully-qualified URLs
$wgServer = "http://keukenwiki.nl";
- The relative URL path to the skins directory
$wgStylePath = "/wiki/w/skins";
- The relative URL path to the logo. Make sure you change this from the default,
- or else you'll overwrite your logo when you upgrade!
$wgLogo = "/wiki/w/images/logo.png";
$wgFavicon = "/wiki/w/favicon.ico"; JFokker (talk) 18:45, 31 May 2016 (UTC)
- What is it exactly that is not loading?
- I have tried viewing your wiki with several skins, e.g. Vector, but also Monobook and the Simple skin and this works as expected. 87.123.26.85 (talk) 20:32, 31 May 2016 (UTC)
- The skins look fine - at least as far as I can tell.
- Some image links however are broken. E.g. there are links to the Bestand: namespace. An example is Bestand:Nuvola filesystems folder green.png. MediaWiki says this file would not be present. I remember that you moved the wiki. Seems like you did not move everything. It seems like the file or at least its MediaWiki page is missing. 87.123.26.85 (talk) 20:36, 31 May 2016 (UTC)
Batch delete?
Is there a way to delete a lots of spam pages in a simple way, not having to enter every single page and choosing delete for every single page? Some sort of batch delete? 83.248.89.21 (talk) 20:05, 31 May 2016 (UTC)
- See Extension:BlockAndNuke, Extension:DeleteBatch and the maintenance script deleteBatch.php.
- All these are amongst the first five Google hits for "MediaWiki batch delete", by the way. 87.123.26.85 (talk) 20:25, 31 May 2016 (UTC)
Compilation failed: group name must start with a non-digit
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi. I am getting this error bug in my wiki
Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/casavall/public_html/wiki/includes/MagicWord.php on line 739
Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/casavall/public_html/wiki/includes/MagicWord.php on line 717
Warning: Invalid argument supplied for foreach() in /home/casavall/public_html/wiki/includes/MagicWord.php on line 718
Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/casavall/public_html/wiki/includes/MagicWord.php on line 722
You can see more details here: https://phabricator.wikimedia.org/T136613 87.123.26.85 (talk) 20:47, 31 May 2016 (UTC)
- After I posted this one for another user, trying to give an answer:
- This is caused by incompatibilities in older versions of MediaWiki with newer versions of the PECL extension. Usually this is solved by simply updating MediaWiki to a current version, e.g. to 1.26.3. 87.123.26.85 (talk) 20:48, 31 May 2016 (UTC)
missing files
ive installed it 3 times and fails to install 3 files which are livscepad.dll gfsdk_ssao_d3d11.win64.dll and gfsdk_Godrayslib.x64.dll what do I do 174.16.154.133 (talk) 21:31, 31 May 2016 (UTC)
- MediaWiki doesn't use DLLs to function. Are you sure you're asking on the right forum? Ciencia Al Poder (talk) 02:16, 1 June 2016 (UTC)
Add a template to EVERY (even not created) page in a namespace?
I want non-existent pages in certain namespace to show a hyperlink to an external site. I guess this can be done with templates.
But is it possible for all non-existent pages in a namespace to display a template? After all the page is non-existent, can it display anything?
I need this feature for default placeholders of yet empty namespace, which is to have too many entries (around 10000) to add a template to every entry manually.
I suspect MediaWiki does not support this. I know PHP, what can be done to implement this? VictorPorton (talk) 21:42, 31 May 2016 (UTC)
- Simply add the template to MediaWiki:Noarticletext.
- 121.220.9.22 (talk) 03:58, 1 June 2016 (UTC)
{{#ifeq: {{NAMESPACE}} | Project | {{A template}} }} - But can I also make this to appear in the textarea by default when somebody clicks "Create" button for the page in question?
- I do not want this template to disappear when somebody edits the page. VictorPorton (talk) 13:09, 1 June 2016 (UTC)
- That is possible with a hook. You would have to check, which one, though. 87.123.44.133 (talk) 16:34, 1 June 2016 (UTC)
- For this there is Extension:PreloadManager extension, but it is unmaintained.
- I consider to become its maintainer. VictorPorton (talk) 17:14, 2 June 2016 (UTC)
- I think the following extensions might work:
- Haven't used them but Extension:NewArticleTemplate appears to more versatile.
- Another Extension:MultiBoilerplate, "allows a boilerplate [template] to be selected from a drop down box located above the edit form when editing [new] pages" AhmadF.Cheema (talk) 17:38, 2 June 2016 (UTC)
HTML tags appearing in random templates
I have random HTML tags appearing unparsed in some templates on my site. Those affected include Template:Navbox with columns
CSS is up to date, templates are latest versions. Media wiki is latest stable version.
Any ideas on what's causing this? 149.254.235.14 (talk) 23:42, 31 May 2016 (UTC)