Difference between revisions of "Wikispooks talk:Site Status"

From Wikispooks
Jump to navigation Jump to search
m (reply)
 
(36 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Known Issues==
+
==Unresolved Issues==
* Site not accepting SVG file uploads. [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 07:05, 12 January 2014 (GMT)
 
* Site not accepting any uploads from URLs (local files only). Reports: {{RED|'''Fatal exception of type MWException'''}} [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 07:05, 12 January 2014 (GMT)
 
  
:* I've added 'svg' to the list of 'preferred' u-load extensions. extensions not on the list will normally just trigger a warning which can be over-ridden provided the extension isn't on the extensions blacklist and 'svg' isn't on the blacklist.
+
Wikispooks has some known issues (a.k.a. bugs). Until 2014, this was the place for reporting those which the site management should fix.
:* I think the non-local u-load issue is more likely to be a function of the precise location/action the download url is pointing to. It needs to be a url which triggers a confirmation dialogue box when downloading to a local machine. For example, url's which cause a pdf to open in a browser trigger that same exception error --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 07:28, 12 January 2014 (GMT)
+
{{RED|Nowadays, please report bugs, feature requests etc.  at the [[Project talk:Community portal|Community portal]].}}
  
==News==
+
==2014==
===10 January 2014 - New server heads-up===
+
==="Publish to <nowiki>{{SITENAME}}</nowiki>" (2014-03-18)===
Current server is struggling on RAM. Current term expires end of Jan.
+
That is the headline of the modal dialog box on pages after clicking the top right "Publish" button. [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 16:56, 18 March 2014 (GMT)
  
I have commissioned a new one. Cloud-based VM it has 2Gb RAM and a 100Mb/s pipe (3 times and 10 times current spec respectively. I have successfully transferred all progs and data and am configuring and testing using just its IP address for now. Inevitable irritating glitches remaining - mainly php and apache config issues. It is proving a good test of re-constituting the site from the backups. I expect to be ready to go with it inside a week. I'll give 24 hours notice of the change because I will need to refresh from latest backups to avoid losing anything and will therefore have to disable any editing for at least an hour - probably have to take the site right off line in fact. Watch out for the main page banner + content on this main page. I'll be as precise as possible about timing --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 21:38, 10 January 2014 (GMT)
+
===Return not working as it should on page edits (2014-02)===
 +
Hitting return after a page edit doesn't enter the edit, it brings up a "Publish to <nowiki>{{SITENAME}}</nowiki>" dialog box, inviting a reentry of the edit summary just typed. Apart from simply wasting time, this discourages editors from describing their edits. [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 18:02, 13 June 2014 (IST)
  
:Current server contract goes 'til end of February so no pressure to get the new one up and running after all. However, it's going well so still likely to be within a week or so. Major lessons learned on site-reconstitution and required backups, so changes are needed there too. --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 07:28, 12 January 2014 (GMT)
+
===Scribunto and SMW data errors (2014-02-12)===
 +
The are two distinct issues that show when rebuilding Semantic Data:
 +
 
 +
1. a php <code>Notice</code> that objects to the variable assigned to <code>SERVER_NAME</code>. This now affects just one record. The error message is:
 +
 
 +
<code>PHP Notice: Undefined index: SERVER_NAME in /wikipath/includes/GolbalFunctions.php on line 1743</code> - and Yes, the mis-spelling of 'GlobalFunctions.php' IS the actual message generated.
 +
 
 +
This is probably related to edits done on the new server before the DNS records were changed and <code>LocalSettings.php</code> contained the IP address rather than the host and domain names - With just 1 affected record I'm not too bothered about it.
 +
 
 +
2. A fatal php error that halts the <code>SMW_refreshDate.php</code> script at each affected record (there are 17 of them). This is more serious because it halts the automatic jobs queue updating with unpredictable results. With <code>$wgShowExceptionDetails= true;</code>, this is the full exception report on each record ID number:
 +
 
 +
<poem><code>(0) Processing ID 7778 ...
 +
[059acad5] [no req]  Exception from line 322 of /wikipath/includes/content/ContentHandler.php: No handler for model 'Scribunto' registered in $wgContentHandlers
 +
Backtrace:
 +
0 /wikipath/includes/content/ContentHandler.php(262): ContentHandler::getForModelID(string)
 +
1 /wikipath/includes/Title.php(4823): ContentHandler::getForTitle(Title)
 +
2 /wikipath/includes/parser/Parser.php(837): Title->getPageLanguage()
 +
3 /wikipath/includes/parser/Parser.php(844): Parser->getTargetLanguage()
 +
4 /wikipath/includes/parser/Parser.php(3362): Parser->getConverterLanguage()
 +
5 /wikipath/includes/parser/Preprocessor_DOM.php(1114): Parser->braceSubstitution(array, PPFrame_DOM)
 +
6 /wikipath/includes/parser/Parser.php(3149): PPFrame_DOM->expand(PPNode_DOM, integer)
 +
7 /wikipath/includes/parser/Parser.php(1212): Parser->replaceVariables(string)
 +
8 /wikipath/includes/parser/Parser.php(395): Parser->internalParse(string)
 +
9 /wikipath/includes/content/WikitextContent.php(300): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
 +
10 /wikipath/extensions/SemanticMediaWiki/includes/ContentParser.php(155): WikitextContent->getParserOutput(Title, integer, NULL, boolean)
 +
11 /wikipath/extensions/SemanticMediaWiki/includes/ContentParser.php(112): SMW\ContentParser->fetchFromContent()
 +
12 /wikipath/extensions/SemanticMediaWiki/includes/jobs/UpdateJob.php(102): SMW\ContentParser->parse()
 +
13 /wikipath/extensions/SemanticMediaWiki/includes/jobs/UpdateJob.php(79): SMW\UpdateJob->runContentParser()
 +
14 /wikipath/extensions/SemanticMediaWiki/includes/jobs/UpdateJob.php(52): SMW\UpdateJob->runUpdate()
 +
15 /wikipath/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_S QLStore3_SetupHandlers.php(401): SMW\UpdateJob->run()
 +
16 /wikipath/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(410): SMWSQLStore3SetupHandlers->refreshData(integer, integer, boolean, boolean)
 +
17 /wikipath/extensions/SemanticMediaWiki/maintenance/SMW_refreshData.php(148): SMWSQLStore3->refreshData(integer, integer, boolean, boolean)
 +
18 {main}</code></poem>
 +
 
 +
Posted here for the record and to assist with resolving the issue
 +
 
 +
These 19 records return the errors with both Scribunto and the php cache (APC) disabled, so the records themselves contain Scribunto-related information that the script cannot deal with.
 +
 
 +
My initial problem is that I do not know what exactly the 'Record ID' refers to because there is NOT a 1:1 relationship between it and individual pages. - ALL FI --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 10:17, 12 February 2014 (GMT)
 +
 
 +
:No specific ideas on this. Does http://trog.qgl.org/20110815/setting-up-infobox-templates-in-mediawiki/comment-page-1 this] help at all? [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 14:51, 12 February 2014 (GMT)
 +
 
 +
== Resolved Issues ==
 +
 
 +
===Problem with creating new page as group or website===
 +
I created https://wikispooks.com/wiki/TruNews but it does not render the box as usual, tried as group and website but both looks the same. [[User:Sunvalley|Sunvalley]] ([[User talk:Sunvalley|talk]]) 11:35, 3 February 2020 (UTC)
 +
:This was caused by a missing "}}". Now fixed. -- [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 13:42, 3 February 2020 (UTC)
 +
 
 +
===<s>Editing screen loss of functionality (2014-07-26)</s>===
 +
The 'edit' facility just got harder. Specifically:
 +
* The tabbed "preview" option vanished
 +
* The click-to-type option e.g. for "#REDIRECT[[ ]]" is still present but doesn't work.
 +
[[User:Robin|Robin]] ([[User talk:Robin|talk]]) 01:42, 27 July 2014 (IST)</s>
 +
: My bad. This was due to my own random disabling of javascript. Silly me. [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 12:28, 4 May 2015 (IST)
 +
 
 +
===<s>Description issue (2014-06-14)</s>===
 +
All the descriptions seem to interpreted as being of type  ''page'', but they should be ''text''. i.e. no link. e.g. [[Description::This]]. [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 21:11, 13 June 2014 (IST)
 +
:There's more to it than that. Whatever the problem, it is causing many descriptions not to show at all. eg look at [[Ukraine coup 2014#Related_Documents]]. I guess that might be a function of changing the |Description to |description. If you don't find it before, I'll delete/rebuild all semantic data again tomorrow morning. It takes about an hour. Also, I only noticed the problem in the late stages of you doing all those text replacements - so possibly connected with a long pending jobs queue + the cache. I'll have a good look tomorrow. Also there's a problem with the DocType property - not displaying properly --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 21:34, 13 June 2014 (IST)</s>
 +
::I've upped the jobs queue run rate. The descriptions issue looks to be clearing with the jobs queue. DocType problem remains --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 21:57, 13 June 2014 (IST)
 +
:::All seems to be OK now. Looks like it was a Jobs Queue issue --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 07:15, 14 June 2014 (IST)
 +
::::Great. And it looks like display doctype got fixed as well. [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 09:33, 14 June 2014 (IST)
 +
 
 +
===<s>Special:ReplaceText (2014-03-18)</s>===
 +
[[Special:ReplaceText]] pretends to work, but the changes don't happen. ''This is slowing down the SMW rollout, since it is needed to tidy the object parameters.'' [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 16:56, 18 March 2014 (GMT)</s>
 +
:Fixed by a MW/SMW update: ([[User talk:Peter|talk]]) 12 June 2014 (IST)
 +
 
 +
===<s>Scribunto 'Script Error's (2014-02-16)</s>===
 +
I am now certain that the red 'script error' messages that appear here and there - especially in cite reference lists - are the result of this server have ''Perl Compiled Regular Expression Library (PCRE)'' V 7.8, whereas the extension spec calls for >=8.1. The only way to upgrade ''PCRE'' on this server OS is to move to php V 5.5.xxx. This can be done but there are potential issues and, since php/MySQL are absolutly fundamental to the entire site, they need sorting out first. The most problematic is that there are core Mediawiki scripts which still contain calls to deprecated functions. With the version we are running this only generates a warning which can be (and is) suppressed but, in php V 5.5 they may have been dropped altogether. If so, an upgrade would break the site and I need to be certain about these things before proceeding. So, summary: Let's live with those script errors for now because at some time in the future, hopefully sooner rather than later, they will fix themselves. --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 19:26, 16 February 2014 (GMT)
 +
: Yeah, it's not major. [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 16:52, 12 June 2014 (IST)</s>
 +
:: Not seen these for ages. Seems it got fixed somewhen by an upgrade. [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 12:39, 4 May 2015 (IST)

Latest revision as of 15:58, 24 November 2020

Unresolved Issues

Wikispooks has some known issues (a.k.a. bugs). Until 2014, this was the place for reporting those which the site management should fix. Nowadays, please report bugs, feature requests etc. at the Community portal.

2014

"Publish to {{SITENAME}}" (2014-03-18)

That is the headline of the modal dialog box on pages after clicking the top right "Publish" button. Robin (talk) 16:56, 18 March 2014 (GMT)

Return not working as it should on page edits (2014-02)

Hitting return after a page edit doesn't enter the edit, it brings up a "Publish to {{SITENAME}}" dialog box, inviting a reentry of the edit summary just typed. Apart from simply wasting time, this discourages editors from describing their edits. Robin (talk) 18:02, 13 June 2014 (IST)

Scribunto and SMW data errors (2014-02-12)

The are two distinct issues that show when rebuilding Semantic Data:

1. a php Notice that objects to the variable assigned to SERVER_NAME. This now affects just one record. The error message is:

PHP Notice: Undefined index: SERVER_NAME in /wikipath/includes/GolbalFunctions.php on line 1743 - and Yes, the mis-spelling of 'GlobalFunctions.php' IS the actual message generated.

This is probably related to edits done on the new server before the DNS records were changed and LocalSettings.php contained the IP address rather than the host and domain names - With just 1 affected record I'm not too bothered about it.

2. A fatal php error that halts the SMW_refreshDate.php script at each affected record (there are 17 of them). This is more serious because it halts the automatic jobs queue updating with unpredictable results. With $wgShowExceptionDetails= true;, this is the full exception report on each record ID number:

(0) Processing ID 7778 ...
[059acad5] [no req] Exception from line 322 of /wikipath/includes/content/ContentHandler.php: No handler for model 'Scribunto' registered in $wgContentHandlers
Backtrace:
0 /wikipath/includes/content/ContentHandler.php(262): ContentHandler::getForModelID(string)
1 /wikipath/includes/Title.php(4823): ContentHandler::getForTitle(Title)
2 /wikipath/includes/parser/Parser.php(837): Title->getPageLanguage()
3 /wikipath/includes/parser/Parser.php(844): Parser->getTargetLanguage()
4 /wikipath/includes/parser/Parser.php(3362): Parser->getConverterLanguage()
5 /wikipath/includes/parser/Preprocessor_DOM.php(1114): Parser->braceSubstitution(array, PPFrame_DOM)
6 /wikipath/includes/parser/Parser.php(3149): PPFrame_DOM->expand(PPNode_DOM, integer)
7 /wikipath/includes/parser/Parser.php(1212): Parser->replaceVariables(string)
8 /wikipath/includes/parser/Parser.php(395): Parser->internalParse(string)
9 /wikipath/includes/content/WikitextContent.php(300): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
10 /wikipath/extensions/SemanticMediaWiki/includes/ContentParser.php(155): WikitextContent->getParserOutput(Title, integer, NULL, boolean)
11 /wikipath/extensions/SemanticMediaWiki/includes/ContentParser.php(112): SMW\ContentParser->fetchFromContent()
12 /wikipath/extensions/SemanticMediaWiki/includes/jobs/UpdateJob.php(102): SMW\ContentParser->parse()
13 /wikipath/extensions/SemanticMediaWiki/includes/jobs/UpdateJob.php(79): SMW\UpdateJob->runContentParser()
14 /wikipath/extensions/SemanticMediaWiki/includes/jobs/UpdateJob.php(52): SMW\UpdateJob->runUpdate()
15 /wikipath/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_S QLStore3_SetupHandlers.php(401): SMW\UpdateJob->run()
16 /wikipath/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(410): SMWSQLStore3SetupHandlers->refreshData(integer, integer, boolean, boolean)
17 /wikipath/extensions/SemanticMediaWiki/maintenance/SMW_refreshData.php(148): SMWSQLStore3->refreshData(integer, integer, boolean, boolean)
18 {main}

Posted here for the record and to assist with resolving the issue

These 19 records return the errors with both Scribunto and the php cache (APC) disabled, so the records themselves contain Scribunto-related information that the script cannot deal with.

My initial problem is that I do not know what exactly the 'Record ID' refers to because there is NOT a 1:1 relationship between it and individual pages. - ALL FI --Peter P (talk) 10:17, 12 February 2014 (GMT)

No specific ideas on this. Does http://trog.qgl.org/20110815/setting-up-infobox-templates-in-mediawiki/comment-page-1 this] help at all? Robin (talk) 14:51, 12 February 2014 (GMT)

Resolved Issues

Problem with creating new page as group or website

I created https://wikispooks.com/wiki/TruNews but it does not render the box as usual, tried as group and website but both looks the same. Sunvalley (talk) 11:35, 3 February 2020 (UTC)

This was caused by a missing "}}". Now fixed. -- Robin (talk) 13:42, 3 February 2020 (UTC)

Editing screen loss of functionality (2014-07-26)

The 'edit' facility just got harder. Specifically:

  • The tabbed "preview" option vanished
  • The click-to-type option e.g. for "#REDIRECT[[ ]]" is still present but doesn't work.

Robin (talk) 01:42, 27 July 2014 (IST)

My bad. This was due to my own random disabling of javascript. Silly me. Robin (talk) 12:28, 4 May 2015 (IST)

Description issue (2014-06-14)

All the descriptions seem to interpreted as being of type page, but they should be text. i.e. no link. e.g. This. Robin (talk) 21:11, 13 June 2014 (IST)

There's more to it than that. Whatever the problem, it is causing many descriptions not to show at all. eg look at Ukraine coup 2014#Related_Documents. I guess that might be a function of changing the |Description to |description. If you don't find it before, I'll delete/rebuild all semantic data again tomorrow morning. It takes about an hour. Also, I only noticed the problem in the late stages of you doing all those text replacements - so possibly connected with a long pending jobs queue + the cache. I'll have a good look tomorrow. Also there's a problem with the DocType property - not displaying properly --Peter P (talk) 21:34, 13 June 2014 (IST)
I've upped the jobs queue run rate. The descriptions issue looks to be clearing with the jobs queue. DocType problem remains --Peter P (talk) 21:57, 13 June 2014 (IST)
All seems to be OK now. Looks like it was a Jobs Queue issue --Peter P (talk) 07:15, 14 June 2014 (IST)
Great. And it looks like display doctype got fixed as well. Robin (talk) 09:33, 14 June 2014 (IST)

Special:ReplaceText (2014-03-18)

Special:ReplaceText pretends to work, but the changes don't happen. This is slowing down the SMW rollout, since it is needed to tidy the object parameters. Robin (talk) 16:56, 18 March 2014 (GMT)

Fixed by a MW/SMW update: (talk) 12 June 2014 (IST)

Scribunto 'Script Error's (2014-02-16)

I am now certain that the red 'script error' messages that appear here and there - especially in cite reference lists - are the result of this server have Perl Compiled Regular Expression Library (PCRE) V 7.8, whereas the extension spec calls for >=8.1. The only way to upgrade PCRE on this server OS is to move to php V 5.5.xxx. This can be done but there are potential issues and, since php/MySQL are absolutly fundamental to the entire site, they need sorting out first. The most problematic is that there are core Mediawiki scripts which still contain calls to deprecated functions. With the version we are running this only generates a warning which can be (and is) suppressed but, in php V 5.5 they may have been dropped altogether. If so, an upgrade would break the site and I need to be certain about these things before proceeding. So, summary: Let's live with those script errors for now because at some time in the future, hopefully sooner rather than later, they will fix themselves. --Peter P (talk) 19:26, 16 February 2014 (GMT)

Yeah, it's not major. Robin (talk) 16:52, 12 June 2014 (IST)
Not seen these for ages. Seems it got fixed somewhen by an upgrade. Robin (talk) 12:39, 4 May 2015 (IST)