Extension talk:ParserHooks

About this board

Class ParserHooks not found; skipped loading - properties not working

2
Fustbariclation (talkcontribs)

I've been trying to resolve a problem with properties. I've not reinstalled an updated everything I can think of, but the problem remains (I've put my versions below this).

I've looked for these errors and everything I've seen seems to suggest a problem with validator - as you'll have seen, I've downloaded new versions of composer and, thus validator, in case, but it persists.

The error message that I get in the mediawiki debug log is:

"
Start request GET /wiki/index.php/Special:SpecialPages
HTTP HEADERS:
HOST: kchclinics.com
USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:31.0) Gecko/20100101 Firefox/31.0
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
ACCEPT-LANGUAGE: en
ACCEPT-ENCODING: gzip, deflate
REFERER: http://kchclinics.com/wiki/index.php/KCH_Clinics
COOKIE: kchcl200_db_mw_UserName=WikiSysop; kchcl200_db_mw_UserID=1; kchcl200_db_mw_Token=befa8u9vxdaakxqpm7ojupo0c1xhhw5m; clinic_kch_UserID=1; clinic_kch_UserName=WikiSysop; clinic_kch_Token=befa8u9vxdaakxqpm7ojupo0c1xhhw5m; kchcl200_db_mw__session=bh4cr2t9b6knk8k5ekdfd528m7
CONNECTION: keep-alive
CACHES: EmptyBagOStuff[main] SqlBagOStuff[message] SqlBagOStuff[parser]
[cookie] session_set_cookie_params: "0", "/", "", "", "1"
Class LanguageEn_gb not found; skipped loading
LocalisationCache: using store LCStore_CDB
Class SMWLanguageEn_gb not found; skipped loading
Unstubbing $sfgFormPrinter on call of $sfgFormPrinter::registerInputType from efSIISetup
Unstubbing $wgParser on call of $wgParser::setHook from ExtDynamicPageList::setupDPL
Parser: using preprocessor: Preprocessor_DOM
Connected to database 0 at localhost
Fully initialised
User: cache miss for user 1
User: loading options for user 1 from database.
User: logged in from session
User: loading options for user 1 from override cache.
Connected to database 0 at localhost
MessageCache::load: Loading en-gb... got from global cache
Class ParserHooks\HookRegistrant not found; skipped loading
Class ParserHooks\HookDefinition not found; skipped loading
Class ParserHooks\HookHandler not found; skipped loading
Class ParserHooks\FunctionRunner not found; skipped loading
Class ParserHooks\Internal\Runner not found; skipped loading
Class ParserHooks\HookRunner not found; skipped loading
"

Any suggestions of what I should do to resolve this?

My versions are:

MediaWiki: 1.22.10
PHP: 5.5.9-1
ubuntu4.3

