User:WolfgangFahl/Workdocumentation 2015-12-31 WF

tag parsing

 * https://www.mediawiki.org/wiki/QINU_fix

Need my own fork
Fork on github to get:
 * https://github.com/SemanticMediaWiki/SemanticMediaWiki
 * https://github.com/WolfgangFahl/SemanticMediaWiki
 * http://stackoverflow.com/questions/6022302/how-to-apply-unmerged-upstream-pull-requests-from-other-forks-into-my-fork

How to create a Property for a PHPUnit tests
see https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1340

How the Parser does it
DataValueFactory new PropertyValue is called e.g. with $propertyName=BarText and $valueString= Some text

a new propertyDV is created for the given propertyName since the propertyDI of the propertyDV is a DIProperty newPropertyObjetValue is called

findPropertyTypeId looks for the WikiPage("BarText") and tries to get the PropertyValues of Type _TYPE in it.

Mockbuilder

 * https://phpunit.de/manual/current/en/test-doubles.html

Category:Workdocumentation