@@ -72,7 +72,7 @@ function getExistingTitleForURI( $uri ) {
7272 * Strategy 2: Use configured properties to get the title
7373 */
7474 function applyGlobalSettingForPropertiesToUseAsWikiTitle ( $ uri ) {
75- global $ rogTitleProperties ;
75+ global $ rdfiogTitleProperties ;
7676
7777 $ title = '' ;
7878
@@ -85,7 +85,7 @@ function applyGlobalSettingForPropertiesToUseAsWikiTitle( $uri ) {
8585 foreach ( $ index as $ subject => $ properties ) {
8686 if ( $ subject === $ uri ) {
8787 foreach ( $ properties as $ prop => $ obj ) {
88- if ( in_array ( $ prop , $ rogTitleProperties ) ) {
88+ if ( in_array ( $ prop , $ rdfiogTitleProperties ) ) {
8989 $ title = $ obj [0 ];
9090 }
9191 }
@@ -118,14 +118,14 @@ function parseBNode( $uri ) {
118118 * imported data)
119119 */
120120 function shortenURINamespaceToAliasInSourceRDF ( $ uri ) {
121- global $ rogBaseURIs ;
121+ global $ rdfiogBaseURIs ;
122122
123123 $ nsPrefixes = $ this ->arc2NSPrefixes ;
124124 $ title = '' ;
125125
126126 // The same, but according to mappings from LocalSettings.php
127- if ( is_array ( $ rogBaseURIs ) ) {
128- $ nsPrefixes = array_merge ( $ nsPrefixes , $ rogBaseURIs );
127+ if ( is_array ( $ rdfiogBaseURIs ) ) {
128+ $ nsPrefixes = array_merge ( $ nsPrefixes , $ rdfiogBaseURIs );
129129 }
130130
131131 // Collect all the inputs for abbreviation, and apply:
@@ -161,20 +161,20 @@ function useValueAsIs( $uri ) {
161161 /////// HELPER METHODS ///////
162162
163163 /**
164- * Just tell if $rogTitleProperties is set or not.
164+ * Just tell if $rdfiogTitleProperties is set or not.
165165 */
166166 function globalSettingForPropertiesToUseAsWikiTitleExists () {
167- global $ rogTitleProperties ;
168- return isset ( $ rogTitleProperties );
167+ global $ rdfiogTitleProperties ;
168+ return isset ( $ rdfiogTitleProperties );
169169 }
170170
171171 /**
172172 * Default settings for which RDF properties to use for getting
173173 * possible candidates for wiki page title names.
174174 */
175175 function setglobalSettingForPropertiesToUseAsWikiTitleToDefault () {
176- global $ rogTitleProperties ;
177- $ rogTitleProperties = array (
176+ global $ rdfiogTitleProperties ;
177+ $ rdfiogTitleProperties = array (
178178 'http://semantic-mediawiki.org/swivt/1.0#page ' , // Suggestion for new property
179179 'http://www.w3.org/2000/01/rdf-schema#label ' ,
180180 'http://purl.org/dc/terms/title ' ,
@@ -239,7 +239,7 @@ function abbreviateParserNSPrefixes( $uri, $nsPrefixes ) {
239239 * @return array
240240 */
241241 public function splitURI ( $ uri ) {
242- global $ rogBaseURIs ;
242+ global $ rdfiogBaseURIs ;
243243 /* ADAPTED FROM ARC2 WITH SOME MODIFICATIONS
244244 * the following namespaces may lead to conflated URIs,
245245 * we have to set the split position manually
@@ -250,8 +250,8 @@ public function splitURI( $uri ) {
250250 'http://www.w3.org/2005/Atom ' ,
251251 'http://www.w3.org/1999/xhtml ' ,
252252 );
253- if ( $ rogBaseURIs != '' ) {
254- $ specials = array_merge ( $ specials , $ rogBaseURIs );
253+ if ( $ rdfiogBaseURIs != '' ) {
254+ $ specials = array_merge ( $ specials , $ rdfiogBaseURIs );
255255 }
256256 foreach ( $ specials as $ ns ) {
257257 if ( strpos ( $ uri , $ ns ) === 0 ) {
0 commit comments