Daniel Werner has submitted this change and it was merged. Change subject: (Bug 40227) Initial commit for SpecialCreateEntity ......................................................................
(Bug 40227) Initial commit for SpecialCreateEntity This refactors the SpecialCreateItem into two classes for item and entity, and also add a class for creating properties. Note that the PropertyContent needs updating, but after the update the ItemView will fail. That is on-going work so let this "bug" be for now. Due to this the property will be saved (and viewed) as items which is somewhat weird. ItemView needs to be updated so it handles the view correctly, or rater a new EntityView must be made with a factory method. There are still missing things in the formatting of the page, and there are no eye-candy like drop-down datatype lists. - patch set 2: generalized css and added skeleton for data type select box - patch set 3: Added a bit of config stuff to be able to test - patch set 5: Added alias for Special:CreateProperty so the php notice goes away Change-Id: I47d0e2af32ca55d629dd85c3a230ac4d37c9f6af --- M repo/Wikibase.hooks.php M repo/Wikibase.i18n.alias.php M repo/Wikibase.i18n.php M repo/Wikibase.php M repo/includes/content/PropertyContent.php A repo/includes/specials/SpecialCreateEntity.php M repo/includes/specials/SpecialCreateItem.php A repo/includes/specials/SpecialCreateProperty.php M repo/resources/wikibase.special/wikibase.special.css 9 files changed, 407 insertions(+), 129 deletions(-) Approvals: Daniel Werner: Verified; Looks good to me, approved -- To view, visit https://gerrit.wikimedia.org/r/23793 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I47d0e2af32ca55d629dd85c3a230ac4d37c9f6af Gerrit-PatchSet: 6 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: John Erling Blad <john.b...@wikimedia.de> Gerrit-Reviewer: Daniel Werner <daniel.wer...@wikimedia.de> Gerrit-Reviewer: Henning Snater <henning.sna...@wikimedia.de> Gerrit-Reviewer: John Erling Blad <john.b...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits