Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: filbertkm/WikibaseImport Loading
base: master
Choose a base ref
...
head repository: Wikidata/WikibaseImport Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 13 commits
  • 5 files changed
  • 3 contributors

Commits on Apr 12, 2019

  1. Change getSiteLinks() to getSiteLinkList()

    Item::getSiteLinkList() was added and Item::getSiteLinks() deprecated in
    version 0.8.0 (2014-06-05) of the Wikibase data model, and the
    deprecated method was finally removed in version 8.0.0 (2018-08-03).
    lucaswerkmeister committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    fafbbb7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bf1373 View commit details
    Browse the repository at this point in the history
  3. Search entities in the correct namespace

    Instead of assuming that all entities are in namespace 0 (which is only
    true in a Wikidata-like installation, but not in a default Wikibase
    installation, and even then only for items, not properties), take the
    actual namespace of the requested entity from an injected
    EntityNamespaceLookup.
    
    Also, if we can’t find the entity, throw an exception instead of
    returning count 0: it’s better to fail the import than to duplicate
    statements.
    
    Fixes #22.
    lucaswerkmeister committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    307b44b View commit details
    Browse the repository at this point in the history
  4. Initialize user from session

    If the import script is run from the command line, there is no session,
    and the edit is still credited to 127.0.0.1. However, if there is a
    session – for example, if the import is run from a special page (#25) –
    this ensures that the correct user is used.
    lucaswerkmeister committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    4500ebb View commit details
    Browse the repository at this point in the history
  5. Test on PHP 7 in Travis

    MediaWiki and Wikibase no longer support PHP 5.5.
    lucaswerkmeister committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    cc06ec6 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #5 from Wikidata/travis

    Test on PHP 7 in Travis
    Ladsgroup committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    fa0c656 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2019

  1. Merge pull request #4 from Wikidata/datamodel

    Wikibase data model updates
    Ladsgroup committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    cea6ef3 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2019

  1. Merge pull request #1 from Wikidata/fix22

    Search entities in the correct namespace
    lucaswerkmeister committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    1e63b56 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3 from Wikidata/user

    Initialize user from session
    lucaswerkmeister committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    c5876ad View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. Update WikibaseRepo::getEntityNamespaceLookup() call

    Bug: T277313
    Depends-On: Ief409a501aac74e7b6df4e440113cd552dba3c74
    lucaswerkmeister committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    958cd6a View commit details
    Browse the repository at this point in the history
  2. Declare compatibility with Monolog v2

    This is required when using this extension with MediaWiki 1.36. None of
    the breaking changes in Monolog 2.0.0 should affect this extension, as
    far as I can tell.
    lucaswerkmeister committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    8d8b7f4 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2021

  1. Merge pull request #9 from Wikidata/monolog

    Declare compatibility with Monolog v2
    addshore committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    c1233da View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. Merge pull request #8 from Wikidata/repo-EntityNamespaceLookup

    Update WikibaseRepo::getEntityNamespaceLookup() call
    Ladsgroup committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    2997bb9 View commit details
    Browse the repository at this point in the history
Loading