├── tests
├── phpunit
│ ├── Integration
│ │ ├── Utils
│ │ │ └── Fixtures
│ │ │ │ ├── aaa.json
│ │ │ │ └── zzz.json
│ │ ├── JSONScript
│ │ │ ├── Fixtures
│ │ │ │ ├── p-0502-error.txt
│ │ │ │ ├── file-upload.txt
│ │ │ │ ├── s-0025-beacon.txt
│ │ │ │ ├── res.s-0022.3.csv
│ │ │ │ ├── res.s-0022.6.csv
│ │ │ │ ├── res.s-0022.7.csv
│ │ │ │ ├── s-0020.2.txt
│ │ │ │ ├── res.s-0022.2.csv
│ │ │ │ ├── p-0502-other-license.json
│ │ │ │ ├── p-0303.txt
│ │ │ │ ├── p-0439.de.txt
│ │ │ │ ├── p-0439.fr.txt
│ │ │ │ ├── res.s-0022.4.csv
│ │ │ │ ├── res.s-0022.1.csv
│ │ │ │ ├── image-upload-88.png
│ │ │ │ ├── image-upload-480.png
│ │ │ │ ├── s-0020.1.txt
│ │ │ │ ├── a-0001.4.txt
│ │ │ │ ├── a-0001.5.txt
│ │ │ │ ├── res.a-0001.11.txt
│ │ │ │ ├── res.a-0001.9.txt
│ │ │ │ ├── res.s-0022.0.csv
│ │ │ │ ├── res.s-0022.5.csv
│ │ │ │ ├── res.a-0001.10.txt
│ │ │ │ ├── a-0001.6.txt
│ │ │ │ ├── p-0211.3.txt
│ │ │ │ ├── a-0001.1.txt
│ │ │ │ ├── a-0001.2.txt
│ │ │ │ ├── a-0001.0.txt
│ │ │ │ ├── res.a-0001.7.txt
│ │ │ │ ├── a-0001.3.txt
│ │ │ │ ├── p-0459-keyword-formatter-schema.json
│ │ │ │ ├── res.s-0025.0.txt
│ │ │ │ ├── p-0444.txt
│ │ │ │ ├── q-0907-2.txt
│ │ │ │ ├── res.s-0025.1.txt
│ │ │ │ ├── s-0025-beacon-intro.txt
│ │ │ │ ├── res.a-0002.0.json
│ │ │ │ ├── res.a-0002.1.json
│ │ │ │ ├── res.a-0002.2.json
│ │ │ │ ├── res.a-0002.3.json
│ │ │ │ ├── numeric-sorting.txt
│ │ │ │ ├── q-0907-1.txt
│ │ │ │ ├── s-0020.0.txt
│ │ │ │ └── p-0211.1.txt
│ │ │ └── TestCases
│ │ │ │ ├── q-0804.json
│ │ │ │ └── p-0111.json
│ │ ├── Lang
│ │ │ └── Fixtures
│ │ │ │ ├── foo-partial.json
│ │ │ │ ├── foo-fallback.json
│ │ │ │ └── en.json
│ │ └── Importer
│ │ │ └── Fixtures
│ │ │ ├── ValidXmlContent
│ │ │ └── content.json
│ │ │ └── ValidTextContent
│ │ │ ├── foaf.txt
│ │ │ └── content.json
│ ├── Unit
│ │ ├── Importer
│ │ │ └── Fixtures
│ │ │ │ ├── NoImportFormat
│ │ │ │ └── error.json
│ │ │ │ ├── MissingSections
│ │ │ │ └── error.json
│ │ │ │ ├── ValidTextContent
│ │ │ │ ├── foaf.txt
│ │ │ │ └── content.json
│ │ │ │ └── InvalidJsonContent
│ │ │ │ └── invalid.json
│ │ ├── Rule
│ │ │ └── RuleTest.php
│ │ ├── CompatibilityModeTest.php
│ │ ├── MediaWiki
│ │ │ ├── Specials
│ │ │ │ ├── Ask
│ │ │ │ │ └── HelpWidgetTest.php
│ │ │ │ └── Browse
│ │ │ │ │ └── FieldBuilderTest.php
│ │ │ ├── Content
│ │ │ │ └── SchemaContentHandlerTest.php
│ │ │ ├── Exception
│ │ │ │ └── ExtendedPermissionsErrorTest.php
│ │ │ ├── Page
│ │ │ │ └── ConceptPageTest.php
│ │ │ └── Hooks
│ │ │ │ └── ExtensionTypesTest.php
│ │ ├── SPARQLStore
│ │ │ ├── RepositoryConnectors
│ │ │ │ ├── FusekiRepositoryConnectorTest.php
│ │ │ │ ├── GenericRepositoryConnectorTest.php
│ │ │ │ ├── VirtuosoRepositoryConnectorTest.php
│ │ │ │ └── FourstoreRepositoryConnectorTest.php
│ │ │ └── Exception
│ │ │ │ └── HttpEndpointConnectionExceptionTest.php
│ │ ├── EnumTest.php
│ │ ├── Utils
│ │ │ ├── TempFileTest.php
│ │ │ ├── TokenizerTest.php
│ │ │ ├── FileFetcherTest.php
│ │ │ ├── ImageTest.php
│ │ │ └── HtmlModalTest.php
│ │ ├── DataValues
│ │ │ └── TelephoneUriValueTest.php
│ │ ├── Elastic
│ │ │ └── Exception
│ │ │ │ └── ClientBuilderNotFoundExceptionTest.php
│ │ ├── Exception
│ │ │ ├── DataItemExceptionTest.php
│ │ │ ├── StoreNotFoundExceptionTest.php
│ │ │ ├── DataTypeLookupExceptionTest.php
│ │ │ ├── FileNotReadableExceptionTest.php
│ │ │ ├── FileNotWritableExceptionTest.php
│ │ │ ├── SettingNotFoundExceptionTest.php
│ │ │ ├── SubSemanticDataExceptionTest.php
│ │ │ ├── PropertyNotFoundExceptionTest.php
│ │ │ ├── SemanticDataImportExceptionTest.php
│ │ │ ├── RedirectTargetUnresolvableExceptionTest.php
│ │ │ ├── DataItemDeserializationExceptionTest.php
│ │ │ ├── PropertyLabelNotResolvedExceptionTest.php
│ │ │ └── PredefinedPropertyLabelMismatchExceptionTest.php
│ │ ├── Schema
│ │ │ └── Exception
│ │ │ │ ├── SchemaTypeNotFoundExceptionTest.php
│ │ │ │ ├── SchemaConstructionFailedExceptionTest.php
│ │ │ │ └── SchemaParameterTypeMismatchExceptionTest.php
│ │ ├── Services
│ │ │ └── Exception
│ │ │ │ └── ServiceNotFoundExceptionTest.php
│ │ ├── SQLStore
│ │ │ └── Exception
│ │ │ │ ├── TableMissingIdFieldExceptionTest.php
│ │ │ │ └── PropertyStatisticsInvalidArgumentExceptionTest.php
│ │ ├── Query
│ │ │ ├── Exception
│ │ │ │ └── ResultFormatNotFoundExceptionTest.php
│ │ │ └── ResultFormatTest.php
│ │ └── DefinesTest.php
│ ├── Utils
│ │ ├── Fixtures
│ │ │ ├── Results
│ │ │ │ └── XML
│ │ │ │ │ ├── boolean-sparql-result.xml
│ │ │ │ │ ├── invalid-sparql-result.xml
│ │ │ │ │ ├── empty-sparql-result.xml
│ │ │ │ │ ├── uri-resource-sparql-result.xml
│ │ │ │ │ ├── nontype-literal-sparql-result.xml
│ │ │ │ │ ├── integer-type-literal-sparql-result.xml
│ │ │ │ │ ├── string-type-literal-sparql-result.xml
│ │ │ │ │ ├── mixed-rows-sparql-result.xml
│ │ │ │ │ └── mixed-rows-sparql-result-utf8.xml
│ │ │ ├── InvalidCustomRespositoryConnector.php
│ │ │ ├── File
│ │ │ │ ├── LoremIpsum.json
│ │ │ │ └── LoremIpsum.txt
│ │ │ ├── Properties
│ │ │ │ ├── YearProperty.php
│ │ │ │ ├── FoundedProperty.php
│ │ │ │ ├── UrlProperty.php
│ │ │ │ ├── EmailProperty.php
│ │ │ │ ├── PopulationProperty.php
│ │ │ │ ├── TitleProperty.php
│ │ │ │ ├── CoordinatesProperty.php
│ │ │ │ ├── DescriptionProperty.php
│ │ │ │ ├── TemperatureProperty.php
│ │ │ │ ├── LocatedInProperty.php
│ │ │ │ └── TelephoneNumberProperty.php
│ │ │ └── FixturesFactory.php
│ │ ├── Mock
│ │ │ ├── MockObjectRepository.php
│ │ │ └── MockSuperUser.php
│ │ └── StringBuilder.php
│ ├── Benchmark
│ │ └── BenchmarkReporter.php
│ ├── PHPUnitCompat.php
│ └── includes
│ │ └── dataitems
│ │ ├── DI_NumberTest.php
│ │ ├── DI_BoolTest.php
│ │ └── DI_BlobTest.php
└── travis
│ ├── openrdf-sesame-memory-repository.txt
│ ├── virtuoso-sparql-permission.sql
│ ├── upload-coverage-report.sh
│ └── run-tests.sh
├── i18n
├── ee.json
├── avk.json
├── cdo.json
├── li.json
├── lzh.json
├── sli.json
├── bug.json
├── ext.json
├── gan-hans.json
├── gan-hant.json
├── hrx.json
├── kab.json
├── kw.json
├── la.json
├── lad.json
├── lez.json
├── mdf.json
├── mwl.json
├── pag.json
├── pam.json
├── prg.json
├── sma.json
├── stq.json
├── xal.json
├── bjn.json
├── crh-cyrl.json
├── haw.json
├── kk-arab.json
├── kk-latn.json
├── sdc.json
├── crh-latn.json
├── kiu.json
├── hak.json
├── hif-latn.json
├── ary.json
├── nan.json
├── wuu.json
├── wo.json
├── anp.json
├── ch.json
├── din.json
├── hil.json
├── jam.json
├── krj.json
├── mzn.json
├── niu.json
├── olo.json
├── rif.json
├── aeb-latn.json
├── arq.json
├── jut.json
├── khw.json
├── shn.json
├── ang.json
├── bgn.json
├── cu.json
├── dty.json
├── gd.json
├── lrc.json
├── luz.json
├── tcy.json
├── my.json
├── extra
│ ├── zh.json
│ ├── de-at.json
│ ├── de-ch.json
│ ├── de-formal.json
│ ├── zh-hans.json
│ └── zh-hant.json
├── glk.json
├── gom-latn.json
├── tyv.json
├── kri.json
├── yue.json
├── ady-cyrl.json
├── om.json
├── jbo.json
├── su.json
├── tg-latn.json
├── th.json
├── vro.json
├── frr.json
├── gom-deva.json
├── pnb.json
├── sc.json
├── yo.json
├── ace.json
├── cy.json
├── gu.json
├── is.json
├── sa.json
├── ug-latn.json
├── war.json
├── fo.json
├── fur.json
├── ilo.json
├── or.json
├── sgs.json
├── ug-arab.json
├── am.json
├── lij.json
├── os.json
├── rm.json
├── szl.json
├── tt-latn.json
├── vec.json
├── bcc.json
├── sw.json
├── kk-cyrl.json
├── mai.json
├── tk.json
├── sd.json
├── mg.json
├── sh.json
├── bar.json
├── wa.json
├── io.json
├── krc.json
├── as.json
├── awa.json
├── scn.json
├── tet.json
├── an.json
├── azb.json
├── cv.json
├── myv.json
├── pa.json
├── xmf.json
├── bho.json
├── qu.json
├── sah.json
├── tg-cyrl.json
├── min.json
├── nds-nl.json
├── bcl.json
├── da.json
├── pfl.json
├── be.json
├── tly.json
├── nds.json
├── nap.json
├── ne.json
├── kn.json
├── ba.json
├── rue.json
├── nah.json
├── ig.json
├── ga.json
├── mt.json
├── ku-latn.json
├── mn.json
├── pdc.json
├── az.json
├── ky.json
├── sco.json
├── fy.json
├── hy.json
├── uz.json
├── lki.json
├── yi.json
├── de-formal.json
└── grc.json
├── res
├── smw
│ ├── deferred
│ │ └── ext.smw.deferred.skin.css
│ ├── special
│ │ └── ext.smw.special.browse.skin.css
│ └── content
│ │ └── smw.schemaview.js
└── docs
│ └── jsduck.external.js
├── data
├── template
│ └── elastic
│ │ └── indexer
│ │ ├── CheckReplicationTaskComment.ms
│ │ ├── CheckReplicationTaskLine.ms
│ │ └── CheckReplicationTaskHighlighter.ms
├── import
│ ├── properties
│ │ ├── foaf.name.txt
│ │ ├── foaf.homepage.txt
│ │ ├── owl.differentFrom.txt
│ │ └── foaf.knows.txt
│ ├── vocabularies
│ │ └── foaf.txt
│ ├── smw.groups.json
│ └── groups
│ │ └── schema.json
├── elastic
│ └── smw-lookup.json
└── schema
│ └── search-form-schema.v1.json
├── docs
├── releasenotes
│ ├── RELEASE-NOTES-2.2.3.md
│ ├── RELEASE-NOTES-2.1.3.md
│ ├── RELEASE-NOTES-2.2.2.md
│ ├── RELEASE-NOTES-2.4.6.md
│ ├── RELEASE-NOTES-2.4.4.md
│ ├── RELEASE-NOTES-2.1.2.md
│ ├── RELEASE-NOTES-2.1.1.md
│ ├── RELEASE-NOTES-1.9.1.1.md
│ ├── RELEASE-NOTES-2.4.3.md
│ ├── RELEASE-NOTES-2.4.5.md
│ ├── RELEASE-NOTES-1.9.0.2.md
│ ├── RELEASE-NOTES-2.2.1.md
│ ├── RELEASE-NOTES-1.6.1.md
│ ├── RELEASE-NOTES-2.4.2.md
│ ├── RELEASE-NOTES-2.5.6.md
│ ├── RELEASE-NOTES-1.9.0.1.md
│ ├── RELEASE-NOTES-2.5.8.md
│ └── RELEASE-NOTES-2.5.7.md
├── PULL_REQUEST_TEMPLATE.md
├── technical
│ ├── jsduck.json
│ └── code-snippets
│ │ ├── approve.update.md
│ │ ├── README.md
│ │ └── hook.fileupload.beforeupdate.md
└── architecture
│ └── extending.declarationexaminer.md
├── .gitignore
├── src
├── Exception
│ ├── DataItemDeserializationException.php
│ ├── DataItemException.php
│ ├── PropertyLabelNotResolvedException.php
│ ├── FileNotFoundException.php
│ ├── DataTypeLookupException.php
│ ├── SettingNotFoundException.php
│ ├── StoreNotFoundException.php
│ ├── SubSemanticDataException.php
│ ├── PropertyNotFoundException.php
│ ├── SemanticDataImportException.php
│ ├── PredefinedPropertyLabelMismatchException.php
│ ├── RedirectTargetUnresolvableException.php
│ ├── FileNotReadableException.php
│ ├── FileNotWritableException.php
│ └── ParameterNotFoundException.php
├── Elastic
│ ├── Exception
│ │ ├── ReplicationException.php
│ │ ├── NoConnectionException.php
│ │ ├── InvalidJSONException.php
│ │ └── ClientBuilderNotFoundException.php
│ └── QueryEngine
│ │ └── TermsLookup.php
├── Query
│ ├── Exception
│ │ ├── FingerprintNotFoundException.php
│ │ └── ResultFormatNotFoundException.php
│ ├── ResultPrinters
│ │ ├── NullResultPrinter.php
│ │ └── ListResultPrinter
│ │ │ ├── ParameterDictionaryUser.php
│ │ │ └── RowBuilder.php
│ └── ProfileAnnotator.php
├── SQLStore
│ ├── EntityStore
│ │ └── Exception
│ │ │ └── DataItemHandlerException.php
│ ├── Exception
│ │ ├── PropertyStatisticsInvalidArgumentException.php
│ │ └── TableMissingIdFieldException.php
│ ├── README.md
│ └── QueryEngine
│ │ ├── EngineOptions.php
│ │ └── DescriptionInterpreter.php
├── StoreAware.php
├── DataValues
│ ├── TelephoneUriValue.php
│ ├── ValueFormatters
│ │ ├── ValueFormatter.php
│ │ └── NoValueFormatter.php
│ ├── AllowsValue.php
│ ├── ValueParsers
│ │ └── ValueParser.php
│ ├── ValueValidators
│ │ └── ConstraintValueValidator.php
│ ├── Time
│ │ └── CalendarModel.php
│ └── UniquenessConstraintValue.php
├── Importer
│ ├── ContentIterator.php
│ └── ContentCreator.php
├── Services
│ └── Exception
│ │ └── ServiceNotFoundException.php
├── MediaWiki
│ ├── Api
│ │ ├── Browse
│ │ │ └── Lookup.php
│ │ └── Tasks
│ │ │ └── Task.php
│ ├── Exception
│ │ └── ExtendedPermissionsError.php
│ ├── PageCreator.php
│ ├── Jobs
│ │ ├── NullJob.php
│ │ └── ChangePropagationClassUpdateJob.php
│ ├── IndicatorProvider.php
│ └── Hooks
│ │ └── ExtensionTypes.php
├── Schema
│ ├── Exception
│ │ ├── SchemaConstructionFailedException.php
│ │ ├── SchemaParameterTypeMismatchException.php
│ │ └── SchemaTypeNotFoundException.php
│ └── Schema.php
├── SPARQLStore
│ ├── HttpResponseParser.php
│ ├── Exception
│ │ ├── XmlParserException.php
│ │ └── HttpEndpointConnectionException.php
│ └── QueryEngine
│ │ ├── Condition
│ │ ├── TrueCondition.php
│ │ └── FalseCondition.php
│ │ ├── DescriptionInterpreter.php
│ │ └── EngineOptions.php
├── Enum.php
├── Exporter
│ ├── DataItemMapper.php
│ └── ResourceBuilder.php
├── Property
│ ├── Annotator.php
│ ├── DeclarationExaminer.php
│ └── Constraint
│ │ └── Constraints
│ │ └── NullConstraint.php
├── Connection
│ └── ConnectionProvider.php
├── ProcessingError.php
├── Serializers
│ └── FlatSemanticDataSerializer.php
├── QueryEngine.php
└── ParameterProcessorFactory.php
├── .jshintignore
├── .scrutinizer.yml
└── extension.json
/tests/phpunit/Integration/Utils/Fixtures/aaa.json:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/Utils/Fixtures/zzz.json:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/i18n/ee.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw_browse_go": "Yi"
4 | }
5 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/p-0502-error.txt:
--------------------------------------------------------------------------------
1 | * Foo
2 | * Bar
3 |
--------------------------------------------------------------------------------
/i18n/avk.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Vajas…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/cdo.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "載入..."
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/li.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Laje…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/lzh.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "遺藏…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/sli.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Loada…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/bug.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Mallise…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/ext.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Cargandu…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/gan-hans.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "加载中…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/gan-hant.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "載入中…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/hrx.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Am loode …"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/kab.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Assisi…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/kw.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Ow karga..."
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/la.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Depromens…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/lad.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Cargando..."
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/lez.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Ппарзава..."
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/mdf.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Аноклакшни…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/mwl.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "A cargar..."
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/pag.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Ilulugan…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/pam.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Máglulan…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/prg.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Krausnā..."
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/sma.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Leedtedh…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/stq.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Leede …"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/xal.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Белднә..."
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/bjn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Ma'unggah..."
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/crh-cyrl.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Юкленмекте…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/haw.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Ke ho‘ouka nei…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/kk-arab.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "جۇكتەۋدە…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/kk-latn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Jüktewde…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/sdc.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Carrigghendi…"
4 | }
5 |
--------------------------------------------------------------------------------
/res/smw/deferred/ext.smw.deferred.skin.css:
--------------------------------------------------------------------------------
1 | /**
2 | * .skin-vector specific styles
3 | */
4 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/file-upload.txt:
--------------------------------------------------------------------------------
1 | Test file for a non image upload!
--------------------------------------------------------------------------------
/i18n/crh-latn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Yüklenmekte…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/kiu.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Erdemaslancan"
5 | ]
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/data/template/elastic/indexer/CheckReplicationTaskComment.ms:
--------------------------------------------------------------------------------
1 | {{comment}}
--------------------------------------------------------------------------------
/i18n/hak.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "Chang-chhai chai-ngi̍p…"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/hif-latn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "load karaa jaae hae..."
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/ary.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-livepreview-loading": "tssna wa7d chwiya kaytcharja ...."
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/nan.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Ianbu"
5 | ]
6 | },
7 | "browse": "看維基"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/wuu.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Poiuyt"
5 | ]
6 | },
7 | "browse": "浏览维基"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/wo.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Ibou"
5 | ]
6 | },
7 | "browse": "Wër wiki bi"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/anp.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Angpradesh"
5 | ]
6 | },
7 | "browse": "विकि देखऽ"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/ch.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Jatrobat"
5 | ]
6 | },
7 | "smw_browse_go": "Hånao"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/din.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Dinkawiki"
5 | ]
6 | },
7 | "browse": "Cäärë wiki"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/hil.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Jose77"
5 | ]
6 | },
7 | "smw_browse_go": "Lakat"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/jam.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Katxis"
5 | ]
6 | },
7 | "browse": "Brouz wiki"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/krj.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Jose77"
5 | ]
6 | },
7 | "smw_browse_go": "Agto"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/mzn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "محک"
5 | ]
6 | },
7 | "browse": "ویکی ره بگردستن"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/niu.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Jose77"
5 | ]
6 | },
7 | "smw_browse_go": "Fano"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/olo.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Mashoi7"
5 | ]
6 | },
7 | "browse": "Livua wikii"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/rif.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Jose77"
5 | ]
6 | },
7 | "smw_browse_go": "Raḥ ɣa"
8 | }
9 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/s-0025-beacon.txt:
--------------------------------------------------------------------------------
1 |
2 | {{{?GND|}}}||{{{?Name|}}}
3 |
--------------------------------------------------------------------------------
/i18n/aeb-latn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Csisc"
5 | ]
6 | },
7 | "browse": "Navīgī il-wīkī"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/arq.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Oldstoneage"
5 | ]
6 | },
7 | "browse": "صفّح فل ويكي"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/jut.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Jyllanj"
5 | ]
6 | },
7 | "browse": "Djennemsie wiki"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/khw.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Rachitrali"
5 | ]
6 | },
7 | "browse": "ویکپیڈیا براوزر"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/shn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Saimawnkham"
5 | ]
6 | },
7 | "browse": "ပိုတ်ႇႁႃ wiki"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/ang.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Gott wisst"
5 | ]
6 | },
7 | "browse": "Sēcan geond wiki"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/bgn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Baloch Afghanistan"
5 | ]
6 | },
7 | "browse": "ویکی بروز"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/cu.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "ОйЛ"
5 | ]
6 | },
7 | "smw-ui-tooltip-title-warning": "блаꙁна"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/dty.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "रमेश सिंह बोहरा"
5 | ]
6 | },
7 | "browse": "ब्राउज विकि"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/gd.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "GunChleoc"
5 | ]
6 | },
7 | "browse": "Brabhsaich an uicidh"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/lrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Mogoeilor"
5 | ]
6 | },
7 | "browse": "دوارته نئری سی ویکی"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/luz.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "علی ساکی لرستانی"
5 | ]
6 | },
7 | "browse": "مۉروٙر ڤیکی"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/tcy.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "VASANTH S.N."
5 | ]
6 | },
7 | "browse": "ವಿಕಿನ್ ನಾಡ್ಲೆ"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/my.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Ninjastrikers"
5 | ]
6 | },
7 | "browse": "ဝီကီကို လှန်လောလေ့လာ"
8 | }
9 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/res.s-0022.3.csv:
--------------------------------------------------------------------------------
1 | "Has number","Has text"
2 | ,"Some example"
3 | "123,345",
4 | 123,"ABC,DEF"
5 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/res.s-0022.6.csv:
--------------------------------------------------------------------------------
1 | "Has number","Has text"
2 | ,"Some example"
3 | 123;345,
4 | 123,ABC;DEF
5 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/res.s-0022.7.csv:
--------------------------------------------------------------------------------
1 | "Has number"|"Has text"
2 | |"Some example"
3 | 123;345|
4 | 123|ABC;DEF
5 |
--------------------------------------------------------------------------------
/i18n/extra/zh.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": []
4 | },
5 | "isLanguageRedirect": true,
6 | "fallback_language": "zh-cn"
7 | }
8 |
--------------------------------------------------------------------------------
/i18n/glk.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "V6rg",
5 | "شیخ"
6 | ]
7 | },
8 | "browse": "ويکيه مٚتٚن"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/gom-latn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "The Discoverer"
5 | ]
6 | },
7 | "browse": "Wikint bhovdi mar"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/tyv.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Монгуш Салим"
5 | ]
6 | },
7 | "browse": "Арыннарның ниити көрүлдези"
8 | }
9 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/s-0020.2.txt:
--------------------------------------------------------------------------------
1 | [{"Has text":["Some example"],"Has number":[]},{"Has text":[],"Has number":["123","345"]}]
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Importer/Fixtures/NoImportFormat/error.json:
--------------------------------------------------------------------------------
1 | {
2 | "description": "Test import",
3 | "meta": {
4 | "version": "1"
5 | }
6 | }
--------------------------------------------------------------------------------
/i18n/kri.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Jose77",
5 | "Protostar"
6 | ]
7 | },
8 | "smw_browse_go": "Go"
9 | }
10 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/res.s-0022.2.csv:
--------------------------------------------------------------------------------
1 | "Has number","Has text"
2 | ,"Some example"
3 | "123,345",
4 | 123,ABC
5 | 123,DEF
6 |
--------------------------------------------------------------------------------
/i18n/extra/de-at.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": []
4 | },
5 | "isLanguageRedirect": true,
6 | "fallback_language": "de"
7 | }
8 |
--------------------------------------------------------------------------------
/i18n/extra/de-ch.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": []
4 | },
5 | "isLanguageRedirect": true,
6 | "fallback_language": "de"
7 | }
8 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/p-0502-other-license.json:
--------------------------------------------------------------------------------
1 | {
2 | "CC Zero": "Public Domain Dedication",
3 | "PD": "Public Domain"
4 | }
5 |
--------------------------------------------------------------------------------
/i18n/extra/de-formal.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": []
4 | },
5 | "isLanguageRedirect": true,
6 | "fallback_language": "de"
7 | }
8 |
--------------------------------------------------------------------------------
/i18n/extra/zh-hans.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": []
4 | },
5 | "isLanguageRedirect": true,
6 | "fallback_language": "zh-cn"
7 | }
8 |
--------------------------------------------------------------------------------
/i18n/extra/zh-hant.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": []
4 | },
5 | "isLanguageRedirect": true,
6 | "fallback_language": "zh-cn"
7 | }
8 |
--------------------------------------------------------------------------------
/i18n/yue.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Yueman"
5 | ]
6 | },
7 | "browse": "瀏覽維基",
8 | "smw-livepreview-loading": "載入緊…"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/ady-cyrl.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "SamGamgee",
5 | "Inyzh"
6 | ]
7 | },
8 | "browse": "НэкIубгъомэ ашъхьырыплъ"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/om.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Tumsaa"
5 | ]
6 | },
7 | "smw-limitreport-intext-parsertime-value": "$1 {{PLURAL:sekendii $1}}"
8 | }
9 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/p-0303.txt:
--------------------------------------------------------------------------------
1 | {{#set: Has effect=Foo,
2 | Bar |+sep=,
3 | }}
4 |
5 | {{#subobject: Has effect=Foo,
6 | Bar |+sep=,
7 | }}
8 |
--------------------------------------------------------------------------------
/i18n/jbo.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Gleki"
5 | ]
6 | },
7 | "smw_purge": "vifnygau",
8 | "smw_browselink": "zgana lo se ckaji"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/su.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Kandar"
5 | ]
6 | },
7 | "browse": "Sungsi wiki",
8 | "smw-livepreview-loading": "Ngamuat…"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/tg-latn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": [],
3 | "smw-createproperty-isproperty": "In jak viƶagī az nav'i $1 ast.",
4 | "smw-livepreview-loading": "Dar holi bor şudan…"
5 | }
6 |
--------------------------------------------------------------------------------
/i18n/th.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Horus"
5 | ]
6 | },
7 | "browse": "ค้นดูวิกิ",
8 | "smw-livepreview-loading": "กำลังค้นหา…"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/vro.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Võrok"
5 | ]
6 | },
7 | "browse": "Viki kaeminõ",
8 | "smw-livepreview-loading": "Laat…"
9 | }
10 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/p-0439.de.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mx/SemanticMediaWiki/master/tests/phpunit/Integration/JSONScript/Fixtures/p-0439.de.txt
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/p-0439.fr.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mx/SemanticMediaWiki/master/tests/phpunit/Integration/JSONScript/Fixtures/p-0439.fr.txt
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/res.s-0022.4.csv:
--------------------------------------------------------------------------------
1 | Example/S0022/1,"Some example",
2 | Example/S0022/2,,123;345
3 | Example/S0022/3,ABC,123
4 | Example/S0022/4,DEF,123
--------------------------------------------------------------------------------
/data/template/elastic/indexer/CheckReplicationTaskLine.ms:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/i18n/frr.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Murma174"
5 | ]
6 | },
7 | "browse": "Browse wiki",
8 | "smw-livepreview-loading": "Loose ..."
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/gom-deva.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Konknni mogi 24",
5 | "The Discoverer"
6 | ]
7 | },
8 | "browse": "विकींत भोवडी मार"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/pnb.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Khalid Mahmood"
5 | ]
6 | },
7 | "browse": "وکی پھرولو",
8 | "smw-livepreview-loading": "لوڈنگ"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/sc.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "L2212"
5 | ]
6 | },
7 | "smw_smwadmin_datarefreshstopconfirm": "Eja, deo so {{GENDER:$1|seguru|segura}}"
8 | }
9 |
--------------------------------------------------------------------------------
/i18n/yo.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Demmy"
5 | ]
6 | },
7 | "browse": "Ìtúwò wiki",
8 | "smw-livepreview-loading": "Óúnbọ̀wá..."
9 | }
10 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/res.s-0022.1.csv:
--------------------------------------------------------------------------------
1 | Example/S0022/1,"Some example",
2 | Example/S0022/2,,"123,345"
3 | Example/S0022/3,ABC,123
4 | Example/S0022/4,DEF,123
--------------------------------------------------------------------------------
/i18n/ace.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Si Gam Acèh"
5 | ]
6 | },
7 | "browse": "Rawôn wiki",
8 | "smw-livepreview-loading": "Pumasoë..."
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/cy.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Ham II"
5 | ]
6 | },
7 | "browse": "Pori'r wici",
8 | "smw-livepreview-loading": "Wrthi'n llwytho…"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/gu.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Dsvyas"
5 | ]
6 | },
7 | "browse": "વિકિ વાંચો",
8 | "smw-livepreview-loading": "લવાઇ રહ્યું છે..."
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/is.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Sveinn í Felli"
5 | ]
6 | },
7 | "browse": "Skoða wiki",
8 | "smw-livepreview-loading": "Framkalla…"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/sa.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "NehalDaveND"
5 | ]
6 | },
7 | "browse": "विकि दृश्यताम्",
8 | "smw-livepreview-loading": "आरोपयति..."
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/ug-latn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Jose77",
5 | "Minh Nguyen",
6 | "Vinhtantran"
7 | ]
8 | },
9 | "smw_browse_go": "Köchüsh"
10 | }
11 |
--------------------------------------------------------------------------------
/i18n/war.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "JinJian"
5 | ]
6 | },
7 | "browse": "Browse wiki",
8 | "smw-livepreview-loading": "Ginkakarga. . ."
9 | }
10 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/image-upload-88.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mx/SemanticMediaWiki/master/tests/phpunit/Integration/JSONScript/Fixtures/image-upload-88.png
--------------------------------------------------------------------------------
/i18n/fo.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "EileenSanda"
5 | ]
6 | },
7 | "browse": "Leita í wikiini",
8 | "smw-livepreview-loading": "Innlesur..."
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/fur.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Tocaibon"
5 | ]
6 | },
7 | "browse": "Esplore il sît",
8 | "smw-livepreview-loading": "Daûr a cjamâ…"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/ilo.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Lam-ang"
5 | ]
6 | },
7 | "browse": "Agbasabasa iti wiki",
8 | "smw-livepreview-loading": "Maikarkarga…"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/or.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Jnanaranjan Sahu"
5 | ]
6 | },
7 | "browse": "ଉଇକି ଦେଖିବେ",
8 | "smw-livepreview-loading": "ଖୋଲୁଅଛି..."
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/sgs.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Hugo.arg"
5 | ]
6 | },
7 | "browse": "Poslapiu apveiza",
8 | "smw-livepreview-loading": "Kraunama īr…"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/ug-arab.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Alfredie"
5 | ]
6 | },
7 | "smw_browse_go": "كۆچۈش",
8 | "smw-livepreview-loading": "يۈكلەۋاتىدۇ…"
9 | }
10 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/image-upload-480.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mx/SemanticMediaWiki/master/tests/phpunit/Integration/JSONScript/Fixtures/image-upload-480.png
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/s-0020.1.txt:
--------------------------------------------------------------------------------
1 | {"Example/S0020/1#0##":{"Has text":["Some example"],"Has number":[]},"Example/S0020/2#0##":{"Has text":[],"Has number":["123","345"]}}
--------------------------------------------------------------------------------
/i18n/am.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Codex Sinaiticus"
5 | ]
6 | },
7 | "smw_result_next": "ቀጥሎ",
8 | "smw-livepreview-loading": "በመጫን ላይ ነው..."
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/lij.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Giromin Cangiaxo"
5 | ]
6 | },
7 | "browse": "Esplora o scito",
8 | "smw-livepreview-loading": "Camallando…"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/os.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Amikeco"
5 | ]
6 | },
7 | "smw_printername_template": "Шаблон",
8 | "smw-livepreview-loading": "Æвгæд цæуы..."
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/rm.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Kazu89"
5 | ]
6 | },
7 | "smw-ui-tooltip-title-legend": "Legenda",
8 | "smw-livepreview-loading": "Chargiar…"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/szl.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Krol111"
5 | ]
6 | },
7 | "browse": "Przeglůndańy artiklůw",
8 | "smw-livepreview-loading": "Trwo uadowańy…"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/tt-latn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Frhdkazan"
5 | ]
6 | },
7 | "browse": "Wiki eçtälegen qaraw",
8 | "smw-livepreview-loading": "Yökläw..."
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/vec.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Candalua"
5 | ]
6 | },
7 | "browse": "Nàvega la wiki",
8 | "smw-livepreview-loading": "Caricamento in corso…"
9 | }
10 |
--------------------------------------------------------------------------------
/data/import/properties/foaf.name.txt:
--------------------------------------------------------------------------------
1 | * [[Imported from::foaf:name]]
2 | * [[Property description::A name for some thing or agent.@en]]
3 |
4 | [[Category:Imported vocabulary]] {{DISPLAYTITLE:foaf:name}}
--------------------------------------------------------------------------------
/docs/releasenotes/RELEASE-NOTES-2.2.3.md:
--------------------------------------------------------------------------------
1 | # Semantic MediaWiki 2.2.3
2 |
3 | Released on October 11th, 2015.
4 |
5 | ## Bug fixes
6 |
7 | * #1201 Fixed php-serialization issue for `SemanticData`
8 |
--------------------------------------------------------------------------------
/i18n/bcc.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Baloch Afghanistan"
5 | ]
6 | },
7 | "smw_printername_category": "تهر",
8 | "smw-livepreview-loading": "...بار بیت"
9 | }
10 |
--------------------------------------------------------------------------------
/i18n/sw.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Kwisha"
5 | ]
6 | },
7 | "smw-ui-tooltip-title-legend": "Simulizi",
8 | "smw-livepreview-loading": "Inapakizwa..."
9 | }
10 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/a-0001.4.txt:
--------------------------------------------------------------------------------
1 | {"query":["text 1","text 2"],"query-continue-offset":0,"version":1,"meta":{"type":"pvalue","limit":10,"count":2,"isFromCache":false,"queryTime":.*}
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/a-0001.5.txt:
--------------------------------------------------------------------------------
1 | {"query":["Page 1","Page 2"],"query-continue-offset":0,"version":1,"meta":{"type":"pvalue","limit":10,"count":2,"isFromCache":false,"queryTime":.*}
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/res.a-0001.11.txt:
--------------------------------------------------------------------------------
1 | {"query":["A0001\/4"],"query-continue-offset":0,"version":1,"meta":{"type":"psubject","limit":10,"count":1,"isFromCache":false,"queryTime":.*}
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/res.a-0001.9.txt:
--------------------------------------------------------------------------------
1 | {"query":["A0001\/3"],"query-continue-offset":0,"version":1,"meta":{"type":"psubject","limit":10,"count":1,"isFromCache":false,"queryTime":.*}
--------------------------------------------------------------------------------
/tests/travis/openrdf-sesame-memory-repository.txt:
--------------------------------------------------------------------------------
1 | connect http://localhost:8080/openrdf-sesame .
2 | create memory .
3 | test-smw
4 | test store for Semantic MediaWiki
5 | 10000
6 | true
7 | 120
8 | quit .
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/res.s-0022.0.csv:
--------------------------------------------------------------------------------
1 | ,"Has text","Has number"
2 | Example/S0022/1,"Some example",
3 | Example/S0022/2,,"123,345"
4 | Example/S0022/3,ABC,123
5 | Example/S0022/4,DEF,123
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/res.s-0022.5.csv:
--------------------------------------------------------------------------------
1 | |"Has number"|"Has text"
2 | Example/S0022/1||"Some example"
3 | Example/S0022/2|123+345|
4 | Example/S0022/3|123|ABC
5 | Example/S0022/4|123|DEF
6 |
--------------------------------------------------------------------------------
/i18n/kk-cyrl.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Arystanbek"
5 | ]
6 | },
7 | "smw_purge": "Жаңарту",
8 | "browse": "Уикиді шолу",
9 | "smw-livepreview-loading": "Жүктеуде…"
10 | }
11 |
--------------------------------------------------------------------------------
/i18n/mai.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "बिप्लब आनन्द",
5 | "Tulsi Bhagat"
6 | ]
7 | },
8 | "browse": "ब्राउज विकि",
9 | "smw-livepreview-loading": "लोड भऽ रहल अछि..."
10 | }
11 |
--------------------------------------------------------------------------------
/i18n/tk.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Hanberke"
5 | ]
6 | },
7 | "smw_browse_go": "Git",
8 | "smw_result_prev": "Öňki",
9 | "smw-livepreview-loading": "Ýüklenýär..."
10 | }
11 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/res.a-0001.10.txt:
--------------------------------------------------------------------------------
1 | {"query":["A0001\/3","A0001\/4"],"query-continue-offset":0,"version":1,"meta":{"type":"psubject","limit":10,"count":2,"isFromCache":false,"queryTime":.*}
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Results/XML/boolean-sparql-result.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | true
6 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *~
2 | *.kate-swp
3 |
4 | vendor/
5 | extensions/
6 | build/logs/
7 | build/release/build-*
8 |
9 | composer.phar
10 | composer.lock
11 |
12 | !.*
13 | .idea/
14 | .smw.json
15 | .smw.maintenance.json
--------------------------------------------------------------------------------
/i18n/sd.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Aursani",
5 | "Mehtab ahmed"
6 | ]
7 | },
8 | "browse": "وڪي جھانگيو",
9 | "smw-limitreport-intext-parsertime-value": "$1 سيڪنڊ"
10 | }
11 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/a-0001.6.txt:
--------------------------------------------------------------------------------
1 | {"query":["1 January 1970","2 January 1971"],"query-continue-offset":0,"version":1,"meta":{"type":"pvalue","limit":10,"count":2,"isFromCache":false,"queryTime":.*}
--------------------------------------------------------------------------------
/i18n/mg.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Jagwar"
5 | ]
6 | },
7 | "browse": "Hitety ny wiki",
8 | "smw_browselink": "Hitady tondro",
9 | "smw-livepreview-loading": "Am-pakàna…"
10 | }
11 |
--------------------------------------------------------------------------------
/i18n/sh.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "OC Ripper"
5 | ]
6 | },
7 | "browse": "Pretražuj wiki",
8 | "smw_result_prev": "Prethodna",
9 | "smw-livepreview-loading": "Učitavanje..."
10 | }
11 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Results/XML/invalid-sparql-result.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/docs/releasenotes/RELEASE-NOTES-2.1.3.md:
--------------------------------------------------------------------------------
1 | # Semantic MediaWiki 2.1.3
2 |
3 | Released on March 30th, 2015.
4 |
5 | ## Bug fix
6 |
7 | * #946 Fixed variable name regression for the "list" format introduced with version 2.1.2
8 |
--------------------------------------------------------------------------------
/i18n/bar.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Mucalexx"
5 | ]
6 | },
7 | "smw_purge": "Neich loon",
8 | "smw_browselink": "D' Attributt åzoang",
9 | "smw-livepreview-loading": "Loon ..."
10 | }
11 |
--------------------------------------------------------------------------------
/i18n/wa.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Srtxg"
5 | ]
6 | },
7 | "smw_purge": "Rafrister",
8 | "smw-ui-tooltip-title-legend": "Ledjinde",
9 | "smw-livepreview-loading": "Tcherdjant..."
10 | }
11 |
--------------------------------------------------------------------------------
/i18n/io.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Malafaya"
5 | ]
6 | },
7 | "smw_printername_template": "Shablono",
8 | "smw_result_next": "Sequanta",
9 | "smw-livepreview-loading": "Ol kargesas…"
10 | }
11 |
--------------------------------------------------------------------------------
/i18n/krc.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Iltever",
5 | "Ernác"
6 | ]
7 | },
8 | "smw_purge": "Джангырт",
9 | "browse": "Викиге кёз ат",
10 | "smw-livepreview-loading": "Джюклениу..."
11 | }
12 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/p-0211.3.txt:
--------------------------------------------------------------------------------
1 | 3+ depth is not permitted
2 |
3 | {{#set:
4 | |@json={
5 | "foo": {
6 | "kind": {
7 | "kind": "bar"
8 | }
9 | }
10 | }
11 | }}
--------------------------------------------------------------------------------
/data/import/properties/foaf.homepage.txt:
--------------------------------------------------------------------------------
1 | * [[Imported from::foaf:homepage]]
2 | * [[Property description::URL of the homepage of something, which is a general web resource.@en]]
3 |
4 | [[Category:Imported vocabulary]] {{DISPLAYTITLE:foaf:homepage}}
--------------------------------------------------------------------------------
/docs/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | This PR is made in reference to: #
2 |
3 | This PR addresses or contains:
4 | - ...
5 | - ...
6 | - ...
7 |
8 | This PR includes:
9 | - [ ] Tests (unit/integration)
10 | - [ ] CI build passed
11 |
12 | Fixes #
--------------------------------------------------------------------------------
/i18n/as.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Gitartha.bordoloi",
5 | "IKHazarika"
6 | ]
7 | },
8 | "browse": "ব্ৰাউজ ৱিকি",
9 | "smw_result_results": "ফলাফল",
10 | "smw-livepreview-loading": "ল'ড হৈ আছে…"
11 | }
12 |
--------------------------------------------------------------------------------
/i18n/awa.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "1AnuraagPandey"
5 | ]
6 | },
7 | "smw_purge": "रिफ्रेश",
8 | "browse": "विकि देखा जाय",
9 | "smw_browselink": "खाश जानकारी",
10 | "prefs-smw": "शब्दार्थगत मीडियाविकी"
11 | }
12 |
--------------------------------------------------------------------------------
/i18n/scn.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Gmelfi",
5 | "Sarvaturi"
6 | ]
7 | },
8 | "browse": "Esplora lu situ",
9 | "smw_browselink": "Prupità",
10 | "smw-livepreview-loading": "Carricamentu 'n cursu..."
11 | }
12 |
--------------------------------------------------------------------------------
/i18n/tet.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "MF-Warburg"
5 | ]
6 | },
7 | "smw_true_words": "loos,l,sin,s",
8 | "smw_false_words": "sala,s,lae,la",
9 | "smw_result_prev": "Molok",
10 | "smw_result_next": "Oinmai"
11 | }
12 |
--------------------------------------------------------------------------------
/i18n/an.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Juanpabl"
5 | ]
6 | },
7 | "smw_printername_template": "Plantilla",
8 | "smw_nodatetime": "No s'ha entendito a calendata \"$1\".",
9 | "smw-livepreview-loading": "Cargando…"
10 | }
11 |
--------------------------------------------------------------------------------
/i18n/azb.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Ebrahimi-amir",
5 | "Amir a57"
6 | ]
7 | },
8 | "browse": "ویکی یه باخیش",
9 | "smw_browselink": "اوزللیکلری گؤزدن کئچیر",
10 | "smw-livepreview-loading": "یوکلنیر..."
11 | }
12 |
--------------------------------------------------------------------------------
/i18n/cv.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Chuvash2014"
5 | ]
6 | },
7 | "smw_printername_template": "Шаблон",
8 | "smw_purge": "Çĕнĕлет",
9 | "smw_browse_go": "Куç",
10 | "smw-livepreview-loading": "Тултаратпăр…"
11 | }
12 |
--------------------------------------------------------------------------------
/i18n/myv.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Botuzhaleny-sodamo"
5 | ]
6 | },
7 | "smw_sbv_property": "Уликсчись:",
8 | "smw_browse_go": "Адя",
9 | "smw_pp_type": "Уликсчи",
10 | "smw-livepreview-loading": "Йоракшны…"
11 | }
12 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/a-0001.1.txt:
--------------------------------------------------------------------------------
1 | {"query":{"API_test_concept":{"label":"API test concept","key":"API_test_concept"}},"query-continue-offset":0,"version":1,"meta":{"type":"concept","limit":10,"count":1,"isFromCache":false,"queryTime":.*}
--------------------------------------------------------------------------------
/data/import/properties/owl.differentFrom.txt:
--------------------------------------------------------------------------------
1 | * [[Imported from::owl:differentFrom]]
2 | * [[Property description::The property that determines that two given individuals are different.@en]]
3 |
4 | [[Category:Imported vocabulary]] {{DISPLAYTITLE:owl:differentFrom}}
--------------------------------------------------------------------------------
/i18n/pa.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Babanwalia"
5 | ]
6 | },
7 | "browse": "ਵਿਕੀ ਫਰੋਲੋ",
8 | "smw-livepreview-loading": "ਲੋਡ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੈ...",
9 | "smw-sp-searchbyproperty-resultlist-header": "ਨਤੀਜਿਆਂ ਦੀ ਸੂਚੀ"
10 | }
11 |
--------------------------------------------------------------------------------
/i18n/xmf.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Silovan"
5 | ]
6 | },
7 | "browse": "ვიკიშ ძირაფა",
8 | "smw-limitreport-intext-parsertime-value": "$1 მერქა",
9 | "smw-limitreport-pagepurge-storeupdatetime-value": "$1 მერქა"
10 | }
11 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/a-0001.2.txt:
--------------------------------------------------------------------------------
1 | {"query":{"API_test_category":{"label":"API test category","key":"API_test_category"}},"query-continue-offset":0,"version":1,"meta":{"type":"category","limit":10,"count":1,"isFromCache":false,"queryTime":.*}
--------------------------------------------------------------------------------
/i18n/bho.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Nepaboy",
5 | "SatyamMishra"
6 | ]
7 | },
8 | "browse": "विकि ब्राउज करी",
9 | "smw-datavalue-property-restricted-use": "सम्पति $1 के वर्जित प्रयोग के रुप में चिन्हित करल गईल बा।"
10 | }
11 |
--------------------------------------------------------------------------------
/i18n/qu.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "AlimanRuna"
5 | ]
6 | },
7 | "smw_purge": "Musuqchay",
8 | "browse": "Wikipi wamp'uy",
9 | "smw_browselink": "Kaqninkunapi wamp'uy",
10 | "smw-livepreview-loading": "Chaqnamuspa…"
11 | }
12 |
--------------------------------------------------------------------------------
/i18n/sah.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "HalanTul",
5 | "Ай-Куо"
6 | ]
7 | },
8 | "smw_purge": "Саҥарт",
9 | "smw-ask-search": "Бул",
10 | "browse": "Биикини көрүү",
11 | "smw-livepreview-loading": "Киллэрии бара турар…"
12 | }
13 |
--------------------------------------------------------------------------------
/i18n/tg-cyrl.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Ibrahim"
5 | ]
6 | },
7 | "smw_sbv_value": "Қимат:",
8 | "smw-createproperty-isproperty": "Ин як вижагӣ аз навъи $1 аст.",
9 | "smw-livepreview-loading": "Дар ҳоли бор шудан…"
10 | }
11 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Results/XML/empty-sparql-result.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/data/import/properties/foaf.knows.txt:
--------------------------------------------------------------------------------
1 | * [[Imported from::foaf:knows]]
2 | * [[Property description::A person known by this person (indicating some level of reciprocated interaction between the parties).@en]]
3 |
4 | [[Category:Imported vocabulary]] {{DISPLAYTITLE:foaf:knows}}
--------------------------------------------------------------------------------
/i18n/min.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Iwan Novirion",
5 | "Naval Scene"
6 | ]
7 | },
8 | "smw_propertylackspage": "Sado properti musti dideskripsikan jo suatu laman!",
9 | "smw_purge": "Pabaharui",
10 | "smw_browse_go": "Tuju"
11 | }
12 |
--------------------------------------------------------------------------------
/i18n/nds-nl.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Servien"
5 | ]
6 | },
7 | "smw_ask_descorder": "Aoflopend",
8 | "browse": "Wiki bekieken",
9 | "smw_browselink": "Eigenschappen bekieken",
10 | "smw-livepreview-loading": "An t laojen…"
11 | }
12 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/InvalidCustomRespositoryConnector.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | http://example.org/id/Foo
9 |
10 |
11 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/File/LoremIpsum.json:
--------------------------------------------------------------------------------
1 | {
2 | "text": "Lorem ipsum dolor sit amet consectetuer eu vitae consectetuer ac accumsan.",
3 | "keywords": [
4 | "Tellus Aenean",
5 | "Mauris Aenean neque augue"
6 | ],
7 | "content": [
8 | {
9 | "name": "convallis interdum a nibh laoreet",
10 | "url": "http://example.org"
11 | }
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/tests/travis/virtuoso-sparql-permission.sql:
--------------------------------------------------------------------------------
1 | GRANT EXECUTE ON DB.DBA.SPARQL_INSERT_DICT_CONTENT TO "SPARQL";
2 | GRANT EXECUTE ON DB.DBA.SPARQL_DELETE_DICT_CONTENT TO "SPARQL";
3 | GRANT EXECUTE ON SPARQL_DELETE_DICT_CONTENT to "SPARQL";
4 | GRANT EXECUTE ON SPARQL_DELETE_DICT_CONTENT to SPARQL_UPDATE;
5 | GRANT SPARQL_UPDATE to "SPARQL";
6 | GRANT SPARQL_SPONGE to "SPARQL";
--------------------------------------------------------------------------------
/tests/phpunit/Integration/Lang/Fixtures/foo-fallback.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": []
4 | },
5 | "fallback_language": false,
6 | "datatype":{
7 | "labels": {
8 | "dataTypeLabels-fallback": "bar"
9 | },
10 | "aliases": {
11 | "dataTypeAliases-fallback": "bar"
12 | }
13 | }
14 | }
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Results/XML/nontype-literal-sparql-result.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | Has foo
10 |
11 |
12 |
--------------------------------------------------------------------------------
/data/import/vocabularies/foaf.txt:
--------------------------------------------------------------------------------
1 | http://xmlns.com/foaf/0.1/|[http://www.foaf-project.org/ Friend Of A Friend]
2 | name|Type:Text
3 | homepage|Type:URL
4 | mbox|Type:Email
5 | mbox_sha1sum|Type:Text
6 | depiction|Type:URL
7 | phone|Type:Text
8 | Person|Category
9 | Organization|Category
10 | knows|Type:Page
11 | member|Type:Page
12 |
13 | [[Category:Imported vocabulary]]
--------------------------------------------------------------------------------
/i18n/ba.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Roustammr",
5 | "Рустам Нурыев",
6 | "Айсар"
7 | ]
8 | },
9 | "smw_ask_editquery": "Һорауҙы мөхәррирләү",
10 | "browse": "Вики күҙәтеү",
11 | "smw_browselink": "Үҙенсәлектәрҙе ҡарарға",
12 | "smw_smwadmin_setupsuccess": "Һаҡлау системаһы уңышлы ҡуйылды",
13 | "smw-livepreview-loading": "Сығарыу..."
14 | }
15 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/res.a-0001.7.txt:
--------------------------------------------------------------------------------
1 | {"query":{"subject":"A0001\/1#0##","data":[{"property":"API_text_property","dataitem":[{"type":2,"item":"text 1"}]},{"property":"_MDAT","dataitem":[{"type":6,"item":".*"}]},{"property":"_SKEY","dataitem":[{"type":2,"item":"A0001\/1"}]}],"serializer":"SMW\\Serializers\\SemanticDataSerializer","version":2},"meta":{"type":"subject"}.*}
--------------------------------------------------------------------------------
/data/template/elastic/indexer/CheckReplicationTaskHighlighter.ms:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/releasenotes/RELEASE-NOTES-1.9.1.1.md:
--------------------------------------------------------------------------------
1 | # Semantic MediaWiki 1.9.1.1
2 |
3 | Released February 28th, 2014.
4 |
5 | ### Bug fixes
6 |
7 | * #183 Fixed 1.9.1 regression in resource paths that caused resouces not to load
8 |
9 | ### Internal enhancements
10 |
11 | * #200 Improved the usage of "InternalParseBeforeLinks" to indicate whether semantic data have been processed or not
12 |
--------------------------------------------------------------------------------
/i18n/rue.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Gazeb"
5 | ]
6 | },
7 | "smw_browse_go": "Выконати",
8 | "smw_result_prev": "Попередня",
9 | "smw_result_next": "Далша",
10 | "smw_result_results": "Резултаты",
11 | "smw_result_noresults": "Жадны ресултаты",
12 | "smw_smwadmin_return": "Навернутя до «$1».",
13 | "smw-livepreview-loading": "Наладовованя..."
14 | }
15 |
--------------------------------------------------------------------------------
/src/StoreAware.php:
--------------------------------------------------------------------------------
1 | fd6b4cf Fixed a compatibility breaking short array syntax for PHP 5.3
9 | * 0ae3a3e Added missing internal file loading
10 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Results/XML/integer-type-literal-sparql-result.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | 1
9 |
10 |
11 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Results/XML/string-type-literal-sparql-result.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Foo
9 |
10 |
11 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Importer/Fixtures/ValidTextContent/foaf.txt:
--------------------------------------------------------------------------------
1 | http://xmlns.com/foaf/0.1/|[http://www.foaf-project.org/ Friend Of A Friend]
2 | name|Type:Text
3 | homepage|Type:URL
4 | mbox|Type:Email
5 | mbox_sha1sum|Type:Text
6 | depiction|Type:URL
7 | phone|Type:Text
8 | Person|Category
9 | Organization|Category
10 | knows|Type:Page
11 | member|Type:Page
12 |
13 | [[Category:Imported vocabulary]]
--------------------------------------------------------------------------------
/tests/phpunit/Benchmark/BenchmarkReporter.php:
--------------------------------------------------------------------------------
1 | property = new DIProperty( 'Year' );
20 | $this->property->setPropertyTypeId( '_dat' );
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/src/DataValues/ValueParsers/ValueParser.php:
--------------------------------------------------------------------------------
1 | property = new DIProperty( 'Founded' );
20 | $this->property->setPropertyTypeId( '_dat' );
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Properties/UrlProperty.php:
--------------------------------------------------------------------------------
1 | property = DIProperty::newFromUserLabel( 'Url' );
20 | $this->property->setPropertyTypeId( '_uri' );
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Properties/EmailProperty.php:
--------------------------------------------------------------------------------
1 | property = DIProperty::newFromUserLabel( 'Email' );
20 | $this->property->setPropertyTypeId( '_ema' );
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Properties/PopulationProperty.php:
--------------------------------------------------------------------------------
1 | property = new DIProperty( 'Population' );
20 | $this->property->setPropertyTypeId( '_num' );
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Properties/TitleProperty.php:
--------------------------------------------------------------------------------
1 | property = DIProperty::newFromUserLabel( 'Title' );
20 | $this->property->setPropertyTypeId( '_wpg' );
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/docs/releasenotes/RELEASE-NOTES-2.4.5.md:
--------------------------------------------------------------------------------
1 | # Semantic MediaWiki 2.4.5
2 |
3 | Released on January 16th, 2017.
4 |
5 | ## Bug fixes
6 |
7 | * e3689e6 Fixed datatypes not being recognized on property pages
8 | * #2124 Fixed to use `wfCgiToArray` to avoid deprecation notice for `SMWInfolink`
9 | * #2156 Fixed Javascript error caused by `wikiScript` being undefined
10 | * #2160 Fixed `ParserCachePurgeJob` to be avoided on an empty request
11 | * #2166 Fixed `QueryDependencyLinksStore` to check for a null title
12 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/p-0444.txt:
--------------------------------------------------------------------------------
1 | [[Has text::[[Lorem ipsum]] dolor sit amet, [[Has page::consectetur adipiscing elit]]. In [http://example.org/eleifend eleifend] cursus dignissim. Suspendisse potenti. [[Has page::Curabitur aliquet|Bar]] malesuada ex sed efficitur. [[Nullam id ante|Foo]] eget lacus rutrum tincidunt eu et lacus. Aliquam sed consequat orci. Nulla sodales neque magna, nec sollicitudin erat aliquam ut. Sed sed vulputate tortor, in [[vestibulum nibh]] [[Has number::42]] [[Has date::01-01-2020]]]].
2 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Properties/CoordinatesProperty.php:
--------------------------------------------------------------------------------
1 | property = new DIProperty( 'Coordinates' );
20 | $this->property->setPropertyTypeId( '_geo' );
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Properties/DescriptionProperty.php:
--------------------------------------------------------------------------------
1 | property = new DIProperty( 'Description' );
20 | $this->property->setPropertyTypeId( '_txt' );
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Properties/TemperatureProperty.php:
--------------------------------------------------------------------------------
1 | property = new DIProperty( 'Temperature' );
20 | $this->property->setPropertyTypeId( '_tem' );
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/src/Services/Exception/ServiceNotFoundException.php:
--------------------------------------------------------------------------------
1 | property = DIProperty::newFromUserLabel( 'Located in' );
20 | $this->property->setPropertyTypeId( '_wpg' );
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/src/SPARQLStore/HttpResponseParser.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | Rule::class,
24 | $instance
25 | );
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/src/Elastic/Exception/NoConnectionException.php:
--------------------------------------------------------------------------------
1 | property = DIProperty::newFromUserLabel( 'Telephone number' );
20 | $this->property->setPropertyTypeId( '_tel' );
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/s-0025-beacon-intro.txt:
--------------------------------------------------------------------------------
1 | #FORMAT: BEACON
2 | #PREFIX: http://d-nb.info/gnd/
3 | #TARGET: {{{querylink}}}
4 | #VERSION: 0.1
5 | #HOMEPAGE: https://www.semantic-mediawiki.org/w/index.php?title=Help:BEACON
6 | #FEED: https://www.semantic-mediawiki.org/w/index.php?title=BEACON&action=render
7 | #LINK: http://www.w3.org/2000/01/rdf-schema#seeAlso
8 | #INSTITUTION: Semantic MediaWiki
9 | #MESSAGE: Person test data in Semantic MediaWiki
10 | #TIMESTAMP: {{CURRENTTIMESTAMP}}
11 | #UPDATE: always
--------------------------------------------------------------------------------
/tests/phpunit/Unit/CompatibilityModeTest.php:
--------------------------------------------------------------------------------
1 | assertInternalType(
21 | 'boolean',
22 | CompatibilityMode::extensionNotEnabled()
23 | );
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/src/Elastic/Exception/InvalidJSONException.php:
--------------------------------------------------------------------------------
1 | assertContains(
21 | 'ask-help',
22 | HelpWidget::html()
23 | );
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/i18n/pdc.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Xqt"
5 | ]
6 | },
7 | "smw_finallistconjunct": " unn",
8 | "smw_printername_list": "Lischt",
9 | "smw_printername_template": "Moddel",
10 | "smw_true_words": "ya,yes,true",
11 | "smw_false_words": "nee,no,false",
12 | "smw_nofloat": "„$1“ iss ken Zehl.",
13 | "smw_browse_go": "Geh los",
14 | "smw_inverse_label_default": "$1 vun",
15 | "smw_pp_from": "Blatt",
16 | "smw_result_prev": "zerick",
17 | "smw_result_next": "vaerschich",
18 | "smw_smwadmin_return": "Zerick zu $1",
19 | "smw-livepreview-loading": "Laade…"
20 | }
21 |
--------------------------------------------------------------------------------
/docs/releasenotes/RELEASE-NOTES-2.2.1.md:
--------------------------------------------------------------------------------
1 | # Semantic MediaWiki 2.2.1
2 |
3 | Released on June 2nd, 2015.
4 |
5 | ## Bug fixes
6 |
7 | * Fixed "Notice: Undefined variable: dataItem" in `QueryEngine`
8 | * #1031 CategoryResultPrinter to recognize offset for further results
9 | * #1033 Fixed assumption that always an array is sent to `JobBase` for booleans
10 | * #1038 Fixed Fatal error: Call to undefined method `SMWDIError::getString`
11 | * #1046 Fixed RuntimeException in `UndeclaredPropertyListLookup` when a DB prefix is used
12 | * #1051 Fixed call to `DIWikiPage::getText` in `ConceptDescriptionInterpreter`
13 |
--------------------------------------------------------------------------------
/i18n/az.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Cekli829",
5 | "Wertuose",
6 | "Dağlı95"
7 | ]
8 | },
9 | "smw_finallistconjunct": ", və",
10 | "smw_dsv_link": "DSV",
11 | "smw_printername_list": "Siyahı",
12 | "smw_printername_table": "Cədvəl",
13 | "smw_printername_template": "Şablon",
14 | "browse": "Vikiyə baxış",
15 | "smw_result_results": "Nəticələr",
16 | "smw_smwadmin_mediazilla": "Səhvlər haqda bildirişi GitHub saytında yerləşdirmək olar.",
17 | "smw-livepreview-loading": "Yüklənir…"
18 | }
19 |
--------------------------------------------------------------------------------
/i18n/ky.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Growingup"
5 | ]
6 | },
7 | "smw_purge": "Жаңыртуу",
8 | "types": "Түрлөр",
9 | "smw_ask_queryhead": "Суроо",
10 | "smw-ask-delete": "[Өчүрүү]",
11 | "smw_sbv_value": "Чоңдук:",
12 | "smw_result_prev": "Мурунку",
13 | "smw_result_next": "Кийинки",
14 | "smw-ui-tooltip-title-property": "Өзгөчөлүк",
15 | "smw-ui-tooltip-title-quantity": "Сан",
16 | "smw-ui-tooltip-title-info": "Маалымат",
17 | "smw-ui-tooltip-title-warning": "Ката",
18 | "smw-ui-tooltip-title-parameter": "Параметр",
19 | "smw-livepreview-loading": "Жүктөлүүдө..."
20 | }
21 |
--------------------------------------------------------------------------------
/src/Enum.php:
--------------------------------------------------------------------------------
1 | $GLOBALS['smwgIgnoreQueryErrors'],
21 | 'smwgQSortFeatures' => $GLOBALS['smwgQSortFeatures'],
22 | 'smwgQFilterDuplicates' => $GLOBALS['smwgQFilterDuplicates']
23 | ] );
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Results/XML/mixed-rows-sparql-result.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | http://example.org/id/Foo
9 |
10 |
11 | http://example.org/id/Bar
12 |
13 |
14 | Quux
15 |
16 |
17 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/Results/XML/mixed-rows-sparql-result-utf8.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | http://example.org/id/F安o
9 |
10 |
11 | http://example.org/id/B定ar
12 |
13 |
14 | Quux安定
15 |
16 |
17 |
--------------------------------------------------------------------------------
/i18n/sco.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "John Reid",
5 | "AmaryllisGardener"
6 | ]
7 | },
8 | "browse": "Brouse wiki",
9 | "smw_smwadmin_mediazilla": "Bugs can be reported til GitHub.",
10 | "smw-sp-admin-idlookup-title": "ObjectId luikup",
11 | "smw-sp-admin-idlookup-docu": "Displeys details aneat aen internal object Id that represents indeevidual entities (wikipage, subobject etc.) in Semantic MediaWiki.",
12 | "smw-sp-admin-idlookup-objectid": "The Object Id:",
13 | "smw-livepreview-loading": "Laidin..."
14 | }
15 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/MediaWiki/Content/SchemaContentHandlerTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
21 | '\JsonContentHandler',
22 | new SchemaContentHandler()
23 | );
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/src/Exporter/DataItemMapper.php:
--------------------------------------------------------------------------------
1 | setupStore.php սկրիպտ, որը կարող է օգտագորրծել ադմինիստրատորի իրավունքներ.",
10 | "smw-livepreview-loading": "Բեռնվում է…"
11 | }
12 |
--------------------------------------------------------------------------------
/data/import/groups/schema.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "PROPERTY_GROUP_SCHEMA",
3 | "manifest_version": 1,
4 | "groups": {
5 | "schema_properties": {
6 | "group_name": "Schema properties",
7 | "msg_key": "smw-property-group-label-schema-group",
8 | "property_list": [
9 | "_SCHEMA_TYPE",
10 | "_SCHEMA_DEF",
11 | "_SCHEMA_DESC",
12 | "_SCHEMA_TAG",
13 | "_SCHEMA_LINK",
14 | "_FORMAT_SCHEMA"
15 | ]
16 | }
17 | },
18 | "tags": [
19 | "group",
20 | "property group"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/docs/architecture/extending.declarationexaminer.md:
--------------------------------------------------------------------------------
1 | To broaden consistency checks on the property page and provide more user guidance in case of some input error such as:
2 |
3 | 
4 |
5 | ### `src/Property/DeclarationExaminer`
6 |
7 | - Extending one of the existing [DeclarationExaminer](https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/src/Property/DeclarationExaminer.php) or
8 | - Adding a new class that implements the interface which is then registered with the `DeclarationExaminerFactory` is sufficient to get called when viewing a property page.
9 |
--------------------------------------------------------------------------------
/src/Query/ResultPrinters/NullResultPrinter.php:
--------------------------------------------------------------------------------
1 | errors, $errors );
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/src/SPARQLStore/Exception/HttpEndpointConnectionException.php:
--------------------------------------------------------------------------------
1 | assertInternalType(
24 | 'string',
25 | $const
26 | );
27 | }
28 |
29 | public function constProvider() {
30 |
31 | $provider[] = [
32 | Enum::OPT_SUSPEND_PURGE
33 | ];
34 |
35 | return $provider;
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/SPARQLStore/RepositoryConnectors/GenericRepositoryConnectorTest.php:
--------------------------------------------------------------------------------
1 | assertContains(
23 | '6na5ojj24og0',
24 | $instance->generate( 'Foo' )
25 | );
26 |
27 | $this->assertContains(
28 | 'Bar7vmi67tsvkb0',
29 | $instance->generate( 'Bar', 'Foo' )
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/docs/releasenotes/RELEASE-NOTES-2.4.2.md:
--------------------------------------------------------------------------------
1 | # Semantic MediaWiki 2.4.2
2 |
3 | Released on November 13th, 2016.
4 |
5 | ## Bug fixes
6 |
7 | * #1829 Only have the `DisplayTitlePropertyAnnotator` create an annotation in case `SMW_DV_WPV_DTITLE` is enabled
8 | * #1883 Avoided mismatch in case `hasSubSemanticData` has been overridden as by `Sql3StubSemanticData`
9 | * #1885 Fixed postgres bytea escape/unescape on blob fields
10 | * #1887 Moved `Hooks:CanonicalNamespaces` to an earlier execution point
11 | * #1897 Worked around deprecated/removed `DatabaseBase::getSearchEngine`
12 | * #1901 Made `enableSemantics` call `NamespaceManager`
13 | * #1911 Improved compatibility with MediaWiki 1.28+
14 |
--------------------------------------------------------------------------------
/src/SPARQLStore/QueryEngine/Condition/FalseCondition.php:
--------------------------------------------------------------------------------
1 | .\n";
20 | }
21 |
22 | public function isSafe() {
23 | return true;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/Fixtures/q-0907-1.txt:
--------------------------------------------------------------------------------
1 | [[Has text::Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate tortor nec magna volutpat suscipit. Aliquam erat volutpat. Nulla aliquam, lectus ut dictum sollicitudin, justo magna dapibus turpis, eget tincidunt justo tellus id libero. Aliquam tortor leo, aliquam eu feugiat in, efficitur ac nisl. Ut elit ante, rutrum ac varius vel, faucibus in magna. Mauris euismod erat sit amet vulputate placerat. Maecenas vitae urna eleifend, scelerisque metus vitae, rhoncus metus. Vestibulum luctus, tellus et blandit laoreet, mauris odio commodo mauris, at porttitor libero orci sit amet quam. Fusce at laoreet tortor.]]
2 |
3 | [[Category:Q0907]]
--------------------------------------------------------------------------------
/tests/phpunit/Unit/DataValues/TelephoneUriValueTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceOf(
21 | '\SMW\DataValues\TelephoneUriValue',
22 | new TelephoneUriValue()
23 | );
24 |
25 | $this->assertInstanceOf(
26 | '\SMWURIValue',
27 | new TelephoneUriValue()
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/src/SQLStore/QueryEngine/DescriptionInterpreter.php:
--------------------------------------------------------------------------------
1 |
12 | */
13 | interface ConnectionProvider {
14 |
15 | /**
16 | * Returns the database connection.
17 | * Initialization of this connection is done if it was not already initialized.
18 | *
19 | * @since 1.9
20 | */
21 | public function getConnection();
22 |
23 | /**
24 | * Releases the connection if doing so makes any sense resource wise.
25 | *
26 | * @since 1.9
27 | */
28 | public function releaseConnection();
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/src/Query/ProfileAnnotator.php:
--------------------------------------------------------------------------------
1 | assertInstanceOf(
22 | RuntimeException::class,
23 | new ClientBuilderNotFoundException()
24 | );
25 | }
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/i18n/uz.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "CoderSI",
5 | "Sociologist"
6 | ]
7 | },
8 | "specialpages-group-smw_group": "Semantic MediaWiki",
9 | "smw_purge": "Yangilash",
10 | "smw_browselink": "Xossalarni koʻrish",
11 | "smw-info-par-message": "Tasvirlash uchun xabar",
12 | "prefs-smw": "Semantik MediaWiki",
13 | "prefs-ask-options": "Maʼnoviy qidiruv moslamalari",
14 | "smw-prefs-ask-options-tooltip-display": "«Matn» koʻrsatkichini paydo boʻladigan yordamchi sifatida aks ettirish",
15 | "smw-prefs-ask-options-collapsed-default": "Boshlang'ich holatga yig'ilgan turishi uchun tanlov maydoniga ruxsatlilikni yoqish",
16 | "smw_unknowntype": "Ushbu xossaning tipi noto'g'ri"
17 | }
18 |
--------------------------------------------------------------------------------
/src/MediaWiki/PageCreator.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | '\SMW\Exception\DataItemException',
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/SPARQLStore/RepositoryConnectors/FourstoreRepositoryConnectorTest.php:
--------------------------------------------------------------------------------
1 | name = $name;
27 | parent::__construct( " $name is missing as argument!" );
28 | }
29 |
30 | /**
31 | * @since 3.0
32 | *
33 | * @return string
34 | */
35 | public function getName() {
36 | return $this->name;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/SPARQLStore/Exception/HttpEndpointConnectionExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceOf(
21 | HttpEndpointConnectionException::class,
22 | new HttpEndpointConnectionException( 'Foo', 'Bar', 'Que' )
23 | );
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/src/Property/DeclarationExaminer.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | '\SMW\Exception\StoreNotFoundException',
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/src/SPARQLStore/QueryEngine/EngineOptions.php:
--------------------------------------------------------------------------------
1 | $GLOBALS['smwgIgnoreQueryErrors'],
21 | 'smwgQSortFeatures' => $GLOBALS['smwgQSortFeatures'],
22 | 'smwgQSubpropertyDepth' => $GLOBALS['smwgQSubpropertyDepth'],
23 | 'smwgQSubcategoryDepth' => $GLOBALS['smwgQSubcategoryDepth'],
24 | 'smwgSparqlQFeatures' => $GLOBALS['smwgSparqlQFeatures']
25 | ] );
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/src/Schema/Exception/SchemaTypeNotFoundException.php:
--------------------------------------------------------------------------------
1 | type = $type;
28 | }
29 |
30 | /**
31 | * @since 3.0
32 | *
33 | * @return string
34 | */
35 | public function getType() {
36 | return $this->type;
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Exception/DataTypeLookupExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | '\SMW\Exception\DataTypeLookupException',
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/src/MediaWiki/IndicatorProvider.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | FileNotReadableException::class,
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Exception/FileNotWritableExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | FileNotWritableException::class,
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Exception/SettingNotFoundExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | '\SMW\Exception\SettingNotFoundException',
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Exception/SubSemanticDataExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | '\SMW\Exception\SubSemanticDataException',
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/src/Serializers/FlatSemanticDataSerializer.php:
--------------------------------------------------------------------------------
1 | getSubject()->getSerialization();
27 | }
28 |
29 | return $subobjects;
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Exception/PropertyNotFoundExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | '\SMW\Exception\PropertyNotFoundException',
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/StringBuilder.php:
--------------------------------------------------------------------------------
1 | string = $this->string . "\n";
22 | return $this;
23 | }
24 |
25 | /**
26 | * @since 2.0
27 | */
28 | public function addString( $string ) {
29 | $this->string = $this->string . $string;
30 | return $this;
31 | }
32 |
33 | /**
34 | * @since 2.0
35 | */
36 | public function getString() {
37 | $string = $this->string;
38 | $this->string = '';
39 | return $string;
40 | }
41 |
42 | }
43 |
--------------------------------------------------------------------------------
/tests/phpunit/PHPUnitCompat.php:
--------------------------------------------------------------------------------
1 | expectException( $name );
20 | }
21 | if ( $message !== '' ) {
22 | $this->expectExceptionMessage( $message );
23 | }
24 | if ( $code !== null ) {
25 | $this->expectExceptionCode( $code );
26 | }
27 | } else {
28 | parent::setExpectedException( $name, $message, $code );
29 | }
30 | }
31 | }
--------------------------------------------------------------------------------
/src/Exporter/ResourceBuilder.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | '\SMW\Exception\SemanticDataImportException',
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Fixtures/FixturesFactory.php:
--------------------------------------------------------------------------------
1 |
4 | */
5 |
6 | /**
7 | * @method ajax
8 | * @source
9 | * @return {jqXHR}
10 | */
11 |
12 | /**
13 | * @class jQuery.Event
14 | * @source
15 | */
16 |
17 | /**
18 | * @class jQuery.Promise
19 | * @source
20 | */
21 |
22 | /**
23 | * @class jQuery.Deferred
24 | * @mixins jQuery.Promise
25 | * @source
26 | */
27 |
28 | /**
29 | * @class jQuery.jqXHR
30 | * @source
31 | * @alternateClassName jqXHR
32 | */
33 |
34 | /**
35 | * @class QUnit
36 | * @source
37 | */
38 |
--------------------------------------------------------------------------------
/tests/phpunit/Integration/JSONScript/TestCases/q-0804.json:
--------------------------------------------------------------------------------
1 | {
2 | "description": "Test `_INST` with namespace prefix",
3 | "setup": [
4 | {
5 | "page": "Example/Q0804/1",
6 | "contents": "[[Category:Help:Q0804]]"
7 | }
8 | ],
9 | "tests": [
10 | {
11 | "type": "query",
12 | "about": "#0 (Category: is correctly parsed despite the Help: NS prefix)",
13 | "condition": "[[Category:Help:Q0804]]",
14 | "printouts": [],
15 | "parameters": {
16 | "limit": "10"
17 | },
18 | "assert-queryresult": {
19 | "count": 1,
20 | "results": [
21 | "Example/Q0804/1#0##"
22 | ]
23 | }
24 | }
25 | ],
26 | "settings": {
27 | "wgContLang": "es"
28 | },
29 | "meta": {
30 | "version": "2",
31 | "is-incomplete": false,
32 | "debug": false
33 | }
34 | }
--------------------------------------------------------------------------------
/tests/phpunit/Utils/Mock/MockSuperUser.php:
--------------------------------------------------------------------------------
1 | newDIProperty( '___ext_file_sha1' );
13 |
14 | $semanticData->addPropertyObjectValue(
15 | $property,
16 | $dataItemFactory->newDIBlob( $filePage->getFile()->getSha1() )
17 | );
18 |
19 | $property = $dataItemFactory->newDIProperty( '___ext_file_size' );
20 |
21 | $semanticData->addPropertyObjectValue(
22 | $property,
23 | $dataItemFactory->newDIBlob( $filePage->getFile()->getSize() )
24 | );
25 |
26 | return true;
27 | };
28 | ```
--------------------------------------------------------------------------------
/src/MediaWiki/Jobs/ChangePropagationClassUpdateJob.php:
--------------------------------------------------------------------------------
1 | 'ChangePropagationClassUpdateJob'
28 | ];
29 |
30 | parent::__construct( $title, $params, 'smw.changePropagationClassUpdate' );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Schema/Exception/SchemaTypeNotFoundExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | SchemaTypeNotFoundException::class,
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Services/Exception/ServiceNotFoundExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | ServiceNotFoundException::class,
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\InvalidArgumentException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/MediaWiki/Exception/ExtendedPermissionsErrorTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceOf(
21 | '\SMW\MediaWiki\Exception\ExtendedPermissionsError',
22 | new ExtendedPermissionsError( 'Foo' )
23 | );
24 |
25 | $this->assertInstanceOf(
26 | '\PermissionsError',
27 | new ExtendedPermissionsError( 'Foo' )
28 | );
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/docs/releasenotes/RELEASE-NOTES-2.5.8.md:
--------------------------------------------------------------------------------
1 | # Semantic MediaWiki 2.5.8
2 |
3 | Released on September 7, 2018.
4 |
5 | ## Enhancements
6 |
7 | * #[3322](https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/3322) as `d9b3bcf` Improves `UpdateDispatcherJob` selection of subjects on `forcedUpdate`
8 | * #[3341](https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/3341) as `726f54b` Adds support for installation via MediaWiki's "install.php" script
9 |
10 | ## Bug fixes and internal code changes
11 |
12 | * #[3177](https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/3177) as `ad23b16` Removes deprecated "jquery.json" module
13 | * #[3386](https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/3386) as `a24965c` Fixes encode/decode issues for special property "External formatter URI"
14 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Exception/RedirectTargetUnresolvableExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | RedirectTargetUnresolvableException::class,
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/SQLStore/Exception/TableMissingIdFieldExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | TableMissingIdFieldException::class,
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Exception/DataItemDeserializationExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | '\SMW\Exception\DataItemDeserializationException',
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\SMW\Exception\DataItemException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/MediaWiki/Page/ConceptPageTest.php:
--------------------------------------------------------------------------------
1 | title = $subject->getTitle();
26 | }
27 |
28 | public function testCanConstruct() {
29 |
30 | $this->assertInstanceOf(
31 | ConceptPage::class,
32 | new ConceptPage( $this->title )
33 | );
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Query/Exception/ResultFormatNotFoundExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | '\SMW\Query\Exception\ResultFormatNotFoundException',
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Utils/TokenizerTest.php:
--------------------------------------------------------------------------------
1 | assertEquals(
24 | $expected,
25 | Tokenizer::tokenize( $text )
26 | );
27 | }
28 |
29 | public function textProvider() {
30 |
31 | $provider[] = [
32 | 'foo',
33 | [ 'foo' ]
34 | ];
35 |
36 | $provider[] = [
37 | 'foo bar',
38 | [ 'foo', 'bar' ]
39 | ];
40 |
41 | return $provider;
42 | }
43 |
44 | }
45 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Exception/PropertyLabelNotResolvedExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | '\SMW\Exception\PropertyLabelNotResolvedException',
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\SMW\Exception\DataItemException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/MediaWiki/Specials/Browse/FieldBuilderTest.php:
--------------------------------------------------------------------------------
1 | assertInternalType(
21 | 'string',
22 | FieldBuilder::createQueryForm( 'Foo' )
23 | );
24 | }
25 |
26 | public function testCreateLink() {
27 |
28 | $parameters = [];
29 |
30 | $this->assertInternalType(
31 | 'string',
32 | FieldBuilder::createLink( 'Foo', $parameters )
33 | );
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Schema/Exception/SchemaConstructionFailedExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | SchemaConstructionFailedException::class,
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/data/schema/search-form-schema.v1.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "https://www.semantic-mediawiki.org/search-profile-form.json",
3 | "type": "object",
4 | "properties": {
5 | "type": {
6 | "$id": "/properties/type",
7 | "type": "string",
8 | "title": "The Type Schema",
9 | "default": "",
10 | "examples": [
11 | "SEARCH_FORM_SCHEMA"
12 | ],
13 | "enum": [
14 | "SEARCH_FORM_SCHEMA"
15 | ]
16 | },
17 | "forms": {
18 | "$id": "/properties/forms",
19 | "type": "object"
20 | },
21 | "namespaces": {
22 | "$id": "/properties/namespaces",
23 | "type": "object"
24 | },
25 | "descriptions": {
26 | "$id": "/properties/descriptions",
27 | "type": "object"
28 | }
29 | },
30 | "required": [
31 | "type",
32 | "forms"
33 | ]
34 | }
--------------------------------------------------------------------------------
/src/Query/ResultPrinters/ListResultPrinter/ParameterDictionaryUser.php:
--------------------------------------------------------------------------------
1 | configuration = $configuration;
23 | }
24 |
25 | /**
26 | * @param string $setting
27 | * @param string $default
28 | *
29 | * @return mixed
30 | */
31 | protected function get( $setting, $default = '' ) {
32 | return $this->configuration->get( $setting, $default );
33 | }
34 |
35 | }
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Query/ResultFormatTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceOf(
21 | ResultFormat::class,
22 | new ResultFormat( 'type', 'foo' )
23 | );
24 | }
25 |
26 | public function testResolveFormatAliases() {
27 |
28 | foreach ( $GLOBALS['smwgResultAliases'] as $mainFormat => $aliases ) {
29 | foreach ($aliases as $alias ) {
30 | $this->assertTrue(
31 | ResultFormat::resolveFormatAliases( $alias )
32 | );
33 | }
34 | }
35 | }
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/extension.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "SemanticMediaWiki",
3 | "version": "3.1.0-alpha",
4 | "author": [
5 | "[http://korrekt.org Markus Krötzsch]",
6 | "[https://www.mediawiki.org/wiki/User:Jeroen_De_Dauw Jeroen De Dauw]",
7 | "James Hong Kong",
8 | "[https://www.semantic-mediawiki.org/wiki/Contributors ...]"
9 | ],
10 | "url": "https://www.semantic-mediawiki.org",
11 | "descriptionmsg": "smw-desc",
12 | "namemsg": "smw-title",
13 | "license-name": "GPL-2.0-or-later",
14 | "type": "semantic",
15 | "requires": {
16 | "MediaWiki": ">= 1.27"
17 | },
18 | "MessagesDirs": {
19 | "SemanticMediaWiki": [
20 | "i18n"
21 | ]
22 | },
23 | "callback": "SemanticMediaWiki::initExtension",
24 | "ExtensionFunctions": [
25 | "SemanticMediaWiki::onExtensionFunction"
26 | ],
27 | "load_composer_autoloader": true,
28 | "manifest_version": 1
29 | }
30 |
--------------------------------------------------------------------------------
/src/DataValues/UniquenessConstraintValue.php:
--------------------------------------------------------------------------------
1 | isEnabledFeature( SMW_DV_PVUC ) ) {
30 | $this->addErrorMsg(
31 | [
32 | 'smw-datavalue-feature-not-supported',
33 | 'SMW_DV_PVUC'
34 | ]
35 | );
36 | }
37 |
38 | parent::parseUserValue( $userValue );
39 | }
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Utils/FileFetcherTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceOf(
26 | FileFetcher::class,
27 | $instance
28 | );
29 | }
30 |
31 | public function testFindByExtensionThrowsException() {
32 |
33 | $instance = new FileFetcher();
34 |
35 | $this->setExpectedException( '\RuntimeException' );
36 | $instance->findByExtension( 'foo' );
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/MediaWiki/Hooks/ExtensionTypesTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceOf(
21 | ExtensionTypes::class,
22 | new ExtensionTypes()
23 | );
24 | }
25 |
26 | public function testProcess() {
27 |
28 | $extensionTypes = [];
29 |
30 | $instance = new ExtensionTypes();
31 | $instance->process( $extensionTypes );
32 |
33 | $this->assertArrayHasKey(
34 | 'semantic',
35 | $extensionTypes
36 | );
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/src/MediaWiki/Hooks/ExtensionTypes.php:
--------------------------------------------------------------------------------
1 | wfMessage( 'version-semantic' )->text() ],
32 | $extensionTypes
33 | );
34 |
35 | return true;
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/src/Schema/Schema.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | SchemaParameterTypeMismatchException::class,
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\RuntimeException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Utils/ImageTest.php:
--------------------------------------------------------------------------------
1 | assertTrue(
22 | Image::isImage( DIWikiPage::newFromText( 'Foo.png', NS_FILE ) )
23 | );
24 |
25 | $this->assertTrue(
26 | Image::isImage( DIWikiPage::newFromText( '一二三.png', NS_FILE ) )
27 | );
28 |
29 | $this->assertFalse(
30 | Image::isImage( DIWikiPage::newFromText( 'Foo.png', NS_MAIN ) )
31 | );
32 |
33 | $this->assertFalse(
34 | Image::isImage( DIWikiPage::newFromText( 'Foo', NS_FILE ) )
35 | );
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/tests/phpunit/includes/dataitems/DI_NumberTest.php:
--------------------------------------------------------------------------------
1 |
16 | */
17 | class SMWDINumberTest extends DataItemTest {
18 |
19 | /**
20 | * @see DataItemTest::getClass
21 | *
22 | * @since 1.8
23 | *
24 | * @return string
25 | */
26 | public function getClass() {
27 | return '\SMWDINumber';
28 | }
29 |
30 | /**
31 | * @see DataItemTest::constructorProvider
32 | *
33 | * @since 1.8
34 | *
35 | * @return array
36 | */
37 | public function constructorProvider() {
38 | return [
39 | [ 0 ],
40 | [ 243.35353 ],
41 | ];
42 | }
43 |
44 | }
45 |
--------------------------------------------------------------------------------
/src/QueryEngine.php:
--------------------------------------------------------------------------------
1 | "
20 | ]
21 | }
22 | }
23 | ],
24 | "settings": {
25 | "wgContLang": "en",
26 | "smwgPageSpecialProperties": [
27 | "_MDAT"
28 | ]
29 | },
30 | "meta": {
31 | "version": "2",
32 | "is-incomplete": false,
33 | "debug": false
34 | }
35 | }
--------------------------------------------------------------------------------
/tests/phpunit/Unit/DefinesTest.php:
--------------------------------------------------------------------------------
1 | assertEquals( $expected, $constant );
20 | }
21 |
22 | public function constantsDataProvider() {
23 | return [
24 | [ SMW_HEADERS_SHOW, 2 ],
25 | [ SMW_HEADERS_PLAIN, 1 ],
26 | [ SMW_HEADERS_HIDE, 0 ],
27 | [ SMW_OUTPUT_HTML, 1 ],
28 | [ SMW_OUTPUT_WIKI, 2 ],
29 | [ SMW_OUTPUT_FILE, 3 ],
30 | [ SMW_FACTBOX_HIDDEN, 1 ],
31 | [ SMW_FACTBOX_SPECIAL, 2 ],
32 | [ SMW_FACTBOX_NONEMPTY, 3 ],
33 | [ SMW_FACTBOX_SHOWN, 5 ],
34 | ];
35 | }
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Exception/PredefinedPropertyLabelMismatchExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | '\SMW\Exception\PredefinedPropertyLabelMismatchException',
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\SMW\Exception\PropertyLabelNotResolvedException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/includes/dataitems/DI_BoolTest.php:
--------------------------------------------------------------------------------
1 |
19 | */
20 | class SMWDIBooleanTest extends DataItemTest {
21 |
22 | /**
23 | * @see DataItemTest::getClass
24 | *
25 | * @since 1.8
26 | *
27 | * @return string
28 | */
29 | public function getClass() {
30 | return '\SMWDIBoolean';
31 | }
32 |
33 | /**
34 | * @see DataItemTest::constructorProvider
35 | *
36 | * @since 1.8
37 | *
38 | * @return array
39 | */
40 | public function constructorProvider() {
41 | return [
42 | [ false ],
43 | [ true ],
44 | ];
45 | }
46 |
47 | }
48 |
--------------------------------------------------------------------------------
/i18n/de-formal.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Kghbln"
5 | ]
6 | },
7 | "smw-browse-intro": "Mit dieser Spezialseite können die auf Seiten oder mit Subobjekten gespeicherten Daten und Informationen eingesehen werden. Bitte geben Sie den Namen einer Seite ein, die eingesehen werden soll.",
8 | "smw-noscript": "Diese Seite oder Aktion erfordert JavaScript, damit sie funktioniert. Bitte aktivieren Sie JavaScript in Ihrem Browser oder verwenden Sie einen Browser, der dies unterstützt, damit diese Funktionalität wie gewünscht angeboten werden kann. Weitere Informationen sind auf der entsprechenden [https://www.semantic-mediawiki.org/wiki/Help:Noscript Hilfeseite] vorhanden.",
9 | "smw-admin-announce-text": "Sofern dieses Wiki öffentlich zugänglich ist, kann es auf WikiApiary, dem Wiki zum Tracken von Wikis, registriert werden."
10 | }
11 |
--------------------------------------------------------------------------------
/src/DataValues/ValueFormatters/NoValueFormatter.php:
--------------------------------------------------------------------------------
1 | dataValue instanceof DataValue ) {
33 | throw new RuntimeException( "The formatter is missing a valid DataValue object" );
34 | }
35 |
36 | return $this->dataValue->getDataItem()->getSerialization();
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/tests/phpunit/includes/dataitems/DI_BlobTest.php:
--------------------------------------------------------------------------------
1 |
19 | */
20 | class DIBlobTest extends DataItemTest {
21 |
22 | /**
23 | * @see DataItemTest::getClass
24 | *
25 | * @since 1.8
26 | *
27 | * @return string
28 | */
29 | public function getClass() {
30 | return '\SMWDIBlob';
31 | }
32 |
33 | /**
34 | * @see DataItemTest::constructorProvider
35 | *
36 | * @since 1.8
37 | *
38 | * @return array
39 | */
40 | public function constructorProvider() {
41 | return [
42 | [ 'I love Semantic MediaWiki' ],
43 | [ 'It is open source' ],
44 | ];
45 | }
46 |
47 | }
48 |
--------------------------------------------------------------------------------
/docs/releasenotes/RELEASE-NOTES-2.5.7.md:
--------------------------------------------------------------------------------
1 | # Semantic MediaWiki 2.5.7
2 |
3 | Released on August 9, 2018.
4 |
5 | ## Bug fixes and internal code changes
6 |
7 | * [#3038](https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/2855) as `4ebb125` Removes deprecated `ParserOptions::setEditSection()`
8 | * [#3176](https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/3176) as `6de5e42` Removes deprecated `wfBCP47()`
9 | * [#3211](https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/3211) as `6196919` Makes `-3D` decode in parameter list to allow the usage of equal signs
10 | * [#3221](https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/3221) as `954ff20` Converts `log-show-hide-{$type}` system messages to `logeventslist-{$type}-log`
11 | * [#3222](https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/3222) as `dae4dd5` Fixes the `Title` class to check for the NULL case for "illegal" characters
12 |
--------------------------------------------------------------------------------
/src/ParameterProcessorFactory.php:
--------------------------------------------------------------------------------
1 | newParserParameterProcessor( $parameters );
23 | }
24 |
25 | /**
26 | * @since 2.3
27 | *
28 | * @param array $parameters
29 | *
30 | * @return ParserParameterProcessor
31 | */
32 | public function newParserParameterProcessor( array $parameters ) {
33 |
34 | if ( isset( $parameters[0] ) && is_object( $parameters[0] ) ) {
35 | array_shift( $parameters );
36 | }
37 |
38 | return new ParserParameterProcessor( $parameters );
39 | }
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/SQLStore/Exception/PropertyStatisticsInvalidArgumentExceptionTest.php:
--------------------------------------------------------------------------------
1 | assertInstanceof(
23 | '\SMW\SQLStore\Exception\PropertyStatisticsInvalidArgumentException',
24 | $instance
25 | );
26 |
27 | $this->assertInstanceof(
28 | '\InvalidArgumentException',
29 | $instance
30 | );
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/tests/phpunit/Unit/Utils/HtmlModalTest.php:
--------------------------------------------------------------------------------
1 | assertInternalType(
21 | 'array',
22 | HtmlModal::getModules()
23 | );
24 |
25 | $this->assertInternalType(
26 | 'array',
27 | HtmlModal::getModuleStyles()
28 | );
29 | }
30 |
31 | public function testLink() {
32 |
33 | $this->assertContains(
34 | 'smw-modal-link',
35 | HtmlModal::link( 'Foo' )
36 | );
37 | }
38 |
39 | public function testModal() {
40 |
41 | $this->assertContains(
42 | 'smw-modal',
43 | HtmlModal::modal( 'Foo' )
44 | );
45 | }
46 |
47 | }
48 |
--------------------------------------------------------------------------------
/i18n/grc.json:
--------------------------------------------------------------------------------
1 | {
2 | "@metadata": {
3 | "authors": [
4 | "Crazymadlover",
5 | "Omnipaedista",
6 | "Gts-tg"
7 | ]
8 | },
9 | "smw_finallistconjunct": ", καὶ",
10 | "smw_printername_template": "Πρότυπον",
11 | "smw_nofloat": "Τὸ \"$1\" οὐκ ἔστιν ἀριθμός.",
12 | "smw_exportrdf_submit": "Ἐξάγειν",
13 | "properties": "Ἰδιότητες",
14 | "types": "Τύποι",
15 | "smw_ask_queryhead": "Πεῦσις",
16 | "smw_ask_format_as": "Μορφοποιεῖν ὡς:",
17 | "smw_ask_defaultformat": "προκαθωρισμένη",
18 | "smw_sbv_property": "Ἰδιότης:",
19 | "smw_sbv_value": "Τιμή:",
20 | "browse": "Νέμεσθαι βίκι",
21 | "smw_browselink": "Ἲδιότηται πλοηγήσεως",
22 | "smw_browse_go": "Ἱέναι",
23 | "smw_inverse_label_default": "$1 τοῦ",
24 | "smw_pp_type": "Ἰδιότης",
25 | "smw_result_prev": "Προηγουμέναι",
26 | "smw_result_next": "Ἑπόμεναι",
27 | "smw_result_noresults": "Οὐδὲν ἀποτέλεσμα.",
28 | "smw-livepreview-loading": "Φορτίζειν…"
29 | }
30 |
--------------------------------------------------------------------------------
/src/Query/ResultPrinters/ListResultPrinter/RowBuilder.php:
--------------------------------------------------------------------------------
1 | valueTextsBuilder;
33 | }
34 |
35 | /**
36 | * @param mixed $valueTextsBuilder
37 | */
38 | public function setValueTextsBuilder( $valueTextsBuilder ) {
39 | $this->valueTextsBuilder = $valueTextsBuilder;
40 | }
41 |
42 |
43 | }
--------------------------------------------------------------------------------