#github exception

From semantic-mediawiki.org
Edited by another user.
Last edit: 09:21, 11 July 2016

I just noticed that the #github parser (from the Github extension) is currently throwing exceptions. See Sorting for an example.

Exception encountered, of type "FileFetcher\FileFetchingException"
[80edb86c] /wiki/Help:Sorting FileFetcher\FileFetchingException from line 30 of /.../w/vendor/jeroen/file-fetcher/src/SimpleFileFetcher.php: Could not fetch file: https://cdn.rawgit.com/SemanticMediaWiki/SemanticMediaWiki/master/issues/902
Backtrace:
#0 /.../w/vendor/jeroen/file-fetcher/src/CachingFileFetcher.php(44): FileFetcher\SimpleFileFetcher->fetchFile(string)
#1 /.../w/vendor/jeroen/file-fetcher/src/CachingFileFetcher.php(37): FileFetcher\CachingFileFetcher->retrieveAndCacheFile(string)
#2 /.../w/vendor/jeroen/mediawiki-github/src/GitHubParserHook.php(58): FileFetcher\CachingFileFetcher->fetchFile(string)
#3 /.../w/vendor/jeroen/mediawiki-github/src/GitHubParserHook.php(48): GitHub\GitHubParserHook->getFileContent()
#4 /.../w/vendor/jeroen/mediawiki-github/src/GitHubParserHook.php(36): GitHub\GitHubParserHook->getRenderedContent()
#5 /.../w/vendor/mediawiki/parser-hooks/src/FunctionRunner.php(49): GitHub\GitHubParserHook->handle(Parser, ParamProcessor\ProcessingResult)
#6 /.../w/vendor/mediawiki/parser-hooks/src/HookRegistrant.php(45): ParserHooks\FunctionRunner->run(Parser, array, PPTemplateFrame_DOM)
#7 [internal function]: ParserHooks\HookRegistrant->ParserHooks\{closure}(Parser, PPTemplateFrame_DOM, array)

etc, etc.

22:10, 10 July 2016

Heiya Cavila, thanks for finding. I just opened issue 4 on GitHub for this. Also I removed the offending lines from the page:

** {{github|issues/902|title=#902: Extend sort/order options for query / queryresults}}
** {{github|issues/874|title=#874: Do not filter when asked to sort}}
** {{github|issues/1045|title=#1045: Feature request: parameter for custom collation algorithm in query}}
09:21, 11 July 2016