Project:Support desk/Flow/2017/03
| 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. |
Remove real name parameter
Hi. Is it possible to remove the real name parameter found when creating accounts? Thank you. 186.188.144.132 (talk) 03:20, 1 March 2017 (UTC)
- Note that the paramater is optional. MacFan4000 (talk) 16:14, 1 March 2017 (UTC)
Post my books
I have written two books, however the process to post them seems quite difficult, Can you provide an easier way with easy to follow instructions.
Calgary Wolf Calgary Wolf (talk) 09:01, 1 March 2017 (UTC)
- It is unclear exactly where do you want to publish your books. Do you want to publish them at:https://en.wikibooks.org/? AhmadF.Cheema (talk) 09:12, 1 March 2017 (UTC)
TOC with transclution
Hi everybody
I have several subpages
and a main page, where i want to include this subpages
that works fine, but if i generate a TOC on the main side - also all headlines of the subpage are included,
- but i only want the headlines of the main page there -
is there a syntax to get them out of the toc
best regards 81.16.159.66 (talk) 13:11, 1 March 2017 (UTC)
oauth login
Hi,
is it possible to use media-wiki as a oauth client (not server), so all user can login via a existing system?
I found a plugin for Oauth2 Server but not for client.
Kind regards,
Nico 212.63.81.20 (talk) 15:52, 1 March 2017 (UTC)
- Perhaps try Extension:OAuth. MacFan4000 (talk) 16:12, 1 March 2017 (UTC)
Media wiki Consumer propose permission
When I try to create new consumer, I get permission error. 27.34.32.200 (talk) 16:20, 1 March 2017 (UTC)
SyntaxHighlight didn't work after update MediaWiki
Hello,
I update my wiki to version 1.28.0, I use PHP 5.6.16 and MySQL 5.6.17.
Since the update, SyntaxHighlight_GeSHi didn't work anymore, most of my code are write with lang="Delphi" and lang="Pascal".
I didn't understand why, I get the tracker page "Pages with syntax highlighting errors" because all was ok before" at the bottom ..
- I try to remove "maintenance" folder of this extensions but same problem
- I add "wfLoadExtension( 'VisualEditor' );" in my LocalSettings.php
- I try to add $wgPygmentizePath = pygmentize;
- I can't find a pygmentize.exe I only have a pygmentize (736ko) file in pygments folder.
Did you know what I need to do ?
Thanks,
Robin 62.161.244.145 (talk) 08:09, 2 March 2017 (UTC)
- With more detail I got this error:
- Notice: Failed to invoke Pygments: '"E:\www\wiki\extensions\SyntaxHighlight_GeSHi/pygments/pygmentize"' n'est pas reconnu en tant que commande interne
- ou externe, un programme executable ou un fichier de commandes.
- [Called from SyntaxHighlight_GeSHi::highlight in E:\www\wiki\extensions\SyntaxHighlight_GeSHi\SyntaxHighlight_GeSHi.class.php at line 296] in E:\www\wiki\includes\debug\MWDebug.php on line 311 62.161.244.145 (talk) 08:33, 2 March 2017 (UTC)
я хочу создать новую статью, но не получается. что делать?
я хочу создать новую статью, но не получается. что делать? Parallel2000 (talk) 11:38, 2 March 2017 (UTC)
- Do you want to create an article here at MediaWiki or at Wikipedia? AhmadF.Cheema (talk) 11:59, 2 March 2017 (UTC)
- wikipedia Parallel2000 (talk) 12:06, 2 March 2017 (UTC)
- See: https://en.wikipedia.org/wiki/Wikipedia:Article_wizard
- Or for detailed introductory guidance see: https://en.wikipedia.org/wiki/Wikipedia:Your_first_article AhmadF.Cheema (talk) 12:54, 2 March 2017 (UTC)
HTMLCacheUpdateJob never inserted
I have updated my mediawiki to version 1.27.1. I use PHP 5.6.30 and MySQL5.6.35.
Each time I load a page I get
PHP Notice: JobQueueGroup::__destruct: 1 buffered job(s) of type(s) HTMLCacheUpdateJob never inserted. in Path\to\my\wiki\includes\jobqueue\JobQueueGroup.php on line 433.
What can be the problem?
Thanks in advance JanEEE175 (talk) 13:52, 2 March 2017 (UTC)
- I'm getting this too, but only when Semantic MediaWiki is enabled (and even then, it's sporadic). 108.171.135.165 (talk) 19:09, 7 April 2017 (UTC)
- I've been digging into this more. I don't know if it's actually Semantic causing it. I can get the error to happen fairly consistently if I edit a page. Sometimes it triggers immediately. Sometimes I need to go to a different page. Sometimes I need to go to a different page and then come back.
- I threw a bunch of debugging messages into JobQueueGroup.php and got some interesting results. As far as I understand it, this is what's happening:
- * MediaWiki::restInPeace() calls JobQueueGroup::pushLazyJobs().
- * JobQueueGroup::pushLazyJobs() (a static function) is supposed to take all the lazy jobs in any JobQueueGroup instance's lazy job buffer and push them to the job queue. In this case, it finds that there are no existing instances of JobQueueGroup, and returns without doing anything.
- * MediaWiki::restInPeace(), now confident that any buffered lazy jobs are in the job queue, calls MediaWiki::triggerJobs() to handle any jobs in the queue.
- * Via a long chain of calls, MediaWiki:triggerJobs() ends up putting a HTMLCacheUpdateJob in the lazy job buffer. Since there's no existing JobQueueGroup singleton, one is created.
- * MediaWiki::restInPeace() has no idea that a new lazy job could have been buffered at this point. It cleans up and returns.
- * The singleton instance of JobQueueGroup is destroyed.
- * Because there's a job sitting in the JobQueueGroup's lazy buffer, the JobQueueGroup throws the error message and the job is lost. 108.171.135.165 (talk) 18:45, 11 April 2017 (UTC)
- The bug is probably in MediaWiki, since the job queue and all the functions you described are in core. SMW may be triggering this bug more often because of the interrelations between pages and cache purges. I'd suggest bugreport it with all those details. Ciencia Al Poder (talk) 11:26, 12 April 2017 (UTC)
- This was reported with T154427 early this year. So far it seems that this issue has not gotten through to core developers I'm afraid. [[kgh]] (talk) 20:04, 15 April 2017 (UTC)
- SWM 2.5.1 and later will avoid this as outlined [https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/2393#issuecomment-294304445 here] [[User:Kghbln|[[kgh]]]] ([[User talk:Kghbln|talk]]) 20:22, 15 April 2017 (UTC) :> I threw a bunch of debugging messages into JobQueueGroup.php and got some interesting results. As far as I understand it, this is what's happening: :Exactly what happens. :> SWM 2.5.1 and later will avoid this as outlined :To be honest, it doesn't solve the issue it only disable it as I got frustrated over the non-responsiveness of a reported fatal error. It goes without saying that disabling the `HTMLCacheUpdate` may have an inadvertently effect on the update of queries in case a HTML cache or proxy is used. For the record, SMW has send `HTMLCacheUpdate` request as early as 1.? and the code chain hasn't changed for that part since then. [[User:MWJames|MWJames]] ([[User talk:MWJames|talk]]) 21:19, 15 April 2017 (UTC) :> To be honest, it doesn't solve the issue it only disable it as I got frustrated over the non-responsiveness of a reported fatal error. :There is a difference between solving and avoiding. ;) Thanks for the additional info. [[User:Kghbln|[[kgh]]]] ([[User talk:Kghbln|talk]]) 21:31, 15 April 2017 (UTC) == Manual (SQL) Article Update issue == Hi, I have updated using sql a revision in the text table: UPDATE `text` SET `old_text` = 'newtext' WHERE `old_id` = ( SELECT r.`rev_text_id` FROM ( SELECT MAX(r.`rev_id`) AS `last_rev` FROM `revision` r JOIN `page` p ON p.`page_title` = 'pagetitle' AND r.`rev_page` = p.`page_id` ) rev JOIN `revision` r ON r.`rev_id` = rev.`last_rev` ); I basically grab the last revision for a given page title and update the text for it. After doing this, I call populateRevisionSha1 and populateRevisionLength maintenance scripts but still, the wiki page from the browser is not displaying the last text. What am I doing wrong? Thanks [[User:Sebastienratez|Sebastienratez]] ([[User talk:Sebastienratez|talk]]) 15:10, 2 March 2017 (UTC) :rev_len and rev_sha1 seem to not be different from a revision to another while rev_text_id targets a very different text (the one I changed) :Could it be that the populate scripts don't work? I used the --force option... [[User:Sebastienratez|Sebastienratez]] ([[User talk:Sebastienratez|talk]]) 15:29, 2 March 2017 (UTC) :MediaWiki finds the latest revision of a page by looking into the page_latest field of a given row. The documentation tells you that MediaWiki can - at least in theory - re-use old revisions. E.g. when you have a revision, then a spam edit happens and then the spam is reverted, MediaWiki is allowed to use the old revision again - without creating a new one. In this case, the current revision of the page will _not_ be the one with the highest rev_id for that page, because the spam revision has an higher ID. :So you might want to re-work your SQL query to use the page_latest field to find the revisions you want. :Apart from that, direct manipulation inside the database is not recommended. [[Special:Contributions/83.135.224.233|83.135.224.233]] ([[User talk:83.135.224.233|talk]]) 17:34, 2 March 2017 (UTC) :I have updated all the revisions in the database and the text still shows as something old. What´s the CLI procedure to clean the cache? [[User:Sebastienratez|Sebastienratez]] ([[User talk:Sebastienratez|talk]]) 10:54, 3 March 2017 (UTC) :The [[Manual:page table|page table]] contains the page_latest field which points to the current revision of the page. Use it instead of getting the max() of the revisions. You probably want to update page_touched so it knows the cached text is stale and needs to be regenerated. [[User:Ciencia Al Poder|Ciencia Al Poder]] ([[User talk:Ciencia Al Poder|talk]]) 18:34, 3 March 2017 (UTC) == Fatal error == When I try to access my wiki I get: [WLhVXtN-660keAyQrX3mNQAAAAY] /mw-config/ Error from line 665 of /home/wikitest/public_html/includes/cache/localisation/LocalisationCache.php: Class 'DOMDocument' not found Backtrace: <nowiki>#0 /home/wikitest/public_html/includes/cache/localisation/LocalisationCache.php(645): LocalisationCache->loadPluralFile(string)
#1 /home/wikitest/public_html/includes/cache/localisation/LocalisationCache.php(610): LocalisationCache->loadPluralFiles()
#2 /home/wikitest/public_html/includes/cache/localisation/LocalisationCache.php(711): LocalisationCache->getPluralRules(string)
#3 /home/wikitest/public_html/includes/cache/localisation/LocalisationCache.php(838): LocalisationCache->readSourceFilesAndRegisterDeps(string, array)
#4 /home/wikitest/public_html/includes/cache/localisation/LocalisationCache.php(464): LocalisationCache->recache(string)
#5 /home/wikitest/public_html/includes/cache/localisation/LocalisationCache.php(381): LocalisationCache->initLanguage(string)
#6 /home/wikitest/public_html/includes/cache/localisation/LocalisationCache.php(296): LocalisationCache->loadSubitem(string, string, string)
#7 /home/wikitest/public_html/languages/Language.php(2583): LocalisationCache->getSubitem(string, string, string)
#8 /home/wikitest/public_html/includes/cache/MessageCache.php(870): Language->getMessage(string)
#9 /home/wikitest/public_html/includes/cache/MessageCache.php(826): MessageCache->getMessageForLang(Language, string, boolean, array)
#10 /home/wikitest/public_html/includes/cache/MessageCache.php(766): MessageCache->getMessageFromFallbackChain(Language, string, boolean)
#11 /home/wikitest/public_html/includes/Message.php(1188): MessageCache->get(string, boolean, Language)
#12 /home/wikitest/public_html/includes/Message.php(802): Message->fetchMessage()
#13 /home/wikitest/public_html/includes/Message.php(902): Message->toString()
#14 /home/wikitest/public_html/includes/installer/WebInstaller.php(599): Message->text()
#15 /home/wikitest/public_html/includes/installer/WebInstaller.php(557): WebInstaller->getPageListItem(string, boolean, string)
#16 /home/wikitest/public_html/includes/installer/WebInstaller.php(273): WebInstaller->startPageWrapper(string)
#17 /home/wikitest/public_html/mw-config/index.php(80): WebInstaller->execute(array)
#18 /home/wikitest/public_html/mw-config/index.php(38): wfInstallerMain()
#19 {main}
What could the problem be? 67.244.49.134 (talk) 17:26, 2 March 2017 (UTC)
- I get that when I go to the /me-config psge. If I go to a normal wiki page I get
- [WLhcnwQJueKYUU-y8J3qlgAAACE] 2017-03-02 17:55:43: Fatal exception of type InvalidArgumentException 2002:43F4:3186:1234:40E6:1A8:772F:4CEC (talk) 17:56, 2 March 2017 (UTC)
- I had a similar problem (check below).
- I don't know if it is the same thing. But try checking if your apache server (your host) can handle php sessions (and if it is configured correctly).
- I solved the sessions and a similar problem was resolved and I could install my Media Wiki! Matcafe (talk) 18:33, 2 March 2017 (UTC)
- I had to edit the php.ini file to handle correctly the sessions with the property "session.save_path". Matcafe (talk) 18:34, 2 March 2017 (UTC)
- Thanks, but I just figured it out. For some reason the PHP version was set to 7.0 2002:43F4:3186:1234:40E6:1A8:772F:4CEC (talk) 18:51, 2 March 2017 (UTC)
- If MediaWiki can't find 'DOMDocument' class, then your PHP doesn't have the xml extensions installed/enabled. This is one of the requisites for running MediaWiki! Ciencia Al Poder (talk) 18:36, 3 March 2017 (UTC)
Clearing visited links
I'm messing with my css and I would like to refresh the whole site so all links appear as "a" instead of "a:visited". I've tried clearing cookies, I tried to purge the page. I've googled, all to no avail. I'm using Chrome. Am I missing something stupid? Amnion (talk) 05:19, 3 March 2017 (UTC)
- Clear your history, or at least the pages you want to not be visited. 120.144.13.209 (talk) 09:49, 3 March 2017 (UTC)
- Which pages you visited and which not is saved in the search history of your browser. If you remove a page from there, the browser will display it as unvisited.
- Another question would be, if it is possible to display all links the same way, no matter if the page was visited or not. 83.135.224.214 (talk) 14:46, 3 March 2017 (UTC)
- Thanks. And as to your last question, I suppose one could just make regular links and visited links the same color. Amnion (talk) 20:04, 3 March 2017 (UTC)
- If that is what one wants to do: Yes, that is possible. The according CSS rules can be placed on the fitting wiki page - Manual:Interface/Stylesheets has more information on these pages! 83.135.224.214 (talk) 08:52, 4 March 2017 (UTC)
Login with Admin Account not possible after installation
Hi!
I just upgraded my MW to 1.28 and moved it to a new server. The database import went well, but when I try to login I am getting the error "The supplied credentials could not be authenticated."
Does anyone have an idea how to fix it?
Thanks in advance! BenPORG (talk) 19:08, 3 March 2017 (UTC)
- What database system are you using?
- I have seen this error in Postgres, see T149468.
- On another thought: That error corresponds to the following MediaWiki core message:
- languages/i18n/en.json: "authmanager-authn-no-primary": "The supplied credentials could not be authenticated.",
- That message is issued by includes/auth/AuthManager.php when no matching primary authentication provider can be found. 83.135.224.214 (talk) 09:01, 4 March 2017 (UTC)
- Hi, I am using MySQL Version 5.5.
- Thanks for the hint with the AuthManager. But what exactly is an authentification provider?
- BTW: I just checked the database, in tables users the new admin-user I added is not there. I now tried to log in with my old user. Same error message. Strange. BenPORG (talk) 09:13, 4 March 2017 (UTC)
- I don't have a solution off hand, but the problem is that choosing a primary authentication provider fails.
- The available authentication providers are configured via
$wgAuthManagerConfig. See documentation of that global and of the individual authentication providers for details. Maybe some fiddling there helps... 83.135.224.214 (talk) 09:43, 4 March 2017 (UTC) - Hi! I tried a lot and also did a complete reinstall going step by step with the manual. Still the same error. I don't get why it is working on the old server just fine, but when I move it to the new server I have issues logging in with an account which exists in the database.
- Any ideas? Thanks in advance! BenPORG (talk) 08:51, 6 March 2017 (UTC)
- Are you able to create a new account and then try to login to it? maybe old passwords need something enabled Ciencia Al Poder (talk) 10:22, 7 March 2017 (UTC)
- Hi! Yes, I am and I finally got access, thank you.
- But still no way to log in with the existing users and also sending emails does not work, although in localsettings everything is on true. I will try using SMTP tomorrow. BenPORG (talk) 19:29, 11 March 2017 (UTC)
- This may have to do with Manual:$wgPasswordConfig, depending on your old version. You can look in the user table the value of user_password of old accounts, it should contain indication of what format it was using. MediaWiki detects the old format when they login and converts it to a new one if necessary. Maybe the old format is not recognized (if you added a custom one) or something like this. Ciencia Al Poder (talk) 15:20, 12 March 2017 (UTC)
Mediawiki not saving or updating pages.
I have a mediawiki installation that connects to a database on a server, however my DBA has banned applications from using 'root' user. However, although I have my own 'wiki_app' user configured, sometimes the wiki stops working, jobs accumulate and when I manually force the job I get the message "Query: UPDATE` page` SET page_links_updated = '19691231235959' WHERE page_id = '1609' (for example) Function: LinksUpdate :: updateLinksTimestamp Error: 1449 The user specified as a definer ('root' @ 'localhost') does not exist (10.0.xx.xxxx). I already searched everywhere where this root is and I did not find it.
Is it possible to have mediawiki without it trying to access mysql's root user? Where in addition to LocalSettings can I configure so that mediawiki does not try to use root @ localhost? How to prevent this error? Orthophilos (talk) 18:42, 4 March 2017 (UTC)
- Version: MediaWiki 1.26.2
- PHP 5.4.16 (apache2handler)
- MySQL 5.6.24-enterprise-commercial-advanced-log
- ICU 50.1.2
- Extensions : CategoryTree CiteThisPage Contribution Scores17.0
- Interwiki 3.0 20140719 Nuke 1.2.0 GPL-2.0+ CategoryGallery 1.0.1 ImageMap InputBox LabeledSectionTransclusion ParserFunctions 1.6.0 PdfBook 1.1.0, 2014-04-01 PDFEmbed 1.1.2 Poem Orthophilos (talk) 20:43, 4 March 2017 (UTC)
- The error "Error: 1449 The user specified as a definer does not exist" is discussed here:
- http://stackoverflow.com/questions/10169960/mysql-error-1449-the-user-specified-as-a-definer-does-not-exist
- I have not checked the MediaWiki source code, but I have never heard that MediaWiki would need definer statements. So removing any definer might already help.
- Another idea would be to create the missing user. 87.123.251.199 (talk) 01:32, 5 March 2017 (UTC)
- Thanks a lot, saved my day. Orthophilos (talk) 02:01, 7 March 2017 (UTC)
mac address
how do i purchase Pasquale6363 (talk) 19:47, 4 March 2017 (UTC)
- Welcome on the Support Desk for MediaWiki, the software used to run wikis like Wikipedia.
- A MAC address is used in LANs and WLANs to recognize the different hardwares, which are part of the network. So far this does not seem to be related to MediaWiki.
- If your question in fact is related to MediaWiki, please elaborate, in how far it is and in how far we could help you! 87.123.251.199 (talk) 01:27, 5 March 2017 (UTC)
Re-Creating user tables for an existing wiki that had its user database corrupted
Hello, hoping you can help out with this.
I was running a mediawiki server for private use and my computer shut down unexpectedly. I am now greeting with database errors when I start up the www/db server.
- 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 `revision` INNER JOIN `page` ON ((page_id = rev_page)) LEFT JOIN `user` ON ((rev_user != 0) AND (user_id = rev_user)) WHERE page_id = '1' AND rev_id = '270' LIMIT 1
- Function:
Revision::fetchFromConds - Error: 1146 Table 'my_wiki.user' doesn't exist (127.0.0.1:3388) The only way i was able to start the DB server was by removing the user.ibd files as they were stopping the database server from starting.
Is there a way I can recreate the user tables? I tried running the mw-config\index.php but it wants to Upgrade the database...and fails because the user tables are missing.
I dont care about any of the data in the user tables, I just want to be able to get into the rest of the wiki again. 73.110.30.73 (talk) 15:47, 5 March 2017 (UTC)
- In the tables.sql script you have the statements to create all the tables of the database. Find the user table and create it.
- You may populate it with information from the revision table, which contains user ids and maybe usernames. Ciencia Al Poder (talk) 10:29, 6 March 2017 (UTC)
Open_Basedir restriction file(/tmp)
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 installing Mediawiki on the square7 freehoster I get the error message: Warning: is_dir() : open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/users/magu/www:/users/_temp/magu) in /users/magu/www/wiki/includes/libs/filebackend/fsfile/TempFSFile.php on line 90 I understand that there is a problem with the temp directory. Looking into TempFSFile.php I cannot really figure out where it gets the information about the directory from. But apparently already checking the list of directories with is_dir() seems to cause the error. As I am using a freehoster I am not able to change the php.ini to allow access to other directories. I would like to thank you for your help already in advance.
MediaWiki: 1.28.0 PHP: 5.5.38 (cgi-fcgi) MariaDB: 5.5.35-MariaDB ICU 4.8.1.1 URL: http://magu.square7.ch/wiki/index.php 95.91.37.201 (talk) 17:09, 5 March 2017 (UTC)
- If your wiki is already set up, you can specify the temp location with $wgTmpDirectory = "/users/_temp/magu"; in LocalSettings.php Ciencia Al Poder (talk) 10:28, 6 March 2017 (UTC)
- Thank you very much for your help. That was easy.
- Actually I found the hint to this setting, but did not find it in the LocaSettings.php and did not dare to simply add it. 109.43.1.32 (talk) 17:46, 6 March 2017 (UTC)
How can do i get access to credentials for selenium-tests ?
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,
I want to run selenium tests, but for this I need credentials.xml file from selenium-configrepository.
How I can get access to the credentials.xml ? What do I have to do for this?
Java tests: https://github.com/Wikia/selenium-tests
Credentials: https://github.com/Wikia/selenium-config
Thx Dobikun (talk) 20:05, 5 March 2017 (UTC)
- As your question is about a Wikia repository, you probably have to contact Wikia to get an answer. Malyacko (talk) 19:42, 6 March 2017 (UTC)
MW 1.28.0 + DPL Forum 3.5.0
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 understand this extension has not been maintained since (2015-11-16) - however I have installed it and all seems ok up to the point of creating a topic.
When the submit button is clicked - the next page results in this in the address bar:
http://hitwiki.site/page/Talk:Testing_for_mediawiki#dsafsadfasdf_--_.7E.7E.7E.7E
The part of the url is from (and including the _--_.7E and onwards - is there a fix for this?
Also I note that the topic is also created yet does not show on the main forum page.
As well as this the "this is a minor edit" is not present when creating the topic but is there afterwards.
Any help welcome. Agonshar (talk) 21:58, 5 March 2017 (UTC)
- The minor edit doesn't appear when creating a new page. This has been this way since several versions (1.19 at least).
- For DPL forum to list pages, those pages need to be in the category specified in the forum tag and namespaces. So when you create pages for the forum need to meet that criteria. Looking at your wiki this doesn't seem to be the case. In the inputbox you should use the "preload" parameter to point to a page that would include the necessary category (either the category directly, or a template that includes it). Ciencia Al Poder (talk) 10:26, 6 March 2017 (UTC)
- Hi Ciencia,
- Thanks for the reply - i know this is an outdated extension but i saw a bit of potential in it compared to other also outdated solution.
- The solution you;ve suggested regarding the preload paramater - how I do I set that as I see no description of that paramater in the extensions main page.
- Thanks. Agonshar (talk) 19:49, 6 March 2017 (UTC)
- Parameters of inputbox tag are documented in Extension:InputBox Ciencia Al Poder (talk) 22:28, 6 March 2017 (UTC)
- Configuered input box but still not working..really dont understand parameters at all or how to show a populated lisat of subjects created by creating a new dpl forum article.. Agonshar (talk) 21:32, 9 March 2017 (UTC)
- You need to create [[Template:Forumheader/HIT Discussion]] (for one of the forums), which should include [[Category:HIT Discussion]]. Then when creating a page with that inputbox, the edit area will have the category on it. You may want to add a HTML comment on it to tell users not to remove it from the edit area Ciencia Al Poder (talk) 22:14, 9 March 2017 (UTC)
VisualEditor + Syntaxe highlight
Hello, I install VisualEditor and it's ok, I have syntaxe highlight (Pascal/SQL) when I save my page. In Edit mode when I do "Add > Code" I didn't have syntaxe highlight or autocomplete in the popup, did you know why ? Thanks 62.161.244.145 (talk) 16:09, 6 March 2017 (UTC)
- You need to load SyntaxHighlight after VE in your LocalSettings.php.
- If that doesn't work then let me know what versions of each you have installed. ☠MarkAHershberger☢(talk)☣ 21:48, 11 March 2017 (UTC)
All the icons for slack plz
Hi, can I pretty please get alllll of the icons zipped up to put in my slack team??
Thanks! 23.29.38.62 (talk) 22:22, 6 March 2017 (UTC)
- Welcome to the support desk for the MediaWiki software. If your question is related to MediaWiki, please explain which specific icons you refer to. Thanks! Malyacko (talk) 13:14, 7 March 2017 (UTC)
Queen Elizabeth's entry
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.
Queen Elizabeth's entry has her incorrectly recorded as Elizabeth ll, Queen of the United Kingdom. She is in fact the second English Elizabeth and the first for Scotland and the United Kingdom? Zilchy111 (talk) 23:23, 6 March 2017 (UTC)
- This is the support desk for MediaWiki (the software that runs Wikipedia) and doesn't have much to do with Wikipedia's content. It would be better if you raise this issue in the talk page of the relevant article. AhmadF.Cheema (talk) 11:43, 7 March 2017 (UTC)
Incorrect Data!!!
Information from our business website has been posted on the site: http://www.zero-emissions.at/index.php?title=Description_of_the_electropolishing_process
The page reefers back to our website; which is incorrect. Despite creating an account to change this, the above page has been locked by the writer and cannot be changed.
How can the incorrect data be modified or removed.
Anopol Ltd. 82.68.81.222 (talk) 14:05, 7 March 2017 (UTC)
- Have you already tried contacting at the email provided in the second-last paragraph of the main page? Looking at the site statistics, It does appear that the site is not actively maintained anymore. AhmadF.Cheema (talk) 18:43, 7 March 2017 (UTC)
- No the email has had no reply. Would really like to get this changed, as the website is a back-link to our business (Anopol Ltd). However, the back-link is incorrect. 82.68.81.222 (talk) 16:06, 8 March 2017 (UTC)
MediaWiki mailing list emails exposed to potential spam
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.
- Found out a few days ago, that email addresses for people using MediaWiki mailing lists have been archived at gossamer threads. While at some places they have been converted to images, but at others, they are clearly readable by a bot as has been done by google.
- Gossamer threads don't seem to list any contact details. Anyone from the WikiMedia foundation has any information on how to get those removed? AhmadF.Cheema (talk) 23:19, 7 March 2017 (UTC)
- Uh? https://www.gossamer-threads.com/contact/ has contact details. Malyacko (talk) 12:21, 9 March 2017 (UTC)
- I was hoping to find a contact link at https://lists.gt.net/wiki/, the place where the mailing list discussions are actually archived.
- In any case, they didn't reply back even on the contact you gave. Anyway, thanks. AhmadF.Cheema (talk) 14:07, 18 March 2017 (UTC)
- You probably want to post that on the mediawiki-l mailing list instead :) Ciencia Al Poder (talk) 10:22, 8 March 2017 (UTC)
account creation is broken
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 was not able to get a response on efnet #archiveteam for the secret word so the capcha failed and I was not able to create an account. What should I do? 72.93.30.198 (talk) 12:47, 8 March 2017 (UTC)
- This is an issue with the configuration of a site we don't control, I'm sorry but we can't help you. You should contact someone who's in charge of the wiki, or their forums (if they have), or social media. Ciencia Al Poder (talk) 21:32, 8 March 2017 (UTC)
copy from thumb drive
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.
Officelibre is new to me, how can I copy documents from Microsoft Word and Microsoft Excel on my thumb drive, into officelibre documents? Stringsz (talk) 16:07, 8 March 2017 (UTC)
- Welcome to the Support Desk for the MediaWiki software. For questions about other software (like LibreOffice), please ask in a LibreOffice forum instead. Thanks! Malyacko (talk) 12:19, 9 March 2017 (UTC)
Administrator Left - How to Take Over?
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.
Our one administrator left, and we have no way of providing rights to others.
Besides the really poor governance here (lessons learned), how can we fix this?
Thank you. PaleoIsh (talk) 17:11, 8 March 2017 (UTC)
- If you have access to the shell, you can use CreateAndPromote.php to manually make one of the other users a bureaucrat, who in turn can make others administrators and bureaucrats. —Mainframe98 talk 17:52, 8 March 2017 (UTC)
I am a manager for an artist page and would like to get my draft published.
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.
https://en.wikipedia.org/wiki/Draft:Joseph_Cox_(Musician) Josephrobertcox (talk) 18:11, 8 March 2017 (UTC)
- Welcome to the Support Desk for the MediaWiki software. For policy questions about procedures on a Wikipedia site, please ask in a Wikipedia discussion forum instead. Thanks! Malyacko (talk) 12:18, 9 March 2017 (UTC)
- https://en.wikipedia.org/wiki/Wikipedia:Notability_(music) is also relevant, I assume. Malyacko (talk) 12:24, 9 March 2017 (UTC)
Can I use info on my own website as references on Wikipedia?
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.
Right now my company develops new theme park in India and while exploring how to write an article we have faced some controversial issues.
Some theme amusement and water parks use their own website's pages as references for some facts about their place.
For example: https://en.wikipedia.org/wiki/Cartoon_Network_Amazone_Waterpark (every reference is linked to their own website)
Just want to confirm with you if it is allowed to use my own website's pages as references on my future article according to Wikipedia terms and conditions for references? That would very nice if can do so (write on my website detailed info about the ark and use it as references for Wiki-article), but as I understand so far only other independent sources (which do not represent let's say only my company) are allowed to be used. JanMoore (talk) 04:11, 9 March 2017 (UTC)
- Welcome to the Support Desk for the MediaWiki software. For policy questions about content on a Wikipedia site, please ask in a Wikipedia discussion forum instead. Thanks! Malyacko (talk) 12:17, 9 March 2017 (UTC)
VisualEditor 404 after changing Wiki's LocalSettings.php
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 have set up a new mediawiki (1.28.0) and added the extension VisualEditor. When browsing to the wiki on the local machine using http://localhost/wiki/ it all works fine and visualeditor and parsoid works as expected. But as soon as I change mediawiki LocalSettings.php $wgServer = "http://localhost"; to $wgServer = "http://serverdomainname"; I get the following in Parsoid:
{"name":"parsoid","hostname":"serverdomainname","pid":4132,"level":60,"err":{"message"
:"Invalid domain: serverdomainname","name":"lib/index.js","stack":"lib/index.js:
Invalid domain: serverdomainname\n at errOut (C:\\Program Files (x86)\\parso
id\\lib\\api\\routes.js:30:13)\n at routes.v3Middle (C:\\Program Files (x86)\
\parsoid\\lib\\api\\routes.js:94:11)\n at Layer.handle [as handle_request] (C
:\\Program Files (x86)\\parsoid\\node_modules\\express\\lib\\router\\layer.js:95
:5)\n at next (C:\\Program Files (x86)\\parsoid\\node_modules\\express\\lib\\
router\\route.js:131:13)\n at Route.dispatch (C:\\Program Files (x86)\\parsoi
d\\node_modules\\express\\lib\\router\\route.js:112:3)\n at Layer.handle [as
handle_request] (C:\\Program Files (x86)\\parsoid\\node_modules\\express\\lib\\r
outer\\layer.js:95:5)\n at C:\\Program Files (x86)\\parsoid\\node_modules\\ex
press\\lib\\router\\index.js:277:22\n at param (C:\\Program Files (x86)\\pars
oid\\node_modules\\express\\lib\\router\\index.js:349:14)\n at param (C:\\Pro
gram Files (x86)\\parsoid\\node_modules\\express\\lib\\router\\index.js:365:14)\
n at param (C:\\Program Files (x86)\\parsoid\\node_modules\\express\\lib\\rou
ter\\index.js:365:14)\n at param (C:\\Program Files (x86)\\parsoid\\node_modu
les\\express\\lib\\router\\index.js:365:14)\n at param (C:\\Program Files (x8
6)\\parsoid\\node_modules\\express\\lib\\router\\index.js:365:14)\n at Functi
on.process_params (C:\\Program Files (x86)\\parsoid\\node_modules\\express\\lib\
\router\\index.js:410:3)\n at next (C:\\Program Files (x86)\\parsoid\\node_mo
dules\\express\\lib\\router\\index.js:271:10)\n at C:\\Program Files (x86)\\p
arsoid\\lib\\api\\ParsoidService.js:159:3\n at Layer.handle [as handle_reques
t] (C:\\Program Files (x86)\\parsoid\\node_modules\\express\\lib\\router\\layer.
js:95:5)","httpStatus":404,"suppressLoggingStack":true,"levelPath":"fatal/reques
t"},"msg":"Invalid domain: serverdomainname","time":"2017-03-09T08:48:29.886Z","
v":0}
Can anyone help? I can provide more config settings if im looking in the wrong place? Quinnj09 (talk) 08:49, 9 March 2017 (UTC)
- Looks like your server can't resolve the domain name you provided Ciencia Al Poder (talk) 10:45, 9 March 2017 (UTC)
- I dont understand why not when 'serverdomainname' is the server that both the mediawiki installation and parsoid is on. should it be pointing at 'serverdomainname' or 'localhost'? but neither seem to work Quinnj09 (talk) 12:46, 9 March 2017 (UTC)
- No matter what I set it to, it tells me invalid domain Quinnj09 (talk) 14:40, 9 March 2017 (UTC)
- If you are running parsoid on the same server as your wiki, try "localhost". Otherwise, try pinging the hostname from the parsoid server on the command line. If that fails (it should in your case) then add the host's name and IP to /etc/hosts. ☠MarkAHershberger☢(talk)☣ 21:18, 11 March 2017 (UTC)
- Oddly, the thing that fixed it, was I put parsoid into debug mode, it worked fine, took it back out of debug mode, it continued to work, maybe theres some rare bug I stumbled over? Quinnj09 (talk) 08:18, 20 March 2017 (UTC)
- Maybe the change in setting wasn't saved correctly, or the value was cached somehow, or you needed to restart some service... Ciencia Al Poder (talk) 10:26, 20 March 2017 (UTC)
How to write the below sub-query in the page ?
we are trying to fetch the below data from database how can we write it in the code? please find the below query
select page_title,rev_timestamp,page_touched
from test.page
inner join test.revision on rev_page=page_id
where rev_id in
(select min(rev_id)
from test.page
inner join test.revision on rev_page=page_id
group by page_id)
Gowtham.k (talk) 11:19, 9 March 2017 (UTC)
- Looks like you have to use
$dbr->query("select ....");- for nested queries. ☠MarkAHershberger☢(talk)☣ 22:13, 11 March 2017 (UTC)
Page propagation into categories stopped
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.
Setup
- MediaWiki 1.28.0 (e92ed15) 22:16, 28 November 2016
- PHP 5.6.30-0+deb8u1 (apache2handler)
- MariaDB 10.0.29-MariaDB-1~jessie
- Memcached
After upgrading to MW 1.28 the propagation of pages to categories stopped, e.g. if I create a page and and a category to this page in result the page will never show up in the respective category. So I have to run "refreshLinks.php" to fix this. Is there something else I can do about it? Perhaps Memchached is no longer supported by MW. I am a bit lost at the moment. The job queue dealt with a cron job and empty. [[kgh]] (talk) 12:24, 9 March 2017 (UTC)
- Were you using a MediaWiki version <1.27 before the upgrade? AhmadF.Cheema (talk) 13:11, 9 March 2017 (UTC)
- Yes, this wiki started as a 1.25 went to 1.27 and is now at 1.28. This is when the issues started. [[kgh]] (talk) 14:53, 9 March 2017 (UTC)
- On lower traffic websites, you will need to configure your Job queue to run with some regularity to process the jobs, using a cron job, or some other method of scheduling. You might also want to tweak the job rate (the amount of jobs processed after each website visit).
- [edit] Oh sorry, I didn't read the thread correctly.... —TheDJ (Not WMF) (talk • contribs) 15:10, 9 March 2017 (UTC)
- Indeed my job queue is dealt with by cron. I now had another look. There were actually missed jobs called "refreshLinksPrioritized" with attempt count 1. So obviously the jobs dealing with category propagation fail for some reason. I am sorry for not seeing this before. Still there seems to be something in the water. [[kgh]] (talk) 16:58, 9 March 2017 (UTC)
- Probably due to
- https://phabricator.wikimedia.org/T154428
- and
- https://phabricator.wikimedia.org/T153618
- Now I wonder when we will be getting 1.28.1 but that's another story. [[kgh]] (talk) 17:50, 9 March 2017 (UTC)
- Apparently I am not the only one: same issue [[kgh]] (talk) 08:10, 12 March 2017 (UTC)
Installing Echo extension
Hello i am having problems when i run the update.php in order to finish the installation of Echo extension.
The error is about a file missing. I checked and that file dosnt exist. "extensio.json". Some one can help me with this ?
root@r2d2-bck:/opt/lampp/bin# ./php /opt/lampp/htdocs/linuxwiki/maintenance/update.php
Fatal error: Uncaught exception 'Exception' with message '/opt/lampp/htdocs/linuxwiki/extensions/Echo/extension.json does not exist!' in /opt/lampp/htdocs/linuxwiki/includes/registration/ExtensionRegistry.php:107
Stack trace:
#0 /opt/lampp/htdocs/linuxwiki/includes/GlobalFunctions.php(116): ExtensionRegistry->queue('/opt/lampp/htdo...')
#1 /opt/lampp/htdocs/linuxwiki/LocalSettings.php(175): wfLoadExtension('Echo')
#2 /opt/lampp/htdocs/linuxwiki/maintenance/doMaintenance.php(84): require('/opt/lampp/htdo...')
#3 /opt/lampp/htdocs/linuxwiki/maintenance/update.php(217): require_once('/opt/lampp/htdo...')
#4 {main}
thrown in /opt/lampp/htdocs/linuxwiki/includes/registration/ExtensionRegistry.php on line 107
root@r2d2-bck:/opt/lampp/bin# Maxedrom (talk) 15:06, 9 March 2017 (UTC)
- Which exact MediaWiki version is this about? Which exact version of the Echo extension is this about? Malyacko (talk) 15:16, 9 March 2017 (UTC)
- mediawiki 1.28
- echo version: the lastest Maxedrom (talk) 17:10, 9 March 2017 (UTC)
- And which **exact** version is "the latest"? Malyacko (talk) 14:58, 10 March 2017 (UTC)
- REL1_28 branch for echo doesn't support extension registration, as explained in the extension's installation instructions Ciencia Al Poder (talk) 17:25, 10 March 2017 (UTC)
Cannot authorize ISY Portal
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 had my ISY Portal authorized and working, but I made the mistake of setting up remote access through Mobilinc and port forwarding, at which point my ISY Portal stopped working. It kept saying my ISY was offline. I eventually disconnected Mobilinc and rest my port forwarding, but could not get the ISY Portal to recognize that my ISY was online (I rebooted several times). Then I really messed up. In the Admin Console I revoked the ISY Portal's permission, thinking that I would just start over and re-add my UUID to my portal. I did that, but now I cannot approve the ISY Portal in my Admin Console. When I click "approve" I get a box that says, "Bad Request." Shortly after that I get an email that says,
"We are receiving requests from your Amazon Echo, however your account is not authorized to use the ISY. In order to use your Echo with this ISY, please login to my.isy.io and make sure that this ISY is authorized in your account. You may have to go to the admin console, under configuration/portals, and click Approve."
Of course, that takes me back where I started. Any help would be greatly appreciated. I am working in Windows 10 and my firmware is up to date. Rtgazz (talk) 16:15, 9 March 2017 (UTC)
- Hi Rtgazz, welcome to the support desk of the MediaWiki software. Your question does not seem to be related to MediaWiki, hence you will have to ask in some "ISY" or "Mobilinc" forum (whatever those terms mean). Malyacko (talk) 15:00, 10 March 2017 (UTC)
Problem with sitemap
Hello,
I have two installations of MediaWiki: one in Italian and one in English.
If I use the command:
php maintenance/generateSitemap.php \
--fspath sitemap \
--server http://www.my-site.com \
--urlpath http://www.my-site.com/sitemap
For the wiki in Italian it all works perfectly, while if I use this command to the wiki in English, which is in the subfolder /en/:
php maintenance/generateSitemap.php \
--fspath manualsitemap \
--server http://www.my-site.com \
--urlpath http://www.my-site.com/en/manualsitemap
I get errors like this:
Sitemap: www.my-site.com/en/manualsitemap/sitemap-my-site_com-english_-NS_6-0.xml.gz
Error HTTP: 404
URL: /en/en-wiki/File:image.jpg
How can I fix it? 176.32.19.85 (talk) 16:15, 9 March 2017 (UTC)
- Error HTTP: 404 means a particular URL of your server points to a file or path that doesn't exist. If http://www.my-site.com/en/en-wiki/File:image.jpg isn't a valid URL on your server you should check if you made a typo in --urlpath Ciencia Al Poder (talk) 18:20, 10 March 2017 (UTC)
"project support desk"
- I'm having a difficult time logging in. 69.118.37.4 (talk) 22:18, 9 March 2017 (UTC)
- My name is Jon 69.118.37.4 (talk) 22:24, 9 March 2017 (UTC)
- media wiki 69.118.37.4 (talk) 22:45, 9 March 2017 (UTC)
- wiki commons 69.118.37.4 (talk) 22:47, 9 March 2017 (UTC)
- I have no idea what version it's an incredibly old laptop. we bought it probably 15 years ago it may be leopard. 69.118.37.4 (talk) 22:55, 9 March 2017 (UTC)
- media wiki 69.118.37.4 (talk) 23:09, 9 March 2017 (UTC)
- I'm not sure which version of computer or wiki you need. ? 69.118.37.4 (talk) 23:44, 9 March 2017 (UTC)
- I'm trying to log into the version I got today. I'm trying to create a new account. 69.118.37.4 (talk) 23:47, 9 March 2017 (UTC)
- not sure if that helps or not. 69.118.37.4 (talk) 23:55, 9 March 2017 (UTC)
- not really Ciencia Al Poder (talk) 18:20, 10 March 2017 (UTC)
- In order to help with the login issue, we would need to know, what the problem is.
- In which wiki does the problem happen?
- With what username?
- What exactly is it that is not working?
- How does the error look like?
- ... 83.135.236.2 (talk) 22:44, 10 March 2017 (UTC)
How do I change my password?
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 can change my Wikipedia password. How do I change my Miraheze password?
https://anjuna.miraheze.org/wiki/Main_Page Anjuna (talk) 09:43, 10 March 2017 (UTC)
- There is a "Forgot your password?" link under "Log in". Malyacko (talk) 14:57, 10 March 2017 (UTC)
title attribute bug
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.
Not sure if this is a bug or not, but there is a display error when you use a title attribute with a wikilink: "The USA is in North America." However, it doesn't seem to be replicated on MediaWiki.org: http://www.nicolesharp.net/wiki/sandbox "user:Nicole Sharp/sandbox" Nicole Sharp (talk) 13:34, 10 March 2017 (UTC)
- I've reported T160186. I was able to reproduce it on my installation on several versions (and current master) but unable to reproduce on mediawiki.org Ciencia Al Poder (talk) 18:14, 10 March 2017 (UTC)
- Thanks! I just found another weird bug:
[[image:AppalachianLocatorMap2.png|thumb|[[wikipedia:Appalachian Mountains|Appalachian Mountains]] [http://commons.wikimedia.org/wiki/Appalachian_Mountains] ]]- Unless that extra space is in there at the end, MediaWiki will not numberize the hyperlink, but that also doesn't seem to be replicated on MediaWiki.org. Nicole Sharp (talk) 18:19, 10 March 2017 (UTC)
- http://www.nicolesharp.net/wiki/sandbox#bug_two Nicole Sharp (talk) 18:18, 10 March 2017 (UTC)
- If you're still hanging around, what is your TidyConfig? I've closed the task in phab as invalid as I would guess you don't have Tidy turned on as expected. Izno (talk) 00:35, 17 August 2018 (UTC)
Extension:Lockdown
This extension is damaging the meta search engine of my wiki, can it be the version of the wiki (1.27.1)? or, what is it? Jcanos (talk) 14:57, 10 March 2017 (UTC)
- I don't understand what you mean by "damaging the meta search engine". Since I'm using the extension, I know it works, but I may be able to help if you can explain what sort of damage you are seeing. ☠MarkAHershberger☢(talk)☣ 21:09, 11 March 2017 (UTC)
- Hey. I think I know what he refers to. I posted something similar a while ago: https://www.mediawiki.org/wiki/Project%3ASupport%20desk/Flow/2017/02#h-Search_suggestions_%28autocomplete%29_not_working-2017-02-17T13%3A30%3A00.000Z
- And thanks to this post, I disabled Lockdown and search suggestions now work. Is there an alternative to it? At least for special pages? As I was using it only to lock a special page and have it accessible by bureaucrats. │Star-Warden│ 14:00, 12 March 2017 (UTC)
- You should use $wgGroupPermissions to control access to special pages, not Lockdown. ☠MarkAHershberger☢(talk)☣ 15:47, 13 March 2017 (UTC)
- Yes, but that one just gives me a list of available rights, rather than a specific way to block access to a special page. For example, what do I need to add to block access to exporting (as a user right, that is, as I read the information on how to altogether remove that special page)? │Star-Warden│ 14:23, 17 March 2017 (UTC)
- There are no permissions for exporting pages ... anyone is allowed to do that. Adding a right would be pretty easy, but we should really file a bug for that. ☠MarkAHershberger☢(talk)☣ 15:28, 17 March 2017 (UTC)
- Filed: https://phabricator.wikimedia.org/T160821 │Star-Warden│ 12:05, 18 March 2017 (UTC)
Possible Documentation Error in Qt4 step in Configure and Build 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.
Hello. I am trying to install VTK using Qt4 using the guide to this page (http://www.vtk.org/Wiki/VTK/Configure_and_Build). One of the steps in configuring Qt4.8 was running the following command:
cmake -DQT_QMAKE_EXECUTABLE:PATH=/path/to/qt-4.8.6-build/qt-everywhere-opensource-src-4.8.6/bin/qmake -DVTK_Group_Qt:BOOL=ON -DBUILD_SHARED_LIBRARIES:BOOL=ON /path/to/VTK
I had some trouble running this command, until I noticed that the -DQT_QMAKE_EXECUTABLE:PATH option gives the path includes qmake at the end. Once I removed qmake from the end of the option, I was able to run cmake no problem
I just wanted to post this as it seems like this may be a small documentation error that can throw off the installation. 165.230.224.12 (talk) 20:44, 10 March 2017 (UTC)
- Hi and welcome to the support desk of the MediaWiki software. Your question does not seem to be related to MediaWiki, hence you might have a better time asking in some forum on VTK. 83.135.236.2 (talk) 22:47, 10 March 2017 (UTC)
(Confused beginner) Accessing my wiki from anywhere
I want to find what is the web address for the wiki I made so that I can view and/or edit it even when I am not home...or otherwise, I want to know how I can set one a web address in this fashion.
Right now, it's just localhost/etcetc Sawtguren (talk) 04:10, 12 March 2017 (UTC)
- Which operating system are you using? MacOS, Linux or Windows? Depending on how you have setup your MediaWiki installation, the process can be as simple as just replacing "localhost" with your computer's IP address. AhmadF.Cheema (talk) 08:29, 12 March 2017 (UTC)
- > the process can be as simple as just replacing "localhost" with your computer's IP address.
- ...in $wgServer in LocalSettings.php. 83.135.233.12 (talk) 11:02, 12 March 2017 (UTC)
- I am using Windows. Also, replacing "localhost" with my IP address doesn't seem to work (I think?). Furthermore, if I even were to get it to work, I still don't know where to find the public web address. Sawtguren (talk) 11:28, 12 March 2017 (UTC)
- Are you running MediaWiki through XAMMP? AhmadF.Cheema (talk) 13:02, 12 March 2017 (UTC)
- Ah, yes. I am using XAMMP for that. Sawtguren (talk) 18:12, 12 March 2017 (UTC)
- You can usually access pages like https://www.whatismyip.com/ to see what's your IP address. Note that if you are hosting your wiki at home, you need to ensure your router forwards all traffic arriving from port 80 to your PC so it can be accessed from the internet. Also, your public IP address may be changing from time to time (or everytime you reset your router). However, you can use a service like www.noip.com to create a name and refer your wiki to that name instead of the IP, so you can just update the associated IP everytime your IP changes. Ciencia Al Poder (talk) 10:52, 13 March 2017 (UTC)
- Okay. I forwarded port 80 on my computer that has the localhost in it. I have also used noip,com to make a hostname of the style etcetc.hopto.org for that same computer (is that what I should have done, or did I need to actually do something involving the actual localhost?). How do I get a web address for my wiki from here? Sawtguren (talk) 23:20, 13 March 2017 (UTC)
- localhost/etcetc
- (your IP)/etcetc
- or even
- etcetc.hopto.org/etcetc Ciencia Al Poder (talk) 10:30, 14 March 2017 (UTC)
(Confused beginner) Where do I go to change administrative options such as wiki editing permission?
My question is in the title. I want to know how I can change my settings as an administrator on my wiki (the example of this I gave was changing editing/viewing permissions). There were such things in the wiki-setup, but now that the setup is complete, I want to know how I change them now.
Do I just go to LocalSettings.php and change the relavant values from false to true or vice-versa and such? For example
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['read'] = true;
means people other than me can view, but not edit, correct? Sawtguren (talk) 04:13, 12 March 2017 (UTC)
- Yes, you will just need to change the relevant code lines in LocalSettings.php.
- In your example, I'm not completely sure but I think this will, along with everyone else, will disable you from editing too. All users, including anonymous users, are in the
'*'group. - You will need to add something like the following after the above two lines to allow editing by the "sysop" group:
$wgGroupPermissions['sysop']['edit'] = true;- See Manual:User rights and Help:Assigning permissions. AhmadF.Cheema (talk) 08:24, 12 March 2017 (UTC)
- Additionally, Manual:$wgGroupPermissions has some helpful information.
- Note that permissions are cumulative: If one or more of the groups a user is in has a right, then the user will have it, even if some or even many of his groups do not have it. For example, imagine the following setup:
$wgGroupPermissions['*']['edit'] = false;$wgGroupPermissions['user']['edit'] = true;$wgGroupPermissions['sysop']['edit'] = false;- A user who is logged in and who is an administrator will have the edit right. And so will all users in the group "user".
- If you want it so that all normal users, those who are not logged in and those who are logged in, should not be able to edit, while administrators should be able to edit, then you should use
$wgGroupPermissions['*']['edit'] = false;$wgGroupPermissions['user']['edit'] = false;$wgGroupPermissions['sysop']['edit'] = true;83.135.233.12 (talk) 11:00, 12 March 2017 (UTC)- Ah, okay. Thanks for the explanations. I understand it now. Sawtguren (talk) 11:29, 12 March 2017 (UTC)
Problem with the templates
I have a problem with the templates. I put them first in the page, but I created it at the end, so the float: right does not and does not stay integrated with the text
This is the link: http://carnavalpedia.es/index.php?title=Comparsa_Los_Irracionales
and this is the template: http://carnavalpedia.es/index.php?title=Plantilla:Agrupaci%C3%B3n Voignar (talk) 11:43, 12 March 2017 (UTC)
- Not sure if it is what you mean, but adding a <div style="clear:both"></div> after the text (and before the Componentes) will keep the infobox and the text above the next heading. Clump (talk) 12:52, 13 March 2017 (UTC)
reset password
How I get password reset configuration in my site ? please help ShahadatHossain (talk) 14:02, 12 March 2017 (UTC)
- Your question seems a bit vague... Configuration is set in LocalSettings.php, there's no page to display the current values of all configuration settings of your wiki. Ciencia Al Poder (talk) 10:46, 13 March 2017 (UTC)
Constructed Fonts and Constructed Languages
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.
Mediawiki 1.27.1
Is there a way to support embedding of a non-installed font in articles on my wiki? If so, how is it done?
Thank you. http://wiki.worldofasdar.com 15:53, 12 March 2017 (UTC)
- Fonts can be embedded using CSS with the @font-face rule. The font file needs to be accessible somewhere from the internet. If you have filesystem access you can place it somewhere on the server, accessible from the internet.
- You can place CSS rules in pages used as interface as described in Manual:Interface/Stylesheets. Ciencia Al Poder (talk) 10:44, 13 March 2017 (UTC)
- Thank you Ciencia Al Poder.
- I will pursue the application of your helpful reply! :) http://wiki.worldofasdar.com 13:04, 13 March 2017 (UTC)
trying to install mediawiki
Hello,
I am trying to install mediawiki. I have a diskstation synology this is what uname -a says:
Linux cross 3.2.40 #15047 Tue Feb 14 02:38:20 CST 2017 armv7l GNU/Linux synology_armada370_216se
I have a virtual server pointing to the install directory of mediawiki and is setup with apache http server 2.2 and php 5.6.
I uploaded the folder to the location and then i did the install procedure in the brower. But when i am going to login it says:
There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again.
login also fails.
What can i do to fix this what is wrong why can i not login.
Appreciate advice on how to go ahead.
Mattias Disciplemattias (talk) 18:30, 12 March 2017 (UTC)
- Could you look over this thread and see if it helps? If you still have trouble, please post here, not there. ☠MarkAHershberger☢(talk)☣ 16:05, 13 March 2017 (UTC)
Hi i have searched about a hacker named Tolin John Thomas but i couldnt find any results. please help me wikipedia
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 have searched about a hacker named Tolin John Thomas but i couldnt find any results. please help me wikipedia 2.51.91.175 (talk) 19:28, 12 March 2017 (UTC)
- Wikipedia doesn't have pages for all the people. Maybe nobody has created it yet, specially if that person has not enough notability to be included on an encyclopedia. Ciencia Al Poder (talk) 10:40, 13 March 2017 (UTC)
How to force text in a table cell to wrap?
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 everyone, I have a little table like in the middle of this small page. I want to wrap the phrase :
Resource Growth Illustrations
like:
Resource Growth
Illustrations
How do I do this?
I know how to make header calls wrap, and in fact I did it for that table. But I can't figure out how to force text to wrap at an arbitrary place in table-body cells.
I tried making a small table here in this post but it auto-switches into some sort of auto-table maker that is not anything I am using. So I could not post an example here. (What is the software being used here that does that? That's interesting.)
Thanks if you can help! RedKnight7 (talk) 19:41, 12 March 2017 (UTC)
- You should set a width on the table cell, otherwise the table will try to expand to fill the available width.
- If you need to wrap text on a specific point, you can just insert a <br/> Ciencia Al Poder (talk) 10:39, 13 March 2017 (UTC)
- Ah, that's got it! I didn't think of a break.
- I didn't want to do a set width because that can be more work, and may lead to trouble in various devices. I just wanted a way to break it at one specific place. The
! - Thanks! RedKnight7 (talk) 23:51, 13 March 2017 (UTC)
Leave a redirect
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. Is there a way to have the "leave a redirect" checkbox unchecked by default? Gets pretty annoying when you have to move a ton of images/articles without wanting to leave redirects behind, but keep having to uncheck the option and even forget in some cases. I am thinking there has to be some sort of command line added to a certain file, but I wouldn't know what to add and where to add it. In this topic (Project:Support desk/Flow/2016/12#h-MediaWiki_"keep_me_logged_in"_set_default_true-Not_Found-2016-12-21T11:08:00.000Z), I have seen someone doing the opposite for "keep me logged in", so I figure it could work the other way around. 86.125.75.12 (talk) 14:35, 13 March 2017 (UTC)
- You could try adding the following to your MediaWiki:Common.js:
- ☠MarkAHershberger☢(talk)☣ 16:01, 13 March 2017 (UTC)
$("#wpLeaveRedirect input").prop("checked", false);
- It worked. Thank you very much! 86.125.75.12 (talk) 21:02, 13 March 2017 (UTC)
- Sorry to necro-bump, leaving an updated link for folks landing here via search (like me), working for vMW 1.39.4 is the code here: Project:Support desk/Flow/2020/02#h-Disable_or_Uncheck_"Leave_a_redirect_behind"-2020-02-26T04:59:00.000Z TiltedCerebellum (talk) 22:32, 29 July 2023 (UTC)
Translation of language names in magic word
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 trying to use {{#language:<code>|nan}} to get foreign languages' names for 'nan' (Min Nan) on Wikipedia, but it seems most translations were just copied from 'zh' which are incorrect for 'nan'. Can I modify the translations somewhere? A-lú-mih (talk) 16:11, 13 March 2017 (UTC)
- Translations for Wikipedia can be done on TranslateWiki: https://translatewiki.net/ ☠MarkAHershberger☢(talk)☣ 17:31, 14 March 2017 (UTC)
- Sorry for reopen the topic, but I couldn't find the specific entries for the language names that used by {{#language:}} magic word on translatewiki, that's why I ask question here. A-lú-mih (talk) 17:47, 14 March 2017 (UTC)
- I'm confused. Could you provide more details about what you want. An example would be good. ☠MarkAHershberger☢(talk)☣ 18:45, 14 March 2017 (UTC)
- I want to change certain translations of language names that provided by {{#language:<code>|nan}}. If I write magic word {{#language:ja|nan}}, the result I want is "Jit-pún-gí", but currently it provides me "日文", which is incompatible to the writing system on the nan (zh-min-nan) Wikipedia. A-lú-mih (talk) 19:24, 14 March 2017 (UTC)
- Interesting. I can't tell you where it comes from right now--though I suspect LanguageConverter--but it looks like you would need to file a task in Phabricator. If you do that, can you add me to the task or copy the task number back here. ☠MarkAHershberger☢(talk)☣ 19:58, 14 March 2017 (UTC)
- Also see {{#language:...}} should support variable language **output** as well as input (CLDR) for more hints. ☠MarkAHershberger☢(talk)☣ 20:07, 14 March 2017 (UTC)
- Yep, it is Extension:CLDR. It gets its data from the Unicode consortium: http://cldr.unicode.org/development/development-process for information on filing a bug. ☠MarkAHershberger☢(talk)☣ 20:22, 14 March 2017 (UTC)
- And, actually, it looks like zh-min-nan isn't in cldr (at least I couldn't find it) so you should probably look here: https://translatewiki.net/wiki/Translatewiki.net_languages ☠MarkAHershberger☢(talk)☣ 20:28, 14 March 2017 (UTC)
- Thanks for your help. I would do some research about CLDR. And it seems like I have to file a task on Phabricator. A-lú-mih (talk) 04:05, 15 March 2017 (UTC)
How do I rename (move) the page "Façade" to "Facade"?
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, but I got an error saying that the page already exists. Stefanomenci (talk) 16:19, 13 March 2017 (UTC)
- Could try just changing ç to a - and then a c (or some other character not related to it). In other words, do the move in 2 steps. DSquirrelGM𝓣𝓟𝓒 16:23, 13 March 2017 (UTC)
- It worked. I removed the ç, moved the page, added the c, moved the page. Stefanomenci (talk) 16:25, 13 March 2017 (UTC)
Godaddy quickinstall
What version of Mediawiki is offerred with QuickInstall Godaddy? 70.50.146.114 (talk) 19:28, 13 March 2017 (UTC)
- Have you asked Godaddy already in their forums? We (the MediaWiki community) do not know better which exact version some other 3rd party hosting websites offers... :) Malyacko (talk) 20:31, 13 March 2017 (UTC)
What is running this message thread?
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 everyone,
My second thread here, smile...
In my first one, I was surprised to find that you're using something for posting messages which interacts with the user. For example if I started putting the characters to form a table - { | - a little table-design popup appeared.
I don't know if it's a plugin or extension or what. I'm sure it's described here somewhere but because I do not know what description or words to look for, my eyes aren't finding it.
Or maybe it's something on my own vanilla Mediawiki installation that I didn't know to turn on?
Thanks if you can help! RedKnight7 (talk) 23:57, 13 March 2017 (UTC)
- I think you are looking for: Extension:VisualEditor. AhmadF.Cheema (talk) 05:06, 14 March 2017 (UTC)
- or, for the message threading system: Extension:Flow ☠MarkAHershberger☢(talk)☣ 17:33, 14 March 2017 (UTC)
Exporting a single old version of a page
On https://en.wikipedia.org/wiki/Special:Export how can I export a single, outdated version of a page? Thanks. Kbog (talk) 02:04, 14 March 2017 (UTC)
- Possibly relevant: Project:Support desk/Flow/2014/04#h-Export_old_revision-2014-04-18T13:43:00.000Z AhmadF.Cheema (talk) 05:04, 14 March 2017 (UTC)
- As alternative, you can include the full history of the page when exporting, and then when you've imported it, revert or undo the latest edits until you get the revision you want Ciencia Al Poder (talk) 10:35, 14 March 2017 (UTC)
update script
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.
How I can Run the update script update.php ? please help me ShahadatHossain (talk) 03:25, 14 March 2017 (UTC)
- Exactly which parts of this page: Manual:Update.php (the sections regarding how to run Update.php through command line or SSH shell) you are having trouble with? AhmadF.Cheema (talk) 04:58, 14 March 2017 (UTC)
Image Infobox / Summary isn't display
Hi. I can't create an image summary. On the file page I wrote
Summary
| Description |
DB 798 729 und Klv 53 0749 in Bahnhof Ringelstein. |
| Date | 2014-5-23 |
| Source | Flickr |
| Author | Klaus Brockmeier |
But when I save the changes, go back to View-tab I see only "Template:Information". (A link text for a new unwritten page.) Go to Edit-tab all entries are here. Go to View-tab only "Template:Information".
What do I wrong? Thanks, Martin 37.24.146.164 (talk) 03:43, 14 March 2017 (UTC)
- Additional Info: I use a self hosted fresh wiki setup. 2A02:908:2211:DB61:C95D:857:4613:1A25 (talk) 03:47, 14 March 2017 (UTC)
- It looks like you are trying to copy the source code of a template from another Wiki (like Wikipedia) into your own Wiki.
- The red "Template:Information" link indicates that your Wiki is looking for the Information template (need for the template you are trying to copy to work) which was present on the original Wiki and non-existent on yours. A template often makes use of several other independent templates to work properly.
- If this is the case, then you should use https://en.wikipedia.org/wiki/Special:Export which will automatically copy all the dependent templates too. AhmadF.Cheema (talk) 04:55, 14 March 2017 (UTC)
latest stable version of mediawiki
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.
We are currently using mediawiki 1.23.5. Can you please let me know the latest stable version of mediawiki? Ashni rai (talk) 08:59, 14 March 2017 (UTC)
- According to Download, the last stable version is 1.28.0. 1.23.5 is an LTS (Long term stable) release, so you may want to choose for version 1.27.0 instead as it is also an LTS release. —Mainframe98 talk 09:24, 14 March 2017 (UTC)
Content insert failed. See error log for details
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.
Good Day, hope someone can shed some light on this error. When users send in an email it does not populate on RT but viewing the email there is content within the email.
https://dl.dropboxusercontent.com/u/9782651/Error_RT.JPG 41.74.188.106 (talk) 13:42, 14 March 2017 (UTC)
- This is the support desk for MediaWiki. You should look somewhere on https://bestpractical.com/request-tracker for help. ☠MarkAHershberger☢(talk)☣ 17:28, 14 March 2017 (UTC)
Your edit has been rejected because your client mangled the punctuation characters in the edit token. The edit has been rejected to prevent corruption of the page text. This sometimes happens when you are using a buggy web-based anonymous proxy service.
Hi,
I cannot save or edit anything on our wiki page as the following message comes up when I try:
Your edit has been rejected because your client mangled the punctuation characters in the edit token. The edit has been rejected to prevent corruption of the page text. This sometimes happens when you are using a buggy web-based anonymous proxy service.
I have googled this a bit but cannot come up with a straightforward solution anywhere, or really an explanation of what exactly has gone wrong.
I would be supremely grateful if anyone could offer a solution or advice towards it?
Thanks! 81.156.6.246 (talk) 16:57, 14 March 2017 (UTC)
- Is your wiki public? Can you point to it?
- Is anyone else having the problem or is it just you?
- What web browser are you using? ☠MarkAHershberger☢(talk)☣ 18:51, 14 March 2017 (UTC)
- Thanks Mark - the wiki is for private use so we can't point you to it I don't think. However, all users in the office are having the same issue across different computers using different browsers. It's unclear to us what exactly changed, as to our knowledge nothing was altered before it stopped working? 81.156.6.246 (talk) 13:53, 15 March 2017 (UTC)
- The error message thrown is MediaWiki:Token suffix mismatch.
- The form on the edit page has a hidden value, which is the edit token. This edit token should always be returned exactly as is. This error indicates that it was not, and there can be various places that could have broken it. From your browser (due to a browser extensions messing with the value) to an incorrectly configured webserver and any party in between (if you are not using https).
- This might also be due to usage of PHP 5.2.7 https://phabricator.wikimedia.org/T18570 —TheDJ (Not WMF) (talk • contribs) 10:52, 15 March 2017 (UTC)
- Thanks - we're using PHP 5.2.17 and haven't updated for some time, so I don't really know why this would suddenly have happened - but different users in our office on different computers using different browsers all started encountering this problem, though without having changed anything that we are aware of? What would be the most straightforward fix for this? Updating the PHP or version? Or something more direct?
- Thanks.. 81.156.6.246 (talk) 14:14, 15 March 2017 (UTC)
- What version of MW are you on? Can you upgrade? PHP 5.2.7 is quite old. ☠MarkAHershberger☢(talk)☣ 15:35, 16 March 2017 (UTC)
- The field responsible for this check is wpUnicodeCheck, and contains the string "ℳ𝒲♥𝓊𝓃𝒾𝒸ℴ𝒹ℯ"
- The problem may be that your server is incorrectly configured, and is sending pages with a non-unicode charset (like latin1 or iso-8859-1) instead of utf-8, which would cause the browser to interpret unicode strings as garbage characters. Open the developer tools of your browser (hit F12), look at the network tab and reload the page. The first request to the page should return this header:
content-type: text/html; charset=UTF-8- If it returns any other charset value, it's wrong, and your webserver is forcing it somehow. Ciencia Al Poder (talk) 10:19, 23 January 2019 (UTC)
Error "Sessions are supposed to be disabled for this entry point"
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.
We are busy upgrading our wiki from MW 1.27.1 to version 1.28.
I encounter an error: Console tab of the browser gives "Fatal exception of type "BadMethodCallException" (load.php?debug=false&lang=nl&modules=startup&only=scripts&skin=vector:formatted:5)".
After adding "$wgShowExceptionDetails = true;" to LocalSettings.php it gives "/wiki/portfoliotest/wiki/load.php?debug=false&lang=nl&modules=startup&only=scripts&skin=vector BadMethodCallException from line 845 of /home/test/mediawiki/core/includes/session/SessionManager.php: Sessions are disabled for this entry point".
How do I fix this?
Release notes/1.28 says "The load.php entry point now enforces the existing policy of not allowing access to session data, which includes the session user and the session user's language. If such access is attempted, an exception will be thrown".
Manual:Load.php gives "Code executed via load.php should not rely on the user's session as its results will be cached and sent to other users. Starting from MW 1.28, this is enforced and a "Sessions are supposed to be disabled for this entry point" exception will be thrown if a session access is attempted. See these tips on how to fix".
But "these tips" (Manual:SessionManager and AuthManager/Updating tips#Exception .22Sessions are supposed to be disabled for this entry point.22) doesn't help me further (well, I don't fully understand the solution). Waanders (talk) 17:57, 14 March 2017 (UTC)
- Is there any backtrace provided? If your wiki is public, can you point to it? ☠MarkAHershberger☢(talk)☣ 18:47, 14 March 2017 (UTC)
- No, not a public wiki.
- This will help?
[resourceloader] Calculating version hash failed: [Exception BadMethodCallException( .../core/includes/session/SessionManager.php:845) Sessions are disabled for this entry point] #0 .../includes/session/SessionManager.php(308): MediaWiki\Session\SessionManager->getSessionFromInfo(MediaWiki\Session\SessionInfo, WebRequest) #1 .../includes/session/SessionManager.php(242): MediaWiki\Session\SessionManager->getEmptySessionInternal(WebRequest) #2 .../includes/session/SessionManager.php(192): MediaWiki\Session\SessionManager->getEmptySession(WebRequest) #3 .../includes/WebRequest.php(735): MediaWiki\Session\SessionManager->getSessionForRequest(WebRequest) #4 .../includes/user/User.php(1199): WebRequest->getSession() #5 .../includes/user/User.php(404): User->loadFromSession() #6 .../includes/user/User.php(5125): User->load() #7 .../includes/user/User.php(2768): User->loadOptions() #8 .../includes/context/RequestContext.php(364): User->getOption(string) #9 .../includes/StubObject.php(207): RequestContext->getLanguage() #10 .../includes/StubObject.php(169): StubUserLang->_newObject() #11 .../includes/StubObject.php(112): StubObject->_unstub(string, integer) #12 .../includes/StubObject.php(139): StubObject->_call(string, array) #13 .../extensions/SemanticMediaWiki/src/DataTypeRegistry.php(126): StubObject->__call(string, array) #14 .../extensions/SemanticMediaWiki/src/DataTypeRegistry.php(126): StubUserLang->getCode() #15 .../extensions/SemanticMediaWiki/src/DataValueFactory.php(57): SMW\DataTypeRegistry::getInstance() #16 .../extensions/SemanticMediaWiki/src/InTextAnnotationParser.php(88): SMW\DataValueFactory::getInstance() #17 .../extensions/SemanticMediaWiki/src/ApplicationFactory.php(235): SMW\InTextAnnotationParser->__construct(SMW\ParserData, SMW\MediaWiki\MagicWordsFinder, SMW\MediaWiki\RedirectTargetFinder) #18 .../extensions/SemanticMediaWiki/src/MediaWiki/Hooks/InternalParseBeforeLinks.php(108): SMW\ApplicationFactory->newInTextAnnotationParser(SMW\ParserData) #19 .../extensions/SemanticMediaWiki/src/MediaWiki/Hooks/InternalParseBeforeLinks.php(62): SMW\MediaWiki\Hooks\InternalParseBeforeLinks->performUpdate() #20 .../extensions/SemanticMediaWiki/src/MediaWiki/Hooks/HookRegistry.php(204): SMW\MediaWiki\Hooks\InternalParseBeforeLinks->process() #21 [internal function]: SMW\MediaWiki\Hooks\HookRegistry->SMW\MediaWiki\Hooks\{closure}(Parser, string, StripState) #22 .../includes/Hooks.php(195): call_user_func_array(Closure, array) #23 .../includes/parser/Parser.php(1277): Hooks::run(string, array) #24 .../includes/parser/Parser.php(441): Parser->internalParse(string) #25 .../includes/cache/MessageCache.php(1124): Parser->parse(string, Title, ParserOptions, boolean) #26 .../includes/Message.php(1152): MessageCache->parse(string, Title, boolean, boolean, Language) #27 .../includes/Message.php(828): Message->parseText(string) #28 .../includes/Message.php(890): Message->toString() #29 .../extensions/VisualEditor/VisualEditorDataModule.php(25): Message->parse() #30 .../includes/resourceloader/ResourceLoaderModule.php(627): VisualEditorDataModule->getScript(DerivativeResourceLoaderContext) #31 .../includes/resourceloader/ResourceLoaderModule.php(595): ResourceLoaderModule->buildContent(DerivativeResourceLoaderContext) #32 .../includes/resourceloader/ResourceLoaderModule.php(743): ResourceLoaderModule->getModuleContent(DerivativeResourceLoaderContext) #33 .../includes/resourceloader/ResourceLoader.php(624): ResourceLoaderModule->getVersionHash(DerivativeResourceLoaderContext) #34 [internal function]: ResourceLoader->{closure}(string) #35 .../includes/resourceloader/ResourceLoader.php(625): array_map(Closure, array) #36 .../includes/resourceloader/ResourceLoaderStartUpModule.php(404): ResourceLoader->getCombinedVersion(DerivativeResourceLoaderContext, array) #37 .../includes/resourceloader/ResourceLoaderStartUpModule.php(377): ResourceLoaderStartUpModule->getAllModuleHashes(DerivativeResourceLoaderContext) #38 .../includes/resourceloader/ResourceLoaderModule.php(746): ResourceLoaderStartUpModule->getDefinitionSummary(DerivativeResourceLoaderContext) #39 .../includes/resourceloader/ResourceLoader.php(624): ResourceLoaderModule->getVersionHash(ResourceLoaderContext) #40 [internal function]: ResourceLoader->{closure}(string) #41 .../includes/resourceloader/ResourceLoader.php(625): array_map(Closure, array) #42 .../includes/resourceloader/ResourceLoader.php(709): ResourceLoader->getCombinedVersion(ResourceLoaderContext, array) #43 .../load.php(53): ResourceLoader->respond(ResourceLoaderContext) #44 {main}- It's from the $wgDebugLogFile file.
- Thanks for your help! Waanders (talk) 20:22, 14 March 2017 (UTC)
- This SMW issue looks like your bug. Did you upgrade SMW? ☠MarkAHershberger☢(talk)☣ 23:07, 14 March 2017 (UTC)
- Indeed SMW 2.4.x is not compatible with MW 1.28. Just today SMW 2.5.0 was released. MW 1.28 is painful for another reason too: See here. [[kgh]] (talk) 00:10, 15 March 2017 (UTC)
- I did upgrade to SMW 2.4.6 and got that error, now I've upgraded to 2.5 and the error has disappeared. Thanks!
- "Indeed SMW 2.4.x is not compatible with MW 1.28". MW 1.28 was released 2016-11-28, so SMW-users had to wait for 3 months+ upgrading to 1.28? Waanders (talk) 10:24, 15 March 2017 (UTC)
- Not only that, but there are a lot of annoying bugs in 1.27.1 (an LTS, remember) fixed in 1.27.2 but there hasn't been a release since more than 6 months... Ciencia Al Poder (talk) 10:31, 15 March 2017 (UTC)
- @Kghbln @Ciencia Al Poder "MW 1.28 is painful for another reason" and "there are a lot of annoying bugs in 1.27.1". So? Wait for 1.28.1? Wait for 1.27.2? Waanders (talk) 11:21, 15 March 2017 (UTC)
- Here Project:Support desk/Flow/2017/03#h-Page_propagation_into_categories_stopped-2017-03-09T12:24:00.000Z I read "1.28.0 is broken so wait for 1.28.1 eventually". Same at Talk:MediaWiki 1.28#h-Categories_not_automatically_updated-2017-03-11T23:55:00.000Z Waanders (talk) 11:34, 15 March 2017 (UTC)
- Indeed we are in a difficult situation since WMF does no longer seem to do point releases for maintenance fixes. So we have to wait for the next security issue to arise I'm afraid. What I do is to use branch master for both branches but this is not an option for most shared hosting users. Yes, waiting for the next releases to 1.27 and 1.28 seems to be the best choice. [[kgh]] (talk) 14:50, 15 March 2017 (UTC)
- 1.28.1 will take some time: https://lists.wikimedia.org/pipermail/mediawiki-l/2017-March/046423.html Waanders (talk) 15:00, 15 March 2017 (UTC)
- @Kghbln What exactly do you mean by "to use branch master for both branches"? Waanders (talk) 15:00, 15 March 2017 (UTC)
- Fixes to both branches were already merged. So if you use Git than you update to master (latest revision) of the respective branch. A point release only includes the latest revision on the release date. [[kgh]] (talk) 15:02, 15 March 2017 (UTC)
- "both branches"? Which branches? Fixing Talk:MediaWiki 1.28#h-Categories_not_automatically_updated-2017-03-11T23:55:00.000Z and Project:Support desk/Flow/2017/03#h-Page_propagation_into_categories_stopped-2017-03-09T12:24:00.000Z? Waanders (talk) 15:24, 15 March 2017 (UTC)
- Every major version is developed on a branch after release, so there is a branch for 1.27 and one for 1.28 and these branches get fixed specific to that version. The category issue e.g. is on the 1.28 branch whereas other issues were fixed on the 1.27 as well. Since you are using point release you do not need to worry about this. Just wait for the next releases. [[kgh]] (talk) 16:33, 15 March 2017 (UTC)
- I believe that your original issue was solved by upgrading to SMW 2.5.0 thus closing this thread. [[kgh]] (talk) 16:37, 15 March 2017 (UTC)
- @Kghbln https://lists.wikimedia.org/pipermail/mediawiki-announce/2017-April/000206.html Waanders (talk) 08:43, 6 April 2017 (UTC)
- I'm using private wiki which have MW 1.28.1 and SWM 2.5.0 on debian+Apache+PHP 5.6.30+MySql 5.6.35.
- When I use wiki at desktop it works well and it's possible to view at mobile page. But I can not edit the page at mobile view.
- As soon as I switch to mobile view, I got a error below at a browser console.
Trying to edit a page, it try to go to editor but fail and return to page.[7e95061a17c72f3ca98427ea] /load.php?debug=false&lang=ko&modules=ext.relatedArticles.readMore.bootstrap%2Cgateway%7Cjquery.byteLength%2Ccookie%2Cthrottle-debounce%7Cmediawiki.Title%2CUri%2Capi%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Crouter%2Cstorage%2Cuser%2Cviewport%7Cmediawiki.api.user%7Cmediawiki.language.data%2Cinit%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.template.regexp%7Cmediawiki.ui.input%7Cmobile.ajax%2Cbetaoptin%2Ccache%2Ccontext%2Cdrawers%2Cissues%2CmodifiedBar%2Coverlays%2Cpagelist%2Creferences%2Csearch%2Csettings%2Csite%2Cstartup%2Ctoast%2Ctoggle%2Cuser%2Cwatchstar%7Cmobile.editor.api%7Cmobile.issues.images%7Cmobile.loggingSchemas.edit%2CmobileWebSearch%7Cmobile.overlay.images%7Cmobile.pagelist.scripts%2Cstyles%7Cmobile.pagesummary.styles%7Cmobile.references.gateway%2Cimages%7Cmobile.search.images%2Cutil%7Coojs-router%7Cskins.minerva.editor%2Cscripts%2Ctalk%2Ctoggling%2Cwatchstar%7Cskins.minerva.icons.images.scripts%2Cvariants%7Cuser.defaults&skin=minerva&version=0e25361 BadMethodCallException from line 845 of /opt/bitnami/apps/mediawiki/htdocs/includes/session/SessionManager.php: Sessions are disabled for this entry point
Meanwhile, I have some login issue. I login my wiki and set to remember me. But 10 min later, the wiki ask me to log in./load.php?debug=false&lang=ko&modules=mobile.search%7Cskins.minerva.editor%2Cscripts%2Ctalk%2Ctoggling%2Cwatchstar&skin=minerva&version=1z0hv18 BadMethodCallException from line 845 of /opt/bitnami/apps/mediawiki/htdocs/includes/session/SessionManager.php: Sessions are disabled for this entry point
- I know there is several thread talking about similar issue. But not yet find a solution.
- I hope someone give me a kind advice to solve my issues. Naramoksu (talk) 02:20, 25 April 2017 (UTC)
- Are you using the WikiEditor? If yes, than mobile editing is broken and will not be fixed. People are focusing on some new editing method. Do not hold your breath since it will from experience presumably take a couple of years if this one will enter beta status.
- Did you set
$wgSessionCacheType = CACHE_DB;, if not this should fix you second issue. [[kgh]] (talk) 06:45, 25 April 2017 (UTC) - Kghbln,
- I disabled the WikiEditor but mobile editing was not possible. And error "Sessions are disabled for this entry point" happened.
- At a link in your comment, I found good tip. After I insert $wgMFAllowNonJavaScriptEditing = true; to LocalSettings.php, I can edit a page at mobile view. I think it is not mobile edit I used before I upgrade to 1.28. Anyway I can edit a page on my phone.
- Thanks.
- Naramoksu (talk) 08:13, 25 April 2017 (UTC)
- Thanks for reporting back. So this turns out to be a WikiEditor issue. [[kgh]] (talk) 13:55, 25 April 2017 (UTC)
- This fixed it for me:
- Open DevTools in your browser and go to the Console window
- Go to a page in your wiki
- Check for BadMethodCallException (it should be displayed even if you do not click Edit to start VisualEditor):
- If that is the case get the newer version of VisualEditor for your MediaWiki installation (for MediaWiki 1.28 use VisualEditor for 1.27) and replace the existing VisualEditor files in the extension folder. The one from the Extension Distributor worked for me: Special:ExtensionDistributor/VisualEditor J. Xavier Atero 22:17, 6 November 2017 (UTC)
[58e7ec1228f8444ce4c92c47] /.../load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector BadMethodCallException from line 845 of /.../MediaWiki/includes/session/SessionManager.php: Sessions are disabled for this entry point
Installation issue on IIS Windows 2008 server
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.
Weird this. Have got other php based stuff working fine (like LiveZilla) and phpinfo works fine on the same server. Have unpacked download to a web folder, have set entire folder tree to "Full Control" permission for IIS_IUSRS and IUSR just in case, but I get this when running http://localhost:7777/mw-config/index.php
Warning: mkdir(): Permission denied in C:\inetpub\phpSites\MediaWiki\includes\libs\filebackend\fsfile\TempFSFile.php on line 103
Fatal error: Uncaught Error: Call to a member function getIP() on null in C:\inetpub\phpSites\MediaWiki\includes\user\User.php:2116 Stack trace: #0 C:\inetpub\phpSites\MediaWiki\includes\session\SessionBackend.php(712): User->getName() #1 C:\inetpub\phpSites\MediaWiki\includes\session\SessionBackend.php(596): MediaWiki\Session\SessionBackend->save() #2 [internal function]: MediaWiki\Session\SessionBackend->MediaWiki\Session\{closure}() #3 C:\inetpub\phpSites\MediaWiki\vendor\wikimedia\scoped-callback\src\ScopedCallback.php(76): call_user_func_array(Object(Closure), Array) #4 C:\inetpub\phpSites\MediaWiki\vendor\wikimedia\scoped-callback\src\ScopedCallback.php(56): Wikimedia\ScopedCallback->__destruct() #5 C:\inetpub\phpSites\MediaWiki\includes\session\SessionManager.php(883): Wikimedia\ScopedCallback::consume(NULL) #6 C:\inetpub\phpSites\MediaWiki\includes\session\SessionManager.php(194): MediaWiki\Session\SessionManager->getSessionFromInfo(Object(MediaWiki\Session\SessionInfo), Object(WebRequest)) #7 C:\inetpub\phpSites\ in C:\inetpub\phpSites\MediaWiki\includes\user\User.php on line 2116
Fatal error: Uncaught Error: Call to a member function getIP() on null in C:\inetpub\phpSites\MediaWiki\includes\user\User.php:2116 Stack trace: #0 C:\inetpub\phpSites\MediaWiki\includes\session\SessionBackend.php(712): User->getName() #1 C:\inetpub\phpSites\MediaWiki\includes\session\SessionBackend.php(197): MediaWiki\Session\SessionBackend->save(true) #2 C:\inetpub\phpSites\MediaWiki\includes\session\SessionManager.php(472): MediaWiki\Session\SessionBackend->shutdown() #3 [internal function]: MediaWiki\Session\SessionManager->shutdown() #4 {main} thrown in C:\inetpub\phpSites\MediaWiki\includes\user\User.php on line 2116 85.118.2.11 (talk) 11:09, 15 March 2017 (UTC)
- Problem solved. There was no sys_temp_dir set up and that was where the issue was. I set one up in php.ini and set the permissions and bingo - all works fine. 85.118.2.11 (talk) 11:23, 15 March 2017 (UTC)
LDAP authentication
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 have installed Mediawiki 1.28 with LdapAuthentication extension, but quen I try to log in I received this error ...
Auto-creation of a local account failed:
Automatic account creation is not allowed
and the log tracer is
- [authentication] Primary login with MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider:LdapAuthenticationPlugin succeeded
- [authentication] Auto-creating Fbordini on login
- [authentication] MediaWiki\Auth\AuthManager::autoCreateUser: blacklisted in session a35a4ir276kstj1umrkdbapsrqfu9k3o
so ... the ldap authentication is done, but I don't want to create a local user.
How can I resolve this?
Thanks Fbordini (talk) 12:58, 15 March 2017 (UTC)
- I solved ... Fbordini (talk) 16:27, 15 March 2017 (UTC)
- A comment about how did you solved it would help other people Ciencia Al Poder (talk) 10:17, 16 March 2017 (UTC)
Preferences page problems.
1.27.1
Since a drive failure and re-install I've been able to fix everything except the pages off https://wiki.finux.org/index.php/Special:Preferences#mw-prefsection-personal where the User profile page/tab comes up by default but clicking on any of the others; Appearance for example generate no action at all. Nothing shows up in the debug log at all but the URL does change to https://wiki.finux.org/index.php/Special:Preferences#mw-prefsection-rendering as one example. Any idea what to look at? Tried multiple browsers. 104.249.227.154 (talk) 14:51, 15 March 2017 (UTC)
- [7879f9a526982d819dcf473d] 2017-03-15 14:40:48: Fatal exception of type DBQueryError
- Got this from Chrome. 104.249.227.154 (talk) 14:56, 15 March 2017 (UTC)
- also Problematic modules: {"startup":"error"} 104.249.227.154 (talk) 14:59, 15 March 2017 (UTC)
- I went to look, but it looks like you've taken the wiki down. I would look for errors in the browser's console. ☠MarkAHershberger☢(talk)☣ 15:49, 16 March 2017 (UTC)
File Download
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 trying to keep my videos from being downloaded, is there any way? Jcanos (talk) 15:04, 15 March 2017 (UTC)
- Not upload them in the first place? The rule of thumb on the internet is; once it's online, it stays online. Is this specifically related to MediaWiki? —Mainframe98 talk 16:12, 15 March 2017 (UTC)
- Sorry, the idea is that they can not be downloaded. :S Jcanos (talk) 16:19, 15 March 2017 (UTC)
- Does img_auth work for you? But, yes, if someone can view it, they can download it. See the download tools for Youtube as proof. ☠MarkAHershberger☢(talk)☣ 15:47, 16 March 2017 (UTC)
SUPPORT MESSAGE
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 read stopped message on my inbox,which is giving me concern about my aim of doing well online.I am using the little money I have, to deliver this work online. I promise to perform better than this.Thanks. Hamad olatunde (talk) 15:52, 15 March 2017 (UTC)
- Thanks for the info. [[kgh]] (talk) 16:35, 15 March 2017 (UTC)
Rebuild SearchIndex after DB Migration
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 recently followed the instructions found at http://www.linuxintro.org/wiki/Migrating_mediawiki_from_mysql_to_sqlite to move my database form MySql to SQLITE3. In doing this, everything went pretty smoothly, however searches just don't work anymore. The only way a search works is if I have the exact name of the page, in my search. Obviously this removes the best benefit of a search. I found through some research that I need to try to rebuild the searchindex table, but to do this I need to run the update.php. When I do this, I get an error. Anyone know how to get around this so I can try to rebuild my searchindex?
MediaWiki 1.25.1 Updater
Your composer.lock file is up to date with current dependencies!
Going to run database updates for wikidb
Using SQLite file: '/path/to/our/db/sqlite3/wikidb.sqlite'
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds (skip this countdown with --quick) ... 0
Turning off Content Handler DB fields for this part of upgrade.
...have ss_active_users field in site_stats table.
...ss_active_users user count set...
...have ipb_allow_usertalk field in ipblocks table.
Adding initial indexes ...PHP Notice: Uninitialized string offset: 0 in /path/to/ourwiki/wiki/includes/db/Database.php on line 2717
Notice: Uninitialized string offset: 0 in /path/to/ourwiki/wiki/includes/db/Database.php on line 2717
PHP Notice: Uninitialized string offset: 0 in /path/to/ourwiki/wiki/includes/db/Database.php on line 2717
Notice: Uninitialized string offset: 0 in /path/to/ourwiki/wiki/includes/db/Database.php on line 2717
A database query error has occurred.
Query: CREATE TABLE archive_tmp (
ar_id NOT NULL PRIMARY KEY clustered IDENTITY,
ar_namespace INTEGER NOT NULL DEFAULT 0,
ar_title NVARCHAR(255) NOT NULL DEFAULT '',
ar_text NVARCHAR(MAX) NOT NULL,
ar_comment NVARCHAR(255) NOT NULL,
ar_user INTEGER NULL REFERENCES [user](user_id) ON DELETE SET NULL,
ar_user_text NVARCHAR(255) NOT NULL,
ar_timestamp TEXT NOT NULL DEFAULT GETDATE(),
ar_minor_edit BIT NOT NULL DEFAULT 0,
ar_flags NVARCHAR(255) NOT NULL,
ar_rev_id INTEGER,
ar_text_id INTEGER,
ar_deleted BIT NOT NULL DEFAULT 0,
ar_len INTEGER DEFAULT NULL,
ar_page_id INTEGER NULL,
ar_parent_id INTEGER NULL
)
Function: DatabaseBase::sourceFile( /path/to/ourwiki/wiki/maintenance/sqlite/archives/initial-indexes.sql )
Error: 1 near "clustered": syntax error Cbo0485 (talk) 19:13, 15 March 2017 (UTC)
- What version of sqlite are you using? ☠MarkAHershberger☢(talk)☣ 15:43, 16 March 2017 (UTC)
- sqlite3 --version
- 3.6.20 Cbo0485 (talk) 17:31, 16 March 2017 (UTC)
- Don't like bumping threads, but i'm really stuck at this point, anyone seen this before and know how to fix it? Cbo0485 (talk) 14:17, 21 March 2017 (UTC)
- I got similar errors, but hadn't chased them down. Is there a reason you want to use SQLite? ☠MarkAHershberger☢(talk)☣ 15:36, 21 March 2017 (UTC)
- Unfortunately don't have a choice in the matter, MySQL being pushed out and this was the quickest path to getting something done. Cbo0485 (talk) 18:43, 21 March 2017 (UTC)
- Had the same problem and was stuck with Debian/Stretch sqlite3-3.16.2 which seemed to be unable to understand the clustered keyword. Upgrading to sqlite3-3.26.0 (via stretch backports) helped and I was able to run the MediaWiki 1.29.1 Updater. Yay!
\o/Evilninja (talk) 08:30, 29 January 2019 (UTC)
Extension:UrlShortener
In my site , Extension:UrlShortener show short url in sidebar but I want to set it after every page name . Please tell me the way ? thanks ShahadatHossain (talk) 19:13, 15 March 2017 (UTC)
- Your question is very unclear. What is the problem? 83.135.237.114 (talk) 21:50, 15 March 2017 (UTC)
Issue in Upgrading Mediawiki 1.23.5 to 1.27.1
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. We are trying to upgrade our mediawiki but while executing the upgrade command in Sql Command line we are not able to navigate to the update.php file location.
Like is there any alternate command for the following command.
cd C:\MediaWiki\mediawiki-1.27.1\maintenance
Thanks Gowtham.k (talk) 10:42, 16 March 2017 (UTC)
while upgrading using web updater below error is found
Existing wiki
[5e85edc8bba4192bf7102af1] /mediawiki-1.27.1/mw-config/?page=ExistingWiki MWException from line 335 of C:\MediaWiki\mediawiki-1.27.1\includes\MagicWord.php: Error: invalid magic word 'noglossary'
Backtrace:
#0 C:\MediaWiki\mediawiki-1.27.1\includes\MagicWord.php(260): MagicWord->load(string)
#1 C:\MediaWiki\mediawiki-1.27.1\includes\MagicWordArray.php(99): MagicWord::get(string)
#2 C:\MediaWiki\mediawiki-1.27.1\includes\MagicWordArray.php(122): MagicWordArray->getBaseRegex()
#3 C:\MediaWiki\mediawiki-1.27.1\includes\MagicWordArray.php(269): MagicWordArray->getRegex()
#4 C:\MediaWiki\mediawiki-1.27.1\includes\parser\Parser.php(4363): MagicWordArray->matchAndRemove(string)
#5 C:\MediaWiki\mediawiki-1.27.1\includes\parser\Parser.php(1268): Parser->doDoubleUnderscore(string)
#6 C:\MediaWiki\mediawiki-1.27.1\includes\parser\Parser.php(446): Parser->internalParse(string)
#7 C:\MediaWiki\mediawiki-1.27.1\includes\installer\Installer.php(635): Parser->parse(string, Title, ParserOptions, boolean)
#8 C:\MediaWiki\mediawiki-1.27.1\includes\installer\WebInstaller.php(681): Installer->parse(string, boolean)
#9 C:\MediaWiki\mediawiki-1.27.1\includes\installer\WebInstallerExistingWiki.php(104): WebInstaller->getInfoBox(string)
#10 C:\MediaWiki\mediawiki-1.27.1\includes\installer\WebInstallerExistingWiki.php(92): WebInstallerExistingWiki->showKeyForm()
#11 C:\MediaWiki\mediawiki-1.27.1\includes\installer\WebInstaller.php(279): WebInstallerExistingWiki->execute()
#12 C:\MediaWiki\mediawiki-1.27.1\mw-config\index.php(80): WebInstaller->execute(array)
#13 C:\MediaWiki\mediawiki-1.27.1\mw-config\index.php(38): wfInstallerMain()
#14 {main} Gowtham.k (talk) 12:18, 16 March 2017 (UTC)
Broken links
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 trying to research who Joseph Smith married and when, but every link that sounds interesting on that topic seems to be broken. Can you check the links on the polygamy page please? Thank you. 168.103.41.190 (talk) 17:18, 16 March 2017 (UTC)
- This is the support page for MediaWiki. If you have questions about the English Wikipedia, I recommend the Village Pump. ☠MarkAHershberger☢(talk)☣ 21:26, 16 March 2017 (UTC)
Self-signed certificate support for Libreswan
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,
We're migrating from openswan to libreswan (Linux Libreswan 3.15 (netkey) on 2.6.32-573.18.1.el6.x86_64)
Essentially our goal is set up site-to-site VPNs, but use self-signed certificates instead of ones issued from a common CA. This used to work fine with OpenSwan earlier, but stops working with Libreswan.
Is this a restriction in Libreswan and is there anyway to work around it. The errors we see are:
106 "7834768047_x509" #3: STATE_MAIN_I2: sent MI2, expecting MR2
003 "7834768047_x509" #3: NAT-Traversal: Result using RFC 3947 (NAT-Traversal) sender port 500: no NAT detected
002 "7834768047_x509" #3: I am sending my cert
002 "7834768047_x509" #3: I am sending a certificate request
002 "7834768047_x509" #3: NSS Password file "/etc/ipsec.d/nsspassword" does not contain token 'NSS Certificate DB'
002 "7834768047_x509" #3: NSS Password file "/etc/ipsec.d/nsspassword" does not contain token 'NSS Certificate DB'
003 "7834768047_x509" #3: Can't find the private key from the NSS CERT (err -8177)
003 "7834768047_x509" #3: unable to locate my private key for RSA Signature
224 "7834768047_x509" #3: STATE_MAIN_I2: AUTHENTICATION_FAILED
002 "7834768047_x509" #3: sending notification AUTHENTICATION_FAILED to 10.126.155.252:500
Note: We have things working with a CA signed certificate - but need to know if self-signed certificates do work. At the moment - we aren't able to get this to work.
Regards,
Mihir Mihirshirali (talk) 19:12, 16 March 2017 (UTC)
- This is the support desk for MediaWiki. You should ask for help on the libreswan mailing list. ☠MarkAHershberger☢(talk)☣ 21:24, 16 March 2017 (UTC)
Page title
Hi. I'd like to know how to hide the title of a page. Thank you. 186.188.166.131 (talk) 21:31, 16 March 2017 (UTC)
- Displaytitle? ☠MarkAHershberger☢(talk)☣ 22:43, 16 March 2017 (UTC)
- See also Manual:FAQ#How do I hide the main page title? (can be used for other pages too) Ciencia Al Poder (talk) 10:48, 17 March 2017 (UTC)
What is Wiki..For real old timers
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.
Give me an explanation of Wikki..What is it??? 69.19.45.180 (talk) 22:42, 16 March 2017 (UTC)
- A wiki (i/ˈwɪki/ WIK-ee) is a website that provides collaborative modification of its content and structure directly from the web browser. In a typical wiki, text is written using a simplified markup language (known as "wiki markup") and often edited with the help of a rich-text editor. A wiki is run using wiki software, otherwise known as a wiki engine. There are dozens of different wiki engines in use, both standalone and part of other software, such as bug tracking systems. Some wiki engines are open source, whereas others are proprietary. Some permit control over different functions (levels of access); for example, editing rights may permit changing, adding or removing material. Others may permit access without enforcing access control. Other rules may also be imposed to organize content. A wiki engine is a type of content management system, but it differs from most other such systems, including blog software, in that the content is created without any defined owner or leader, and wikis have little implicit structure, allowing structure to emerge according to the needs of the users. ☠MarkAHershberger☢(talk)☣ 23:07, 16 March 2017 (UTC)
1.28: how to get rid of that annoying confirmation screen on page refresh?
Since I upgraded to MW 1.28, every time I refresh a page I'm getting an intermediate page asking me to confirm before actually purging a page's content. How can we restore this new behaviour? Is there perhaps a configuration parameter allowing us to do so? Cavila 07:06, 17 March 2017 (UTC)
- action=purge needs to be sent through a POST, not GET (see T135170, so if you're following a link for action=purge (using a gadget or custom script) you'll see this behavior. You should modify it so JavaScript intercepts that click and perform a POST request instead of GET (like a form submit) Ciencia Al Poder (talk) 10:46, 17 March 2017 (UTC)
- Thanks - it's just a link in the edit menu. I'll see if I can get a widget to use the API instead. Cavila 15:27, 17 March 2017 (UTC)
Edittools bar on top
On my local wiki I'm using MediaWiki:Gadget-Edittools.js & MediaWiki:Edittools (the code's copied from this wiki), and it works fine, but the charinsert toolbar is placed below the text field and save/preview buttons. How can I move the Edittools bar on top (above the "enhanced editing toolbar")? Is there any code to do so?
MediaWiki: 1.29-wmf15
Skin: Vector Sasazuka! (talk) 08:57, 17 March 2017 (UTC)
- Bump Sasazuka! (talk) 14:49, 19 March 2017 (UTC)
- You'll need a script like this:
- Ciencia Al Poder (talk) 10:40, 21 March 2017 (UTC)
// Move edittools charinsert before wikieditor toolbar $(function() { $('#mw-edittools-charinsert').insertBefore('.wikiEditor-ui'); });
Distance between columns with infoboxes when using {Columns-start}
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 creating a two-colum page with an infobox at the top of each column, using {Columns-start}, {Column} and {Columns-end} templates.
My problem is that infobox in the left column is tightly pressed against the text in the right column. Is there a way to increase distance between them?
(Using MediaWiki 1.28.0, PHP 7.0.15-0ubuntu0.16.04.4 (cgi-fcgi), MySQL 5.7.17-0ubuntu0.16.04.1, Lua 5.1.5) Arsenyk (talk) 12:39, 17 March 2017 (UTC)
- In your MediaWiki:Common.css, look for this section:
/* Content in columns with CSS instead of tables ([[Template:Columns]]) */ div.columns-2 div.column { /* @noflip */ float: left; width: 50%; min-width: 300px; }- Change the 50% to a smaller number (49% worked for me) and add
padding-left: 1em;so that it looks like this:
☠MarkAHershberger☢(talk)☣ 16:11, 17 March 2017 (UTC)/* Content in columns with CSS instead of tables ([[Template:Columns]]) */ div.columns-2 div.column { /* @noflip */ float: left; width: 49%; min-width: 300px; padding-left: 1em;</b> }- Thanks a lot, it worked! Though I had to go with width: 48%, otherwise the second column got placed under the first. Arsenyk (talk) 17:13, 17 March 2017 (UTC)
Common.css não carrega ao atualizar a página, versão 1.28 (Common.css Does Not Load When Updating Page, Version 1.28)
- Possuo código css na página common.css e não esta aparecendo o meu estilo.
- Deixei como padrão o skin Vector.
- Como posso corrigir essa situação?
From Google Translate:
- I have css code on the common.css page and this is not appearing my style.
- I left the Vector skin as default.
- How can I correct this situation? Edenilson Souza (talk) 14:17, 17 March 2017 (UTC)
- Is your wiki public? can you point to it? (O seu wiki é público? Você pode apontar para ele?) ☠MarkAHershberger☢(talk)☣ 15:51, 17 March 2017 (UTC)
- [http://latromi.com.br/wiki/index.php?title=LATROMI_3.5 Yes it is public, the address is the following http://latromi.com.br/wiki/index.php?title=LATROMI_3.5.
- In the NEW, IMPROVE, CHANGE, BREAK, FIX tags should be colored because it takes the common.css class] Edenilson Souza (talk) 16:01, 17 March 2017 (UTC)
- It appears to be working for me: http://pasteboard.co/KAFcIOsDm.png
- Maybe you need to try another browser or clear your cache? ☠MarkAHershberger☢(talk)☣ 18:03, 17 March 2017 (UTC)
- What happens if you add ?action=purge to the url of a page where you are hoping to see the changes? (O que acontece se você adicionar ?action=purge para o url de uma página onde você está esperando/na esperança para ver as alterações?) ☠MarkAHershberger☢(talk)☣ 15:55, 17 March 2017 (UTC)
- Action purge worked as soon as it ran, however each time you mute the link and then return to the page that should apply the style, the style does not reload. Edenilson Souza (talk) 16:04, 17 March 2017 (UTC)
Wiki table not sortable with mediawiki 1.26.2
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 MW 1.26.2 but my old custom skin doesn't load the javascript for sortable tables.
My custom skin was created in older versions of MW and I think it doesn't have the latest updates.
What is the javascript needed for sortable table ? where can I find it, and how to add it in the skin ? plz
Many thx
Alex Alex1859 (talk) 14:31, 17 March 2017 (UTC)
- You should look over the skinning tutorial: Manual:Skinning Part 1
- There is a Skin->getDefaultModules() which needs to be called so that the mediawiki.page.ready resource is loaded which handles sortable tables.
- You may also find the ResourceLoader/Migration guide (users) helpful. ☠MarkAHershberger☢(talk)☣ 18:16, 17 March 2017 (UTC)
Page refresh / update problem after upgrading MW from v1.24 to v1.28
Hello,
after upgrading our previous V1.24 MW to a new fresh 1.28, I notice that we need multiple browser refresh after a page modification, particularly noticeable on Template pages.
Installed software
MediaWiki v1.28.0 PHP v5.6.28 (fpm-fcgi)
MySQL v5.6.34
ICU v52.1
It's a private wiki on a private network.
has someone encountered this problem ?
Thanks
Daniel Danielator (talk) 16:34, 17 March 2017 (UTC)
- Job queue handling has changed and this is probably what causes the behavior you are seeing.
- See the history section here: Manual:Job queue ☠MarkAHershberger☢(talk)☣ 18:20, 17 March 2017 (UTC)
- Thanks MarkAHershberge
- you are right, it is a job problem.
- Using the api's statistics I found more than 800 jobs waiting.
- In a console, I ran the maintenance script "runJobs.php", it worked during 20s, while the jobs decreased in the statistics page, down to zero.
- Now, sometime, the job counter stay non-zero, like if some jobs are stuck.
- Is there a way to debug "jobs queuing", through logs ? Danielator (talk) 13:03, 20 March 2017 (UTC)
- You should probably set up a cron job to run the job queue periodically. ☠MarkAHershberger☢(talk)☣ 15:31, 20 March 2017 (UTC)
OCR button
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.
in my wiki site google ocr buttton do not show , how can I solve this problem ? please help . thanks-~ ShahadatHossain (talk) 05:24, 18 March 2017 (UTC)
- I'm not sure why a Google OCR button would show up. I don't even know what one is. The closest relevant thing that I found was a Google Drive feature but it doesn't look like you're talking about that. ☠MarkAHershberger☢(talk)☣ 17:53, 18 March 2017 (UTC)
- Please see : https://www.mediawiki.org/wiki/Manual:Custom_edit_buttons
- But I don't konw how Can I add this. Please help ShahadatHossain (talk) 01:06, 19 March 2017 (UTC)
- The page that you link to explains how you can add this. If some specific parts are unclear, please explain why so someone else could provide an explanation. Malyacko (talk) 14:35, 19 March 2017 (UTC)
- example: Google OCR button . please tell me this code for ocr button . thanks ShahadatHossain (talk) 16:24, 19 March 2017 (UTC)
- I'm still confused about what you would want such a button to do. Adding an OCR button seems meaningless. ☠MarkAHershberger☢(talk)☣ 19:20, 19 March 2017 (UTC)
- I want to proofing pdf book ShahadatHossain (talk) 19:25, 19 March 2017 (UTC)
- It sounds like you want to hire a developer to implement this for you. I cannot help you to accomplish what you want here on the support desk. ☠MarkAHershberger☢(talk)☣ 15:29, 20 March 2017 (UTC)
- In my site , When I put on OCR button Then show me this error
- "<error> undefined Image URL must begin with 'https://upload.wikimedia.org/ " .
- Can you tell me how can I solve this error ? ShahadatHossain (talk) 06:48, 25 April 2017 (UTC)
- I'm sorry, but it looks like you need more help than I can give you here. ☠MarkAHershberger☢(talk)☣ 13:47, 25 April 2017 (UTC)
- but where I can submit my help request / complain ? I need this help emergency . ShahadatHossain (talk) 14:01, 25 April 2017 (UTC)
- The Google OCR button is not part of MediaWiki, so this is the wrong place to complain and ask for help.
- I suggest you find someone who knows about the button. If they can't put it into MediaWiki for you, they might be able to help you ask the right questions. ☠MarkAHershberger☢(talk)☣ 00:51, 26 April 2017 (UTC)
- but you know that there have an extension name ProofreadPage . THis is the error of ProofreadPage extension . So , I submit this in here . ShahadatHossain (talk) 15:04, 26 April 2017 (UTC)
- Are you sure this is an error in ProofreadPage? Maybe you don't understand it. ☠MarkAHershberger☢(talk)☣ 21:24, 26 April 2017 (UTC)
- Yes , I am Sure .. <error> undefined Image URL must begin with 'https://upload.wikimedia.org/ " . ShahadatHossain (talk) 06:01, 27 April 2017 (UTC)
- As long as you do not explain why that is related to ProofreadPage and as long as you just re-post what you have already written without providing any requested information, nobody can help here, sorry. I doubt that ProofreadPage is related at all. Malyacko (talk) 12:04, 28 April 2017 (UTC)
add specialpages to new "Special:SpecialPages" category
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, the special pages from an extension are classed under "Other special pages". I would like to create a new special page category and class them under that. Which file do I need to edit? Reception123 (talk) 11:31, 18 March 2017 (UTC)
- if you're an extension developer, simply implement SpecialPage::getGroupName()
- If you're not, you can simply edit a MediaWiki page to set the group name. Create MediaWiki:Specialpages-specialpagegroup-<special page name> with the group name
- For example: creating MediaWiki:Specialpages-specialpagegroup-userlogin with the content users, will move the Special:UserLogin from specialpages-group-login to specialpages-group-users Ciencia Al Poder (talk) 12:01, 18 March 2017 (UTC)
- Thank you very much. Reception123 (talk) 12:09, 18 March 2017 (UTC)
Error creating thumbnail: Unable to save thumbnail to destination
Hey. I keep getting this error button and I don't know how to fix it. It can be seen here: http://dragon-mania-legends-wiki.mobga.me/Ruins, here: http://dragon-mania-legends-wiki.mobga.me/Habitats and here: http://dragon-mania-legends-wiki.mobga.me/Category:Images:Calendar_Events
I've tried setting a temp folder ($wgTmpDirectory = "$IP/images/temp";) and a debug file ($wgDebugLogFile = "/var/log/mediawiki/debug-{$wgDBname}.log";) as suggested and even made the temp folder writable by the server using chown, but that did not work.
The manual on how to debug specifies that this log can contain sensibile information, thus I won't post all of its contents and would like to know what could I share here from it that would help in solving this issue?
I mention the console is displaying some weird errors, but I cannot interpret them, sadly. │Star-Warden│ 21:24, 18 March 2017 (UTC)
- Looking at your Special:NewFiles, it looks like you are able to upload images without problem, but those particular images cause a problem.
- I can use thumb.php to create thumbnails of various sizes (see also).
- thumb.php appears to work on images that show the problem.
- Meanwhile, fails to produce thumb.php some thumbnails for the problematic images.
- Maybe you can see what is produced in the debug log when one of the failing thumb.php links is called? ☠MarkAHershberger☢(talk)☣ 22:38, 18 March 2017 (UTC)
- I found no recent instance of the cupcake thumb (at least the date isn't displayed when such calls are made, so it might be recent), thus I also included something more recent. The cupcake thumb is at the very top, the others are separated by a large space: http://pastebin.com/Yg6V1Zr6
- Hope it helps! │Star-Warden│ 23:23, 18 March 2017 (UTC)
- I'm at a loss. I don't really know how to help you without access to your machine. Sorry. Perhaps you can check the permissions on all the directories in your images folder to see if one or two has funky permissions. ☠MarkAHershberger☢(talk)☣ 19:18, 19 March 2017 (UTC)
- What if you set $wgShowExceptionDetails to true temporarily and open the problematic thumb.php URL? Ciencia Al Poder (talk) 19:56, 19 March 2017 (UTC)
- That string was already set to true even before the problem occurred. But here's the strange thing. If you go and check my first two links (ruins and habitats), you'll see that the problem was solved on its own...
- Here's a screenshot of the permissions that all folders seem to have: http://prnt.sc/em8bhd
- I selected all of them, and made sure they are all set to that. Do I need to change anything?
- I forgot to mention that when renaming the file, the issue seems to disappear (of course, there's a reason I named them the way I did, in the first place, thus this isn't a good solution or the solution for that matter). And, in some cases, the issue is triggered only if I get over a certain pixel size while adding it to the article. Would manually moving the images (on the server) from one folder to another solve it? Is it even safe to do that? │Star-Warden│ 13:14, 20 March 2017 (UTC)
- The permissions look fine if that user is the user that runs as the web server. You could also change the permissions on images to the numeric code 777 and recurse through the images directory.
- You could move the images directory, but you would need to change a few configuration options like Manual:$wgUploadPath or Manual:$wgUploadPath. You might also need to use Manual:Img auth.php to stream images. ☠MarkAHershberger☢(talk)☣ 15:40, 20 March 2017 (UTC)
- I am not sure if that user is the one that runs as the web server.. I was using the root account. How do I find out who it is?
- Also, the second option you gave me is the same as the first one. I was asking if I could only move the images that cause trouble, not the whole directory. Seems kinda pointless to move the whole thing just for a few troublemakers. │Star-Warden│ 16:31, 20 March 2017 (UTC)
- I don't recognize the tool you are using for ftp. But what does the full listing of the mediawiki directory show? Maybe that would have user names on it.
- If you can physically remove the primary uploaded problematic file, then I think you could re-upload it. That might solve the problem. ☠MarkAHershberger☢(talk)☣ 17:02, 20 March 2017 (UTC)
- I use FileZilla Client. I am not sure what you're referring to. Is this it:http://prnt.sc/emeu0n ?
- By physically removing it, you mean to manually delete it from the server itself or from the wiki? Because if it's the latter, it doesn't work. │Star-Warden│ 20:55, 20 March 2017 (UTC)
- That has the information I wanted. It looks like you're on a Debian server and the permissions are set correctly.
- I meant from the server itself.
- Could you use FileZilla to get the listing of the images/thumb/9/90 and images/thumb/9/90/The_Winds_of_November_Event_%2816.11.14%29.jpg directory? ☠MarkAHershberger☢(talk)☣ 13:23, 21 March 2017 (UTC)
- I managed to get there and the folder has the image in 3 different sizes: 200px, 300px and 400px. Interestingly enough, this folder seems to have another owner than the typical one: http://prnt.sc/emrhbx
- I checked other problematic files, thinking the owner might be at fault, but they had the typical owner, so I guess the different owner theory can (for now, at least) be ruled out.
- Should I delete the image from both its permanent place and the thumb folder? │Star-Warden│ 17:57, 21 March 2017 (UTC)
- The root owner is definitely going to cause a problem. Delete that directory and its contents. ☠MarkAHershberger☢(talk)☣ 20:28, 21 March 2017 (UTC)
- That solved the thumbnail problem, but only for that image. │Star-Warden│ 21:37, 21 March 2017 (UTC)
- Ehm, I was thinking of something.
- Sometimes, some special pages (usually uncategorised files) won't update, no matter what, regardless if I run updateSpecialPages.php (which runs daily on a cron job) no matter what. So I force it with refreshLinks.php which, in turn, creates a ton of jobs which are run by runJobs.php later on. From time to time, some jobs just get stuck, not allowing themselves to be run. I posted about it 2 months ago (https://www.mediawiki.org/wiki/Project%3ASupport%20desk/Flow/2017/01#h-Jobs_won%27t_go_down_to_0-2017-01-26T15%3A04%3A00.000Z) but got no response. So I looked into the database and found the stuck jobs in the job table. So I just manually deleted them (and have been doing that ever since). Could this be the problem behind it or is it unrelated? I remember this particular issue happened on the 1.26.2 installation, then a failed server upgrade brought the wiki down for a little while, we moved servers and that issue was fixed (this was last summer). │Star-Warden│ 20:14, 21 March 2017 (UTC)
- It could be related.
- You need to make sure that runJobs.php and refreshLinks.php are running as the www-data user and not the root user. ☠MarkAHershberger☢(talk)☣ 20:30, 21 March 2017 (UTC)
- I am sorry, I am not good at this. How do I do that? I haven't used any other user besides my personal one and the root one. │Star-Warden│ 21:35, 21 March 2017 (UTC)
- How do you normally get the jobs to run? How are they being run right now? ☠MarkAHershberger☢(talk)☣ 23:06, 21 March 2017 (UTC)
- With cron. When I set it up, I opened putty, logged in on root, entered the command: crontab -e then I added this string: */120 * * * * cd (path to wiki) && php maintenance/runJobs.php and saved. But after using refreshLinks, I run it manually. It usually doubles the number of jobs, initially, then starts to decrease them. │Star-Warden│ 23:39, 21 March 2017 (UTC)
- If the only cron jobs you have are those that are running for the wiki, then run this sequence of commands as root:
# crontab -l > cron.txt # to save the current crontab # crontab -r # to delete the current crontab for root # crontab -u www-data cron.txt # to give the crontab entries to the www-data user.
- If you have other crontab entries, skip the second step (which removes all the entries for root) and edit cron.txt so that only wiki maintenance scripts are left in the file before running the third command.
- In any case, the first command will back up all your root cron commands if there is a mistake made. ☠MarkAHershberger☢(talk)☣ 23:59, 21 March 2017 (UTC)
- Before proceeding, I used grep CRON /var/log/syslog to see the other jobs. There are 3 other that are not in my current crontab (when using crontab -e), but they all are run by root. Two seem to be more server-related: http://prnt.sc/emzniy
- Is it safe to still do all the steps?
- Also, I did the first step, but I got no confirmation of whether the procedure was successful or not? How do I check? │Star-Warden│ 08:23, 22 March 2017 (UTC)
- Ah, also, deleting images from the server then re-uploading them doesn't get rid of the error (because it uploads them to the same place in which they were before), BUT, I think it might just be related to root being the owner. So far, all images that I checked in images/thumb that had the issue, had root as the owner. It seems this issue occurs only with thumbnails. │Star-Warden│ 08:34, 22 March 2017 (UTC)
- You can see if the first step worked by looking for cron.txt in the directory where you ran the file.
- In fact, since you have other cron jobs running as root, skip the second step and just edit the cron.txt file to have the wiki-related jobs.
- After that, erase those jobs from the root crontab using
crontab -eand then run the third command to move the cronjobs to the www-data user. ☠MarkAHershberger☢(talk)☣ 14:29, 22 March 2017 (UTC) - I am not exactly sure what I am doing wrong. Technically, I run the command in the base directory (that is, I didn't change the folder after opening putty), but there is no such file there. Then I looked in /var/spool/cron/crontabs, which has the crontab that I can access through the crontab -e and crontab -l commands, but that's the only file in there (googling also lead me to the same location). There's also another crontab in /etc which lists all the cronjobs. But no sign of cron.txt in any of those three spots.... │Star-Warden│ 14:54, 22 March 2017 (UTC)
- If you run "
crontab -u root -l > cron.txt" as root, it should create the cron.txt file for you. ☠MarkAHershberger☢(talk)☣ 18:27, 22 March 2017 (UTC) - I did that, still wasn't in any of those three locations, but I used find / -name and found it in /root. Inside it, there are the two jobs: runJobs.php and updateSpecialPages.php and the default "# Edit this file to introduce tasks to be run by cron". Is this the right file? │Star-Warden│ 18:44, 22 March 2017 (UTC)
- That is it. It makes sense that it is in /root since that is the root user's home directory. Probably typing
lsafter running the command would have shown it. ☠MarkAHershberger☢(talk)☣ 19:14, 22 March 2017 (UTC) - Awesome. So let me get this straight before doing anything. I need to edit that file to have the wiki-related jobs going. It already has two jobs (updateSpecialPages and runJobs). This means I need to add the other three remaining jobs from /etc/crontab?
- These are:
- 17 * * * * root cd / && run-parts --report /etc/cron.hourly
- 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
- 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
- 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) │Star-Warden│ 19:30, 22 March 2017 (UTC)
- Just the first one. And "root" should not be there. You should probably paste your cron.txt before running the command to load it. ☠MarkAHershberger☢(talk)☣ 19:54, 22 March 2017 (UTC)
- Is this correct: http://pastebin.com/2QGi7Wjf
- What do I do with the last 3 cronjobs and with the other two crontabs (from /var/spool and /etc)?
- EDIT: There was another job that I missed which was added as custom, apparently:
# OJG CUSTOM JOBS ADDED FOR THE WIKI: <nowiki>*</nowiki>/15 * * * * root cd /(path to wiki)/ && /usr/bin/php maintenance/rebuildFileCache.php >> /var/log/(log folder)/rebuildFileCache.log 2>&1 5 2 * * * root cd /(path to wiki)/ && /usr/bin/php maintenance/runJobs.php >> /var/log/(log folder)/runJobs.log 2>&1
- It seems there is a second runJobs which is a tad bit different than the first runJobs. Doesn't really seem to be doing its job properly, though. Should I just remove it? │Star-Warden│ 19:59, 22 March 2017 (UTC)
- First, do not run
crontab -r. Usecrontab -eto edit the root crontab files and remove only the wiki crontab entries. The rest should remain. - You should have a file, cron.txt, with the following based on the information you've given here:
# OJG CUSTOM JOBS ADDED FOR THE WIKI: */15 * * * * www-data cd (path to wiki) && php maintenance/rebuildFileCache.php >> (log folder)/rebuildFileCache.log 2>&1 */15 * * * * www-data cd (path to wiki) && php maintenance/runJobs.php >> (log folder)/runJobs.log 2>&1 0 0 * * * www-data cd (path to wiki) && php maintenance/updateSpecialPages.php >> (log folder)/updateSpecialPages.log 2>&1
- Move the cron.txt file to /etc/cron.d/wiki-cron-jobs.
- This will allow Ubuntu's cron system to run them. Anytime you need to change them, you can safely edit that file.
- I think this will get you where you need to be. Sorry for the confusion. ☠MarkAHershberger☢(talk)☣ 12:50, 23 March 2017 (UTC)
- And to reduce the repetition, you can use shell variables in that file, so you could do the following:
- ☠MarkAHershberger☢(talk)☣ 12:59, 23 March 2017 (UTC)
LOGDIR=/var/log/(log folder) WIKIDIR=(path to wiki) # OJG CUSTOM JOBS ADDED FOR THE WIKI: */15 * * * * www-data cd $WIKIDIR && php maintenance/rebuildFileCache.php >> $LOGDIR/rebuildFileCache.log 2>&1 */15 * * * * www-data cd $WIKIDIR && php maintenance/runJobs.php >> $LOGDIR/runJobs.log 2>&1 0 0 * * * www-data cd $WIKIDIR && php maintenance/updateSpecialPages.php >> $LOGDIR/updateSpecialPages.log 2>&1
- I did that and moved the .txt to where you suggested (I had to manually create the wiki-cron-jobs folder). Here's the entire paste: http://pastebin.com/jY6sfM5f
- Now, one question. What do I do with the remaining cronjobs that I wrote here (https://www.mediawiki.org/w/index.php?title=Project%3ASupport%20desk/Flow/2017/03#c-Star_Warden-2017-03-22T19%3A30%3A00.000Z-Star_Warden-2017-03-18T21%3A24%3A00.000Z)? They weren't in the crontab file that I could open with crontab -e while logged in on root. They are in the crontab that's found in /etc. This is its contents: http://pastebin.com/vDZtEWML │Star-Warden│ 14:01, 23 March 2017 (UTC)
- I'm sorry, I should have been clearer. I wanted you to move cron.txt to a file called /etc/cron.d/wiki-cron-jobs. If you've created a directory, I'm not sure it will work.
- Remove these lines from the file you found under /etc:
# OJG CUSTOM JOBS ADDED FOR THE WIKI: */15 * * * * root cd /(wiki path) && /usr/bin/php maintenance/rebuildFileCache.php >> /var/log/wiki_logs/rebuildFileCache.log 2>&1 5 2 * * * root cd /(wiki path) && /usr/bin/php maintenance/runJobs.php >> /var/log/wiki_logs/runJobs.log 2>&1
- The others should be left as-is. ☠MarkAHershberger☢(talk)☣ 14:16, 23 March 2017 (UTC)
- Well, there was no such file there. Cron.txt currently rests in /etc/cron.d/wiki-cron-jobs folder. I used grep CRON /var/log/syslog to see the recent jobs, but not jobs from cron.txt seem to have been executed... what should I do? │Star-Warden│ 15:31, 23 March 2017 (UTC)
- Run the following commands:
$ mv /etc/cron.d/wiki-cron-jobs/cron.txt /etc/cron.d/wiki-jobs $ rmdir /etc/cron.d/wiki-cron-jobs
- Both should run without problem and you should see cron jobs executing shortly after that. ☠MarkAHershberger☢(talk)☣ 15:56, 23 March 2017 (UTC)
- Hey. Thanks! But there seems to be a problem... the jobs aren't run. Using grep CRON /var/log/syslog it does show me the runJobs.php has been executed, but the number does not go down, unless I manually run it. What might be the cause? │Star-Warden│ 14:33, 24 March 2017 (UTC)
- Actually, it seems none of the maintenance scripts are working, not only php runJobs.php. │Star-Warden│ 14:39, 24 March 2017 (UTC)
- Could you run the following and tell me the output:
- ☠MarkAHershberger☢(talk)☣ 16:20, 24 March 2017 (UTC)
$ grep wiki-jobs /var/log/syslog
- This is what I get: http://prnt.sc/eo1iyo │Star-Warden│ 19:05, 24 March 2017 (UTC)
- So, it is loading properly. I was worried that I had given you a bad one or that it had been corrupted some way. For example, I created a file with the wrong owner and got the following:
$ grep test /var/log/syslog Mar 24 12:17:01 web cron[369]: (*system*test) WRONG FILE OWNER (/etc/cron.d/test) $
- I have set up a wiki with a file similar to what I asked you to set up now and when I look for www-data in my syslog, I see the following:
$ grep www-data /var/log/syslog ... Mar 24 12:30:02 web CRON[25865]: (www-data) CMD ( cd $WIKIDIR && php maintenance/rebuildFileCache.php >> $LOGDIR/rebuildFileCache.log 2>&1) Mar 24 12:30:02 web CRON[25867]: (www-data) CMD ( cd $WIKIDIR && php maintenance/runJobs.php >> $LOGDIR/runJobs.log 2>&1) ...
- Do you see anything similar? ☠MarkAHershberger☢(talk)☣ 23:40, 24 March 2017 (UTC)
- It seems I do: http://prnt.sc/eo7t6b │Star-Warden│ 07:06, 25 March 2017 (UTC)
- If the command seems to be executed correctly, it means that wikidir and logdir are set correctly, right? I am not sure if it's safe to post them here (that's why I always censor them), but I wrote them something like:
- LOGDIR=/var/log/foldername/
- WIKIDIR=/mainfolder/foldername/
- I didn't add /maintenance/ at the end of wikidir since the cronjob automatically switches to the maintenance folder due to php/maintenance. Plus, the command is basically the same to how I had it in the root crontab (minus adding information to the log, as well as having the name of the wiki path written instead of wikidir).
- I take it that the above steps are correct? │Star-Warden│ 08:34, 25 March 2017 (UTC)
- Yep, it looks like all the steps are correct. Check your log files to see what is being put in them. ☠MarkAHershberger☢(talk)☣ 15:45, 25 March 2017 (UTC)
- From the outside, when looking at 'last modified' it seems that rebuildFileCache.log has been last modified on the 23rd while runJobs.log on the 18th. Those are the only two logs inside there.... The owner/group is root root. The first log is huge, I copied pasted the last pages (132 in word) and replaced the path to the wiki with 'wikidir':http://pastebin.com/quGJUa50
- As for runJobs = http://pastebin.com/rWejzRu7 │Star-Warden│ 16:13, 25 March 2017 (UTC)
- So, for rebuildFileCache, it looks like it is failing. As the message says, "
Set $wgShowExceptionDetails = true; and $wgShowDBErrorBacktrace = true; at the bottom of LocalSettings.php to show detailed debugging information." so we can see what is going on. - runJobs looks fine. ☠MarkAHershberger☢(talk)☣ 16:57, 25 March 2017 (UTC)
- oh, and make both log files owned by www-data so that the cron jobs will be able to update them. You should also change the ownership on the log directory. ☠MarkAHershberger☢(talk)☣ 17:03, 25 March 2017 (UTC)
- Both file logs and the folder itself are owned by www-data now.
- I am not sure how runJobs looks fine since I can see that the jobs aren't being run.
- Maybe the wiki-jobs file itself has to be owned by www-data? Most of the folders on the server are owned by root.
- Off-topic: most of the wiki folder is owned by www-data, but some folders are owned by root. Should I pass ownership to www-data?
- And this is what rebuildcache log shows now: http://pastebin.com/SPeztVnt │Star-Warden│ 17:45, 25 March 2017 (UTC)
- You still haven't set the variables to show exceptions. ☠MarkAHershberger☢(talk)☣ 19:59, 25 March 2017 (UTC)
- I actually did. This is what the bottom of localsettings looks like: http://pastebin.com/Sej3nm9g
- Also, it's owned by root. │Star-Warden│ 20:54, 25 March 2017 (UTC)
- interesting... it doesn't seem to have made a difference for your rebuildcachelog. ☠MarkAHershberger☢(talk)☣ 22:20, 25 March 2017 (UTC)
- Maybe I should give those files different permissions? Their current permissions are -rw-r--r--
- Also, what should I do to get the runJobs script running? Or all of the scripts, for that matter. None seems to be working. │Star-Warden│ 11:08, 26 March 2017 (UTC)
- Here are the permissions on my file:
$ ls -l /etc/cron.d/test -rw-r--r-- 1 root root 442 Mar 24 12:15 /etc/cron.d/test $
- The content is what I gave above.
- My log files show that the cron jobs are running.
$ zgrep maintenance /var/log/syslog.1 | tail -53 | head -3 Mar 26 00:00:01 web CRON[20974]: (www-data) CMD ( cd $WIKIDIR && php maintenance/rebuildFileCache.php >> $LOGDIR/rebuildFileCache.log 2>&1) Mar 26 00:00:01 web CRON[20977]: (www-data) CMD ( cd $WIKIDIR && php maintenance/runJobs.php >> $LOGDIR/runJobs.log 2>&1) Mar 26 00:00:01 web CRON[20979]: (www-data) CMD ( cd $WIKIDIR && php maintenance/updateSpecialPages.php >> $LOGDIR/updateSpecialPages.log 2>&1) $
- I'm not sure how I can help you in this forum. ☠MarkAHershberger☢(talk)☣ 22:35, 26 March 2017 (UTC)
- So I fixed it. All I did was to replace wikidir and logdir with their respective folders. Strange fix. │Star-Warden│ 07:26, 27 March 2017 (UTC)
- Now, all that remains is the stuck jobs. Do I manually remove them from the database or what should I do? So far, that's the only solution I found to get rid of them. │Star-Warden│ 07:28, 27 March 2017 (UTC)
- If the jobs are running and the stuck ones are not clearing, then, yeah, I think that is what you have to do.
- Hrm... I am thinking I should have put export in the cron file. *sigh*... ☠MarkAHershberger☢(talk)☣ 18:09, 27 March 2017 (UTC)
- Then I guess this settles it, finally.
- Thank you very much for all the help and the patience! Much appreciated.
- Off-topic: is there a MediaWiki-recommended list of permissions and owners/groups that folders on a server should have? │Star-Warden│ 18:25, 27 March 2017 (UTC)
- We can certainly start creating such a list. Seems like something that should be in an FAQ. ☠MarkAHershberger☢(talk)☣ 09:41, 29 March 2017 (UTC)
- That would be great. Thanks for now! Your help is really appreciated. Going to mark this as resolved now. │Star-Warden│ 11:42, 29 March 2017 (UTC)
- Hey. I need to reopen the topic because I am getting this error again. So far:
- It isn't caused by any image being under the ownership of root as all are under www-data.
- The cronjobs are all ran by www-data
- The issue seems to appear after rebuildFileCache.log is ran and pages that get this error (example: http://dragon-mania-legends-wiki.mobga.me/Dragon_League and http://dragon-mania-legends-wiki.mobga.me/Decorations) can simply be fixed with a null edit. Bonus: it affects Comments too, even though I added the lame-workaround that I was suggested in phabricator:T152764 (not in the shell, but the "Invalid tag: comments" message will appear wherever the tag is).
- The log doesn't seem to show anything off:https://pastebin.com/U1Ck1hcD (though I've extracted it before turning debugging of.. should I wait for it to be ran again after turning debugging on?)
- Anyone any ideas? │Star-Warden│ 15:32, 17 April 2017 (UTC)
- After turning on everything, the runJob and rebuildfilecache log still didn't give me anything out of the ordinary, but the debugging log file did: https://pastebin.com/7xLyf2A5
- Anything seems to be off there? │Star-Warden│ 18:01, 18 April 2017 (UTC)
- I don't see any error in the debug log either. So are you still seeing "Error creating thumbnail: Unable to save thumbnail to destination"? that would be pretty strange
- About the comments extension, it's normal that it doesn't display the extension, or it displays the invalid tag, because the workaround is disabling the extension on command line (which is what generates the file cache). Ciencia Al Poder (talk) 09:43, 19 April 2017 (UTC)
- The thing is that it also fixes on its own from time to time, but I am just not able to figure what causes it in the first place and what fixes it after. Aside from those three maintenance scripts that are run by www-data, I also have these two other scripts run by root (http://prnt.sc/ey9ns3) which don't seem to have to do with the wiki folder itself. Could they have any role in all this?
- As I previously said, a simple null edit will fix it, so I don't know. The error just pops here and there on at least those two pages I have linked above, then it just goes away on its own.
- Also, I don't know if they are related or not, but I get these two notices on this page only (at least it's only here that I saw them): http://dragon-mania-legends-wiki.mobga.me/Special:ListGroupRights │Star-Warden│ 12:56, 19 April 2017 (UTC)
- Not related. This may have something to do with a weird setting of $wgAddGroups/$wgRemoveGroups/$wgGroupsAddToSelf/$wgGroupsRemoveFromSelf Ciencia Al Poder (talk) 21:46, 19 April 2017 (UTC)
- Does it affect the wiki with anything? If not, it just goes away when exception details and show backtrace are displayed and there's really no point in bothering too much over such a small thing (at least for now).
- Any idea about the thumbnail error? │Star-Warden│ 00:07, 20 April 2017 (UTC)
Login issues 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.
When I try to login, I get There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again. every time. Help would be great. Thanks. 67.244.49.134 (talk) 00:12, 19 March 2017 (UTC)
- Try changing $wgMainCacheType from CACHE_ACCEL to CACHE_ANYTHING.
- Project:Support desk/Flow/2016/07#h-Can't_login_or_create_user_after_upgrade_to_1.27-2016-07-05T08:20:00.000Z
- Project:Support desk/Flow/2016/07#h-Login_error_(session_hijacking_protection)-2016-07-11T08:56:00.000Z AhmadF.Cheema (talk) 04:46, 19 March 2017 (UTC)
- Thanks, $wgSessionCacheType = CACHE_DB; fixed it. 2002:43F4:3186:1234:9476:872E:D289:118 (talk) 11:21, 19 March 2017 (UTC)
Can a saved zoom meetings text, locate the other persons computer
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.
They recorded me without my knowledge and intend to use it for a website.
Saved in zoom file transferred to my desktop, then I copied it and created a print file in Libra Office.5.0 174.115.50.218 (talk) 07:00, 19 March 2017 (UTC)
- Welcome to the support desk for the MediaWiki software. Do you have a question related to the MediaWiki software? Malyacko (talk) 14:32, 19 March 2017 (UTC)
docserver-http-error: (curl error: 28)
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.
Using Visual editor
Windows Server 2012 R2
when trying to save page iv have just made - times out with the following error:
docserver-http-error: (curl error: 28) Timeout was reached
any help will be greatly appreciated Exodk (talk) 06:34, 20 March 2017 (UTC)
- Parsoid#Troubleshooting ? :) AKlapper (WMF) (talk) 12:03, 20 March 2017 (UTC)
- isn't Parsoid only used if using linux as the operating system? Exodk (talk) 23:16, 20 March 2017 (UTC)
- ive decided im going to move to ubuntu server. Exodk (talk) 10:46, 21 March 2017 (UTC)
Portal vs Template Recognition
Ive an installed working Mediawiki 1.28.0 For some reason when a system call for example the portal page call Ducks in a row which this mediawiki interprets correctly as asking for a portal page, on my site the system interprets this same exact call as asking for a template. Template:Ducks in a row which does not exist
any idea on what is configured incorrectly so that I can get this corrected. I have a thought that it may be a namespace issue, but I have no way to be sure. Any tips are appreciated.
John Jfoster81747 (talk) 15:45, 20 March 2017 (UTC)
- Have you created a portal namespace? ☠MarkAHershberger☢(talk)☣ 19:38, 20 March 2017 (UTC)
- No I was not sure that is what I need to do. I will do that and report back.
- Thanks
- John Jfoster81747 (talk) 21:11, 20 March 2017 (UTC)
Two sections of blank parameters in a template are generating a break tag
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 created a template for listing specifications for fire apparatus in my mediawiki. The headers have an #if statement that hide them if certain parameters are blank. If two (or more) consecutive sections are blank, a <BR /> is being generated and creating an unwanted space in the middle of my text. Any thoughts on how to prevent this?
In the example, the "aerial" and "body" sections are left blank and are causing a space between the "pump & tank" and "equipment" sections.
URL to template: http://signal-12.com/wiki/Template:Apparatus_specifications
URL to page showing the break: http://signal-12.com/wiki/2-Tanker_(1995) HankScorpio1519 (talk) 20:34, 20 March 2017 (UTC)
- This happens because there's a blank line before the {{#if that open each group. You should put it next to the end }} of the previous. If you need a new line when the parameter is filled, you need to add it inside the {{#if:, by adding a <nowiki> before it to prevent the parser function to trim blank spaces.
- If you want newlines to make your code more readable, you can use it inside HTML comments, like:
- Ciencia Al Poder (talk) 10:23, 21 March 2017 (UTC)
}}<!-- -->{{#if: whatever
SimpleSAML extension with Mediawiki 1.27.1
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 trying to migrate our mediawiki from 1.23.5 to 1.27.1. But the SimpleSAML extension is throwing a HTTP 500 error. I'm not able to rectify the error since am quite new to SimpleSAML. PFB configuration changes made in Localsettings.php. Is there any other config changes to be made other than the following.Thanks.
wfLoadExtension( 'PluggableAuth' );
$wgPluggableAuth_EnableAutoLogin = false;
$wgPluggableAuth_EnableLocalLogin = false;
$wgPluggableAuth_Class = "SimpleSAMLphp";
wfLoadExtension( 'SimpleSAMLphp' );
$wgSimpleSAMLphp_InstallDir = 'C:\MediaWiki\mediawiki-1.27.1\extensions\SimpleSAMLphp';
$wgSimpleSAMLphp_AuthSourceId = 'default-sp';
$wgSimpleSAMLphp_RealNameAttribute = //cn;
$wgSimpleSAMLphp_EmailAttribute = //mail;
$wgSimpleSAMLphp_UsernameAttribute = //uid;
- I'm confused about the last three lines. Why are you putting slashes in front of cn, mail, and uid instead of surrounding them with quotes? ☠MarkAHershberger☢(talk)☣ 13:44, 21 March 2017 (UTC)
- What is the error you're seeing?
- Could you replace the backslashes in
$wgSimpleSAMLphp_InstallDirwith forward slashes so that you have
- ☠MarkAHershberger☢(talk)☣ 13:48, 21 March 2017 (UTC)
$wgSimpleSAMLphp_InstallDir = 'C:/MediaWiki/mediawiki-1.27.1/extensions/SimpleSAMLphp';
- Hi Mark,
- Actually we already have put the entire address of CN,Mail and UID in quotes like you mentioned followed by those with slashes as a comment. I think that's not the issue. Now i also tried with forward slashes as you said. It's still throwing me the same 'HTTP 500' error.
- After setting wgShowExceptionDetails, it's showing the following backtrace:
| backtrace |
|---|
#0 ...\includes\cache\localisation\LocalisationCache.php(941): Hooks::run(string, array)
#1 ...\includes\cache\localisation\LocalisationCache.php(462): LocalisationCache->recache(string)
#2 ...\includes\cache\localisation\LocalisationCache.php(336): LocalisationCache->initLanguage(string)
#3 ...\includes\cache\localisation\LocalisationCache.php(273): LocalisationCache->loadItem(string, string)
#4 ...\languages\Language.php(464): LocalisationCache->getItem(string, string)
#5 ...\includes\search\SearchEngineConfig.php(42): Language->getNamespaces()
#6 ...\includes\user\User.php(1530): SearchEngineConfig->searchableNamespaces()
#7 ...\includes\user\User.php(5049): User::getDefaultOptions()
#8 ...\includes\user\User.php(2750): User->loadOptions()
#9 ...\includes\context\RequestContext.php(363): User->getOption(string)
#10 ...\includes\Message.php(679): RequestContext->getLanguage()
#11 ...\includes\context\RequestContext.php(457): Message->setContext(RequestContext)
#12 [internal function]: RequestContext->msg(string)
#13 ...\includes\context\ContextSource.php(190): call_user_func_array(array, array)
#14 ...\includes\OutputPage.php(973): ContextSource->msg(string)
#15 ...\includes\page\Article.php(504): OutputPage->setPageTitle(string)
#16 ...\includes\actions\ViewAction.php(44): Article->view()
#17 ...\includes\MediaWiki.php(503): ViewAction->show()
#18 ...\includes\MediaWiki.php(288): MediaWiki->performAction(Article, Title)
#19 ...\includes\MediaWiki.php(745): MediaWiki->performRequest()
#20 ...\includes\MediaWiki.php(519): MediaWiki->main()
#21 ...\index.php(43): MediaWiki->run()
#22 {main}
|
- Thanks & Regards
- Ashni Ashni rai (talk) 05:33, 22 March 2017 (UTC)
- There should be a message before the first line of the backtrace. What does it say? ☠MarkAHershberger☢(talk)☣ 14:02, 22 March 2017 (UTC)
- [f7e4f1c187b3bb5b5742b8c0] /mediawiki-1.27.1/index.php?title=PoP_Facilitation MWException from line 176 of C:\MediaWiki\mediawiki-1.27.1-downloaded\includes\Hooks.php: Invalid callback LocalisationUpdate::onRecacheFallback in hooks for LocalisationCacheRecacheFallback Ashni rai (talk) 05:42, 27 March 2017 (UTC)
- Does it work if you disable the LocalisationUpdate extension? ☠MarkAHershberger☢(talk)☣ 18:06, 27 March 2017 (UTC)
- Hi Mark. Thanks for the previous one. The HTTP 500 error is gone but still my SAML login is redirecting to the main page with the user as not logged after entering the credentials. I tried to backtrace with the simplesamlphp.log file. IT is showing me the following error.
- simplesamlphp DEBUG [cb527bddb5] Session: 'default-sp' not valid because we are not authenticated.
- Instead of pluggable auth we arre using SimpleSAMLAuth.
- Please find below Setting in localsettings.php
- Ashni rai (talk) 10:02, 3 April 2017 (UTC)
require_once "$IP/extensions/SimpleSamlAuth/SimpleSamlAuth.php"; // SAML_OPTIONAL // SAML_LOGIN_ONLY // SAML_REQUIRED // $wgSamlRequirement = SAML_OPTIONAL; // Should users be created if they don't exist in the database yet? $wgSamlCreateUser = true; // SAML attributes $wgSamlUsernameAttr = 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'; //uid $wgSamlRealnameAttr = 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'; //cn $wgSamlMailAttr = 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'; //mail // SimpleSamlPhp settings $wgSamlSspRoot = 'C:\MediaWiki\mediawiki-1.27.1\extensions\SimpleSAMLphp'; $wgSamlAuthSource = 'default-sp'; $wgSamlPostLogoutRedirect = NULL; //Extra parameter added as per this URL - https://groups.google.com/forum/#!topic/simplesamlphp/k9cPe5q8qbE $wgSessionName = ini_get('session.name'); // Array: [MediaWiki group][SAML attribute name][SAML expected value] // If the SAML assertion matches, the user is added to the MediaWiki group $wgSamlGroupMap = array( 'sysop' => array( 'groups' => array('admin'), ), );
- I think I would really recommend that you use PluggableAuth. Cindy has done the work of making SAML work and is available to help if you need help getting PluggableAuth to work.
- Otherwise, the only advice that I can offer is that you make sure SimpleSAMLphp itself is working and then work on MediaWiki. ☠MarkAHershberger☢(talk)☣ 15:02, 4 April 2017 (UTC)
- That would be really nice Mark. Can you please help me get in touch with Cindy? Ashni rai (talk) 06:04, 6 April 2017 (UTC)
- @Cindy.cicalese
- Hi Cindy,
- Can you please help us with this?
- Thanks & Regards,
- Ashni Rai Ashni rai (talk) 08:45, 14 April 2017 (UTC)
- Ashi,
- Sorry for the delayed reply. I have been on vacation. To me it looks like you are providing too much information in the attribute strings (assuming that the strings you show above for SimpleSAMLAuth are the same ones you were using for SimpleSAMLphp/PluggableAuth. Here, for example, is my configuration:
- You need to check to see what the attribute names being returned by your identity provider are. Perhaps they are the full URLs that you provided, but you might try just 'emailaddress'.
$wgSimpleSAMLphp_UsernameAttribute = 'uid'; $wgSimpleSAMLphp_RealNameAttribute = [ 'givenname', 'sn' ]; $wgSimpleSAMLphp_EmailAttribute = 'mail'; - Also, have you checked your simplesamlphp installation itself to make sure that you can log into that directly with default-sp? If not, go to <url of your server>simplesaml/module.php/core/authenticate.php and click on detault-sp and attempt to authenticate.
- Cindy Cindy.cicalese (talk) 19:26, 17 April 2017 (UTC)
- You can contact Cindy on her talk page or via EmailUser.
- Before contacting her, though, try switching back to PluggableAuth and Extension:SimpleSAMLphp. It seems like you switched extensions before we were able to fully diagnose the problems. ☠MarkAHershberger☢(talk)☣ 13:37, 6 April 2017 (UTC)
$wgSimpleSAMLphp_RealNameAttribute = //cn; $wgSimpleSAMLphp_EmailAttribute = //mail; $wgSimpleSAMLphp_UsernameAttribute = //uid;
- Because "//" starts a comment, these lines actually mean:
$wgSimpleSAMLphp_RealNameAttribute = $wgSimpleSAMLphp_EmailAttribute = $wgSimpleSAMLphp_UsernameAttribute =
- Which is obviously a syntax error. They are probably meant to be strings. 101.160.137.82 (talk) 10:11, 22 March 2017 (UTC)
- Hi 101.160.137.82,
- No i actually did have the entire 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress' in quotes not like the one mentioned above. I just removed them since i was posting in a forum. The error message is shared above. Kindly go through it and let me know what might be the issue.
- Thanks & Regards,
- Ashni Ashni rai (talk) 10:21, 22 March 2017 (UTC)
- After the installation PluggableAuth + SimpleSAMLphp for MW 1.27, the SAML authentication failed, here the debug logs:
...[SQLBagOStuff] Connection 3450 will be used for SqlBagOStuffFully initialisedAuthentication failure.[DBPerformance] Expectation (writes <= 0) by MediaWiki::main not met:query-m: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')TransactionProfiler.php line 311 calls wfBacktrace()TransactionProfiler.php line 200 calls TransactionProfiler->reportExpectationViolated()Database.php line 856 calls TransactionProfiler->recordQueryCompletion()...- The issue has been fixed after replacing:
$wgSimpleSAMLphp_RealNameAttribute = ['givenname','sn'];- with
$wgSimpleSAMLphp_RealNameAttribute= 'cn';S0ring (talk) 19:48, 26 October 2017 (UTC)- The value used for $wgSimpleSAMLphp_RealNameAttribute depends upon what attributes your identity provider is configured to return. Either of the values above could be appropriate, depending upon the environment. Cindy.cicalese (talk) 15:36, 27 October 2017 (UTC)
- Indeed, the Idp returns 'givenName' and not 'givenname', therefore this will work:
$wgSimpleSAMLphp_RealNameAttribute = ['givenName','sn'];- The initial suspicion was that $wgSimpleSAMLphp_RealNameAttribute doesn't support the array format, but this is not the case. As well, the Authentication failure error didn't point out to the root cause of it. But now the issue is solved.
- Thank you for this great extension(s)! S0ring (talk) 18:23, 29 October 2017 (UTC)
Refresh all categories
Hi.
I've set up a small private webpage on different versions of vampires on literatura and comic, and I've used a private wikimedia install in order to use redirections, categories and templates.
Today I've found a page including a category that is not reflected in the category page
(As an example, say "Dracula (novel)" links to "Category:Vampires affected by garlic flowers", but "Category:Vampires affected by garlic flowers" does not contain "Dracula (novel)").
After editing and saving the "Dracula (novel)" page, the wrong category was updated and refreshed, but I want to make sure all categories are refreshed so I don't find new bad formed category listings.
Is there a way to refresh all categories? (adding "purge" did not work).----19:23, 21 March 2017 (UTC)~
- You should look at your job queue and figure out a way to get it to run regularly. ☠MarkAHershberger☢(talk)☣ 20:13, 21 March 2017 (UTC)
"Request Entity Too Large" error
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 everyone!
I am trying to upload an 11 MB jpg to my Mediawiki and getting this error:
Request Entity Too Large The requested resource /wiki/index.php does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.
Then it shows gobbledygook for a dozen lines.
I installed Mediawiki 8/23/16 and have:
MediaWiki 1.27.1 PHP 5.6.30 (cgi-fcgi) MySQL 5.6.28-76.1-log ICU 4.8.1.1
The Upload File page says 100 MB is the max allowed. The largest jpg I otherwise uploaded is 9.68 MB. wiki/index.php itself is only about 30 lines long, almost all of them comments, nor have I touched it.
I have been looking at https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Set_maximum_size_for_file_uploads but not finding any solution. I'm on a shared server host; querying php.ini shows
post_max_size 128M upload_max_filesize 128M
Can anyone help? RedKnight7 (talk) 23:02, 21 March 2017 (UTC)
- Could you point to your wiki if it is public? Also, if you are uploading over https, this SO answer has some pointers. Let me know if any of them helped. ☠MarkAHershberger☢(talk)☣ 23:12, 21 March 2017 (UTC)
- Thanks Mark, my wiki is mikefay.info/wiki. I will look at the SO page. It is slow going for me because everything's new. I had to find that php.ini is sort of hidden for me, then learn how to get php.ini output, for example. I've been editing wikis for years, but am brand new to having my own, and everything else past Windows, laugh. If you see anything, please say. Thanks! RedKnight7 (talk) 23:19, 21 March 2017 (UTC)
- Hey look, because this involves a somewhat inaccessible php.ini, and because I don't call them much (laugh), it occurred to me to call my host provider. They asked me detailed info and say they're looking into it. So wait if you please. I will post again here if they did resolve it (what happened), or if they could not.
- Thanks! RedKnight7 (talk) 23:57, 21 March 2017 (UTC)
- Mark (and anyone else interested), the host service looked into it and fixed it. They responded,
- The issue was caused by a security rule of an apache module (mod_security) which was getting triggered. I disabled the rule for the file in which it was getting triggered and increased the LimitRequestBody variable which was the issue.
- It uploads now. But it won't make a thumbnail, laugh -
- Error creating thumbnail: File with dimensions greater than 12.5 MP
- It's 11,876 × 8,393 (99.7 MP). I'll look into that tomorrow.
- Night! Thanks - Mike RedKnight7 (talk) 06:42, 22 March 2017 (UTC)
- That error seems expected, rendering a thumbnail of such a big file can be problematic (in terms of available RAM in the server to do the thumbnailing) Ciencia Al Poder (talk) 10:36, 22 March 2017 (UTC)
- Glad you were able to get them to fix it. ☠MarkAHershberger☢(talk)☣ 13:55, 22 March 2017 (UTC)
Help
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'group': 'faces',
'tools': {
'smile': {
label: 'Smile!', // or use labelMsg for a localized label, see above
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',
action: {
type: 'encapsulate',
options: {
pre: ":)" // text to be inserted
}
}
}
}
} );
Where I input this code for customize my site wikieditor extantion button . Extension:WikiEditor/Toolbar customization . I want to add a button but I Am confused that where I input this code ? please help . Thanks ShahadatHossain (talk) 04:17, 22 March 2017 (UTC)
Checkbox and time stamp on page
Hi,
I'm trying to incorporate a checkbox on a page that can be checked withouth editing the source code, just check it. Also when checke a timestamp should become visible.
Is this possible and if so, could you please elaborate on how to incorporate this on a page?
Thank you! 217.21.177.71 (talk) 09:16, 22 March 2017 (UTC)
- You should look at Page Forms to see if it could help you. ☠MarkAHershberger☢(talk)☣ 14:33, 22 March 2017 (UTC)
Unable to display file in Mediawiki
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 everybody who wants to help me asap.
I got a problem with displaying uploaded files (I am using Mediawiki). I know where the problem is but I don't know how to fix it.
Problem: Mediawiki stores uploaded files to the root insted of using a dedicated folder for some reason.
Well, I noticed that I am able to upload files properly but to the wrong location - all uploaded files are stored in root (C:\e, C:\n etc.) and I do not know why. However, I obviously need them in C:\inetpub\wwwroot\mediawiki\images where the mediawiki is taking them from and where the .htaccess file is located.
Uploaded files normally appear in Mediawiki, however without thumbnails, and when I want to show/display the full file (picture) this page appears:
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Detailed Error Information
| Module | IIS Web Core |
|---|---|
| Notification | MapRequestHandler |
| Handler | StaticFile |
| Error Code | 0x80070002 |
| Requested URL | http://intranet:82/6/60/Something.jpg |
|---|---|
| Physical Path | C:\inetpub\wwwroot\mediawiki\6\60\Something.jpg |
| Logon Method | Anonymous |
| Logon User | Anonymous |
** I tried to copy all folders with files from root to the default location but it isn't working.
** I am using IIS7 on Windows Server 2008
** I have the upload function enabled. I changed this after installation: $wgScriptPath = "/mediawiki"; to $wgScriptPath = ""; Adba.swht (talk) 09:53, 22 March 2017 (UTC)
- You may need to set Manual:$wgUploadDirectory, in case MediaWiki is unable to figure it properly, as seems to be the case. Ciencia Al Poder (talk) 10:33, 22 March 2017 (UTC)
- I've already had it configured like this:
- $wgUploadDirectory = "$IP/images"; Adba.swht (talk) 11:12, 22 March 2017 (UTC)
- Oh, right, the problem should be $wgUploadPath then (the URL MediaWiki think the files are accessible from the web). It should be right already, except if you have weird things in $wgScriptPath. Ciencia Al Poder (talk) 13:13, 22 March 2017 (UTC)
- Well, maybe i confused you a little but the "code" below was the first thing I add to LocalSettings.php:
- $wgUploadDirectory = "$IP/images";
- $wgUploadPath = "$wgScriptPath/images";
- BUT I had a problem with uploading from the beginning so I add this (and it solved uploading issue - I can upload now, but they are not able to display properly) Maybe there is some problem but I cannot see it:
- $wgFileBackends[] = array(
- 'name' => 'local-backend',
- 'class' => 'FSFileBackend',
- 'lockManager' => 'nullLockManager',
- 'containerPaths' => array(
- 'local-public' => "{$wgUploadDirectory}",
- 'local-thumb' => "{$wgUploadDirectory}/thumb",
- 'local-transcoded' => "{$wgUploadDirectory}/transcoded",
- 'local-deleted' => $wgDeletedDirectory,
- 'local-temp' => "{$wgUploadDirectory}/temp",
- ),
- 'fileMode' => 0644,
- );
- // Define a standard file repository that uses the local backend defined before
- $wgLocalFileRepo = array (
- 'class' => 'LocalRepo',
- 'name' => 'local',
- 'directory' => $wgUploadDirectory,
- 'scriptDirUrl' => $wgScriptPath,
- 'scriptExtension' => $wgScriptExtension,
- 'url' => $wgUploadBaseUrl ? $wgUploadBaseUrl . $wgUploadPath : $wgUploadPath,
- 'hashLevels' => $wgHashedUploadDirectory ? 2 : 0,
- 'thumbScriptUrl' => $wgThumbnailScriptPath,
- 'transformVia404' => !$wgGenerateThumbnailOnParse,
- 'deletedDir' => $wgDeletedDirectory,
- 'deletedHashLevels' => $wgHashedUploadDirectory ? 3 : 0,
- 'backend' => 'local-backend',
- ); Adba.swht (talk) 14:33, 22 March 2017 (UTC)
- And now MSUpload says: Unknown error: "directorycreateerror"
- What the hell is going on?
- I have the same configuration on my test wiki and works fine.
- Only one difference is that my test wiki runs on XAMPP and my non-test wiki runs on IIS. So what is the problem? Adba.swht (talk) 14:50, 22 March 2017 (UTC)
- You should probably comment out the definition of $wgFileBackends and $wgLocalFileRepo. I suggested that long time ago because people were getting errors about unable to get lock for uploading files, but that was never the correct way to solve that, because all problems were because of permissions, either filesystem permissions, SELinux problem, or other misconfigurations like temp directories not writable. Ciencia Al Poder (talk) 20:46, 22 March 2017 (UTC)
- I removed it and it works fine now. Thank you.
- But I am still a little confused because it didn't work yesterday with the came configuration and now it's OK. Adba.swht (talk) 06:46, 23 March 2017 (UTC)
Parsoid not starting when Windows boots
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.
Parsoid doesnt seem to be starting when Windows boots up. Can anyone tell me where I can find parsoid.log in windows? As I have not been able to find it Quinnj09 (talk) 11:34, 22 March 2017 (UTC)
- Which instructions did you follow for getting Parsoid to work on Windows? Why do you expect it to start up when Windows boots? ☠MarkAHershberger☢(talk)☣ 17:31, 22 March 2017 (UTC)
- And here are some instructions from SO for getting a node.js service like parsoid to run when windows boots: Auto start node.js server on boot. Let me know if they work. ☠MarkAHershberger☢(talk)☣ 17:34, 22 March 2017 (UTC)
- Hey yeh if see my comment below, thats what I did and works perfectly I think Quinnj09 (talk) 17:51, 22 March 2017 (UTC)
- I create a bat which task schedule runs at boot. But since then I have created a windows service with https://github.com/coreybutler/node-windows which seems to be the most stable method I have had work so far.
- But I still have a different issue, which is that when I go to create a new page on my wiki, it uses the standard editor instead of Visual Editor Quinnj09 (talk) 17:38, 22 March 2017 (UTC)
- Would you mind updating the Parsoid setup instructions for Windows with what you did to make it run at boot up?
- If you go to your preferences page, you should be able to set VE as the default editor. You can also set VE to be the default in your settings file. ☠MarkAHershberger☢(talk)☣ 18:18, 22 March 2017 (UTC)
- Give me a few days and I will, wanna reproduce the steps I took to ensure I get it right but need to find time to do it. Quinnj09 (talk) 08:12, 23 March 2017 (UTC)
Não exibe conteúdo
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
Tenho MediaWiki rodando num Ubuntu, e instalei uma versão atualizada em outro servidor.
Fiz o backup do que está rodando e importei pro servidor novo.
Mas não exibe o conteúdo nas páginas, apesar de se eu for na opção editar está tudo redigido lá. 191.184.255.226 (talk) 14:34, 22 March 2017 (UTC)
- (Using Google Translate)
- Is it a public wiki?
- What PHP version? (I occasionnally saw this with old PHP versions) ~ Seb35 [^_^] 15:46, 22 March 2017 (UTC)
- (Usando Google Tradutor)
- É um wiki público?
- Que versão do PHP? (Eu occasionnally vi isso com versões antigas do PHP) ~ Seb35 [^_^] 15:46, 22 March 2017 (UTC)
When I add the line $wgUploadDirectory I get a HTML 500 error
[1] is what I get when I add that line to LocalSettings.php
Without that line, the wiki works but whenever I try to upload images I get "Could not open lock file for "mwstore://local-backend/local-public/4/4b/0AICore.png"." 2601:441:8000:6AA:7D26:B9D8:EC8F:8A2C (talk) 01:00, 23 March 2017 (UTC)
- You are introducing a syntax error into your LocalSettings.php file. Could you paste the line that you add to your LocalSettings.php file here? ☠MarkAHershberger☢(talk)☣ 01:11, 23 March 2017 (UTC)
- You say syntax error and I immediately realized I've been forgetting to add the ; after "images".
- Now I'm back to just getting "Could not open lock file for "mwstore://local-backend/local-public/4/4b/0AICore.png"" for no reason. 2601:441:8000:6AA:7D26:B9D8:EC8F:8A2C (talk) 01:16, 23 March 2017 (UTC)
- Check the permissions on the images directory. The directory should be writable by the webserver. ☠MarkAHershberger☢(talk)☣ 01:33, 23 March 2017 (UTC)
I have an website : www.face-9.com, in wordpress, after loading some plugin, it has disappeared, now it is not available any browser, even wordpress says you have not created website.
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 have an website : www.face-9.com, in wordpress, after loading some plugin, it has disappeared, now it is not available any browser, even wordpress says you have not created website. Kindly guide how to go go login page or dash board for editing pages of my website. 110.224.201.19 (talk) 06:29, 23 March 2017 (UTC)
- Please ask on an appropriate forum, here is for the software MediaWiki, nothing else. ~ Seb35 [^_^] 09:31, 23 March 2017 (UTC)
FRAUD BY YOU
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.
WikiMedia USA have UNLAWFULLY DEBITED MY VISA CARD!! Thanks a lot for all the hassle you are causing me. The Bank are investigating. I have also passed this incident on to our Australian Police Dept for further investigation. 58.179.91.214 (talk) 07:27, 23 March 2017 (UTC)
- You should ask WikiMedia Foundation about this, not MediaWiki Ciencia Al Poder (talk) 10:29, 23 March 2017 (UTC)
- I am not even sure that something called "WikiMedia USA" actually exists. At least I have never heard of that name. Maybe this even does not have anything to do with the Wikimedia Foundation? Should this be the case, I think that WMF also would be interested in this issue. 83.135.224.209 (talk) 19:02, 23 March 2017 (UTC)
"MediaWiki-friendly" hosting
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.
Dear Member,
Some time ago I got user registration problems most probably because of port problems of the hosting company :Project:Support desk/Flow/2016/03#h-E-mail_while_registering_(2)-2016-03-04T13:49:00.000Z
Does a "MediaWiki-friendly" hosting company exists with which I don't have such problems?
Best Regards.
Hansie
http://www.websitedevelopment.agency Hansie (talk) 08:40, 23 March 2017 (UTC)
Lowercase image names not working
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 moving a site to a new server and upgrading MediaWiki from 1.20 to 1.27 (BlueSpice 1.20 to 2.27). PHP is 5.6.23 and MySQL is 5.6. On the old site, there are many "[[File:lowercase.gif]]" in the wiki text that work even though the image is saved as Lowercase.gif; on the new site, it considers them bad Image links and there is just a display of link text which is a link to a page to upload the missing image. I can't find anything in the code that explains this difference. I don't want to have to search through all the pages for lowercase image names to change. (The application is internal, so I can't provide a link.) Steings (talk) 15:54, 23 March 2017 (UTC)
- Did you change anything in your LocalSettings.php? Did you create a new LocalSettings.php?
- What is $wgCapitalLinks set to? ☠MarkAHershberger☢(talk)☣ 16:00, 23 March 2017 (UTC)
- $wgCapitalLinks does not appear in LocalSettings.php. The file is generally the same except a few require_once are changed to wfLoadExtension. We did drop the Accesslog and Realnames extensions. We had to change Auth_remoteuser to AuthRemoteuser. Finally, there were many changes with BlueSpice, but I think it's roughly the same. Steings (talk) 20:36, 23 March 2017 (UTC)
- You could also try
$wgCapitalLinkOverrides[ NS_FILE ] = true;
☠MarkAHershberger☢(talk)☣ 01:27, 24 March 2017 (UTC)- Mark is right. Please set the $wgCapitalLinkOverrides for NS_FILE in you LocalSettings.php. We've had a bunch of default settings in the BlueSpiceFoundation (https://github.com/wikimedia/mediawiki-extensions-BlueSpiceFoundation/blob/REL1_27/includes/DefaultSettings.php#L44) that we always apply to our customers installations. Unfortunately this introduced some issues with the community users. So we've removed the settings in the upcoming release and have it now in a separate config file that we deploy to our customers. You can also modify the BlueSpiceFoundation/includes/DefaultSettings.php directly as it will change with the next release anyways.
- If setting $wgCapitalLinkOverrides in LocalSettings.php does not work directly, try to set it within a $wgExtensionFunctions callback. E.G.Osnard (talk) 09:14, 24 March 2017 (UTC)
$wgExtensionFunctions[] = function() { $GLOBALS['wgCapitalLinkOverrides'][ NS_FILE ] = true; }; - Thank you. Osnard's suggestion has solved my problem. Steings (talk) 18:29, 24 March 2017 (UTC)
How to edit CSS for customized font
I asked a while back how to have a custom font in my wiki. I was told that I need to edit the CCS. I am using the 'vector' style. I was not able to find the css for it. How does that work. Thank you. http://wiki.worldofasdar.com 22:26, 23 March 2017 (UTC)
- You can make the change in your wiki's [[MediaWiki:Common.css]] page. ☠MarkAHershberger☢(talk)☣ 01:25, 24 March 2017 (UTC)
- Thanks for your reply. What's the expected path? I don't see a common.css file or a vector.css in my wiki? Is it a file I have to create to override the default? http://wiki.worldofasdar.com 04:21, 24 March 2017 (UTC)
- See Manual:Interface/Stylesheets for expected location, but basically it's a page you need to create on your wiki Ciencia Al Poder (talk) 10:30, 24 March 2017 (UTC)
- Hi Ciencia Al Poder. Thank you for the link. I looked at it and checked the link (MediaWiki:Common.css) for a global common css which is I need. The page that it links to has been deleted. I'm not sure where to put the common.css file. Thank you. http://wiki.worldofasdar.com 23:44, 24 March 2017 (UTC)
- You need to look at the MediaWiki:Common.css wiki page on your own wiki. If you want to see a wiki with a working copy of the page, you can see one one Wikipedia: https://en.wikipedia.org/wiki/MediaWiki:Common.css ☠MarkAHershberger☢(talk)☣ 23:47, 24 March 2017 (UTC)
- Thanks, Mark.
- Is this the correct link? It doesn't bring anything up for me.
- http://wiki.worldofasdar.com/wiki/MediaWiki:Common.css
- nor does this
- http://wiki.worldofasdar.com/MediaWiki:Common.css http://wiki.worldofasdar.com 00:34, 25 March 2017 (UTC)
- This is your link: http://wiki.worldofasdar.com/index.php?title=MediaWiki:Common.css ☠MarkAHershberger☢(talk)☣ 01:18, 25 March 2017 (UTC)
- A friend helped me find it. doh. http://wiki.worldofasdar.com/index.php?title=MediaWiki:Common.css http://wiki.worldofasdar.com 01:49, 25 March 2017 (UTC)
- Thanks again.
- Is this all the code I need in the CSS (with the appropriate substitutions)?
- @font-face {
- [ font-family: <family-name>; ] ||
- [ src: [ <url> [ format(<string>#) ]? | <font-face-name> ]#; ] ||
- [ unicode-range: <urange>#; ] ||
- [ font-variant: <font-variant>; ] ||
- [ font-feature-settings: normal | <feature-tag-value>#; ] ||
- [ font-stretch: <font-stretch>; ] ||
- [ font-weight: <weight>; ] ||
- [ font-style: <style>; ]
- }
- where
- <family-name> = <string> | <IDENT>+
- <feature-tag-value> = <string> [ <integer> | on | off ]? http://wiki.worldofasdar.com 18:38, 25 March 2017 (UTC)
- My intention is not to have the text of the entire wiki changed arbitrarily to another font or even of specific formatted sections (header, index, etc.). I want to be able to specify within a page that such and such text is in this font and have the rest of the text in the same given page be the standard font. http://wiki.worldofasdar.com 18:43, 25 March 2017 (UTC)
- Once you've defined the @font-face, you can create your own CSS class like .specificfont { font-family: <family-name> } and then use that class where you want, like in <span class="specificfont>text</span>.
- That's more a general CSS question than a MediaWiki-specific question, though. You can find more information about CSS fonts out there Ciencia Al Poder (talk) 17:09, 26 March 2017 (UTC)
Blacklist keywords for extension
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.
At Miraheze (wiki farm) we have extension https://github.com/miraheze/CreateWiki and it uses a system where a user makes a request, the requests get submitted and added to a queue for it to be accepted. I would like to know how I could integrate a sort of TitleBlacklist inside of https://github.com/miraheze/CreateWiki/edit/master/SpecialRequestWiki.php to be able to blacklist keywords so that the request doesn't get submitted if the keywords are present. Does anyone know how this would be possible? Reception123 (talk) 06:03, 24 March 2017 (UTC)
- Maybe call abortNewAccount() or testUserName()? ☠MarkAHershberger☢(talk)☣ 13:52, 24 March 2017 (UTC)
Access WIKI from other system
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 guys youve helped me with this before but I can't find it.. when trying to access the WIKI from another computer on the local network typing the IP address doesn't work right, it reverts back to localhost.. I know there is something in the config file I need to set localhost as the system's IP but I can't find it. Any help is greatly appreciated! 209.36.41.250 (talk) 03:39, 25 March 2017 (UTC)
- Sorry guys I found it 2602:306:35A0:330:841D:9491:AF5B:14F8 (talk) 03:47, 25 March 2017 (UTC)
aide pour LibreOffice Writer (en-tête + pied-de-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.
Bonjour à tous
Je viens de télécharger la nouvelle version de LibreOffice Writer 5.3.1, mais mon ennui persiste ... J'ai déjà investi des heures pour tenter le résoudre moi-même ... Dites-moi, est-il possible (et comment faire) de :
1. Faire en sorte que ne s'affiche pas le pied-de-page (l'espace entre chaque page) sans y double-cliquer à chaque fois ?
Je n'y voudrais de séparation que la ligne simple.
2. Faire en sorte que, si je clique dans la marge supérieure ou inférieure de chaque page, ne s'affiche pas le champ flottant de l'en-tête en bleu pâle : "En-tête (Style par défaut)" ?
Ah! sauvez ma patience je vous prie ! Merci mille fois ~
éloi
From Google translate:
Hello everyone
I have just downloaded the new version of LibreOffice Writer 5.3.1, but my boredom persists ... I have already invested hours to try to solve it myself ... Tell me, is it possible (and how to do it ) Of:
1. Make sure that the footer (the space between each page) is not displayed without double-clicking each time?
I would like to separate only the simple line.
2. Make sure that if I click in the top or bottom margin of each page, the floating field of the light blue header is not displayed: "Header (default style)"?
Ah! Save my patience I pray you! Thanks a thousand times ~
Away Eloimon (talk) 05:32, 25 March 2017 (UTC)
- This support desk is for MediaWiki. You should check out ask.libreoffice.org.
- Ce support technique est destiné à MediaWiki. Vous devriez vérifier ask.libreoffice.org. ☠MarkAHershberger☢(talk)☣ 15:59, 25 March 2017 (UTC)
Extension:AbuseFilter
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.
In my site Extension:AbuseFilter is make an admin user . name : User:⧼abusefilter-blocker⧽ . Please tell me how Can I change it ? or tell me , is it right ? ShahadatHossain (talk) 07:00, 25 March 2017 (UTC)
- As far as my knowledge goes, that extension creates an account on its own, gives it admin rights so it can automatically block users if certain filters are set to do that. So yes, that behaviour is normal. You can simply unadmin that account and the extension won't be able to block users if that's what you want.
- To take the admin rights back, just go to Special:UserRights and enter the name of the account there and then uncheck the administrator checkbox and click save. │Star-Warden│ 08:38, 25 March 2017 (UTC)
Remove page from deletedwiki.com
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, there was an wikipedia page for Wassim Rasamny but it was deleted. We don't want to keep that either. But the problem is, there was an article on deletedwiki.com about the removed wikipedia page. Wassim Rasamny doesn't want to see his name on deletedwiki.com
We will not restore the wikipedia page or don't want to do anything with wikipedia. So please remove it from deletedwiki.com too. This is the article link - http://deletedwiki.com/index.php?title=Wassim_Rasamny
Thanks in advance. B0xed008 (talk) 19:54, 25 March 2017 (UTC)
- You need to talk to the people at that wiki. It has nothing to do with Wikipedia and is run out of a separate data center. ☠MarkAHershberger☢(talk)☣ 20:10, 25 March 2017 (UTC)
Setting logo path ($wgLogo) in LocalSettings.php
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 trying to set a custom logo by setting $wgLogo in LocalSettings.php:
$wgLogo = "{$wgUploadPath}/d/d4/Logo.png";
per https://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_change_the_logo.3F
However, this doesn't seem to work; the path to the logo ends up being just /d/d4/Logo.png, presumably because $wgUploadPath is false when LocalSettings.php is executed, and only gets set to a useful value when Setup.php runs. What's the "correct" way to set the path to the logo as an uploaded file?
MediaWiki 1.28.0, PHP 5.6, MariaDB 10.1 An Owl Called Josh 🦉 (talk) 12:01, 26 March 2017 (UTC)
- Try
$wgLogo = "{$wgScriptPath}/images/d/d4/Logo.png";- Or, try setting
$wgUploadPathto the path to your images directory. ☠MarkAHershberger☢(talk)☣ 22:41, 26 March 2017 (UTC) - Setting
$wgUploadPathto"$wgScriptPath/images"worked, thanks! An Owl Called Josh 🦉 (talk) 17:04, 27 March 2017 (UTC)
Images not working after server move and 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.
Hi,
I moved my wiki to a new host and upgraded it at the same time (from 1.16 to 1.28), but none of the images are working. They are all in the /images/ folder like before, I tried running rebuildall.php and rebuildImages.php, from SSH, but that didn't help.
I went to one of the image pages in the wiki and found the image source. It is trying to fetch the image from a subfolder named 9/9d. I.E. /images/9/9d/ What is this? That path is not used in LocalSettings.php nor is it in ANY of the files (I searched). A search in the database gave no result either. Where is it coming from?
What should I do? Should I create the subfolder /9/9d and move all my images to it and what about new images that get uploaded? DalixamKC (talk) 16:33, 26 March 2017 (UTC)
- You said they are all in the images folder. Did you use the same LocalSettings.php file when you moved? Is $wgHashedUploadDirectory set in your new or old LocalSettings.php file? ☠MarkAHershberger☢(talk)☣ 22:44, 26 March 2017 (UTC)
- I did not use the same LocalSettings,php, I let the installation create a new one and then adjusted it.
- $wgHashedUploadDirectory was set to false in the old settings and does not exist in the new one, adding it...fixed it.
- That was easy, No need to have spent days getting SSH to work, but I'm glad it's fixed :)
- Thanks for the help! DalixamKC (talk) 15:37, 27 March 2017 (UTC)
Templates broken despite being direct import with no changes
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 I'm starting an SS13 server, and for that I need a wiki.
https://www.gcstation13.com/wiki/Template:Item That is one of the broken templates.
https://nanotrasen.se/wiki/index.php/Template:Item That is the template I exported and imported from.
It seems like the issue is that it isn't drawing on Template:! on my wiki, but I have no idea what the issue really is. 2601:441:8000:6AA:B52C:864E:3E49:BE71 (talk) 17:39, 26 March 2017 (UTC)
- You're missing Extension:ParserFunctions, which is required for that template. —Mainframe98 talk 17:45, 26 March 2017 (UTC)
Tweaking User Creation Settings
I picked to wrong setting to set up. I want people to be able to create an account - subject to verification, but, my current login in page does not have a link. I tried some man pages and looked at LocalSettings.xml and nothing jumped out at me. Please throw me a bread crumb. Bodysurfinyon (talk) 01:32, 27 March 2017 (UTC)
- You probably have
$wgGroupPermissions['*']['createaccount'] = false;
- in your LocalSettings.php. See Restrict account creation. ☠MarkAHershberger☢(talk)☣ 02:16, 27 March 2017 (UTC)
Mobile view instead of desktop view.
I transfer my wiki to Cloudflare service (with https).
Sometimes my wiki is showing mobile view where desktop view is expected.
Example:
http://lmgtfy.com/?q=Klawdija+%C5%81uzganowa+wiki.czarnobyl.pl http://lmgtfy.com/?q=Walery+Pierewaczenko+wiki.czarnobyl.pl NH35 (talk) 04:37, 27 March 2017 (UTC)
- Looks good to me. Maybe cloudflare is caching the response, so if a mobile user first open a page, it caches the mobile view, and then a desktop user gets the cached mobile view instead. Ciencia Al Poder (talk) 09:17, 27 March 2017 (UTC)
- Are u sure? I checked on three different computers and still the same. Main article and discusion page. NH35 (talk) 10:17, 28 March 2017 (UTC)
- Yesterday when I checked, yes, it was the desktop view. Now is the mobile.
- You have access to the access logs, so check them if requests are getting into your server, or served directly by cloudflare (and sending a wrongly cached response). Ciencia Al Poder (talk) 09:25, 29 March 2017 (UTC)
Redirect page need to login even in whitelist
I set $wgGroupPermissions['*']['read'] to false and add page title to $wgWhitelistRead variable, there is a page on the whitelist page, everyone can see it, but I change the content to #REDIRECT to another page, then this page asked for login, so the redirect thing will not work, how to fix it Chan15tw (talk) 09:54, 27 March 2017 (UTC)
- Add the target page in the whitelist? Does not it work? ~ Seb35 [^_^] 11:57, 27 March 2017 (UTC)
- Target page is in the whitelist, and if I go target page in direct I can see it Chan15tw (talk) 00:30, 28 March 2017 (UTC)
- No idea then. Anyone? ~ Seb35 [^_^] 07:54, 28 March 2017 (UTC)
Mothur wiki log in
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 can log on here into wiki, but I cannot log on to mothur.org/wiki, nor can I navigate from here to there.
https://www.mothur.org/w/index.php?title=Special:UserLogin&returnto=Main+Page
It says my username does not exist. I have cleared cache, I have deleted cookies, made sure cookies are enabled and that wiki is not blocked. I am using Firefox brower, 52.0.1 ADLaw (talk) 17:52, 27 March 2017 (UTC)
- You need to contact the people running that wiki. ☠MarkAHershberger☢(talk)☣ 18:11, 27 March 2017 (UTC)
Problem with Slow Saving
To start off I am using:
MediaWiki 1.26.4 PHP 5.6.28 (apache2handler) MySQL 5.7.16
I do not understand why this is slowly saving... When I am debugging, I am refreshing the debug.log and it gets stuck on:
LoadBalancer::reuseConnection: this connection was not opened as a foreign connection LoadBalancer::reuseConnection: this connection was not opened as a foreign connection LoadBalancer::reuseConnection: this connection was not opened as a foreign connection LoadBalancer::reuseConnection: this connection was not opened as a foreign connection [runJobs] Failed to start cron API (socket error 0): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution LoadBalancer::reuseConnection: this connection was not opened as a foreign connection LoadBalancer::reuseConnection: this connection was not opened as a foreign connection LoadBalancer::reuseConnection: this connection was not opened as a foreign connection [runJobs] recentChangesUpdate Special:RecentChanges type=cacheUpdate (id=2,timestamp=20170327235552) STARTING LoadBalancer::reuseConnection: this connection was not opened as a foreign connection [runJobs] recentChangesUpdate Special:RecentChanges type=cacheUpdate (id=2,timestamp=20170327235552) t=6 good
What can I do to speed this up? I do not understand the "LoadBalancer::reuseConnection: this connection was not opened as a foreign connection". It takes about 30-40 seconds to save a page, but it takes around 2 seconds to load a page.
Does anyone have a fix?
Debug.log:
Start request POST /kb/index.php?title=IT:Test&action=submit
HTTP HEADERS:
HOST: kb.website.ca
CONNECTION: keep-alive
CONTENT-LENGTH: 2090
CACHE-CONTROL: max-age=0
ORIGIN: https://kb.website.ca
UPGRADE-INSECURE-REQUESTS: 1
USER-AGENT: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
CONTENT-TYPE: multipart/form-data; boundary=----WebKitFormBoundaryTeFQhxdA7oriJst8
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
REFERER: https://kb.website.ca/kb/index.php?title=IT:Test&action=edit
ACCEPT-ENCODING: gzip, deflate, br
ACCEPT-LANGUAGE: en-US,en;q=0.8
COOKIE: _ga=GA1.2.1383329811.1481045531; WikiMediapreview-limit-report=collapsed; __gads=ID=e231b6c91ee05378:T=1489694865:S=ALNI_Ma2zvrKr5qBTB5oNIG8BsakeWRNOQ; __zlcmid=e3g4OPVmM3M0F2; intercom-session-b4hlb1c7=R1doa1UzSWkrY09mTUhrcWJqS255MmFBSUh1dzlYVkg5SXNEU2ZOZndUVlVSMXNMMElGZHJUVUtqRVdLOEJYcy0tKzhNWWhkSDJQVXJxR0Mzbmp5QzNuUT09--be45c72cb29adfadf3a9699a5b2615ee286e0541; WikiMediaLoggedOut=1490638085; WikiMediaUserID=2; WikiMediaUserName=john.jacob; WikiMedia_session=dpammj8rjl693ai2smlt4692c0
[caches] main: EmptyBagOStuff, message: SqlBagOStuff, parser: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreDB
Unstubbing $wgParser on call of $wgParser::setFunctionHook from haclfSetupExtension
Parser: using preprocessor: Preprocessor_DOM
Fully initialised
Connected to database 0 at 127.0.0.1
Title::getRestrictionTypes: applicable restrictions to
[[IT:Test]]
are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
User: cache miss for user 2
User: loading options for user 2 from database.
User: logged in from session
EditPage::edit: enter
Connected to database 0 at 127.0.0.1
DatabaseBase::query: Writes done: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
EditPage::importFormData: Passed token check.
User: loading options for user 2 from override cache.
User::getBlockedStatus: checking...
IP: 10.26.16.132
timestamp: 20170327235414, edittime: 20170327235414
EditPage::internalAttemptSave: getting section
[StashEdit] No cache value for key 'WikiMedia:prepared-edit:a723bc5a962a959b6ae6d6368b29f628:c08a48cf9a10dc63de12de5c446fe6706469c025'.
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions::__construct
DatabaseBase::query: Writes done: INSERT INTO `text` (old_id,old_text,old_flags) VALUES (NULL,'X')
WikiPage::doEditUpdates: No vary-revision, using prepared edit...
Saved in parser cache with key WikiMedia:pcache:idhash:20-01!*!*!*!*!*!* and timestamp 20170327235552 and revision id 613
[cookie] setcookie: "WikiMediaPostEditRevision613", "saved", "1490660152", "/", "", "1", ""
MediaWiki::doPreOutputCommit completed; all transactions committed
OutputPage::sendCacheControl: private caching; **
BacklinkCache::queryLinks: got results from DB
Title::getRestrictionTypes: applicable restrictions to
[[IT:Test]]
are {edit,move}
BacklinkCache::partition: got from full result cache
BacklinkCache::queryLinks: got results from DB
BacklinkCache::partition: got from full result cache
LoadBalancer::reuseConnection: this connection was not opened as a foreign connection
LoadBalancer::reuseConnection: this connection was not opened as a foreign connection
LoadBalancer::reuseConnection: this connection was not opened as a foreign connection
LoadBalancer::reuseConnection: this connection was not opened as a foreign connection
[runJobs] Failed to start cron API (socket error 0): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
LoadBalancer::reuseConnection: this connection was not opened as a foreign connection
LoadBalancer::reuseConnection: this connection was not opened as a foreign connection
LoadBalancer::reuseConnection: this connection was not opened as a foreign connection
[runJobs] recentChangesUpdate Special:RecentChanges type=cacheUpdate (id=2,timestamp=20170327235552) STARTING
LoadBalancer::reuseConnection: this connection was not opened as a foreign connection
[runJobs] recentChangesUpdate Special:RecentChanges type=cacheUpdate (id=2,timestamp=20170327235552) t=6 good
Request ended normally
Start request GET /kb/index.php/IT:Test
HTTP HEADERS:
HOST: kb.website.ca
CONNECTION: keep-alive
CACHE-CONTROL: max-age=0
UPGRADE-INSECURE-REQUESTS: 1
USER-AGENT: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
REFERER: https://kb.website.ca/kb/index.php?title=IT:Test&action=edit
ACCEPT-ENCODING: gzip, deflate, sdch, br
ACCEPT-LANGUAGE: en-US,en;q=0.8
COOKIE: _ga=GA1.2.1383329811.1481045531; WikiMediapreview-limit-report=collapsed; __gads=ID=e231b6c91ee05378:T=1489694865:S=ALNI_Ma2zvrKr5qBTB5oNIG8BsakeWRNOQ; __zlcmid=e3g4OPVmM3M0F2; intercom-session-b4hlb1c7=R1doa1UzSWkrY09mTUhrcWJqS255MmFBSUh1dzlYVkg5SXNEU2ZOZndUVlVSMXNMMElGZHJUVUtqRVdLOEJYcy0tKzhNWWhkSDJQVXJxR0Mzbmp5QzNuUT09--be45c72cb29adfadf3a9699a5b2615ee286e0541; WikiMediaLoggedOut=1490638085; WikiMediaUserID=2; WikiMediaUserName=john.jacob; WikiMedia_session=dpammj8rjl693ai2smlt4692c0; WikiMediaPostEditRevision613=saved
[caches] main: EmptyBagOStuff, message: SqlBagOStuff, parser: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreDB
Unstubbing $wgParser on call of $wgParser::setFunctionHook from haclfSetupExtension
Parser: using preprocessor: Preprocessor_DOM
Fully initialised
Connected to database 0 at 127.0.0.1
Title::getRestrictionTypes: applicable restrictions to
[[IT:Test]]
are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
User: cache miss for user 2
User: loading options for user 2 from database.
User: logged in from session
User: loading options for user 2 from override cache.
Connected to database 0 at 127.0.0.1
[DBPerformance] [GET] Expectation (masterConns <= 0) by MediaWiki::main not met:
[connect to 127.0.0.1 (WikiMedia)]
TransactionProfiler.php line 307 calls wfBacktrace()
TransactionProfiler.php line 146 calls TransactionProfiler->reportExpectationViolated()
LoadBalancer.php line 545 calls TransactionProfiler->recordConnection()
SqlBagOStuff.php line 170 calls LoadBalancer->getConnection()
SqlBagOStuff.php line 246 calls SqlBagOStuff->getDB()
SqlBagOStuff.php line 224 calls SqlBagOStuff->getMulti()
MessageCache.php line 287 calls SqlBagOStuff->get()
MessageCache.php line 909 calls MessageCache->load()
MessageCache.php line 828 calls MessageCache->getMsgFromNamespace()
MessageCache.php line 766 calls MessageCache->getMessageFromFallbackChain()
Message.php line 1146 calls MessageCache->get()
Message.php line 769 calls Message->fetchMessage()
Message.php line 860 calls Message->toString()
OutputPage.php line 946 calls Message->text()
OutputPage.php line 994 calls OutputPage->setHTMLTitle()
Article.php line 514 calls OutputPage->setPageTitle()
ViewAction.php line 44 calls Article->view()
MediaWiki.php line 490 calls ViewAction->show()
MediaWiki.php line 287 calls MediaWiki->performAction()
MediaWiki.php line 714 calls MediaWiki->performRequest()
MediaWiki.php line 508 calls MediaWiki->main()
index.php line 41 calls MediaWiki->run()
DatabaseBase::query: Writes done: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')
[DBPerformance] [GET] Expectation (writes <= 0) by MediaWiki::main not met:
query: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')
TransactionProfiler.php line 307 calls wfBacktrace()
TransactionProfiler.php line 200 calls TransactionProfiler->reportExpectationViolated()
Database.php line 1035 calls TransactionProfiler->recordQueryCompletion()
Database.php line 2786 calls DatabaseBase->query()
DatabaseMysqlBase.php line 442 calls DatabaseBase->nativeReplace()
SqlBagOStuff.php line 344 calls DatabaseMysqlBase->replace()
SqlBagOStuff.php line 364 calls SqlBagOStuff->setMulti()
BagOStuff.php line 393 calls SqlBagOStuff->set()
BagOStuff.php line 250 calls BagOStuff->add()
BagOStuff.php line 317 calls BagOStuff->lock()
MessageCache.php line 690 calls BagOStuff->getScopedLock()
MessageCache.php line 386 calls MessageCache->getReentrantScopedLock()
MessageCache.php line 315 calls MessageCache->loadFromDBWithLock()
MessageCache.php line 909 calls MessageCache->load()
MessageCache.php line 828 calls MessageCache->getMsgFromNamespace()
MessageCache.php line 766 calls MessageCache->getMessageFromFallbackChain()
Message.php line 1146 calls MessageCache->get()
Message.php line 769 calls Message->fetchMessage()
Message.php line 860 calls Message->toString()
OutputPage.php line 946 calls Message->text()
OutputPage.php line 994 calls OutputPage->setHTMLTitle()
Article.php line 514 calls OutputPage->setPageTitle()
ViewAction.php line 44 calls Article->view()
MediaWiki.php line 490 calls ViewAction->show()
MediaWiki.php line 287 calls MediaWiki->performAction()
MediaWiki.php line 714 calls MediaWiki->performRequest()
MediaWiki.php line 508 calls MediaWiki->main()
index.php line 41 calls MediaWiki->run()
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions::__construct
OutputPage::checkLastModified: client did not send If-Modified-Since header
Article::view using parser cache: yes
Parser options key expired, touched 20170327235552, epoch 20170327235723, cached 20170327235552
Article::view: doing uncached parse
Parser cache options found.
Saved in parser cache with key WikiMedia:pcache:idhash:20-01!*!*!*!*!*!* and timestamp 20170327235632 and revision id 613
MediaWiki::doPreOutputCommit completed; all transactions committed
User::getBlockedStatus: checking...
Title::getRestrictionTypes: applicable restrictions to
[[IT:Test]]
are {edit,move}
Title::getRestrictionTypes: applicable restrictions to
[[IT:Test]]
are {edit,move}
Title::getRestrictionTypes: applicable restrictions to
[[IT:Test]]
are {edit,move}
Parser: using preprocessor: Preprocessor_DOM
DatabaseBase::query: Writes done: REPLACE INTO `msg_resource` (mr_resource,mr_lang,mr_blob,mr_timestamp) VALUES ('X')
Title::getRestrictionTypes: applicable restrictions to [[MediaWiki:Breadcrumbs]] are {edit,move}
OutputPage::sendCacheControl: private caching; Mon, 27 Mar 2017 23:57:23 GMT **
LoadBalancer::reuseConnection: this connection was not opened as a foreign connection
Request ended normally
24.72.93.26 (talk) 00:05, 28 March 2017 (UTC)
- Not sure but some ideas to test:
php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution: this seems to indicate there are issues on domain resolution (DNS), possibly intermittent but should be checked- Google has some references to this issue [2]
- Project:Support desk/Flow/2015/01#h-[RESOLVED]_RunJobs.php_hangs_on_execution-2015-01-08T18:05:00.000Z
- phabricator:T97028
- Possibly try to disable cache
$wgMainCache = CACHE_NONE;in a first time (although it should be enabled in production). ~ Seb35 [^_^] 08:55, 28 March 2017 (UTC) - The problem is probably the Job queue. First it tries to open a connection to itself but it fails to resolve its own domain, then it fallbacks to the on-request job runner.
- I'd first try setting $wgRunJobsAsync = false; It should definitively help to go to the fallback directly and not spend time trying to unsuccessfully resolve a DNS
- If it doesn't really help, jobs may take long to complete, so try $wgJobRunRate = 0; and then you should run maintenance/runJobs.php periodically through a cron job. Ciencia Al Poder (talk) 09:25, 28 March 2017 (UTC)
- Unrelated, but also note that MediaWiki 1.26.4 is an ancient unsupported version. See Download and Manual:Upgrading. AKlapper (WMF) (talk) 10:46, 28 March 2017 (UTC)
Extension:NewUserMessage
When I add Extension:NewUserMessage in my site , then Log In page and Password Page don't work . but when I remove this extension then it work . please tell me , why I faced this problem . or Have any configuration to solve it ? thanks ShahadatHossain (talk) 05:05, 28 March 2017 (UTC)
- Check if you've configured the extension correctly, look for any error message. If still stuck, you may need to report a bug Ciencia Al Poder (talk) 09:31, 28 March 2017 (UTC)
- ...after reading https://mediawiki.org/wiki/How_to_report_a_bug :) AKlapper (WMF) (talk) 10:44, 28 March 2017 (UTC)
Implement interactive customer evaluation on a wiki page
Hello,
I am interested in knowing whether or not it is possible to implement an interactive customer evaluation on a wiki page?
Like, a normal wiki page with different form field elements that the user can fill out to assess themselves and their performance in different aspects?
Then they click a submit button, and the answers gets sent to a specific administrator/email account?
Thank you for your help! Ufoldager (talk) 07:03, 28 March 2017 (UTC)
- Possible? Yes, if you know PHP to program it yourself or by hiring a developer. MediaWiki doesn't provide that functionality, and there's no extension that I'm aware of which could provide similar functionality.
- Have in mind that MediaWiki is a software about documentation. What you want is probably provided by a CRM software. Ciencia Al Poder (talk) 09:29, 28 March 2017 (UTC)
- Yes, this is what I expected. I know the intention behind MediaWiki as a platform purely for documentation purposes.
- I was hoping, however, that there might be some kind of way to do this manually inside the wiki pages using special commands/functions/whatever (I am no programmer myself).
- I guess the only other option is to simply create a wiki page, put a description inside it and add a link to a PDF file that the user can then fill out, save locally, and then email the document.
- Do you have an idea for a more interactive solution perhaps? Just curious. :)
- Thank you for your response! Ufoldager (talk) 12:11, 28 March 2017 (UTC)
- That's the only option, I guess... Ciencia Al Poder (talk) 09:27, 29 March 2017 (UTC)
How to convert many structures to PNG from a sdf file?
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 all,
I wish to know, how to convert the .sdf file which has 40,000 structures to individual png files using Open Babel GUI.
When I tried converting, I got 40,000 png images which show invalid image written in red colour with the black background.
Open Babel will go into not responding state once I clicked convert and it won't recover even the conversion is finished.
Thanks in advance 42.109.136.143 (talk) 12:53, 28 March 2017 (UTC)
- This is the MediaWiki Support Desk and your question doesn't look like it is related to MediaWiki. ☠MarkAHershberger☢(talk)☣ 10:03, 29 March 2017 (UTC)
What is recommended way to maintain version wise document in Mediawiki?
We have version wise product documentation and new version if document is released with every version. We want to know what is best way to do in Mediawiki and in Mediawiki with every release we will have to create a copy of database and war folder which will eventually result into huge database.
Thanks in advance. 182.69.186.19 (talk) 13:11, 28 March 2017 (UTC)
- MediaWiki only stores references to uploaded files inside the database. E.g. a page inside the Image: namespace will be created on th first upload of a new image. Also there will be a row in the image table. All these database records do not really have a notable size. Creating an article with a long text will increase database size more.
- The files themselves will be saved inside the file system of the server, most likely inside the images/ folder. You can upload new versions "over" the old version of a file. Or you can upload them as "new" files - under a new name.
- In any case, the new and the old file will stay inside the file system. What would be possible is to use the eraseArchivedFile.php maintenance script. This script can be used on archived files. This archiving will not actually remove the file from the file system. The maintenance script however will permanently remove the old version of an archived file. In that case, the file will be removed from the file system. This process is not recoverable. So the size of the installation will go down, but the old version of the file will be gone. 83.135.225.118 (talk) 20:06, 28 March 2017 (UTC)
- Thanks for reply!
- The way we want to work with versions is:
- If URL is v6/somoepage then it goes to documentation of software V6
- If url is v9/somepage then it goes to documentation of software V7 182.69.186.19 (talk) 09:32, 29 March 2017 (UTC)
- I heard a discussion at EMWCon Spring 2017 about how a company was using PonyDocs (an extension to MW with their customizations) to maintain references to different versions. Perhaps they could help you with what you want?
- (They mentioned they wanted to make their changes available, but needed a use case. You seem to have one.) ☠MarkAHershberger☢(talk)☣ 10:06, 29 March 2017 (UTC)
Password change without email extension
I would like to get on my wiki functionality for users so they would change their password without email confirmation. Is there extension like simple form with window old password. new password and accept? Halkerrr (talk) 13:55, 28 March 2017 (UTC)
Using the API respectfully
Hi, I'm really new to using API's and I want to make sure I don't accidentally overload the system with requests and get suspended. The program I am creating will most likely be making a lot of requests, how can I prevent overloading the system? If I make the requests in sequence and not all at once, is this enough? Thank you so much for the help! 129.236.228.255 (talk) 17:49, 28 March 2017 (UTC)
- There are a TON of API users. While I won't say there are no rules about respectul use -- a user agent with your info is a good start -- I would say that at this point you shouldn't worry about overloading the system. Make sure your API user has a connection to you (user agent info and account used) and you should be good for now. Parallel requests are (probably) fine. You can learn more as you go. ☠MarkAHershberger☢(talk)☣ 11:24, 29 March 2017 (UTC)
- See also: API:Etiquette —TheDJ (Not WMF) (talk • contribs) 17:29, 29 March 2017 (UTC)
Cannot download VisualEditor for 1.23, 404 not found
Cannot download VisualEditor for 1.23, 404 not found 193.105.201.11 (talk) 18:33, 28 March 2017 (UTC)
- Reported: https://phabricator.wikimedia.org/T161689 ☠MarkAHershberger☢(talk)☣ 10:01, 29 March 2017 (UTC)
Images
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 can't get any images to load. When I attempt, I only get spinning wheel and then the whole system freezes. Thanks. 143.116.116.91 (talk) 19:14, 28 March 2017 (UTC)
- That does not sound like a problem with MediaWiki. If you think it is, then can you please explain why you think MediaWiki is the culprit? ☠MarkAHershberger☢(talk)☣ 09:56, 29 March 2017 (UTC)
Image Embed
When I try to embed image and click upload, it is doing nothing. This is while writing in Media Wiki Talk. Using Chrome Browser OS Windows 10 Poppisue (talk) 21:28, 28 March 2017 (UTC)
- It isn't clear what you are trying to do, or where you are trying to do it.
- Could you provide more details of what you're doing and point to the wiki if it is public? ☠MarkAHershberger☢(talk)☣ 09:55, 29 March 2017 (UTC)
- Well when you are writing a talk page it offers the option to upload and embed an image in the document, but it doesn't work on Chrome or IE Poppisue (talk) 23:08, 30 March 2017 (UTC)
- If something (standard talkpage? Flow?) offers some option to upload, please provide steps to see that option, and if "it" doesn't work, share error messages or explain what exactly happens after which steps. Thanks. Malyacko (talk) 09:51, 31 March 2017 (UTC)
- And, I do not see my talk document I spent so much time writing. Am I looking in the wrong place? Poppisue (talk) 23:22, 30 March 2017 (UTC)
- Which wiki did you post it on? ☠MarkAHershberger☢(talk)☣ 10:24, 31 March 2017 (UTC)
- I thought I wrote it in Media Wiki Talk, but looks like I wrote it in Wikipedia, now it's there twice for some reason I could not find it and now it's there under contributions. I do not see any way to remove the previous version as I added some updated information. As far as the issue with embedding the file it's in the Wikipedia section, go to talk write your article, save it or even while you're writing it, click embed file then the option to upload shows when you click upload, nothing happens Poppisue (talk) 15:17, 31 March 2017 (UTC)
- Maybe on English Wikipedia. See https://tools.wmflabs.org/guc/?user=Poppisue Malyacko (talk) 17:47, 31 March 2017 (UTC)
- yes i see it there, now it's duplicated because I couldn't find it and did it again, I thought it was missing - now how can I remove duplicate? Poppisue (talk) 17:57, 31 March 2017 (UTC)
- I wrote it in Talk Media Wiki Poppisue (talk) 14:58, 31 March 2017 (UTC)
Infobox display issue
Hi, I got the musician Infobox to display correctly after exporting it from wikipedia and importing it to my installation. Unfortunately I just realized it's in english; so totally useless for my project. Fortunately there's a french version of all the templates I need on fr.wikipedia!
https://fr.wikipedia.org/wiki/Mod%C3%A8le:Infobox_Musique_(artiste)
I've imported it to my site and it doesn't show up correctly.
Link to my site for example: http://archives.musixplore.ca/index.php?title=Champignons
I've tried the given example on the Infobox Musique (artiste) page and also a customized one from another band page which both doesn't work.
I've tried importing a bunch of templates and it's still not working and I'm out of idea.
Your help is greatly appreciated! 74.58.149.224 (talk) 21:38, 28 March 2017 (UTC)
- It looks like everything is correct, but the layout is wrong. If that is the case, you should probably copy what you need (or all of) https://fr.wikipedia.org/wiki/MediaWiki:Common.css ☠MarkAHershberger☢(talk)☣ 09:53, 29 March 2017 (UTC)
- Thanks it's now working. I'm afraid I had the english common.css sheet instead of the french one.
- Is there any possible issues that my site slows down because I've imported a load of english useless templates I'll never use?
- Where can I delete them?
- thanks! 74.58.149.224 (talk) 17:10, 30 March 2017 (UTC)
- You can delete them on each page where there is a link to a deletion dialog.
- However, the templates shouldn't cause any noticeable problem. ☠MarkAHershberger☢(talk)☣ 10:38, 31 March 2017 (UTC)
Unable to connect to gerrit.wikimedia.org with ssh
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 have been able to connect to gerrit.wikimedia.org in the last two week but early last week I had to reinstall my wampserver so I tried to connect again based on the instructions on Gerrit/Tutorial. This time it didnot connect it kept bringing up Permission denied (publickey). Please someone tell me what I am not doing right
OS: Windows 10 Goldengide1 (talk) 02:20, 29 March 2017 (UTC)
- This is my debug message:
- $ ssh -p 29418 myusername@gerrit.wikimedia.org -v
- OpenSSH_7.3p1, OpenSSL 1.0.2j 26 Sep 2016
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: Connecting to gerrit.wikimedia.org [208.80.154.85] port 29418.
- debug1: Connection established.
- debug1: identity file /c/Users/Gideon/.ssh/id_rsa type 1
- debug1: key_load_public: No such file or directory
- debug1: identity file /c/Users/Gideon/.ssh/id_rsa-cert type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file /c/Users/Gideon/.ssh/id_dsa type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file /c/Users/Gideon/.ssh/id_dsa-cert type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file /c/Users/Gideon/.ssh/id_ecdsa type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file /c/Users/Gideon/.ssh/id_ecdsa-cert type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file /c/Users/Gideon/.ssh/id_ed25519 type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file /c/Users/Gideon/.ssh/id_ed25519-cert type -1
- debug1: Enabling compatibility mode for protocol 2.0
- debug1: Local version string SSH-2.0-OpenSSH_7.3
- debug1: Remote protocol version 2.0, remote software version GerritCodeReview_2.13.4-13-gc0c5cc4742 (SSHD-CORE-1.2.0)
- debug1: no match: GerritCodeReview_2.13.4-13-gc0c5cc4742 (SSHD-CORE-1.2.0)
- debug1: Authenticating to gerrit.wikimedia.org:29418 as 'Goldengide1'
- debug1: SSH2_MSG_KEXINIT sent
- debug1: SSH2_MSG_KEXINIT received
- debug1: kex: algorithm: ecdh-sha2-nistp256
- debug1: kex: host key algorithm: ssh-rsa
- debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
- debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
- debug1: sending SSH2_MSG_KEX_ECDH_INIT
- debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
- debug1: Server host key: ssh-rsa SHA256:j7HQoQ6fIuEgDHjONjI2CZ+2Iwxqgo2Ur5LbPqBgxOU
- debug1: Host '[gerrit.wikimedia.org]:29418' is known and matches the RSA host key.
- debug1: Found key in /c/Users/Gideon/.ssh/known_hosts:1
- debug1: rekey after 4294967296 blocks
- debug1: SSH2_MSG_NEWKEYS sent
- debug1: expecting SSH2_MSG_NEWKEYS
- debug1: rekey after 4294967296 blocks
- debug1: SSH2_MSG_NEWKEYS received
- debug1: SSH2_MSG_SERVICE_ACCEPT received
- debug1: Authentications that can continue: publickey
- debug1: Next authentication method: publickey
- debug1: Offering RSA public key: c:/wamp/www/mediawiki/.ssh/id_rsa
- debug1: Authentications that can continue: publickey
- debug1: Offering RSA public key: /c/Users/Gideon/.ssh/id_rsa
- debug1: Authentications that can continue: publickey
- debug1: Trying private key: /c/Users/Gideon/.ssh/id_dsa
- debug1: Trying private key: /c/Users/Gideon/.ssh/id_ecdsa
- debug1: Trying private key: /c/Users/Gideon/.ssh/id_ed25519
- debug1: No more authentication methods to try.
- Permission denied (publickey). Goldengide1 (talk) 02:22, 29 March 2017 (UTC)
- It looks like you are using a different key than the one you provided before. I think you need to go to https://gerrit.wikimedia.org/r/#/settings/ssh-keys and upload your key. ☠MarkAHershberger☢(talk)☣ 09:45, 29 March 2017 (UTC)
- thanks for the reply
- I made a mistake with my username.
- I could login with Goldengide1 on gerrit but when I checked my profile I saw goldengide.
- so I had to use goldengide in place of <username> and it worked. Thanks a bunch for showing concern Goldengide1 (talk) 23:36, 29 March 2017 (UTC)
Wiki page with Office 365 authentication [SOLVED- See bottom post]
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,
We want to setup WiKi page that should login with our Office 365 e-mail id.
Can you please help to setup it ?
Regards,
Nilesh
+91 9096841110 Nilesh.ekbote (talk) 06:13, 29 March 2017 (UTC)
- This should be possible using something like Extension:PluggableAuth and SAML. I'm happy to try and provide more information if needed but @Cindy.cicalese may have already done this (O365 integration) and be more help. ☠MarkAHershberger☢(talk)☣ 09:26, 29 March 2017 (UTC)
- Gr8, Thanks for your help.
- Can you please share the steps. Nilesh.ekbote (talk) 19:18, 3 April 2017 (UTC)
- It depends upon how you are authenticating with Office 365. There is some information that I found at https://support.office.com/en-us/article/Understanding-Office-365-identity-and-Azure-Active-Directory-06a189e7-5ec6-4af2-94bf-a22ea225a7a9 and https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-authentication-protocols that talks about the different options. Once you have determined which applies to you, you can follow the instructions linked from that second page. As Mark mentioned, you could use Extension:PluggableAuth with either Extension:OpenID Connect or Extension:SimpleSAMLphp to integrate with Office 365. I have not tested out that configuration, but those links should get you started, and you can let us know if you have more questions. Cindy.cicalese (talk) 01:21, 4 April 2017 (UTC)
- @Nilesh.ekbote, if you end up doing this, documentation for how would be wonderful. ☠MarkAHershberger☢(talk)☣ 14:43, 4 April 2017 (UTC)
- @Nilesh.ekbote, I am trying to do same and facing some issues, can you provide the documentation or high level steps to authenticate wiki with Office 365. Srikanth1239 (talk) 11:15, 13 April 2018 (UTC)
- I am also facing issue, any 100% wokring documented solution . Vijay711 (talk) 09:21, 21 June 2018 (UTC)
- Following up on Cindy's links, it looks like this set of articles covers the necessary information to set up SAML. Still no recipe, but a place to start. ☠MarkAHershberger☢(talk)☣ 20:30, 24 July 2018 (UTC)
- You can follow this Microsoft tutorial. This tutorial is based on Laravel, But you can create a new wiki extension and use those classes and functions.
- https://docs.microsoft.com/en-us/outlook/rest/php-tutorial
- **Register the app with Microsoft Application Registration Portal
- **Redirect URL need to change: https://app-url/authorize => https://app-url/index.php
- **Load necessary libraries using composer
- **Then Create your new extension “Office365Auth” in extensions directory and create below class files.
- AuthController.php, OfficeAuth.php, TokenCache.php, LocalSettingsInclude.php (Copy the implementation from the tutorial)
- **When you click on the login link in the header-> you should call the signIn() function of the tutorial to redirect to the office365 login page.
- **In the return after a valid login -> create a new wiki user or login with existing wiki user by email.
- Hope this helps as a starting point Cms.lakruwan (talk) 07:52, 2 October 2018 (UTC)
- I know this is old but people may still find themselves here...
- There seems to be a working tutorial here:
- https://medium.com/vivritiengineering/mediawiki-and-azure-single-sign-on-e3fbc13d1f46
- Hope this helps. 147.147.174.219 (talk) 20:12, 29 January 2019 (UTC)
- This is great - thank you! Cindy.cicalese (talk) 16:32, 30 January 2019 (UTC)
Vector skin not working
Hey,
I'm trying to use the Vector skin but it seems that it won't fully "load" up all the css files, All the other skins worksjust fine but not Vector.
When i do the following
I get these error messages:
/*
Problematic modules: {"ext.smw.style":"missing","ext.smw.tooltip.styles":"missing"}
*/
I have no idea what I could do to fix this, I've tried multiple solutions online in vain. 78.70.128.190 (talk) 21:05, 29 March 2017 (UTC)
- I can't see what version of Semantic MediaWiki you have installed, but that extension seems to be the problem. What happens if you disable it? ☠MarkAHershberger☢(talk)☣ 05:48, 30 March 2017 (UTC)
- Two things come to my mind here: Either
$wgServeris set to something else than $wgServer = 'http://dankerino.000webhostapp.com';
in your "LocalSettings.php" file or you did not addenableSemantics( dankerino.000webhostapp.com );
to your "LocalSettings.php" file when installing Semantic MediaWiki. [[kgh]] (talk) 08:25, 30 March 2017 (UTC)
Could not create directory "mwstore://local-backend/local-public/5/52".
an error, when i upload Could not create directory "mwstore://local-backend/local-public/5/52". how to resolve ? Saverid (talk) 03:26, 30 March 2017 (UTC)
- You need to check your permissions on the images sub directory and make sure your web server can write to it. See Manual:$wgEnableUploads. As noted there,
☠MarkAHershberger☢(talk)☣ 05:55, 30 March 2017 (UTC)Note: When enabling file uploads, you must also make the
imagesdirectory writable by the web server, otherwise you will just see an error such asfailed to open stream: Operation not permitted. - I've verified images directory permissions and enabled uploads in LocalSetting.php. I'm still not able to upload images/files. 129.244.90.30 (talk) 17:50, 30 March 2017 (UTC)
- Is your wiki public? Could you post a URL for it?
- Are there any files at all in your images directory?
- What are the permissions on your images directory? ☠MarkAHershberger☢(talk)☣ 10:35, 31 March 2017 (UTC)
Preferences: Notification
In my Tab preferences I don't see tab notification.
How I can do to visualize and configure it to receive email notification for evry changes pages upload..
thanks Brimar (talk) 09:06, 30 March 2017 (UTC)
- You could install the Extension:Echo to get the notifications tab.
- Being notified for every upload is not straight-forward, but see Manual:$wgUsersNotifiedOnAllChanges ☠MarkAHershberger☢(talk)☣ 10:42, 30 March 2017 (UTC)
- thanks I'll do it Brimar (talk) 15:55, 30 March 2017 (UTC)
- Sorry Mark I'm tryng to install Extension:Echo, but the file I find in the Extension:Echo to update the database is updateEchoSchemaForSuppression.php and not update.php. Is it the same? Brimar (talk) 20:27, 30 March 2017 (UTC)
- The update.php you need is the standard one in your mediawiki/maintenance directory. If you've installed the extension correctly, running "cd wikidir; php maintenance/update.php" will do everything you need. ☠MarkAHershberger☢(talk)☣ 10:28, 31 March 2017 (UTC)
- in mediawiki/maintenance i find only updateEchoSchemaForSuppression.php.
- I don'nt know Why. Brimar (talk) 16:48, 31 March 2017 (UTC)
- What files are in the directory above the maintenance directory? ☠MarkAHershberger☢(talk)☣ 09:46, 1 April 2017 (UTC)
- These are the files I have the maintenance directory (mediawiki release is 1.27)
- updateEchoSchemaForSuppression.php
- testDiscussionParser.php
- removeInvalidTargetPage.php
- removeInvalidNotification.php
- processEchoEmailBatch.php
- generateSampleNotifications.php
- generateSampleNotifications.php
- backfillUnreadWikis.php Brimar (talk) 17:00, 2 April 2017 (UTC)
- I don't know how that is what is in your maintenance directory unless you are looking at extensions/Echo/maintenance.
- If you go two directories up and look in the maintenance directory there, you should see update.php. ☠MarkAHershberger☢(talk)☣ 17:46, 2 April 2017 (UTC)
- I downloaded https://extdist.wmflabs.org/dist/extensions/Echo-REL1_27-b87fa2f.tar.gz
- from the link https://www.mediawiki.org/wiki/Special:ExtensionDistributor?extdistname=Echo&extdistversion=REL1_27
- The files above are the files I have in the directory extensions/Echo/maintenance and there is no update.php Brimar (talk) 18:53, 2 April 2017 (UTC)
- I find update.php in the directory
- ../wiki/maintenance
- Is this one?
- I thoght i haad to look in the echo dir
- grazie
- maria
- now I have to resolve the problem How to execute update.ph
- do I need to use putty? I hope it is possibile in my domain
- thankyou again Brimar (talk) 20:04, 2 April 2017 (UTC)
- That is the right update.php. You would have to use putty. From the other thread you've opened, it looks like you can't? ☠MarkAHershberger☢(talk)☣ 14:48, 5 April 2017 (UTC)
- I'try with putty
- I'm asking to my hosting serve but still they did'nt aswer Brimar (talk) 07:19, 6 April 2017 (UTC)
How to implement a support Q&A section like this 'Project:Support desk' on a mediawiki install?
How to implement a support Q&A section like this 'Project:Support desk' on a mediawiki install?
the GUI doesn't seem to be the product of a single Extension, is it possible to add such a section to 'my' mediawiki Wiki ??
Thanks LucaPost (talk) 10:06, 30 March 2017 (UTC)
- You can use Extension:Flow to implement this sort of discussion. ☠MarkAHershberger☢(talk)☣ 10:38, 30 March 2017 (UTC)
Where to report bad language translation?
That is what I entered in Google. I can't seem to be able to find the proper way to report this.
I just installed mediawiki 1.28.0 and chose frc- françias cadien for the Wiki language.
After finishing the setup and starting using my wiki I stumbled upon a very obvious huge mistake: the word espécial everywhere instead of spécial.
This is the kind of mistake that urgently needs to be corrected. I am not going to work on my wiki as long as this mistake has not been fixed.
Thanks in advance for helping me. TiriPon (talk) 15:31, 30 March 2017 (UTC)
- The translation of the namespace NS_SPECIAL is in the corresponding language file under languages/messages/Messages***.php . Translations are (mostly) handled on translatewiki.net Malyacko (talk) 16:09, 30 March 2017 (UTC)
- Thanks for this information. I went there but I still can't report anything. It is not letting me edit the discussion page nor login in nor create an account. TiriPon (talk) 17:00, 30 March 2017 (UTC)
- Why can't you create an account? Malyacko (talk) 09:56, 31 March 2017 (UTC)
Autocomplete stopped working
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.
- First-time post, so forgive the naivete.
- Autocomplete (search suggestions) has stopped working on our wiki ever since I made my first edit to LocalSettings.php (added $wgUrlProtocols[] = "file://";
- MediaWiki version: 1.23.0
- PHP: 5.5.13 (cgi-fcgi)
- MySQL: 5.6.19-log Andygreten (talk) 17:33, 30 March 2017 (UTC)
- Running version 1.23.0 you have bigger problems, e.g. numerous security vulnerabilities. Please upgrade to a supported version. Malyacko (talk) 09:54, 31 March 2017 (UTC)
- I should add, I undid the edit, and Autocomplete didn't come back -- so I'm assuming the problem is elsewhere. Thanks. Andygreten (talk) 17:44, 30 March 2017 (UTC)
- As @Malyacko said, you really should upgrade.
- Is your wiki public? Could you point to it?
- Finally, check your browser's debugging tool. Here are instructions for how to invoke it.
- Using that tool, you should be able to see your browser try to connect to your wiki's api.php. If there are problems, that will give you an indication of what they are. ☠MarkAHershberger☢(talk)☣ 11:00, 31 March 2017 (UTC)
- Thanks for the replies.
- I actually found the problem -- though I'm somewhat embarrassed to share the cause. Somehow a "$" got in on the first line of LocalSettings.php -- so instead of it reading <?php it said $<?php. As soon as I deleted the $, autocomplete came back. Being new to php, I didn't recognize this as a problem.
- Thanks for the link on browser debugging. That was new to me. Actually, by doing that, it directed me to other .php files, and that's where I noticed the difference. Thanks again. Andygreten (talk) 16:07, 31 March 2017 (UTC)
Error Establishing Database Connection From Landing Page
My url is "novaignition.space". But when users put that into the browser, the response that returns is "Error Establishing Database Connection".
When I send people to "http://novaignition.space/wiki/index.php?title=Main_Page" everything works as expected.
I've created the permanent redirect from "novaignition.space" to "http://novaignition.space/wiki/index.php?title=Main_Page" in my hosting account but that hasn't helped.
Any suggestions on how to remediate this issue? Wildcat0810 (talk) 22:26, 30 March 2017 (UTC)
- It would be interesting to know what is happening when novaignition.space is called directly.
- If you only have the wiki installed under that URL, then it might be an idea to set up a redirect from the domain itself to the subfolder wiki/. Calling novaignition.space/wiki shows the wiki as it should. 87.123.251.5 (talk) 03:49, 31 March 2017 (UTC)
- If that doesn't help, you probably need to contact your hosting provider. They're using nginx and .htaccess files may not help. ☠MarkAHershberger☢(talk)☣ 10:33, 31 March 2017 (UTC)
Import error
- When I try to import an xml file in Special:Import, after some template correctly imported, it says me an error: "Unable to launch a new process." and stops importing new templates. 79.23.85.172 (talk) 02:33, 31 March 2017 (UTC)
- One of the pages you're importing seems to be a Lua module (see Extension:Scribunto).
- It requires the ability to launch a new process to call the Lua interpreter. Your server may have some restrictions preventing that, like disabled php functions or SELinux restrictions.
- See Manual:How to debug to try to obtain more detailed error message, either setting a debug log or $wgShowExceptionDetails Ciencia Al Poder (talk) 09:27, 31 March 2017 (UTC)
Fatal error: Cannot redeclare wfGetCache()
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.
Estoy intentando ejecutar el script de actualización y me está mostrando este mensaje:
"Fatal error: Cannot redeclare wfGetCache() (previously declared in /kunden/136826_81375/neotropicos/mediawiki-1.28.0/includes/GlobalFunctions.php:3412) in /kunden/136826_81375/neotropicos/mediawiki-1.28.0/includes/objectcache/ObjectCache.php on line 106".
Me podrían ayudar al respecto? muchas gracias. Mmtorou (talk) 08:09, 31 March 2017 (UTC)
- Qué hay en /kunden/136826_81375/neotropicos/mediawiki-1.28.0/includes/objectcache/ObjectCache.php línea 106?
- Debería haber algo como esto pero el error indica que se intenta declarar wfGetCache()
- Descomprimiste el código de MediaWiki en un directorio limpio (sin restos de una instalación anterior)? Ciencia Al Poder (talk) 09:15, 31 March 2017 (UTC)
- Si. Eso es lo que aparece en la línea 106. La idea es que estoy tratando de actualizar mi Wiki de 1.11 a 1.28 y además la estoy migrando de servidor. La MediaWiki la instaló el administrador del servidor pero creo que sí fue desde ceros. Mmtorou (talk) 17:59, 31 March 2017 (UTC)
- Puedes ser más específico sobre lo que aparece en esa línea?
- wfGetCache() se redefine en ese archivo solo en MediaWiki 1.11 [3], que es precisamente la versión de origen. Como pudiste ver en el anterior enlace, ya no existen redefiniciones de wfGetCache en ObjectCache.php
- Por favor dile al administrador del servidor que siga los pasos indicados en Manual:Upgrading/es, especialmente debe extraer los archivos de instalación en un nuevo directorio limpio, y sobre eso copiar (si procede) el archivo LocalSettings.php desde la instalación anterior, así como las imágenes. Si tenía extensiones instaladas, debería bajarse el código actualizado de esas extensiones (no copiarlas de la instalación anterior) Ciencia Al Poder (talk) 10:13, 1 April 2017 (UTC)
- Eso es lo que he hecho varias veces, seguir los pasos del manual. Lo último que hice fue reinstalar la MediaWiki 1.28 desde ceros y voy a probar nuevamente. Luego le cuento si pude solucionarlo. Mmtorou (talk) 01:47, 2 April 2017 (UTC)
- Bueno, ya por fin pude actualizar sin errores, pero en este momento me muestra lo siguiente cuando trato de cargar la página:
- "Fatal error: Call to undefined method OutputPage::setEncodings() in /kunden/136826_81375/neotropicos/mediawiki-1.28.0/index.php on line 47"
- Cómo lo puedo corregir? Muchas gracias. Soy muy nueva en esto. Mmtorou (talk) 09:04, 2 April 2017 (UTC)
- Este es el código:
- # Initialize MediaWiki base class
- require_once( "includes/Wiki.php" );
- $mediaWiki = new MediaWiki();
- wfProfileIn( 'main-misc-setup' );
- OutputPage::setEncodings(); # Not really used yet
- $maxLag = $wgRequest->getVal( 'maxlag' );
- if ( !is_null( $maxLag ) ) {
- if ( !$mediaWiki->checkMaxLag( $maxLag ) ) {
- exit;
- }
- } Mmtorou (talk) 09:18, 2 April 2017 (UTC)
- /kunden/136826_81375/neotropicos/mediawiki-1.28.0/index.php debería contener exactamente lo que hay aquí, que es lo que hay en los archivos de MediaWiki 1.28, sin embargo el código que muestras es lo que había en la versión 1.11. Nuevamente tienes archivos antiguos de MediaWiki 1.11 en lo que se supone debería ser MediaWiki 1.28. Nuevamente repito que debes extraer los archivos de MediaWiki 1.28 en un nuevo directorio vacío limpio, y copiar de la versión anterior únicamente el LocalSettings.php, imágenes y en principio nada más. Ciencia Al Poder (talk) 13:38, 2 April 2017 (UTC)
- Muchas gracias. Ya me carga OK. Mmtorou (talk) 16:43, 2 April 2017 (UTC)
- Una última cosa, la página principal de la Wiki me está apuntado a una que se llama así precisamente, "Página principal" y no lo hace a la que debería que se llama "Portada", por lo que no se visualiza, aunque el resto de la página funciona OK. El direccionamiento a esta página es propiedad de la Wiki o se soluciona al asignar el nombre de dominio apuntando a "Portada"? En este momento el dominio todavía no apunta a la página. Muchas gracias. Mmtorou (talk) 07:00, 3 April 2017 (UTC)
- Debes editar la página MediaWiki:Mainpage (en tu wiki) poniendo el título de la página que actúa como portada. Ciencia Al Poder (talk) 09:19, 3 April 2017 (UTC)
- Es que realmente el problema no es el título. Lo que pasa es que al abrir la wiki el va directamente a "http://neotropicos-mw128.7und5.de/index.php?title=Página_principal" y necesito que vaya a http://neotropicos-mw128.7und5.de/index.php?title=Portada". Mmtorou (talk) 16:09, 3 April 2017 (UTC)
- Acabo de verificar y lo que pasa es que en mi wiki Mainpage está borrada. Mmtorou (talk) 16:37, 3 April 2017 (UTC)
- Como digo, tienes que editar (o crear, si no existe), MediaWiki:Mainpage, escribiendo ahí el título de la página que será la principal. Revisa Help:System_message/es para más información. Ciencia Al Poder (talk) 19:50, 3 April 2017 (UTC)
- Muchas gracias por tu invaluable ayuda. Como te expliqué soy nueva en esto pero la Wiki ya está en el nuevo servidor y funcionando OK gracias a tu ayuda. Mmtorou (talk) 17:03, 4 April 2017 (UTC)
mediawiki 1.28.0 & multimediaViewer – (b426dc3) problems
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 work with wampserver 2.5 on my window 10 local machine I create one page with 3 galleries
as you can view the wiki code here [4]
- Problem 1 : when I click on one image the mediaviewer opens with a black screen (no jpg is loaded)
- Problem 2 : the second gallery cannot create thumb
- Problem 3 : the third gallery report on the page one blurred picture as if it want to zoom the thumb
(the result 1.28 is viewable here [5]) and the listing of generated source code may be download here [6]
The mediawiever didn't report me a black screen when I used mediawiki 1.25.0 with multimediawiever 0.3.0 the second gallery report correctly the thumb the third gallery report thumbs (OK this mode slideshow is designed for 1.28)
(the result 1.25.2 is viewable here [7]) and the listing of generated source code may be download here [8]
SORRY : problem 2 and 3 are now solved by setting $wgUseImageMagik to false in the local setting
but the click for request "open in mediaviewer" always open a black screen So the problem 1 is not solved Chantoune (talk) 17:54, 31 March 2017 (UTC)
- Have you tried installing ImageMagick? ☠MarkAHershberger☢(talk)☣ 10:01, 1 April 2017 (UTC)
- My problem is now solved the MutimediaViewer runs (without black screen !)
- $wgImageMagick has to be set to "false"; in the localsetting.php
- But I remove my wampserver2.5 (after making an export of my database)
- Then I performed a fresh install of wampserver3.0.6 (32 bits version) and made an import of my saved database Chantoune (talk) 17:00, 2 April 2017 (UTC)
Private Sandbox
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 talked to several women that mentioned that when they are making a draft in their own user sandbox, other users (men) has interfered and "helped" them. They didn't like that other people had access to their work before the first version was ready to be published.
Stewards could have access to the private sandboxes, but no other users but yourself, even administrators.
A version that you could give other trusted users access could be a feature.
I talked to Quim Gil today and he said that this requirement should be registered and looked at.
This could help on topics like Gender Gap and harassments.
Hogne Hogne (talk) 18:08, 31 March 2017 (UTC)
- If you want to register this, you should put a request in Phabricator. It sounds like you are in Berlin if you talked to Quim. I'm in Berlin as well and can help you if you like. Let me know. ☠MarkAHershberger☢(talk)☣ 09:50, 1 April 2017 (UTC)
- This was reported as https://phabricator.wikimedia.org/T161952 Malyacko (talk) 10:13, 4 April 2017 (UTC)