Index: tags/extensions/SemanticInternalObjects/REL_0_4_1/SemanticInternalObjects.php |
— | — | @@ -0,0 +1,45 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Initialization file for SemanticInternalObjects |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup SemanticInternalObjects |
| 8 | + * @author Yaron Koren |
| 9 | + */ |
| 10 | + |
| 11 | +if ( !defined( 'MEDIAWIKI' ) ) die(); |
| 12 | + |
| 13 | +define( 'SIO_VERSION', '0.4.1' ); |
| 14 | + |
| 15 | +$wgExtensionCredits['parserhook'][] = array( |
| 16 | + 'path' => __FILE__, |
| 17 | + 'name' => 'Semantic Internal Objects', |
| 18 | + 'version' => SIO_VERSION, |
| 19 | + 'author' => 'Yaron Koren', |
| 20 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:Semantic_Internal_Objects', |
| 21 | + 'descriptionmsg' => 'semanticinternalobjects-desc', |
| 22 | +); |
| 23 | + |
| 24 | +$wgHooks['ParserFirstCallInit'][] = 'siofRegisterParserFunctions'; |
| 25 | +$wgHooks['LanguageGetMagic'][] = 'siofLanguageGetMagic'; |
| 26 | +$wgHooks['ParserClearState'][] = 'SIOHandler::clearState'; |
| 27 | +$wgHooks['smwDeleteSemanticData'][] = 'SIOHandler::updateData'; |
| 28 | +$wgHooks['smwUpdatePropertySubjects'][] = 'SIOHandler::handleUpdatingOfInternalObjects'; |
| 29 | +$wgHooks['smwRefreshDataJobs'][] = 'SIOHandler::handleRefreshingOfInternalObjects'; |
| 30 | + |
| 31 | +$siogIP = $IP . '/extensions/SemanticInternalObjects'; |
| 32 | +$wgExtensionMessagesFiles['SemanticInternalObjects'] = $siogIP . '/SemanticInternalObjects.i18n.php'; |
| 33 | +$wgAutoloadClasses['SIOHandler'] = $siogIP . '/SemanticInternalObjects_body.php'; |
| 34 | + |
| 35 | +function siofRegisterParserFunctions( &$parser ) { |
| 36 | + $parser->setFunctionHook( 'set_internal', array( 'SIOHandler', 'doSetInternal' ) ); |
| 37 | + return true; // always return true, in order not to stop MW's hook processing! |
| 38 | +} |
| 39 | + |
| 40 | +function siofLanguageGetMagic( &$magicWords, $langCode = "en" ) { |
| 41 | + switch ( $langCode ) { |
| 42 | + default: |
| 43 | + $magicWords['set_internal'] = array ( 0, 'set_internal' ); |
| 44 | + } |
| 45 | + return true; |
| 46 | +} |
Property changes on: tags/extensions/SemanticInternalObjects/REL_0_4_1/SemanticInternalObjects.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 47 | + native |
Index: tags/extensions/SemanticInternalObjects/REL_0_4_1/README |
— | — | @@ -0,0 +1,89 @@ |
| 2 | +Semantic Internal Objects Extension |
| 3 | + |
| 4 | + Version 0.4.1 |
| 5 | + Yaron Koren |
| 6 | + |
| 7 | +This is free software licensed under the GNU General Public License. Please |
| 8 | +see http://www.gnu.org/copyleft/gpl.html for further details, including the |
| 9 | +full text and terms of the license. |
| 10 | + |
| 11 | +== Overview == |
| 12 | + |
| 13 | +Semantic Internal Objects is an extension to MediaWiki that defines a |
| 14 | +parser function, '#set_internal', that is used to define "internal objects" |
| 15 | +within the Semantic MediaWiki system. There are complex types of |
| 16 | +information sometimes known as 'n-ary relations' that involve more than one |
| 17 | +data value associated together. A simple example is in a cooking recipe; a |
| 18 | +recipe may call for 1 cup of flour, and the values "1", "cup" and "flour" |
| 19 | +must be encoded together; by themselves, the values are not meaningful (the |
| 20 | +third value has meaning, though not all of the meaning it could have). Such |
| 21 | +information can be stored already in SMW using multi-valued properties, |
| 22 | +though this approach is not flexible and currently leads to querying problems. |
| 23 | +Instead, #set_internal can be used to define "internal objects" within a page, |
| 24 | +which can then be queried as normal SMW pages would; a row of a recipe would |
| 25 | +be a good example of data that could be defined using #set_internal. |
| 26 | + |
| 27 | +The syntax of #set_internal is as follows: |
| 28 | + |
| 29 | +{{#set_internal:object_to_page_property |
| 30 | +|property1=value1 |
| 31 | +|property2=value2 |
| 32 | +... |
| 33 | +}} |
| 34 | + |
| 35 | +A sample call to #set_internal would be: |
| 36 | + |
| 37 | +{{#set_internal:Has recipe |
| 38 | +|Has quantity=1 |
| 39 | +|Has unit=cup |
| 40 | +|Has ingredient=flour |
| 41 | +}} |
| 42 | + |
| 43 | +This call would be placed in a page for a recipe, and it would define an object |
| 44 | +that had an automatically-generated name; if it were in a page called "Carrot |
| 45 | +cake", for instance, the object would be called "Carrot cake#1". If that page |
| 46 | +had subsequent calls to #set_internal, the objects that those calls generated |
| 47 | +would be called "Carrot cake#2", "Carrot cake#3", etc. |
| 48 | + |
| 49 | +It should be noted that #set_internal does not display anything to the screen; |
| 50 | +display of the values has to be handled separately (this can be done easily |
| 51 | +if the function is called from a template). |
| 52 | + |
| 53 | +Internal objects, once stored, can be queried as if they were wiki pages. So |
| 54 | +the following query would show a table of all the recipes that contain more |
| 55 | +than 1/2 a cup of flour, and the number of cups they contain: |
| 56 | + |
| 57 | +{{#ask:[[Has recipe::+]][[Has ingredient::flour]][[Has unit::cup]][[Has quantity::>.5]] |
| 58 | +|mainlabel=- |
| 59 | +|? Has recipe |
| 60 | +|? Has quantity |
| 61 | +}} |
| 62 | + |
| 63 | +Note the "mainlabel=-" parameter in the query: that hides the names of the |
| 64 | +internal objects from users, since those names are meaningless. |
| 65 | + |
| 66 | +For more information, see the extension homepage at: |
| 67 | +http://www.mediawiki.org/wiki/Extension:Semantic_Internal_Objects |
| 68 | + |
| 69 | +== Requirements == |
| 70 | + |
| 71 | +This version of the Semantic Internal Objects extension requires MediaWiki 1.8 |
| 72 | +or higher and Semantic MediaWiki 1.4 or higher. |
| 73 | + |
| 74 | +== Installation == |
| 75 | + |
| 76 | +To install the extension, place the entire 'SemanticInternalObjects' directory |
| 77 | +within your MediaWiki 'extensions' directory, then add the following |
| 78 | +line to your 'LocalSettings.php' file: |
| 79 | + |
| 80 | + require_once( "$IP/extensions/SemanticInternalObjects/SemanticInternalObjects.php" ); |
| 81 | + |
| 82 | +== Contact == |
| 83 | + |
| 84 | +Most comments, questions, suggestions and bug reports should be sent to |
| 85 | +the Semantic MediaWiki mailing list: |
| 86 | + |
| 87 | + https://lists.sourceforge.net/lists/listinfo/semediawiki-user |
| 88 | + |
| 89 | +If possible, please add "[SIO]" at the beginning of the subject line, to |
| 90 | +clarify the subject matter. |
Property changes on: tags/extensions/SemanticInternalObjects/REL_0_4_1/README |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 91 | + native |
Index: tags/extensions/SemanticInternalObjects/REL_0_4_1/SemanticInternalObjects.i18n.magic.php |
— | — | @@ -0,0 +1,19 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +$magicWords = array(); |
| 5 | + |
| 6 | +$magicWords['en'] = array( |
| 7 | + 'set_internal' => array( 0, 'set_internal' ), |
| 8 | +); |
| 9 | + |
| 10 | +$magicWords['ar'] = array( |
| 11 | + 'set_internal' => array( '0', 'ضبط_داخلي', 'set_internal' ), |
| 12 | +); |
| 13 | + |
| 14 | +$magicWords['arz'] = array( |
| 15 | + 'set_internal' => array( '0', 'ضبط_داخلي', 'set_internal' ), |
| 16 | +); |
| 17 | + |
| 18 | +$magicWords['nl'] = array( |
| 19 | + 'set_internal' => array( '0', 'intern_instellen', 'set_internal' ), |
| 20 | +); |
Property changes on: tags/extensions/SemanticInternalObjects/REL_0_4_1/SemanticInternalObjects.i18n.magic.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 21 | + native |
Index: tags/extensions/SemanticInternalObjects/REL_0_4_1/SemanticInternalObjects_body.php |
— | — | @@ -0,0 +1,250 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * @author Yaron Koren |
| 5 | + */ |
| 6 | + |
| 7 | +if ( !defined( 'MEDIAWIKI' ) ) die(); |
| 8 | + |
| 9 | +/** |
| 10 | + * Class that holds information on a single internal object, including all |
| 11 | + * its properties. |
| 12 | + */ |
| 13 | +class SIOInternalObject { |
| 14 | + var $main_title; |
| 15 | + var $index; |
| 16 | + var $property_value_pairs; |
| 17 | + |
| 18 | + public function SIOInternalObject( $main_title, $index ) { |
| 19 | + $this->main_title = $main_title; |
| 20 | + $this->index = $index; |
| 21 | + $this->property_value_pairs = array(); |
| 22 | + } |
| 23 | + |
| 24 | + public function addPropertyAndValue( $prop_name, $value ) { |
| 25 | + $property = SMWPropertyValue::makeUserProperty( $prop_name ); |
| 26 | + $data_value = SMWDataValueFactory::newPropertyObjectValue( $property, $value ); |
| 27 | + if ( $data_value->isValid() ) { |
| 28 | + $this->property_value_pairs[] = array( $property, $data_value ); |
| 29 | + } // else - show an error message? |
| 30 | + } |
| 31 | + |
| 32 | + public function getName() { |
| 33 | + return $this->main_title->getDBkey() . '#' . $this->index; |
| 34 | + } |
| 35 | +} |
| 36 | + |
| 37 | +/** |
| 38 | + * Class for all database-related actions. |
| 39 | + * This class exists mostly because SMWSQLStore2's functions makeSMWPageID() |
| 40 | + * and makeSMWPropertyID(), which are needed for the DB access, are both |
| 41 | + * protected, and thus can't be accessed externally. |
| 42 | + */ |
| 43 | +class SIOSQLStore extends SMWSQLStore2 { |
| 44 | + function getIDsForDeletion( $page_name, $namespace ) { |
| 45 | + $ids = array(); |
| 46 | + |
| 47 | + $iw = ''; |
| 48 | + $db = wfGetDB( DB_SLAVE ); |
| 49 | + $res = $db->select( 'smw_ids', array( 'smw_id' ), 'smw_title LIKE ' . $db->addQuotes( $page_name . '#%' ) . ' AND ' . 'smw_namespace=' . $db->addQuotes( $namespace ) . ' AND smw_iw=' . $db->addQuotes( $iw ), 'SIO::getSMWPageObjectIDs', array() ); |
| 50 | + while ( $row = $db->fetchObject( $res ) ) { |
| 51 | + $ids[] = $row->smw_id; |
| 52 | + } |
| 53 | + return $ids; |
| 54 | + } |
| 55 | + |
| 56 | + function getStorageSQL( $main_page_name, $namespace, $internal_object ) { |
| 57 | + $main_page_id = $this->makeSMWPageID( $main_page_name, $namespace, '' ); |
| 58 | + $io_id = $this->makeSMWPageID( $internal_object->getName(), $namespace, '' ); |
| 59 | + $up_rels2 = array(); |
| 60 | + $up_atts2 = array(); |
| 61 | + $up_text2 = array(); |
| 62 | + // set all the properties pointing from this internal object |
| 63 | + foreach ( $internal_object->property_value_pairs as $property_value_pair ) { |
| 64 | + list( $property, $value ) = $property_value_pair; |
| 65 | + // handling changed in SMW 1.5 |
| 66 | + if ( method_exists( 'SMWSQLStore2', 'findPropertyTableID' ) ) { |
| 67 | + $tableid = SMWSQLStore2::findPropertyTableID( $property ); |
| 68 | + $is_relation = ( $tableid == 'smw_rels2' ); |
| 69 | + $is_attribute = ( $tableid == 'smw_atts2' ); |
| 70 | + $is_text = ( $tableid == 'smw_text2' ); |
| 71 | + } else { |
| 72 | + $mode = SMWSQLStore2::getStorageMode( $property->getPropertyTypeID() ); |
| 73 | + $is_relation = ( $mode == SMW_SQL2_RELS2 ); |
| 74 | + $is_attribute = ( $mode == SMW_SQL2_ATTS2 ); |
| 75 | + $is_text = ( $mode == SMW_SQL2_TEXT2 ); |
| 76 | + } |
| 77 | + if ( $is_relation ) { |
| 78 | + $up_rels2[] = array( |
| 79 | + 's_id' => $io_id, |
| 80 | + 'p_id' => $this->makeSMWPropertyID( $property ), |
| 81 | + 'o_id' => $this->makeSMWPageID( $value->getDBkey(), $value->getNamespace(), $value->getInterwiki() ) |
| 82 | + ); |
| 83 | + } elseif ( $is_attribute ) { |
| 84 | + $keys = $value->getDBkeys(); |
| 85 | + if ( method_exists( $value, 'getValueKey' ) ) { |
| 86 | + $value_num = $value->getValueKey(); |
| 87 | + } else { |
| 88 | + $value_num = $value->getNumericValue(); |
| 89 | + } |
| 90 | + $up_atts2[] = array( |
| 91 | + 's_id' => $io_id, |
| 92 | + 'p_id' => $this->makeSMWPropertyID( $property ), |
| 93 | + 'value_unit' => $value->getUnit(), |
| 94 | + 'value_xsd' => $keys[0], |
| 95 | + 'value_num' => $value_num |
| 96 | + ); |
| 97 | + } elseif ( $is_text ) { |
| 98 | + $keys = $value->getDBkeys(); |
| 99 | + $up_text2[] = array( |
| 100 | + 's_id' => $io_id, |
| 101 | + 'p_id' => $this->makeSMWPropertyID( $property ), |
| 102 | + 'value_blob' => $keys[0] |
| 103 | + ); |
| 104 | + } |
| 105 | + } |
| 106 | + return array( $up_rels2, $up_atts2, $up_text2 ); |
| 107 | + } |
| 108 | +} |
| 109 | + |
| 110 | +/** |
| 111 | + * Class for hook functions for creating and storing information |
| 112 | + */ |
| 113 | +class SIOHandler { |
| 114 | + |
| 115 | + static $cur_page_name = ''; |
| 116 | + static $cur_page_namespace = 0; |
| 117 | + static $internal_object_index = 1; |
| 118 | + static $internal_objects = array(); |
| 119 | + |
| 120 | + public static function clearState( &$parser ) { |
| 121 | + self::$cur_page_name = ''; |
| 122 | + self::$cur_page_namespace = 0; |
| 123 | + self::$internal_object_index = 1; |
| 124 | + return true; |
| 125 | + } |
| 126 | + |
| 127 | + public static function doSetInternal( &$parser ) { |
| 128 | + $main_page_name = $parser->getTitle()->getDBKey(); |
| 129 | + $main_page_namespace = $parser->getTitle()->getNamespace(); |
| 130 | + if ( $main_page_name == self::$cur_page_name && |
| 131 | + $main_page_namespace == self::$cur_page_namespace ) { |
| 132 | + self::$internal_object_index++; |
| 133 | + } else { |
| 134 | + self::$cur_page_name = $main_page_name; |
| 135 | + self::$cur_page_namespace = $main_page_namespace; |
| 136 | + self::$internal_object_index = 1; |
| 137 | + } |
| 138 | + $cur_object_num = self::$internal_object_index; |
| 139 | + $params = func_get_args(); |
| 140 | + array_shift( $params ); // we already know the $parser... |
| 141 | + $internal_object = new SIOInternalObject( $parser->getTitle(), $cur_object_num ); |
| 142 | + $obj_to_page_prop_name = array_shift( $params ); |
| 143 | + $main_page_name = $parser->getTitle()->getText(); |
| 144 | + if ( ( $ns_text = $parser->getTitle()->getNsText() ) != '' ) { |
| 145 | + $main_page_name = $ns_text . ':' . $main_page_name; |
| 146 | + } |
| 147 | + $internal_object->addPropertyAndValue( $obj_to_page_prop_name, $main_page_name ); |
| 148 | + foreach ( $params as $param ) { |
| 149 | + $parts = explode( "=", trim( $param ), 2 ); |
| 150 | + if ( count( $parts ) == 2 ) { |
| 151 | + $key = $parts[0]; |
| 152 | + $value = $parts[1]; |
| 153 | + // if the property name ends with '#list', it's |
| 154 | + // a comma-delimited group of values |
| 155 | + if ( substr( $key, - 5 ) == '#list' ) { |
| 156 | + $key = substr( $key, 0, strlen( $key ) - 5 ); |
| 157 | + $list_values = explode( ',', $value ); |
| 158 | + foreach ( $list_values as $list_value ) { |
| 159 | + $internal_object->addPropertyAndValue( $key, trim( $list_value ) ); |
| 160 | + } |
| 161 | + } else { |
| 162 | + $internal_object->addPropertyAndValue( $key, $value ); |
| 163 | + } |
| 164 | + } |
| 165 | + } |
| 166 | + self::$internal_objects[] = $internal_object; |
| 167 | + } |
| 168 | + |
| 169 | + public static function updateData( $subject ) { |
| 170 | + $sio_sql_store = new SIOSQLStore(); |
| 171 | + // Find all "pages" in the SMW IDs table that are internal |
| 172 | + // objects for this page, and delete their properties from |
| 173 | + // the SMW tables. |
| 174 | + // Then save the current contents of the $internal_objects |
| 175 | + // array. |
| 176 | + $page_name = $subject->getDBKey(); |
| 177 | + $namespace = $subject->getNamespace(); |
| 178 | + $ids_for_deletion = $sio_sql_store->getIDsForDeletion( $page_name, $namespace ); |
| 179 | + |
| 180 | + $all_rels2_inserts = array(); |
| 181 | + $all_atts2_inserts = array(); |
| 182 | + $all_text2_inserts = array(); |
| 183 | + foreach ( self::$internal_objects as $internal_object ) { |
| 184 | + list( $up_rels2, $up_atts2, $up_text2 ) = $sio_sql_store->getStorageSQL( $page_name, $namespace, $internal_object ); |
| 185 | + $all_rels2_inserts = array_merge( $all_rels2_inserts, $up_rels2 ); |
| 186 | + $all_atts2_inserts = array_merge( $all_atts2_inserts, $up_atts2 ); |
| 187 | + $all_text2_inserts = array_merge( $all_text2_inserts, $up_text2 ); |
| 188 | + } |
| 189 | + |
| 190 | + // now save everything to the database, in a single transaction |
| 191 | + $db = wfGetDB( DB_MASTER ); |
| 192 | + $db->begin( 'SIO::updatePageData' ); |
| 193 | + if ( count( $ids_for_deletion ) > 0 ) { |
| 194 | + $ids_string = '(' . implode ( ', ', $ids_for_deletion ) . ')'; |
| 195 | + $db->delete( 'smw_rels2', array( "(s_id IN $ids_string) OR (o_id IN $ids_string)" ), 'SIO::deleteRels2Data' ); |
| 196 | + $db->delete( 'smw_atts2', array( "s_id IN $ids_string" ), 'SIO::deleteAtts2Data' ); |
| 197 | + $db->delete( 'smw_text2', array( "s_id IN $ids_string" ), 'SIO::deleteText2Data' ); |
| 198 | + } |
| 199 | + |
| 200 | + if ( count( $all_rels2_inserts ) > 0 ) { |
| 201 | + $db->insert( 'smw_rels2', $all_rels2_inserts, 'SIO::updateRels2Data' ); |
| 202 | + } |
| 203 | + if ( count( $all_atts2_inserts ) > 0 ) { |
| 204 | + $db->insert( 'smw_atts2', $all_atts2_inserts, 'SIO::updateAtts2Data' ); |
| 205 | + } |
| 206 | + if ( count( $all_text2_inserts ) > 0 ) { |
| 207 | + $db->insert( 'smw_text2', $all_text2_inserts, 'SIO::updateText2Data' ); |
| 208 | + } |
| 209 | + // end transaction |
| 210 | + $db->commit( 'SIO::updatePageData' ); |
| 211 | + self::$internal_objects = array(); |
| 212 | + return true; |
| 213 | + } |
| 214 | + |
| 215 | + /** |
| 216 | + * Takes a set of SMW "update jobs", and keeps only the unique, actual |
| 217 | + * titles among them - this is useful if there are any internal objects |
| 218 | + * among the group; a set of names like "Page name#1", "Page name#2" |
| 219 | + * etc. should be turned into just "Page name". |
| 220 | + */ |
| 221 | + static function handleUpdatingOfInternalObjects( &$jobs ) { |
| 222 | + $unique_titles = array(); |
| 223 | + foreach ( $jobs as $i => $job ) { |
| 224 | + $title = Title::makeTitleSafe( $job->title->getNamespace(), $job->title->getText() ); |
| 225 | + $id = $title->getArticleID(); |
| 226 | + $unique_titles[$id] = $title; |
| 227 | + } |
| 228 | + $jobs = array(); |
| 229 | + foreach ( $unique_titles as $id => $title ) { |
| 230 | + $jobs[] = new SMWUpdateJob( $title ); |
| 231 | + } |
| 232 | + return true; |
| 233 | + } |
| 234 | + |
| 235 | + /** |
| 236 | + * Takes a set of SMW "update jobs" generated by refresh data and removes |
| 237 | + * any job with a fragment (in other words a job trying to update a SIO object) |
| 238 | + * We aren't guaranteed that all the jobs related to a single page using SIO |
| 239 | + * will be in a single one of these batches so we remove everything updating |
| 240 | + * a SIO object instead of filtering them down to unique titles. |
| 241 | + */ |
| 242 | + static function handleRefreshingOfInternalObjects(&$jobs) { |
| 243 | + $all_jobs = $jobs; |
| 244 | + $jobs = array(); |
| 245 | + foreach ( $all_jobs as $job ) { |
| 246 | + if ( strpos( $job->title->getText(), '#' ) === false ) |
| 247 | + $jobs[] = $job; |
| 248 | + } |
| 249 | + return true; |
| 250 | + } |
| 251 | +} |
Property changes on: tags/extensions/SemanticInternalObjects/REL_0_4_1/SemanticInternalObjects_body.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 252 | + native |
Index: tags/extensions/SemanticInternalObjects/REL_0_4_1/SemanticInternalObjects.i18n.php |
— | — | @@ -0,0 +1,284 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalization file for Semantic Internal Objects |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Language |
| 8 | + * @ingroup I18n |
| 9 | + * @ingroup SemanticInternalObjects |
| 10 | + */ |
| 11 | + |
| 12 | +// FIXME: Can be enabled when new style magic words are used (introduced in r52503) |
| 13 | +// require_once( dirname( __FILE__ ) . '/SemanticInternalObjects.i18n.magic.php' ); |
| 14 | + |
| 15 | +$messages = array(); |
| 16 | + |
| 17 | +/** English |
| 18 | + * @author Yaron Koren |
| 19 | + */ |
| 20 | +$messages['en'] = array( |
| 21 | + 'semanticinternalobjects-desc' => 'Setting of internal objects in Semantic MediaWiki', |
| 22 | +); |
| 23 | + |
| 24 | +/** Message documentation (Message documentation) |
| 25 | + * @author Yaron Koren |
| 26 | + */ |
| 27 | +$messages['qqq'] = array( |
| 28 | + 'semanticinternalobjects-desc' => '{{desc}}', |
| 29 | +); |
| 30 | + |
| 31 | +/** Arabic (العربية) |
| 32 | + * @author Meno25 |
| 33 | + */ |
| 34 | +$messages['ar'] = array( |
| 35 | + 'semanticinternalobjects-desc' => 'ضبط الأشياء الداخلية في ميدياويكي الدلالي', |
| 36 | +); |
| 37 | + |
| 38 | +/** Belarusian (Taraškievica orthography) (Беларуская (тарашкевіца)) |
| 39 | + * @author EugeneZelenko |
| 40 | + */ |
| 41 | +$messages['be-tarask'] = array( |
| 42 | + 'semanticinternalobjects-desc' => "Устаноўкі ўнутраных аб'ектаў у Semantic MediaWiki", |
| 43 | +); |
| 44 | + |
| 45 | +/** Breton (Brezhoneg) |
| 46 | + * @author Fulup |
| 47 | + */ |
| 48 | +$messages['br'] = array( |
| 49 | + 'semanticinternalobjects-desc' => 'Kefluniadur traezoù diabarzh e Semanctic MediaWiki', |
| 50 | +); |
| 51 | + |
| 52 | +/** Bosnian (Bosanski) |
| 53 | + * @author CERminator |
| 54 | + */ |
| 55 | +$messages['bs'] = array( |
| 56 | + 'semanticinternalobjects-desc' => 'Postavljanje unutrašnjih objekata u Semantic MediaWiki', |
| 57 | +); |
| 58 | + |
| 59 | +/** German (Deutsch) |
| 60 | + * @author Imre |
| 61 | + */ |
| 62 | +$messages['de'] = array( |
| 63 | + 'semanticinternalobjects-desc' => 'Einstellung interner Objekte in Semantic MediaWiki', |
| 64 | +); |
| 65 | + |
| 66 | +/** Lower Sorbian (Dolnoserbski) |
| 67 | + * @author Michawiki |
| 68 | + */ |
| 69 | +$messages['dsb'] = array( |
| 70 | + 'semanticinternalobjects-desc' => 'Nastajenje internych objektow w Semantic MediaWiki', |
| 71 | +); |
| 72 | + |
| 73 | +/** Greek (Ελληνικά) |
| 74 | + * @author Omnipaedista |
| 75 | + */ |
| 76 | +$messages['el'] = array( |
| 77 | + 'semanticinternalobjects-desc' => 'Ρυθμίσεις εσωτερικών αντικειμένων στη Σημασιολογική MediaWiki', |
| 78 | +); |
| 79 | + |
| 80 | +/** Spanish (Español) |
| 81 | + * @author Crazymadlover |
| 82 | + */ |
| 83 | +$messages['es'] = array( |
| 84 | + 'semanticinternalobjects-desc' => 'Configuración de objetos internos en Semantic MediaWiki', |
| 85 | +); |
| 86 | + |
| 87 | +/** Finnish (Suomi) |
| 88 | + * @author Centerlink |
| 89 | + * @author Crt |
| 90 | + */ |
| 91 | +$messages['fi'] = array( |
| 92 | + 'semanticinternalobjects-desc' => 'Sisäisten objektien asetukset semanttisessa MediaWikissä.', |
| 93 | +); |
| 94 | + |
| 95 | +/** French (Français) |
| 96 | + * @author Crochet.david |
| 97 | + */ |
| 98 | +$messages['fr'] = array( |
| 99 | + 'semanticinternalobjects-desc' => 'Réglage des objets internes dans Semantic MediaWiki', |
| 100 | +); |
| 101 | + |
| 102 | +/** Galician (Galego) |
| 103 | + * @author Toliño |
| 104 | + */ |
| 105 | +$messages['gl'] = array( |
| 106 | + 'semanticinternalobjects-desc' => 'Configuracións de obxectos internos en Semantic MediaWiki', |
| 107 | +); |
| 108 | + |
| 109 | +/** Swiss German (Alemannisch) |
| 110 | + * @author Als-Holder |
| 111 | + */ |
| 112 | +$messages['gsw'] = array( |
| 113 | + 'semanticinternalobjects-desc' => 'Intärni Objäkt in Semantic MediaWiki yysetze', |
| 114 | +); |
| 115 | + |
| 116 | +/** Hebrew (עברית) |
| 117 | + * @author Rotemliss |
| 118 | + * @author YaronSh |
| 119 | + */ |
| 120 | +$messages['he'] = array( |
| 121 | + 'semanticinternalobjects-desc' => 'הגדרות העצמים הפנימיים במדיה־ויקי הסמנטי', |
| 122 | +); |
| 123 | + |
| 124 | +/** Hiligaynon (Ilonggo) |
| 125 | + * @author Tagimata |
| 126 | + */ |
| 127 | +$messages['hil'] = array( |
| 128 | + 'semanticinternalobjects-desc' => 'Pagplastar sang internal na mga bagay sa Semantik MedyaWiki', |
| 129 | +); |
| 130 | + |
| 131 | +/** Upper Sorbian (Hornjoserbsce) |
| 132 | + * @author Michawiki |
| 133 | + */ |
| 134 | +$messages['hsb'] = array( |
| 135 | + 'semanticinternalobjects-desc' => 'Nastajenje internych objektow w Semantic MediaWiki', |
| 136 | +); |
| 137 | + |
| 138 | +/** Hungarian (Magyar) |
| 139 | + * @author Glanthor Reviol |
| 140 | + */ |
| 141 | +$messages['hu'] = array( |
| 142 | + 'semanticinternalobjects-desc' => 'Belső objektumok beállítása a szemantikus MediaWikiben', |
| 143 | +); |
| 144 | + |
| 145 | +/** Interlingua (Interlingua) |
| 146 | + * @author McDutchie |
| 147 | + */ |
| 148 | +$messages['ia'] = array( |
| 149 | + 'semanticinternalobjects-desc' => 'Configuration de objectos interne in Semantic MediaWiki', |
| 150 | +); |
| 151 | + |
| 152 | +/** Indonesian (Bahasa Indonesia) |
| 153 | + * @author Bennylin |
| 154 | + */ |
| 155 | +$messages['id'] = array( |
| 156 | + 'semanticinternalobjects-desc' => 'Seting untuk objek internal pada Semantic MediaWiki', |
| 157 | +); |
| 158 | + |
| 159 | +/** Italian (Italiano) |
| 160 | + * @author Gianfranco |
| 161 | + */ |
| 162 | +$messages['it'] = array( |
| 163 | + 'semanticinternalobjects-desc' => 'Configurazione degli oggetti interni in Semantic MediaWiki', |
| 164 | +); |
| 165 | + |
| 166 | +/** Japanese (日本語) |
| 167 | + * @author Fryed-peach |
| 168 | + */ |
| 169 | +$messages['ja'] = array( |
| 170 | + 'semanticinternalobjects-desc' => 'Semantic MediaWiki の内部オブジェクトの設定', |
| 171 | +); |
| 172 | + |
| 173 | +/** Colognian (Ripoarisch) |
| 174 | + * @author Purodha |
| 175 | + */ |
| 176 | +$messages['ksh'] = array( |
| 177 | + 'semanticinternalobjects-desc' => 'De ennere Objäkte vum Semantesch MedijaWiki enschtälle.', |
| 178 | +); |
| 179 | + |
| 180 | +/** Luxembourgish (Lëtzebuergesch) |
| 181 | + * @author Robby |
| 182 | + */ |
| 183 | +$messages['lb'] = array( |
| 184 | + 'semanticinternalobjects-desc' => 'Astellung vun internen Objeten a Semantic MediaWiki', |
| 185 | +); |
| 186 | + |
| 187 | +/** Macedonian (Македонски) |
| 188 | + * @author Bjankuloski06 |
| 189 | + */ |
| 190 | +$messages['mk'] = array( |
| 191 | + 'semanticinternalobjects-desc' => 'Поставање на внатрешни објекти во Semantic MediaWiki', |
| 192 | +); |
| 193 | + |
| 194 | +/** Dutch (Nederlands) |
| 195 | + * @author Siebrand |
| 196 | + */ |
| 197 | +$messages['nl'] = array( |
| 198 | + 'semanticinternalobjects-desc' => 'Interne objecten in Semantic MediaWiki instellen', |
| 199 | +); |
| 200 | + |
| 201 | +/** Norwegian (bokmål) (Norsk (bokmål)) |
| 202 | + * @author Nghtwlkr |
| 203 | + */ |
| 204 | +$messages['no'] = array( |
| 205 | + 'semanticinternalobjects-desc' => 'Innstilling for interne objekt i Semantic MediaWiki', |
| 206 | +); |
| 207 | + |
| 208 | +/** Occitan (Occitan) |
| 209 | + * @author Cedric31 |
| 210 | + */ |
| 211 | +$messages['oc'] = array( |
| 212 | + 'semanticinternalobjects-desc' => 'Reglatge dels objèctes intèrnes dins Semantic MediaWiki', |
| 213 | +); |
| 214 | + |
| 215 | +/** Polish (Polski) |
| 216 | + * @author Sp5uhe |
| 217 | + */ |
| 218 | +$messages['pl'] = array( |
| 219 | + 'semanticinternalobjects-desc' => 'Ustawianie wewnętrznych obiektów Semantic MediaWiki.', |
| 220 | +); |
| 221 | + |
| 222 | +/** Piedmontese (Piemontèis) |
| 223 | + * @author Dragonòt |
| 224 | + */ |
| 225 | +$messages['pms'] = array( |
| 226 | + 'semanticinternalobjects-desc' => "Ampostassion d'oget intern an drinta a Semantic MediaWiki", |
| 227 | +); |
| 228 | + |
| 229 | +/** Portuguese (Português) |
| 230 | + * @author Hamilton Abreu |
| 231 | + * @author Indech |
| 232 | + */ |
| 233 | +$messages['pt'] = array( |
| 234 | + 'semanticinternalobjects-desc' => 'Configuração de objetos internos no MediaWiki Semântico', |
| 235 | +); |
| 236 | + |
| 237 | +/** Brazilian Portuguese (Português do Brasil) |
| 238 | + * @author Eduardo.mps |
| 239 | + */ |
| 240 | +$messages['pt-br'] = array( |
| 241 | + 'semanticinternalobjects-desc' => 'Definição de objetos internos no Semantic MediaWiki', |
| 242 | +); |
| 243 | + |
| 244 | +/** Tarandíne (Tarandíne) |
| 245 | + * @author Joetaras |
| 246 | + */ |
| 247 | +$messages['roa-tara'] = array( |
| 248 | + 'semanticinternalobjects-desc' => "'Mboste le oggette inderne jndr'à MediaUicchi Semandiche", |
| 249 | +); |
| 250 | + |
| 251 | +/** Russian (Русский) |
| 252 | + * @author Александр Сигачёв |
| 253 | + */ |
| 254 | +$messages['ru'] = array( |
| 255 | + 'semanticinternalobjects-desc' => 'Установка внутренних объектов в Semantic MediaWiki', |
| 256 | +); |
| 257 | + |
| 258 | +/** Slovak (Slovenčina) |
| 259 | + * @author Helix84 |
| 260 | + */ |
| 261 | +$messages['sk'] = array( |
| 262 | + 'semanticinternalobjects-desc' => 'Nastavenie vnútorných objektov v Semantic MediaWiki', |
| 263 | +); |
| 264 | + |
| 265 | +/** Swedish (Svenska) |
| 266 | + * @author Per |
| 267 | + */ |
| 268 | +$messages['sv'] = array( |
| 269 | + 'semanticinternalobjects-desc' => 'Inställning för interna objekt i Semantic MediaWiki', |
| 270 | +); |
| 271 | + |
| 272 | +/** Turkish (Türkçe) |
| 273 | + * @author Vito Genovese |
| 274 | + */ |
| 275 | +$messages['tr'] = array( |
| 276 | + 'semanticinternalobjects-desc' => "Anlamsal MediaWiki'deki iç nesnelerin ayarlanması", |
| 277 | +); |
| 278 | + |
| 279 | +/** Vietnamese (Tiếng Việt) |
| 280 | + * @author Minh Nguyen |
| 281 | + */ |
| 282 | +$messages['vi'] = array( |
| 283 | + 'semanticinternalobjects-desc' => 'Thiết kế các đối tượng nội bộ trong Semantic MediaWiki', |
| 284 | +); |
| 285 | + |
Property changes on: tags/extensions/SemanticInternalObjects/REL_0_4_1/SemanticInternalObjects.i18n.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 286 | + native |