@@ -95,6 +95,11 @@ discard block |
||
| 95 | 95 | return $authorList; |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | + /** |
|
| 99 | + * @param string $firstname |
|
| 100 | + * @param string $initials |
|
| 101 | + * @param string $surname |
|
| 102 | + */ |
|
| 98 | 103 | private function concatenate( $firstname, $initials, $surname, $prefix ) { |
| 99 | 104 | |
| 100 | 105 | $author = array( |
@@ -109,6 +114,7 @@ discard block |
||
| 109 | 114 | |
| 110 | 115 | /** |
| 111 | 116 | * @note firstname and initials which may be of form "A.B.C." or "A. B. C. " or " A B C " etc. |
| 117 | + * @param string $remainder |
|
| 112 | 118 | */ |
| 113 | 119 | private function grabFirstnameInitials( $remainder ) { |
| 114 | 120 | |
@@ -44,7 +44,6 @@ discard block |
||
| 44 | 44 | /** |
| 45 | 45 | * @since 1.0 |
| 46 | 46 | * |
| 47 | - * @param DIWikiPage $subject |
|
| 48 | 47 | * |
| 49 | 48 | * @return boolean |
| 50 | 49 | */ |
@@ -187,6 +186,9 @@ discard block |
||
| 187 | 186 | ); |
| 188 | 187 | } |
| 189 | 188 | |
| 189 | + /** |
|
| 190 | + * @param string $hash |
|
| 191 | + */ |
|
| 190 | 192 | private function hasJournalForHash( $hash ) { |
| 191 | 193 | |
| 192 | 194 | if ( self::$citationReferenceJournal === array() ) { |
@@ -100,10 +100,16 @@ |
||
| 100 | 100 | ); |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | + /** |
|
| 104 | + * @param string $linked |
|
| 105 | + */ |
|
| 103 | 106 | public function getLongWikiText( $linked = null ) { |
| 104 | 107 | return $this->getShortWikiText( $linked ); |
| 105 | 108 | } |
| 106 | 109 | |
| 110 | + /** |
|
| 111 | + * @param string $linker |
|
| 112 | + */ |
|
| 107 | 113 | public function getLongHTMLText( $linker = null ) { |
| 108 | 114 | return $this->getShortHTMLText( $linker ); |
| 109 | 115 | } |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Onoi\Remi\OpenLibrary\OLFilteredHttpResponseParser; |
| 6 | 6 | use Onoi\Remi\ResponseParser; |
| 7 | -use SCI\DataValues\ResourceIdentifierFactory; |
|
| 8 | 7 | |
| 9 | 8 | /** |
| 10 | 9 | * @license GNU GPL v2+ |
@@ -96,6 +96,11 @@ |
||
| 96 | 96 | } |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | + /** |
|
| 100 | + * @param Store $store |
|
| 101 | + * @param Cache $cache |
|
| 102 | + * @param Options $options |
|
| 103 | + */ |
|
| 99 | 104 | private function addCallbackHandlers( $store, $cache, $options ) { |
| 100 | 105 | |
| 101 | 106 | $propertyRegistry = new PropertyRegistry(); |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use SMW\NamespaceExaminer; |
| 7 | 7 | use SMW\ApplicationFactory; |
| 8 | 8 | use Onoi\Cache\Cache; |
| 9 | -use Parser; |
|
| 10 | 9 | |
| 11 | 10 | /** |
| 12 | 11 | * @license GNU GPL v2+ |
@@ -295,6 +295,9 @@ |
||
| 295 | 295 | $this->parserData->pushSemanticDataToParserOutput(); |
| 296 | 296 | } |
| 297 | 297 | |
| 298 | + /** |
|
| 299 | + * @param string $messageKey |
|
| 300 | + */ |
|
| 298 | 301 | private function createErrorMessageFor( $messageKey, $arg1 = '', $arg2 = '' ) { |
| 299 | 302 | return \Html::rawElement( |
| 300 | 303 | 'div', |
@@ -137,6 +137,9 @@ |
||
| 137 | 137 | } |
| 138 | 138 | } |
| 139 | 139 | |
| 140 | + /** |
|
| 141 | + * @param boolean $debug |
|
| 142 | + */ |
|
| 140 | 143 | private function assertSemanticDataForCase( $case, $debug ) { |
| 141 | 144 | |
| 142 | 145 | if ( !isset( $case['store'] ) || !isset( $case['store']['semantic-data'] ) ) { |