Installed software
Product 	Version
MediaWiki 	1.22.10
PHP 	5.5.9-1ubuntu4.3 (apache2handler)
MySQL 	5.5.38-0ubuntu0.14.04.1
Entry point URLs
Entry point	URL
Article path	/wiki/index.php/$1
Script path	/wiki
index.php	/wiki/index.php
api.php	/wiki/api.php
load.php	/wiki/load.php
Installed extensions
Semantic extensions
Semantic Compound Queries (Version 0.3.4)	A parser function that displays multiple semantic queries at the same time 	Yaron Koren
Semantic Drilldown (Version 1.4)	A drilldown interface for navigating through semantic data 	Yaron Koren and others
Semantic Extra Special Properties (Version 1.2.1)	Adds some extra special properties to all pages 	Leo Wallentin, James Hong Kong and others
Semantic Forms (Version 2.7)	Forms for adding and editing semantic data 	Yaron Koren, Stephan Gambke and others
Semantic Forms Inputs (Version 0.7)	Additional input types for Semantic Forms 	Stephan Gambke and others
Semantic Image Input (Version 0.3.0 alpha)	Adds an image input that pulls images from Wikipedia to Semantic Forms 	Jeroen De Dauw
Semantic Internal Objects (Version 0.7.6)	Setting of internal objects in Semantic MediaWiki 	Yaron Koren
Semantic Maps (Version 3.0.4)	Provides the ability to view and edit coordinate data stored with the Semantic MediaWiki extension 	Jeroen De Dauw
Semantic MediaWiki (Version 1.9.2)	Making your wiki more accessible - for machines and humans (online documentation) 	Markus Krötzsch, Jeroen De Dauw, James Hong Kong and others
Semantic Result Formats (Version 1.9.1)	Additional result formats for Semantic MediaWiki queries 	James Hong Kong, Stephan Gambke, Jeroen De Dauw, Yaron Koren and others
Semantic Watchlist (Version 0.2.1) 	(ba947d8)	Lets users be notified of specific changes to Semantic MediaWiki data 	Jeroen De Dauw for WikiWorks
SemanticFormsSelect (Version 1.1)	Generate a select field in Semantic Form which values are from query 	Jasonzhang
Special pages
Access Log (Version 2.0)	Logs user access to MediaWiki 	Aleksandar Bojinovic, Peter Kin-Fong Fong
CheckUser (Version 2.3) 	(745d266)	Grants users with the appropriate permission the ability to check user's IP addresses and other information 	Tim Starling and Aaron Schulz
EmailPage (Version 2.3.0, 2013-11-30)	Send rendered HTML page to an e-mail address or list of addresses using phpmailer 	User:Nad
MaintenanceShell (Version 0.4.0)	Wiki interface for maintenance scripts 	Andrew Fitzgerald and Timo Tijhof
Parser hooks
and http://www.shadowritter.net Chklist (Version 0.1.1)	Add checkbox on your wiki page 	Shadowritter
DynamicPageList (Version 2.01)	A highly flexible report generator for MediaWikis 	Gero Scholz
GetUserName (Version 1.0)	Get current user's name. 	Ejcaputo
Maps (Version 3.0.1)	Enables embedding of dynamic maps into wiki pages, geocoding of addresses and other geographical operations. 	Jeroen De Dauw
MsUpload (Version 9.5.1)	Enables easy uploads (when available also via drag&drop) for one or multiple files simultaneously 	info@ratin.de | Ratin
ParserFunctions (Version 1.5.1) 	(497a3bd)	Enhance parser with logical functions 	Tim Starling, Robert Rohde, Ross McClure and Juraj Simlovic
Strtotime (Version 1.0)	Represents time as a string containing a US English date format 	Xavier Atero
SubPageList (Version 1.1)	Allows to list and count subpages 	Jeroen De Dauw
Variables
UserInfo (Version 1.0)	Displays some info (IP, OS, browser) about the user. 	Nicolas Labriet
Media handlers
PagedTiffHandler 	(65dd904)	Handler for viewing TIFF files in image mode 	HalloWelt! Medienwerkstatt GmbH, Sebastian Ulbricht, Daniel Lynge, Marc Reymann and Markus Glaser for Wikimedia Deutschland
PDF Handler 	(bd89bcc)	Handler for viewing PDF files in image mode. 	Martin Seidel and Mike Połtyn
DataValues
DataValues (Version 0.1.1)	Collection of objects representing various kinds of values 	Jeroen De Dauw
DataValues Geo (Version 0.2)	Geographical value objects, parsers and formatters 	Jeroen De Dauw and The Wikidata team
DataValues Time (Version 0.6)	Time value objects, parsers and formatters 	The Wikidata team
DataValues Validators (Version 0.1.1)	Contains common ValueValidator implementations 	Jeroen De Dauw and The Wikidata team
DataValuesCommon (Version 0.2.2)	Contains common implementations of the interfaces defined by DataValuesInterfaces 	Jeroen De Dauw
DataValuesInterfaces (Version 0.1.4)	Defines interfaces for ValueParsers, ValueFormatters and ValueValidators 	Jeroen De Dauw
Other
EmailAllChanges (Version 1.0.2)	Adds a preferences checkbox allowing users to have all changes to pages on the wiki emailed to them 	Nathan Larson
Extension Installer (Version 0.2.2)	Allows installing extensions and PHP libraries via Composer 	Jeroen De Dauw
Lockdown 	(11e4320)	Per namespace group permissions 	Daniel Kinzler and Platonides
ParserHooks (Version 1.2.1)	OOP interface for creating MediaWiki parser hooks in a declarative fashion 	Jeroen De Dauw
Validator (Version 1.0.0.1)	Declarative parameter processing library 	Jeroen De Dauw
WikiCurl (Version 1.0)	Universal CURL extension 	Tomasz Klim and Mikołaj Musielak
Parser extension tags
<chklist>, <coordinates>, <describe>, <display_line>, <display_map>, <display_point>, <display_points>, <distance>, <dpl>, <dynamicpagelist>, <finddestination>, <gallery>, <geocode>, <geodistance>, <html>, <info>, <layer>, <listerrors>, <mapsdoc>, <nowiki>, <pre>, <section>, <smwdoc>, <splist>, <subpagecount>, <subpagelist> and <subpages>
Parser function hooks
USERNAME, anchorencode, arraymap, arraymaptemplate, ask, autoedit, basepagename, basepagenamee, calendarenddate, calendarstartdate, canonicalurl, canonicalurle, compound_query, concept, coordinates, count, declare, defaultsort, describe, display_line, display_map, display_point, display_points, displaytitle, distance, dpl, dplchapter, dplmatrix, dplnum, dplreplace, dplvar, drilldownlink, explode, expr, filepath, finddestination, formatdate, formatnum, forminput, formlink, fullpagename, fullpagenamee, fullurl, fullurle, gender, geocode, geodistance, grammar, if, ifeq, iferror, ifexist, ifexpr, info, int, language, lc, lcfirst, len, listerrors, localurl, localurle, mapsdoc, namespace, namespacee, namespacenumber, ns, nse, numberingroup, numberofactiveusers, numberofadmins, numberofarticles, numberofedits, numberoffiles, numberofpages, numberofusers, numberofviews, padleft, padright, pagename, pagenamee, pagesincategory, pagesize, plural, pos, protectionlevel, queryformlink, rel2abs, replace, rootpagename, rootpagenamee, rpos, set, set_internal, set_internal_recurring_event, set_recurring_event, show, smwdoc, special, speciale, splist, strtotime, sub, subjectpagename, subjectpagenamee, subjectspace, subjectspacee, subobject, subpagecount, subpagelist, subpagename, subpagenamee, subpages, switch, tag, talkpagename, talkpagenamee, talkspace, talkspacee, time, timel, titleparts, uc, ucfirst, urldecode and url encode
Fustbariclation (talkcontribs)

I should say that, in the end, I resolved this by starting from scratch, installing one thing at a time and only using SMW, with no composer.

Reply to "Class ParserHooks not found; skipped loading - properties not working"

List of extensions depending on this extension

6
Kghbln (talkcontribs)

Heiya, I think it will be nice to list the extensions which require this extension as an dependency as it was done for the ParamProcessor extensions. I believe the number of extension to require this one will increase over time? Cheers

Jeroen De Dauw (talkcontribs)

Having a manually maintained list is a maintenance burden. Such lists can be auto generated for packages that provide a package definition (ie a composer.json) and are registered on a package repo such as Packagist. This is what all my extensions currently do or will soon do.

Jeroen De Dauw (talkcontribs)
Kghbln (talkcontribs)

Heiya Jeroen,

I remember to have seen this one before. I think Pagagist's magic is now slowly but finally getting to me. It would be nice to also see the packages depending on this one, but having a clear vision of the required dependencies is the really important part.

Thanks for your infos!

Cheers

Reply to "List of extensions depending on this extension"
There are no older topics