diff --git a/data/definitions.json b/data/definitions.json index 5741dd7..2ace2b2 100644 --- a/data/definitions.json +++ b/data/definitions.json @@ -43,38 +43,6 @@ "alias": "sesp-property-view-count", "label": "Number of page views" }, - "_APPROVED": { - "id": "___APPROVED", - "type": "_num", - "show": false, - "alias": "sesp-property-approved-rev", - "label": "Approved revision", - "desc": "sesp-property-approved-rev-desc" - }, - "_APPROVEDBY": { - "id": "___APPROVEDBY", - "type": "_wpg", - "show": false, - "alias": "sesp-property-approved-by", - "label": "Approved by", - "desc": "sesp-property-approved-by-desc" - }, - "_APPROVEDDATE": { - "id": "___APPROVEDDATE", - "type": "_dat", - "show": false, - "alias": "sesp-property-approved-date", - "label": "Approved date", - "desc": "sesp-property-approved-date-desc" - }, - "_APPROVEDSTATUS": { - "id": "___APPROVEDSTATUS", - "type": "_txt", - "show": false, - "alias": "sesp-property-approved-status", - "label": "Approval status", - "desc": "sesp-property-approved-status-desc" - }, "_SUBP": { "id": "___SUBP", "type": "_wpg", diff --git a/docs/configuration.md b/docs/configuration.md index a4dcbb0..b2ceb30 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -39,10 +39,6 @@ Property labels differ according to the language the wiki was set up. An easy wa - `_SHORTURL` adds a property called "Short URL" which records short URLs of a page if the [ShortUrl][ShortUrl] extension is installed, and if there is a shortened URL for the current page - `_VIEWS` adds a property called "Number of page views" which records the number of page views of a page if the [HitCounters][HitCounters] extension is installed. This is required starting with MediaWiki 1.25 and later. In earlier versions of MediaWiki this special property used to work out of the box if enabled. Note that depending on local settings this value might not be very up to date. If [`$wgDisableCounters`][$wgDisableCounters] is set to "true" this property will never be set. -- `_APPROVED` adds a property called "Approved revision" which records the approvement state of a page if the [Approved Revs][Approved Revs] extension is installed -- `_APPROVEDBY` adds a property called "Approved by" which records the user that approved a page if the [Approved Revs][Approved Revs] extension is installed -- `_APPROVEDDATE` adds a property called "Approved date" which records the date a page was approved if the [Approved Revs][Approved Revs] extension is installed -- `_APPROVEDSTATUS` adds a property called "Approval status" which records the approvement status of a page if the [Approved Revs][Approved Revs] extension is installed ## Additional configuration diff --git a/i18n/ar.json b/i18n/ar.json index 7c4bc77..b1cc7ed 100644 --- a/i18n/ar.json +++ b/i18n/ar.json @@ -21,14 +21,6 @@ "sesp-property-revisions": "عدد المراجعات", "sesp-property-talk-revisions": "عدد مراجعات صفحة النقاش", "sesp-property-shorturl": "مسار قصير", - "sesp-property-approved-rev": "المراجعة المعتمدة", - "sesp-property-approved-rev-desc": "يحدد \"$1\" معرف المراجعة لصفحة تمت الموافقة عليها (من خلال ملحق [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties خصائص إضافية خاصة دلالية]).", - "sesp-property-approved-by": "وافقة عليها", - "sesp-property-approved-by-desc": "يحدد \"$1\" المستخدم الذي يحدد حالة الموافقة للصفحة (عبر الملحق [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties خصائص إضافية خاصة دلالية]).", - "sesp-property-approved-date": "تاريخ الموافقة", - "sesp-property-approved-date-desc": "يحدد \"$1\" الوقت الذي تم فيه تعيين حالة الموافقة للصفحة (من خلال ملحق [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties خصائص إضافية خاصة دلالية]).", - "sesp-property-approved-status": "حالة القبول", - "sesp-property-approved-status-desc": "يحدد \"$1\" حالة الموافقة لصفحة مغطاة ب أبسيدريفس (من خلال ملحق [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties خصائص إضافية خاصة دلالية]).", "sesp-property-user-registration-date": "تاريخ تسجيل المستخدم", "sesp-property-user-edit-count": "عداد تعديلات المستخدم", "sesp-property-user-block": "منع المستخدم", diff --git a/i18n/ast.json b/i18n/ast.json index 77c3adc..51c5155 100644 --- a/i18n/ast.json +++ b/i18n/ast.json @@ -18,14 +18,6 @@ "sesp-property-revisions": "Númberu de revisiones", "sesp-property-talk-revisions": "Númberu de revisiones de la páxina d'alderique", "sesp-property-shorturl": "URL curtia", - "sesp-property-approved-rev": "Revisión aprobada", - "sesp-property-approved-rev-desc": "«$1» determina'l ID de revisión d'una páxina que s'aprobó (utilizando la estensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties]).", - "sesp-property-approved-by": "Aprobada por", - "sesp-property-approved-by-desc": "«$1» determina l'usuariu que punxo l'estáu d'aprobación de la páxina (utilizando la estensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties]).", - "sesp-property-approved-date": "Fecha d'aprobación", - "sesp-property-approved-date-desc": "«$1» identifica la hora cuando se punxo l'estáu d'aprobación de la páxina (utilizando la estensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties]).", - "sesp-property-approved-status": "Estáu d'aprobación", - "sesp-property-approved-status-desc": "«$1» determina l'estáu d'aprobación de la páxina (utilizando la estensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties]).", "sesp-property-user-registration-date": "Data de rexistru del usuariu", "sesp-property-user-edit-count": "Númberu d'ediciones del usuariu", "sesp-property-user-block": "Bloquéu d'usuariu", diff --git a/i18n/be-tarask.json b/i18n/be-tarask.json index b96f03e..117ab9d 100644 --- a/i18n/be-tarask.json +++ b/i18n/be-tarask.json @@ -20,14 +20,6 @@ "sesp-property-revisions": "Колькасьць зьменаў", "sesp-property-talk-revisions": "Колькасьць зьменаў старонкі размоваў", "sesp-property-shorturl": "Кароткая спасылка", - "sesp-property-approved-rev": "Зацьверджаная вэрсія", - "sesp-property-approved-rev-desc": "«$1» захоўвае ідэнтыфікатар вэрсіі старонкі, якая была зацьверджана. Яна забясьпечваецца пашырэньнем [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-by": "Зацьверджана", - "sesp-property-approved-by-desc": "«$1» захоўвае карыстальніка, які ўсталяваў статус старонкі «зацьверджана». Яна забясьпечана пашырэньнем [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties (SESP)].", - "sesp-property-approved-date": "Дата зацьверджаньня", - "sesp-property-approved-date-desc": "«$1» захоўвае час, калі зацьвярджальны стан старонкі быў вызначаны. Яна забясьпечваецца пашырэньнем [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-status": "Статус зацьверджаньня", - "sesp-property-approved-status-desc": "«$1» захоўвае статус ухвалы старонкі. Яна забясьпечваецца пашырэньнем [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-user-registration-date": "Дата рэгістрацыі карыстальніка", "sesp-property-user-edit-count": "Колькасьць рэдагаваньняў удзельніка", "sesp-property-user-block": "Блякаваньні ўдзельніка", diff --git a/i18n/bn.json b/i18n/bn.json index ef1b288..1860a79 100644 --- a/i18n/bn.json +++ b/i18n/bn.json @@ -16,10 +16,6 @@ "sesp-property-subpages": "উপপাতা", "sesp-property-revisions": "সংস্করণের সংখ্যা", "sesp-property-shorturl": "সংক্ষিপ্ত URL", - "sesp-property-approved-rev": "গ্রহণকৃত সংস্করণ", - "sesp-property-approved-by": "অনুমোদন করেছেন", - "sesp-property-approved-date": "অনুমোদনের তারিখ", - "sesp-property-approved-status": "অনুমোদনের স্থিতি", "sesp-property-user-registration-date": "ব্যবহারকারীর নিবন্ধনের তারিখ", "sesp-property-user-edit-count": "ব্যবহারকারী সম্পাদনা গণনা", "sesp-property-user-block": "ব্যবহারকারী বাধাদান", diff --git a/i18n/br.json b/i18n/br.json index a5c1d8f..cb0dd60 100644 --- a/i18n/br.json +++ b/i18n/br.json @@ -14,8 +14,6 @@ "sesp-property-mimetype": "Seurt MIME", "sesp-property-mediatype": "Doare media", "sesp-property-shorturl": "URL berr", - "sesp-property-approved-rev": "Adweladenn aprouet", - "sesp-property-approved-by": "Aprouet gant", "sesp-property-user-registration-date": "Deiziad enskrivadur an implijer", "sesp-property-user-group": "Strollad implijerien" } diff --git a/i18n/cs.json b/i18n/cs.json index 676d740..f24e384 100644 --- a/i18n/cs.json +++ b/i18n/cs.json @@ -32,14 +32,6 @@ "sesp-property-talk-revisions-desc": "\"$1\" zaznamenává počet revizí diskusní stránky. Tuto vlastnost poskytuje rozšíření [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Sémantické dodatečné speciální vlastnosti].", "sesp-property-shorturl": "Krátké URL", "sesp-property-shorturl-desc": "\"$1\" zaznamenává krátkou URL stránky. Tuto vlastnost poskytuje rozšíření [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Sémantické dodatečné speciální vlastnosti].", - "sesp-property-approved-rev": "Schválená revize", - "sesp-property-approved-rev-desc": "\"$1\" zaznamenává ID revize schválené stránky. Vlastnost poskytuje rozšíření [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Sémantické dodatečné speciální vlastnosti].", - "sesp-property-approved-by": "Schváleno uživatelem", - "sesp-property-approved-by-desc": "\"$1\" zaznamenává uživatele, který nastavil stav schválení stránky. Vlastnost poskytuje rozšíření [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Sémantické dodatečné speciální vlastnosti].", - "sesp-property-approved-date": "Schválené datum", - "sesp-property-approved-date-desc": "\"$1\" zaznamenává čas, kdy byl nastaven stav schválení stránky. Tuto vlastnost poskytuje rozšíření [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Sémantické dodatečné speciální vlastnosti].", - "sesp-property-approved-status": "Schválený status", - "sesp-property-approved-status-desc": "\"$1\" zaznamenává stav schválení stránky. Tuto vlastnost poskytuje rozšíření [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Sémantické dodatečné speciální vlastnosti].", "sesp-property-user-registration-date": "Datum registrace uživatele", "sesp-property-user-registration-date-desc": "\"$1\" zaznamenává datum registrace uživatele. Tuto vlastnost poskytuje rozšíření [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Sémantické dodatečné speciální vlastnosti].", "sesp-property-user-edit-count": "Počet editací uživatele", diff --git a/i18n/da.json b/i18n/da.json index dd215dc..6ee777f 100644 --- a/i18n/da.json +++ b/i18n/da.json @@ -14,9 +14,6 @@ "sesp-property-view-count": "Antal sidevisninger", "sesp-property-subpages": "Underside", "sesp-property-revisions": "Antal revisioner", - "sesp-property-approved-by": "Godkendt af", - "sesp-property-approved-date": "Dato for godkendelse", - "sesp-property-approved-status": "Status for godkendelse", "sesp-property-user-registration-date": "Brugerregistreringsdato", "sesp-property-user-block": "Brugerblokering", "sesp-property-user-right": "Brugerrettighed", diff --git a/i18n/de.json b/i18n/de.json index dd484e0..5713bca 100644 --- a/i18n/de.json +++ b/i18n/de.json @@ -21,14 +21,6 @@ "sesp-property-revisions": "Anzahl der Bearbeitungen", "sesp-property-talk-revisions": "Anzahl der Diskussionsbearbeitungen", "sesp-property-shorturl": "Kurz-URL", - "sesp-property-approved-rev": "Bestätigte Version", - "sesp-property-approved-rev-desc": "„$1“ speichert die Kennung der Version einer Seite, die bestätigt wurde und wird von der Erweiterung [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] zur Verfügung gestellt.", - "sesp-property-approved-by": "Bestätigt von", - "sesp-property-approved-by-desc": "„$1“ speichert den Benutzer, der den Bestätigungsstatus der Seite festgelegt hat und wird von der Erweiterung [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] zur Verfügung gestellt.", - "sesp-property-approved-date": "Bestätigungsdatum", - "sesp-property-approved-date-desc": "„$1“ speichert den Zeitpunkt der Festlegung des Bestätigungsstatus der Seite und wird von der Erweiterung [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] zur Verfügung gestellt.", - "sesp-property-approved-status": "Bestätigungsstatus", - "sesp-property-approved-status-desc": "„$1“ speichert den Bestätigungsstatus einer Seite und wird von der Erweiterung [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] zur Verfügung gestellt.", "sesp-property-user-registration-date": "Benutzerregistrierungsdatum", "sesp-property-user-edit-count": "Anzahl der Benutzerbearbeitungen", "sesp-property-user-block": "Benutzersperre", diff --git a/i18n/el.json b/i18n/el.json index 9c9e142..41583dc 100644 --- a/i18n/el.json +++ b/i18n/el.json @@ -16,10 +16,6 @@ "sesp-property-revisions": "Αριθμός αναθεωρήσεων", "sesp-property-talk-revisions": "Αριθμός αναθεωρήσεων σελίδας συζήτησης", "sesp-property-shorturl": "Σύντομη διεύθυνση URL", - "sesp-property-approved-rev": "Εγκεκριμένη αναθεώρηση", - "sesp-property-approved-by": "Εγκρίθηκε από", - "sesp-property-approved-date": "Ημερομηνία έγκρισης", - "sesp-property-approved-status": "Κατάσταση έγκρισης", "sesp-property-user-registration-date": "Ημερομηνία εγγραφής χρήστη", "sesp-property-user-edit-count": "Αριθμός επεξεργασιών χρήστη", "sesp-property-user-group": "Ομάδες χρηστών", diff --git a/i18n/en.json b/i18n/en.json index 065fc3b..4cf024f 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -29,14 +29,6 @@ "sesp-property-talk-revisions-desc": "\"$1\" records the number of revisions of a talk page. It is provided by the [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] extension.", "sesp-property-shorturl": "Short URL", "sesp-property-shorturl-desc": "\"$1\" records the short URL of a page. It is provided by the [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] extension.", - "sesp-property-approved-rev": "Approved revision", - "sesp-property-approved-rev-desc": "\"$1\" records the revision ID of a page that has been approved. It is provided by the [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] extension.", - "sesp-property-approved-by": "Approved by", - "sesp-property-approved-by-desc": "\"$1\" records the user who set the approval status of the page. It is provided by the [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] extension.", - "sesp-property-approved-date": "Approved date", - "sesp-property-approved-date-desc": "\"$1\" records the time when the approval status of the page was set. It is provided by the [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] extension.", - "sesp-property-approved-status": "Approval status", - "sesp-property-approved-status-desc": "\"$1\" records the approval status of a page. It is provided by the [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] extension.", "sesp-property-user-registration-date": "User registration date", "sesp-property-user-registration-date-desc": "\"$1\" records the user's registration date. It is provided by the [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] extension.", "sesp-property-user-edit-count": "User edit count", diff --git a/i18n/eo.json b/i18n/eo.json index dfbb13c..b219e51 100644 --- a/i18n/eo.json +++ b/i18n/eo.json @@ -14,10 +14,6 @@ "sesp-property-revisions": "Nombro de versioj", "sesp-property-talk-revisions": "Nombro de versioj de diskutpaĝo", "sesp-property-shorturl": "Mallonga retadreso", - "sesp-property-approved-rev": "Aprobita versio", - "sesp-property-approved-by": "Aprobita de", - "sesp-property-approved-date": "Dato de aprobo", - "sesp-property-approved-status": "Aprobiteco", "sesp-property-user-right": "Rajto de uzanto", "sesp-property-user-group": "Grupo de uzanto", "sesp-property-exif-data": "Exif-dateno", diff --git a/i18n/es.json b/i18n/es.json index af2c16f..a4c2416 100644 --- a/i18n/es.json +++ b/i18n/es.json @@ -29,14 +29,6 @@ "sesp-property-talk-revisions": "Número de revisiones de la página de discusión", "sesp-property-talk-revisions-desc": "«$1» almacena la cantidad de revisiones de una página de discusión. Lo provee la extensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-shorturl": "Enlace corto", - "sesp-property-approved-rev": "Revisión aprobada", - "sesp-property-approved-rev-desc": "«$1» determina el id. de revisión de una página que se ha aprobado, y es provista por medio de la extensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-by": "Aprobación por", - "sesp-property-approved-by-desc": "«$1» identifica al usuario que definió el estado de aprobación de la página, y es provisto por la extensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-date": "Fecha de aprobación", - "sesp-property-approved-date-desc": "«$1» identifica la hora en que se definió el estado de aprobación de la página, y es provisto por la extensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-status": "Estado de aprobación", - "sesp-property-approved-status-desc": "\"$1\" identifica el estado de aprobación de una página, y es provisto por la extensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-user-registration-date": "Fecha de registro del usuario", "sesp-property-user-edit-count": "Número de ediciones del usuario", "sesp-property-user-block": "Bloqueo de usuario", diff --git a/i18n/eu.json b/i18n/eu.json index 8dd20d0..101625e 100644 --- a/i18n/eu.json +++ b/i18n/eu.json @@ -22,14 +22,6 @@ "sesp-property-revisions": "Berrikusketa zenbakiak", "sesp-property-talk-revisions": "Eztabaida orri berrikusketen zenbakia", "sesp-property-shorturl": "URL motza", - "sesp-property-approved-rev": "Onartutako berrikusketa", - "sesp-property-approved-rev-desc": "\"$1\"-(e)k onartua izan den orri baten berrikuspen ID-a identifikatzen du, eta [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] luzapenak hornitutakoa da.", - "sesp-property-approved-by": "Honek onartua", - "sesp-property-approved-by-desc": "\"$1\"-(e)k orriaren onartu egoera azerri duen erabiltzailea identifikatzen du, eta [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] luzapenak hornitutakoa da.", - "sesp-property-approved-date": "Onartze data", - "sesp-property-approved-date-desc": "\"$1\"-(e)k orriaren onartu egoera ezarria noiz izan den identifikatzen du eta [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] luzapenak hornitutakoa da.", - "sesp-property-approved-status": "Onartu egoera", - "sesp-property-approved-status-desc": "\"$1\"-(e)k orri baten onartu egoera identifikatzen du eta [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties] luzapenak hornitutakoa da.", "sesp-property-user-registration-date": "Erabiltzaile erregistro data", "sesp-property-user-edit-count": "Lankidearen aldaketa kontagailua", "sesp-property-user-right": "Erabiltzaile baimena", diff --git a/i18n/fa.json b/i18n/fa.json index f965d4c..3dd7c7c 100644 --- a/i18n/fa.json +++ b/i18n/fa.json @@ -24,7 +24,6 @@ "sesp-property-revisions": "تعداد نسخه‌ها", "sesp-property-talk-revisions": "تعداد بازبینی‌های صفحهٔ گفتگو", "sesp-property-shorturl": "نشانی کوتاه", - "sesp-property-approved-rev": "نسخهٔ تأییدشده", "sesp-property-user-registration-date": "تاریخ ثبت‌نام کاربر", "sesp-property-user-edit-count": "شمار ویرایش‌های کاربر", "sesp-property-user-right": "حق کاربر", diff --git a/i18n/fi.json b/i18n/fi.json index 616fa96..7225abb 100644 --- a/i18n/fi.json +++ b/i18n/fi.json @@ -22,8 +22,6 @@ "sesp-property-revisions": "Muokkausten määrä", "sesp-property-talk-revisions": "Keskustelusivujen muokkausten määrä", "sesp-property-shorturl": "Lyhytosoite", - "sesp-property-approved-rev": "Hyväksytty versio", - "sesp-property-approved-by": "Hyväksynyt", "sesp-property-user-registration-date": "Käyttäjätunnuksen luontipäivämäärä", "sesp-property-user-edit-count": "Käyttäjän muokkausmäärä", "sesp-property-user-group": "Käyttäjäryhmä", diff --git a/i18n/fr.json b/i18n/fr.json index a673b78..d5f9844 100644 --- a/i18n/fr.json +++ b/i18n/fr.json @@ -35,14 +35,6 @@ "sesp-property-talk-revisions-desc": "« $1 » identifie le nombre de révisions d’une page de discussion. Il est fourni par l’extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-shorturl": "URL courte", "sesp-property-shorturl-desc": "« $1 » enregistre l’URL courte d’une page. Elle est fournie par l’extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Propriétés sémantiques spéciales supplémentaires].", - "sesp-property-approved-rev": "Relecture approuvée", - "sesp-property-approved-rev-desc": "« $1 » liste l’ID de révision d’une page qui a été approuvée. Il est fourni par l’extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Propriétés sémantiques spéciales supplémentaires].", - "sesp-property-approved-by": "Approuvé par", - "sesp-property-approved-by-desc": "« $1 » enregistre l’utilisateur qui a mis l’état approuvé sur cette page. Elle est fournie par l’extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Propriétés sémantiques spéciales supplémentaires].", - "sesp-property-approved-date": "Date d’approbation", - "sesp-property-approved-date-desc": "« $1 » enregistre l’heure à laquelle l’état approuvé de la page a été mis. Elle est fournie par l’extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Propriétés sémantiques spéciales supplémentaires].", - "sesp-property-approved-status": "État d’approbation", - "sesp-property-approved-status-desc": "« $1 » identifie l’état d’approbation d’une page. Elle est fournie par l’extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Propriétés sémantiques spéciales supplémentaires].", "sesp-property-user-registration-date": "Date d'inscription de l'utilisateur", "sesp-property-user-registration-date-desc": "« $1 » enregistre la date d’inscription de l’utilisateur. Elle est fournie par l’extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Propriétés sémantiques spéciales supplémentaires].", "sesp-property-user-edit-count": "Compteur d'édition de l'utilisateur", diff --git a/i18n/gl.json b/i18n/gl.json index e016765..75e0736 100644 --- a/i18n/gl.json +++ b/i18n/gl.json @@ -19,14 +19,6 @@ "sesp-property-revisions": "Número de revisións", "sesp-property-talk-revisions": "Número de revisións da páxina de conversa", "sesp-property-shorturl": "Enderezo URL curto", - "sesp-property-approved-rev": "Revisión aprobada", - "sesp-property-approved-rev-desc": "«$1» identifica o identificador da revisión dunha páxina que foi aprobada (por medio da extensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties SESP]).", - "sesp-property-approved-by": "Aprobado por", - "sesp-property-approved-by-desc": "«$1» identifica o usuario que definiu o estado de aprobación da páxina (a través da extensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties SESP]).", - "sesp-property-approved-date": "Data de aprobación", - "sesp-property-approved-date-desc": "«$1» identifica a hora en que se definiu o estado de aprobación da páxina (a través da extensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties SESP]).", - "sesp-property-approved-status": "Estado de aprobación", - "sesp-property-approved-status-desc": "«$1» identifica o estado de aprobación dunha páxina que está cuberta por ApprovedRevs (a través da extensión [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties SESP]).", "sesp-property-user-registration-date": "Data de rexistro do usuario", "sesp-property-user-edit-count": "Número de edición do usuario", "sesp-property-user-block": "Bloqueos de usuario", diff --git a/i18n/he.json b/i18n/he.json index 9313167..99d9a6e 100644 --- a/i18n/he.json +++ b/i18n/he.json @@ -21,13 +21,6 @@ "sesp-property-revisions": "מספר הגרסאות", "sesp-property-talk-revisions": "מספר הגרסאות של דף השיחה", "sesp-property-shorturl": "כתובת מקוצרת", - "sesp-property-approved-rev": "גרסה מאושרת", - "sesp-property-approved-rev-desc": "\"$1\" מציין את מזהה הגרסה שאושרה. המאפיין מסופק על־ידי ההרחבה [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-by": "מאושר על ידי", - "sesp-property-approved-by-desc": "\"$1\" מציין את המשתמש שהגדיר את מצב האישור של הדף. המאפיין מסופק על־ידי ההרחבה [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-date": "תאריך מאושר", - "sesp-property-approved-date-desc": "\"$1\" מציין את הזמן שבו הדף סומן כמאושר. המאפיין מסופק על־ידי ההרחבה [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-status-desc": "\"$1\" מציין את מצב האישור של הדף. המאפיין מסופק על־ידי ההרחבה [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-user-registration-date": "תאריך ההרשמה של המשתמש", "sesp-property-user-edit-count": "מספר עריכות", "sesp-property-user-block": "לחסום משתמש", diff --git a/i18n/hi.json b/i18n/hi.json index ff092c1..b1a9e34 100644 --- a/i18n/hi.json +++ b/i18n/hi.json @@ -19,7 +19,6 @@ "sesp-property-revisions": "रिविज़न्स की संख्या", "sesp-property-talk-revisions": "वार्ता पृष्ठ रिविज़न्स की संख्या", "sesp-property-shorturl": "लघु यूआरएल", - "sesp-property-approved-rev": "स्वीकृत संशोधन", "sesp-property-user-registration-date": "यूज़र पंजीकरण तारीक", "sesp-property-user-edit-count": "सदस्य सम्पादन संख्या", "sesp-property-user-block": "उपयोगकर्ता ब्लॉक", diff --git a/i18n/ia.json b/i18n/ia.json index 176374f..aff4fb4 100644 --- a/i18n/ia.json +++ b/i18n/ia.json @@ -18,14 +18,6 @@ "sesp-property-revisions": "Numero de versiones", "sesp-property-talk-revisions": "Numero de versiones del pagina de discussion", "sesp-property-shorturl": "URL curte", - "sesp-property-approved-rev": "Version approbate", - "sesp-property-approved-rev-desc": "\"$1\" registra le ID del version de un pagina que ha essite approbate. Illo es fornite per le extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-by": "Approbate per", - "sesp-property-approved-by-desc": "\"$1\" registra le usator que ha definite le stato de approbation de un pagina. Illo es fornite per le extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-date": "Data de approbation", - "sesp-property-approved-date-desc": "\"$1\" registra le hora al qual le stato de approbation del pagina ha essite definite. Illo es fornite per le extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-status": "Stato de approbation", - "sesp-property-approved-status-desc": "\"$1\" registra le stato de approbation de un pagina. Illo es fornite per le extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-user-registration-date": "Data de registration del usator", "sesp-property-user-edit-count": "Numero de modificationes del usator", "sesp-property-user-block": "Blocada de usator", diff --git a/i18n/id.json b/i18n/id.json index ad84489..0954b7b 100644 --- a/i18n/id.json +++ b/i18n/id.json @@ -13,10 +13,6 @@ "sesp-property-revisions": "Jumlah revisi", "sesp-property-talk-revisions": "Jumlah revisi halaman pembicaraan", "sesp-property-shorturl": "URL pendek", - "sesp-property-approved-rev": "Revisi yang disetujui", - "sesp-property-approved-by": "Disetujui oleh", - "sesp-property-approved-date": "Disetujui pada", - "sesp-property-approved-status": "Status persetujuan", "sesp-property-user-registration-date": "Tanggal pendaftaran pengguna", "sesp-property-user-edit-count": "Jumlah suntingan pengguna", "sesp-property-user-block": "Blokir pengguna", diff --git a/i18n/ilo.json b/i18n/ilo.json index d6a4f97..306d4c2 100644 --- a/i18n/ilo.json +++ b/i18n/ilo.json @@ -16,6 +16,5 @@ "sesp-property-mimetype": "Kita ti MIME", "sesp-property-mediatype": "Kita ti midia", "sesp-property-shorturl": "Ababa nga URL", - "sesp-property-approved-rev": "Naaprobaran a rebision", "sesp-property-user-group": "Grupo ti agar-aramat" } diff --git a/i18n/it.json b/i18n/it.json index c084bc6..30eecdb 100644 --- a/i18n/it.json +++ b/i18n/it.json @@ -18,10 +18,6 @@ "sesp-property-revisions": "Numero di versioni", "sesp-property-talk-revisions": "Numero di versioni della pagina di discussione", "sesp-property-shorturl": "URL breve", - "sesp-property-approved-rev": "Versione approvata", - "sesp-property-approved-by": "Approvato da", - "sesp-property-approved-date": "Data approvazione", - "sesp-property-approved-status": "Stato approvazione", "sesp-property-user-registration-date": "Data di registrazione dell'utente", "sesp-property-user-edit-count": "Numero modifiche utente", "sesp-property-exif-data": "Dati Exif" diff --git a/i18n/ja.json b/i18n/ja.json index d35f955..727ec6d 100644 --- a/i18n/ja.json +++ b/i18n/ja.json @@ -17,9 +17,6 @@ "sesp-property-revisions": "版数", "sesp-property-talk-revisions": "トークページの版数", "sesp-property-shorturl": "短縮 URL", - "sesp-property-approved-by": "承認者:", - "sesp-property-approved-date": "承認日", - "sesp-property-approved-status": "承認ステータス", "sesp-property-user-registration-date": "利用者登録日", "sesp-property-user-edit-count": "利用者の編集回数", "sesp-property-user-block": "利用者のブロック", diff --git a/i18n/ko.json b/i18n/ko.json index c8e4d55..e4fa71e 100644 --- a/i18n/ko.json +++ b/i18n/ko.json @@ -21,14 +21,6 @@ "sesp-property-revisions": "판 수", "sesp-property-talk-revisions": "토론 문서 판 수", "sesp-property-shorturl": "짧은 URL", - "sesp-property-approved-rev": "승인된 판", - "sesp-property-approved-rev-desc": "\"$1\" 속성은 승인된 문서의 판 ID를 식별하며 [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties 시맨틱 추가 특수 속성] 확장 기능에 의해 제공됩니다.", - "sesp-property-approved-by": "승인자", - "sesp-property-approved-by-desc": "\"$1\" 속성은 문서의 승인 상태를 설정한 사용자를 식별하며 [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties 시맨틱 추가 특수 속성] 확장 기능에 의해 제공됩니다.", - "sesp-property-approved-date": "승인 날짜", - "sesp-property-approved-date-desc": "\"$1\" 속성은 문서의 승인 상태가 설정된 시간을 식별하며 [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties 시맨틱 추가 특수 속성] 확장 기능에 의해 제공됩니다.", - "sesp-property-approved-status": "승인 상태", - "sesp-property-approved-status-desc": "\"$1\" 속성은 문서의 승인 상태를 식별하며 [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties 시맨틱 추가 특수 속성] 확장 기능에 의해 제공됩니다.", "sesp-property-user-registration-date": "사용자 등록 날짜", "sesp-property-user-edit-count": "사용자 편집 횟수", "sesp-property-user-block": "사용자 차단", diff --git a/i18n/lb.json b/i18n/lb.json index 1256924..1212759 100644 --- a/i18n/lb.json +++ b/i18n/lb.json @@ -13,8 +13,6 @@ "sesp-property-revisions": "Zuel vun de Versiounen", "sesp-property-talk-revisions": "Zuel vun de Versioune vun der Diskussiounssäit", "sesp-property-shorturl": "Kuerz URL", - "sesp-property-approved-rev": "Nogekuckt Versioun", - "sesp-property-approved-by": "Akzeptéiert vum", "sesp-property-user-registration-date": "Datum vun der Umellung vum Benotzer", "sesp-property-user-edit-count": "Compteur vu Benotzerännerungen", "sesp-property-user-block": "Benotzerspär", diff --git a/i18n/mai.json b/i18n/mai.json index be2c826..706da5e 100644 --- a/i18n/mai.json +++ b/i18n/mai.json @@ -13,10 +13,6 @@ "sesp-property-subpages": "उप पृष्ठ", "sesp-property-revisions": "रिविज़न्स क संख्या", "sesp-property-shorturl": "छोट युआरयल", - "sesp-property-approved-rev": "स्वीकृत संशोधन", - "sesp-property-approved-by": "स्विकृत कर्ता", - "sesp-property-approved-date": "स्विकृत मिति", - "sesp-property-approved-status": "स्विकृत स्टाटस्", "sesp-property-user-registration-date": "यूज़र पंजीकरण मिति", "sesp-property-user-edit-count": "प्रयोक्ता सम्पादन संख्या", "sesp-property-user-block": "प्रयोक्ता ब्लॉक", diff --git a/i18n/mk.json b/i18n/mk.json index de0ba30..a4303d6 100644 --- a/i18n/mk.json +++ b/i18n/mk.json @@ -19,14 +19,6 @@ "sesp-property-revisions": "Број на преработки", "sesp-property-talk-revisions": "Број на преработки на разг. страници", "sesp-property-shorturl": "Кратка URL", - "sesp-property-approved-rev": "Одобрена преработка", - "sesp-property-approved-rev-desc": "„$1“ ја означува назнаката на страницата која е одобрена и доставена од додатокот [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Семантички екстрапосебни својства].", - "sesp-property-approved-by": "Одобрил", - "sesp-property-approved-by-desc": "„$1“ го утврдува корисникот кој ја задал одобрителната состојба на страницата и е овозможено од додатокот [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Семантички екстрапосебни својства].", - "sesp-property-approved-date": "Одобрено на", - "sesp-property-approved-date-desc": "„$1“ го утврдува времето на (не)одобрување на една страница во бајти и е овозможено од додатокот [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Семантички екстрапосебни својства].", - "sesp-property-approved-status": "Одобрителна состојба", - "sesp-property-approved-status-desc": "„$1“ ја утврдува одобрителната состојба на страница и е овозможено од додатокот [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Семантички екстрапосебни својства].", "sesp-property-user-registration-date": "Датум на зачленување на корисникот", "sesp-property-user-edit-count": "Бр. на кориснички уредувања", "sesp-property-user-block": "Кориснички блок", diff --git a/i18n/myv.json b/i18n/myv.json index 83c2714..f26bdf5 100644 --- a/i18n/myv.json +++ b/i18n/myv.json @@ -13,8 +13,6 @@ "sesp-property-talk-revisions": "Зяроксть кортнема лопась витнезь-петнезь", "sesp-property-mimetype": "MIME типезэ", "sesp-property-mediatype": "Медиань типесь", - "sesp-property-approved-rev": "Кемекстазь версия", - "sesp-property-approved-date": "Кемекстазь ков-чи", "sesp-exif-languagecode": "Exif:Келень кодось", "sesp-exif-iimcategory": "Exif:Iim-категориясь" } diff --git a/i18n/nb.json b/i18n/nb.json index dda2d55..8e49ccf 100644 --- a/i18n/nb.json +++ b/i18n/nb.json @@ -30,14 +30,6 @@ "sesp-property-talk-revisions-desc": "«$1» tar vare på antall revisjoner av en diskusjonsside. Den gis av utvidelsen [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-shorturl": "Kort URL", "sesp-property-shorturl-desc": "«$1» tar vare på korte URL-er for en side. Den gis av utvidelsen [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-rev": "Godkjent revisjon", - "sesp-property-approved-rev-desc": "«$1» identifiserer revisjons-ID-en til en side som har blitt godkjent. Den gis av utvidelsen [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-by": "Godkjent av", - "sesp-property-approved-by-desc": "«$1» identifiserer brukeren som satte godkjenningsstatusen til siden. Den gis av utvidelsen [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-date": "Godkjennelsesdato", - "sesp-property-approved-date-desc": "«$1» identifiserer tidspunktet for godkjenningsstatusen til siden. Den gis av utvidelsen [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-status": "Godkjennelsesstatus", - "sesp-property-approved-status-desc": "«$1» identifiserer godkjenningsstatusen til siden. Den gis av utvidelsen [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-user-registration-date": "Brukerregistreringsdato", "sesp-property-user-registration-date-desc": "«$1» tar vare på brukeres registreringsdato. Den gis av utvidelsen [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-user-edit-count": "Antall redigeringer av brukeren", diff --git a/i18n/nl.json b/i18n/nl.json index 2bbaa7d..c199f7c 100644 --- a/i18n/nl.json +++ b/i18n/nl.json @@ -23,9 +23,6 @@ "sesp-property-revisions": "Aantal versies", "sesp-property-talk-revisions": "Aantal versies overlegpagina", "sesp-property-shorturl": "Korte URL", - "sesp-property-approved-rev": "Goedgekeurde versie", - "sesp-property-approved-by": "Goedgekeurd door", - "sesp-property-approved-date": "Datum goedkeuring", "sesp-property-user-registration-date": "Gebruikersregistratiedatum", "sesp-property-user-edit-count": "Aantal bewerkingen van de gebruiker", "sesp-property-user-block": "Gebruikersblok", diff --git a/i18n/oc.json b/i18n/oc.json index f5a9d12..5d20250 100644 --- a/i18n/oc.json +++ b/i18n/oc.json @@ -18,8 +18,6 @@ "sesp-property-revisions": "Nombre de revisions", "sesp-property-talk-revisions": "Nombre de revisions de la pagina de discussion", "sesp-property-shorturl": "URL corta", - "sesp-property-approved-date-desc": "« $1 » identifica l'ora qu'una pagina foguèt aprovada e es provesit per l’extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-status-desc": "« $1 » identifica l'estat d'aprovacion d’una pagina e es provesit per l’extension [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-user-registration-date": "Data d'inscripcion de l'utilizaire", "sesp-property-user-block": "Blocar de l'utilizator", "sesp-property-user-block-desc": "\"$1\" balha una lista de blocatges aplicats a un utilizator e es balhat per l'extension[https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties SESP].", diff --git a/i18n/pl.json b/i18n/pl.json index e20bbc8..3df5e2a 100644 --- a/i18n/pl.json +++ b/i18n/pl.json @@ -24,10 +24,6 @@ "sesp-property-revisions": "Liczba wersji", "sesp-property-talk-revisions": "Liczba edycji strony dyskusji", "sesp-property-shorturl": "Krótki URL", - "sesp-property-approved-rev": "Zatwierdzona wersja", - "sesp-property-approved-by": "Zatwierdzono przez", - "sesp-property-approved-date": "Zatwierdzona data", - "sesp-property-approved-status": "Status akceptacji", "sesp-property-user-registration-date": "Data rejestracji użytkownika", "sesp-property-user-edit-count": "Licznik edycji użytkownika", "sesp-property-user-block": "Blokada użytkownika", diff --git a/i18n/pt-br.json b/i18n/pt-br.json index d2341e4..bec526d 100644 --- a/i18n/pt-br.json +++ b/i18n/pt-br.json @@ -31,14 +31,6 @@ "sesp-property-talk-revisions-desc": "\"$1\" registra o número de revisões de uma página de discussão, é fornecida pela extensão [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-shorturl": "URL curto", "sesp-property-shorturl-desc": "\"$1\" registra o URL curto de uma página, é fornecida pela extensão [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-rev": "Revisão aprovada", - "sesp-property-approved-rev-desc": "\"$1\" registra o identificador da revisão aprovada de uma página, é fornecida pela extensão [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-by": "Aprovado por", - "sesp-property-approved-by-desc": "\"$1\" registra o usuário que definiu o estado de aprovação de uma página, é fornecida pela extensão [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-date": "Data de aprovação", - "sesp-property-approved-date-desc": "\"$1\" registra a hora em que o status de aprovação da página foi definido, é fornecida pela extensão [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-status": "Status de aprovação", - "sesp-property-approved-status-desc": "\"$1\" registra o status de aprovação de uma página, é fornecida pela extensão [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-user-registration-date": "Data de registro do usuário", "sesp-property-user-registration-date-desc": "\"$1\" registra a data do registro do usuário, é fornecida pela extensão [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-user-edit-count": "Contador de edições do usuário", diff --git a/i18n/pt.json b/i18n/pt.json index 045db37..bb8e2d0 100644 --- a/i18n/pt.json +++ b/i18n/pt.json @@ -23,14 +23,6 @@ "sesp-property-revisions": "Número de revisões", "sesp-property-talk-revisions": "Número de revisões da página de discussão", "sesp-property-shorturl": "URL encurtado", - "sesp-property-approved-rev": "Revisão aprovada", - "sesp-property-approved-rev-desc": "\"$1\" identifica o identificador da revisão aprovada de uma página e é fornecida pela extensão [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Propriedades Semânticas Extra Especiais].", - "sesp-property-approved-by": "Aprovada por", - "sesp-property-approved-by-desc": "\"$1\" identifica o utilizador que definiu o estado de aprovação da página e é fornecida pela extensão [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Propriedades Semânticas Extra Especiais].", - "sesp-property-approved-date": "Data de aprovação", - "sesp-property-approved-date-desc": "\"$1\" identifica a hora em que o estado de aprovação da página foi definido e é fornecida pela extensão [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Propriedades Semânticas Extra Especiais].", - "sesp-property-approved-status": "Estado de aprovação", - "sesp-property-approved-status-desc": "\"$1\" identifica o estado de aprovação de uma página e é fornecida pela extensão [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Propriedades Semânticas Extra Especiais].", "sesp-property-user-registration-date": "Data de registo do utilizador", "sesp-property-user-edit-count": "Contagem de edições do utilizador", "sesp-property-user-block": "Bloqueios do utilizador", diff --git a/i18n/qqq.json b/i18n/qqq.json index a3b5a44..dd16bb9 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -29,14 +29,6 @@ "sesp-property-talk-revisions": "{{Doc-smw-sp|extension=SESP}}", "sesp-property-talk-revisions-desc": "{{Doc-smw-sp-desc|extension=SESP}}", "sesp-property-shorturl": "{{Doc-smw-sp|extension=SESP}}\n{{Identical|Short URL}}", - "sesp-property-approved-rev": "{{Doc-smw-sp|extension=SESP}}", - "sesp-property-approved-rev-desc": "{{Doc-smw-sp-desc|extension=SESP}}", - "sesp-property-approved-by": "{{Doc-smw-sp|extension=SESP}}", - "sesp-property-approved-by-desc": "{{Doc-smw-sp-desc|extension=SESP}}", - "sesp-property-approved-date": "{{Doc-smw-sp|extension=SESP}}", - "sesp-property-approved-date-desc": "{{Doc-smw-sp-desc|extension=SESP}}", - "sesp-property-approved-status": "{{Doc-smw-sp|extension=SESP}}", - "sesp-property-approved-status-desc": "{{Doc-smw-sp-desc|extension=SESP}}", "sesp-property-user-registration-date": "{{Doc-smw-sp|extension=SESP}}", "sesp-property-user-registration-date-desc": "{{Doc-smw-sp-desc|extension=SESP}}", "sesp-property-user-edit-count": "{{Doc-smw-sp|extension=SESP}}", diff --git a/i18n/roa-tara.json b/i18n/roa-tara.json index 238d3fb..0158fad 100644 --- a/i18n/roa-tara.json +++ b/i18n/roa-tara.json @@ -18,14 +18,6 @@ "sesp-property-revisions": "Numere de le revisiune", "sesp-property-talk-revisions": "Numere de le revisiune de le pàggene de le 'ngazzaminde", "sesp-property-shorturl": "URL corte", - "sesp-property-approved-rev": "Revisione approvate", - "sesp-property-approved-rev-desc": "\"$1\" reggìstre l'ID d'a revisione de 'na pàgene ca ha state approvate. Jè date da l'estenzione [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Probbietà Semnadeche Extra e Speciale].", - "sesp-property-approved-by": "Approvate da", - "sesp-property-approved-by-desc": "\"$1\" reggìstre l'utende ca ave 'mbostate 'u state d'a pàgene. Jè date da l'estenzione [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Probbietà Semnadeche Extra e Speciale].", - "sesp-property-approved-date": "Date de approvazzione", - "sesp-property-approved-date-desc": "\"$1\" reggìstre l'orarie de quanne 'u state d'a pàgene ha state mise cumme approvate. Jè date da l'estenzione [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Probbietà Semnadeche Extra e Speciale].", - "sesp-property-approved-status": "State de approvazzione", - "sesp-property-approved-status-desc": "\"$1\" reggìstre 'u state de approvazzione d'a pàgene. Jè date da l'estenzione [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Probbietà Semnadeche Extra e Speciale].", "sesp-property-user-registration-date": "Date de reggistrazione de l'utende", "sesp-property-user-edit-count": "Condatore de le cangiaminde de l'utende", "sesp-property-user-block": "Blocche de l'utende", diff --git a/i18n/ru.json b/i18n/ru.json index 1dc050e..3efb073 100644 --- a/i18n/ru.json +++ b/i18n/ru.json @@ -32,14 +32,6 @@ "sesp-property-revisions": "Количество правок", "sesp-property-talk-revisions": "Количество правок страницы обсуждения", "sesp-property-shorturl": "Короткая ссылка", - "sesp-property-approved-rev": "Подтверждённая версия", - "sesp-property-approved-rev-desc": "\"$1\" определяет ID версии страницы, которая была подтверждена. Предоставляется с помощью расширения [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-by": "Утвержден", - "sesp-property-approved-by-desc": "\"$1\" определяет пользователя, который установил статус утверждения страницы. Предоставляется расширением [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-date": "Утвержденная дата", - "sesp-property-approved-date-desc": "\"$1\" определяет время, когда был установлен статус утверждения страницы. Предоставляется расширением [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-status": "Статус утверждения", - "sesp-property-approved-status-desc": "«$1» определяет статус одобрения страницы. Предоставляется расширением [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-user-registration-date": "Дата регистрации пользователя", "sesp-property-user-edit-count": "Число правок участника", "sesp-property-user-block": "Блокировка участника", diff --git a/i18n/sl.json b/i18n/sl.json index 6dcd794..8c76119 100644 --- a/i18n/sl.json +++ b/i18n/sl.json @@ -12,6 +12,5 @@ "sesp-property-view-count": "Število ogledov strani", "sesp-property-subpages": "Podstran", "sesp-property-revisions": "Število redakcij", - "sesp-property-approved-date": "Datum odobritve", "sesp-property-approved-status": "Stanje odobritve" } diff --git a/i18n/sr-ec.json b/i18n/sr-ec.json index fbcf793..4423323 100644 --- a/i18n/sr-ec.json +++ b/i18n/sr-ec.json @@ -14,10 +14,6 @@ "sesp-property-subpages": "Подстраница", "sesp-property-revisions": "Број измена", "sesp-property-shorturl": "Скраћени URL", - "sesp-property-approved-rev": "Одобрена измена", - "sesp-property-approved-by": "Одобрено од", - "sesp-property-approved-date": "Датум одобравања", - "sesp-property-approved-status": "Статус одобравања", "sesp-property-user-registration-date": "Датум корисничке регистрације", "sesp-property-user-edit-count": "Број корисничких измена", "sesp-property-user-block": "Влокирање корисника", diff --git a/i18n/sr-el.json b/i18n/sr-el.json index b16fdff..5f662b2 100644 --- a/i18n/sr-el.json +++ b/i18n/sr-el.json @@ -9,8 +9,5 @@ "sesp-property-mimetype": "MIME tip", "sesp-property-mediatype": "Vrsta medija", "sesp-property-shorturl": "Skraćeni URL", - "sesp-property-approved-rev": "Odobrena izmena", - "sesp-property-approved-date": "Datum odobravanja", - "sesp-property-approved-status": "Status odobravanja", "sesp-property-user-edit-count": "Broj korisničkih izmena" } diff --git a/i18n/sv.json b/i18n/sv.json index e4b47ef..6b3ec85 100644 --- a/i18n/sv.json +++ b/i18n/sv.json @@ -19,9 +19,6 @@ "sesp-property-revisions": "Antal sidredigeringar", "sesp-property-talk-revisions": "Antal redigeringar på diskussionssidan", "sesp-property-shorturl": "Kortlänk", - "sesp-property-approved-rev": "Godkänd version", - "sesp-property-approved-by": "Godkänd av", - "sesp-property-approved-date": "Datum för godkännande", "sesp-property-user-registration-date": "Användarens registreringsdatum", "sesp-property-user-edit-count": "Användarens antal redigeringar", "sesp-property-user-block": "Användarblockering", diff --git a/i18n/te.json b/i18n/te.json index b0ad80f..4f1459a 100644 --- a/i18n/te.json +++ b/i18n/te.json @@ -11,10 +11,6 @@ "sesp-property-revisions": "కూర్పుల సంఖ్య", "sesp-property-talk-revisions": "చర్చా పేజీ కూర్పుల సంఖ్య", "sesp-property-shorturl": "పొట్టి URL", - "sesp-property-approved-rev": "ఆమోదించిన కూర్పు", - "sesp-property-approved-by": "ఆమోదించిన వారు", - "sesp-property-approved-date": "ఆమోదించిన తేదీ", - "sesp-property-approved-status": "ఆమోదపు స్థితి", "sesp-property-user-registration-date": "వాడుకరి నమోదైన తేదీ", "sesp-property-user-edit-count": "వాడుకరి దిద్దుబాట్ల సంఖ్య", "sesp-property-user-block": "వాడుకరి నిరోధం", diff --git a/i18n/tr.json b/i18n/tr.json index 78f30d3..b47a1ff 100644 --- a/i18n/tr.json +++ b/i18n/tr.json @@ -29,14 +29,6 @@ "sesp-property-talk-revisions-desc": "\"$1\" bir tartışma sayfasının revizyon sayısını kaydeder. [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Ekstra Özel Özellikler] uzantısı tarafından sağlanır.", "sesp-property-shorturl": "Kısa bağlantı", "sesp-property-shorturl-desc": "\"$1\" bir sayfanın kısa URL'sini kaydeder. [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Ekstra Özel Özellikler] uzantısı tarafından sağlanır.", - "sesp-property-approved-rev": "Onaylanan düzenleme", - "sesp-property-approved-rev-desc": "\"$1\", onaylanan bir sayfanın düzeltme kimliğini kaydeder. [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Ekstra Özel Özellikler] uzantısı tarafından sağlanır.", - "sesp-property-approved-by": "Onaylayan:", - "sesp-property-approved-by-desc": "\"$1\", sayfanın onay durumunu ayarlayan kullanıcıyı kaydeder. [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Ekstra Özel Özellikler] uzantısı tarafından sağlanır.", - "sesp-property-approved-date": "Onay tarihi", - "sesp-property-approved-date-desc": "\"$1\", sayfanın onay durumunun ayarlandığı zamanı kaydeder. [Https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Ekstra Özel Özellikler] uzantısı tarafından sağlanır.", - "sesp-property-approved-status": "Onay durumu", - "sesp-property-approved-status-desc": "\"$1\" bir sayfanın onay durumunu kaydeder. [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Ekstra Özel Özellikler] uzantısı tarafından sağlanır.", "sesp-property-user-registration-date": "Kullanıcı kayıt tarihi", "sesp-property-user-registration-date-desc": "\"$1\" kullanıcının kayıt tarihini kaydeder. [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Ekstra Özel Özellikler] uzantısı tarafından sağlanır.", "sesp-property-user-edit-count": "Kullanıcı düzenleme sayısı", diff --git a/i18n/uk.json b/i18n/uk.json index 359aab7..874e614 100644 --- a/i18n/uk.json +++ b/i18n/uk.json @@ -33,14 +33,6 @@ "sesp-property-talk-revisions-desc": "«$1» записує кількість версій сторінки обговорення. Забезпечується розширенням [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-shorturl": "Коротке посилання", "sesp-property-shorturl-desc": "«$1» записує коротку URL-адресу сторінки. Забезпечується розширенням [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", - "sesp-property-approved-rev": "Затверджена версія", - "sesp-property-approved-rev-desc": "«$1» записує ідентифікатор перевіреної (затвердженої) версії сторінки. Забезпечується розширенням [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties (SESP)].", - "sesp-property-approved-by": "Затверджено", - "sesp-property-approved-by-desc": "«$1» записує користувача який встановив статус «перевірено» («затверджено»). Забезпечується розширенням [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties (SESP)].", - "sesp-property-approved-date": "Дати затвердження", - "sesp-property-approved-date-desc": "«$1» записує час, коли було встановлено статус «перевірено» («затверджено»). Забезпечується розширенням [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties (SESP)].", - "sesp-property-approved-status": "Статус затвердження", - "sesp-property-approved-status-desc": "«$1» записує статус затвердження. Забезпечується розширенням [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties (SESP)].", "sesp-property-user-registration-date": "Дата реєстрації користувача", "sesp-property-user-registration-date-desc": "«$1» записує дату реєстрації користувача. Забезпечується розширенням [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic Extra Special Properties].", "sesp-property-user-edit-count": "Кількість редагувань користувача", diff --git a/i18n/zh-hans.json b/i18n/zh-hans.json index 0b5a3b4..99ced75 100644 --- a/i18n/zh-hans.json +++ b/i18n/zh-hans.json @@ -23,14 +23,6 @@ "sesp-property-revisions": "修订版本数", "sesp-property-talk-revisions": "讨论页面修订版本数", "sesp-property-shorturl": "简短URL", - "sesp-property-approved-rev": "已认可版本", - "sesp-property-approved-rev-desc": "“$1”识别已认可页面的修订版本ID,并由[https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties 语义额外特殊属性]扩展提供。", - "sesp-property-approved-by": "批准自", - "sesp-property-approved-by-desc": "“$1”识别设置页面通过状态的用户,并由[https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties 语义额外特殊属性]扩展提供。", - "sesp-property-approved-date": "通过日期", - "sesp-property-approved-date-desc": "“$1”识别页面通过状态的设置时间,并由[https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties 语义额外特殊属性]扩展提供。", - "sesp-property-approved-status": "通过状态", - "sesp-property-approved-status-desc": "“$1”识别由通过修订覆盖的页面通过状态,并由[https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties 语义额外特殊属性]扩展提供。", "sesp-property-user-registration-date": "用户注册日期", "sesp-property-user-edit-count": "用户编辑数", "sesp-property-user-block": "用户封禁", diff --git a/i18n/zh-hant.json b/i18n/zh-hant.json index 4fef408..64c222a 100644 --- a/i18n/zh-hant.json +++ b/i18n/zh-hant.json @@ -34,14 +34,6 @@ "sesp-property-talk-revisions-desc": "「$1」用來記錄討論頁的修訂版本數量,此由 [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic 額外特殊屬性]擴充功能提供。", "sesp-property-shorturl": "簡短的網址", "sesp-property-shorturl-desc": "「$1」用來記錄頁面的所有短網址,此由 [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic 額外特殊屬性]擴充功能提供。", - "sesp-property-approved-rev": "已核准修訂", - "sesp-property-approved-rev-desc": "「$1」用來記錄已認可的頁面修訂版本 ID,此由 [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic 額外特殊屬性]擴充功能提供。", - "sesp-property-approved-by": "核准由", - "sesp-property-approved-by-desc": "「$1」用來記錄做出設定頁面核准狀態的用戶,此由 [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic 額外特殊屬性]擴充功能提供。", - "sesp-property-approved-date": "核准日期", - "sesp-property-approved-date-desc": "「$1」用來記錄頁面核准狀態的設定時間,此由 [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic 額外特殊屬性]擴充功能提供。", - "sesp-property-approved-status": "核准狀態", - "sesp-property-approved-status-desc": "「$1」用來記錄頁面的核准狀態,此由 [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic 額外特殊屬性]擴充功能提供。", "sesp-property-user-registration-date": "使用者註冊日期", "sesp-property-user-registration-date-desc": "「$1」用來記錄使用者的註冊日期,此由 [https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties Semantic 額外特殊屬性]擴充功能提供。", "sesp-property-user-edit-count": "使用者編輯次數", diff --git a/src/PropertyAnnotators/ApprovedByPropertyAnnotator.php b/src/PropertyAnnotators/ApprovedByPropertyAnnotator.php deleted file mode 100644 index 6b683f0..0000000 --- a/src/PropertyAnnotators/ApprovedByPropertyAnnotator.php +++ /dev/null @@ -1,94 +0,0 @@ -appFactory = $appFactory; - } - - /** - * @since 2.0 - * - * @param User $approvedBy - */ - public function setApprovedBy( $approvedBy ) { - $this->approvedBy = $approvedBy; - } - - /** - * {@inheritDoc} - */ - public function isAnnotatorFor( DIProperty $property ) { - return $property->getKey() === self::PROP_ID; - } - - /** - * {@inheritDoc} - */ - public function addAnnotation( DIProperty $property, SemanticData $semanticData ) { - - if ( $this->approvedBy === null && class_exists( 'ApprovedRevs' ) ) { - $logReader = $this->appFactory->newDatabaseLogReader( - $semanticData->getSubject()->getTitle(), - 'approval' - ); - - $this->approvedBy = $logReader->getUserForLogEntry(); - } - - $dataItem = $this->getDataItem(); - - if ( $dataItem ) { - $semanticData->addPropertyObjectValue( $property, $dataItem ); - } else { - $semanticData->removeProperty( $property ); - } - } - - private function getDataItem() { - if ( $this->approvedBy instanceof User ) { - $userPage = $this->approvedBy->getUserPage(); - - if ( $userPage instanceof Title ) { - return DIWikiPage::newFromTitle( $userPage ); - } - } - } - -} diff --git a/src/PropertyAnnotators/ApprovedDatePropertyAnnotator.php b/src/PropertyAnnotators/ApprovedDatePropertyAnnotator.php deleted file mode 100644 index 0a3c56b..0000000 --- a/src/PropertyAnnotators/ApprovedDatePropertyAnnotator.php +++ /dev/null @@ -1,96 +0,0 @@ -appFactory = $appFactory; - } - - /** - * @since 2.0 - * - * @param Integer $approvedDate - */ - public function setApprovedDate( $approvedDate ) { - $this->approvedDate = $approvedDate; - } - - /** - * {@inheritDoc} - */ - public function isAnnotatorFor( DIProperty $property ) { - return $property->getKey() === self::PROP_ID; - } - - /** - * {@inheritDoc} - */ - public function addAnnotation( DIProperty $property, SemanticData $semanticData ) { - - if ( $this->approvedDate === null && class_exists( 'ApprovedRevs' ) ) { - - $logReader = $this->appFactory->newDatabaseLogReader( - $semanticData->getSubject()->getTitle(), - 'approval' - ); - - $this->approvedDate = $logReader->getDateOfLogEntry(); - } - - $dataItem = $this->getDataItem(); - - if ( $dataItem ) { - $semanticData->addPropertyObjectValue( $property, $dataItem ); - } else { - $semanticData->removeProperty( $property ); - } - } - - private function getDataItem() { - if ( $this->approvedDate ) { - $date = $this->approvedDate; - return new DITime( - DITime::CM_GREGORIAN, - $date->format( 'Y' ), - $date->format( 'm' ), - $date->format( 'd' ), - $date->format( 'H' ), - $date->format( 'i' ) - ); - } - } - -} diff --git a/src/PropertyAnnotators/ApprovedRevPropertyAnnotator.php b/src/PropertyAnnotators/ApprovedRevPropertyAnnotator.php deleted file mode 100644 index 8e70296..0000000 --- a/src/PropertyAnnotators/ApprovedRevPropertyAnnotator.php +++ /dev/null @@ -1,84 +0,0 @@ -appFactory = $appFactory; - } - - /** - * @since 2.0 - * - * @param Integer $approvedRev - */ - public function setApprovedRev( $approvedRev ) { - $this->approvedRev = $approvedRev; - } - - /** - * {@inheritDoc} - */ - public function isAnnotatorFor( DIProperty $property ) { - return $property->getKey() === self::PROP_ID; - } - - public function getDataItem() { - return new DINumber( $this->approvedRev ); - } - - /** - * {@inheritDoc} - */ - public function addAnnotation( DIProperty $property, SemanticData $semanticData ) { - - if ( $this->approvedRev === null && class_exists( 'ApprovedRevs' ) ) { - $this->approvedRev = ApprovedRevs::getApprovedRevID( - $semanticData->getSubject()->getTitle() - ); - } - - if ( is_numeric( $this->approvedRev ) ) { - $semanticData->addPropertyObjectValue( - $property, - $this->getDataItem() - ); - } else { - $semanticData->removeProperty( $property ); - } - } - -} diff --git a/src/PropertyAnnotators/ApprovedStatusPropertyAnnotator.php b/src/PropertyAnnotators/ApprovedStatusPropertyAnnotator.php deleted file mode 100644 index 116224d..0000000 --- a/src/PropertyAnnotators/ApprovedStatusPropertyAnnotator.php +++ /dev/null @@ -1,82 +0,0 @@ -appFactory = $appFactory; - } - - /** - * @since 2.0 - * - * @param string $approvedStatus - */ - public function setApprovedStatus( $approvedStatus ) { - $this->approvedStatus = $approvedStatus; - } - - /** - * {@inheritDoc} - */ - public function isAnnotatorFor( DIProperty $property ) { - return $property->getKey() === self::PROP_ID; - } - - /** - * {@inheritDoc} - */ - public function addAnnotation( DIProperty $property, SemanticData $semanticData ) { - - if ( $this->approvedStatus === null && class_exists( 'ApprovedRevs' ) ) { - - $logReader = $this->appFactory->newDatabaseLogReader( - $semanticData->getSubject()->getTitle(), 'approval' - ); - - $this->approvedStatus = $logReader->getStatusOfLogEntry(); - } - - if ( is_string( $this->approvedStatus ) && $this->approvedStatus !== '' ) { - $semanticData->addPropertyObjectValue( - $property, - new DIString( $this->approvedStatus ) - ); - } else { - $semanticData->removeProperty( $property ); - } - } - -} diff --git a/src/PropertyAnnotators/DispatchingPropertyAnnotator.php b/src/PropertyAnnotators/DispatchingPropertyAnnotator.php index f3bf5be..cb47b5e 100644 --- a/src/PropertyAnnotators/DispatchingPropertyAnnotator.php +++ b/src/PropertyAnnotators/DispatchingPropertyAnnotator.php @@ -111,22 +111,6 @@ private function initDefaultPropertyAnnotators() { return new PageViewsPropertyAnnotator( $appFactory ); }, - ApprovedRevPropertyAnnotator::PROP_ID => function ( $appFactory ) { - return new ApprovedRevPropertyAnnotator( $appFactory ); - }, - - ApprovedByPropertyAnnotator::PROP_ID => function ( $appFactory ) { - return new ApprovedByPropertyAnnotator( $appFactory ); - }, - - ApprovedDatePropertyAnnotator::PROP_ID => function ( $appFactory ) { - return new ApprovedDatePropertyAnnotator( $appFactory ); - }, - - ApprovedStatusPropertyAnnotator::PROP_ID => function ( $appFactory ) { - return new ApprovedStatusPropertyAnnotator( $appFactory ); - }, - UserRegistrationDatePropertyAnnotator::PROP_ID => function( $appFactory ) { return new UserRegistrationDatePropertyAnnotator( $appFactory ); }, diff --git a/tests/phpunit/Unit/PropertyAnnotators/ApprovedByPropertyAnnotatorTest.php b/tests/phpunit/Unit/PropertyAnnotators/ApprovedByPropertyAnnotatorTest.php deleted file mode 100644 index f33ff47..0000000 --- a/tests/phpunit/Unit/PropertyAnnotators/ApprovedByPropertyAnnotatorTest.php +++ /dev/null @@ -1,90 +0,0 @@ -appFactory = $this->getMockBuilder( '\SESP\AppFactory' ) - ->disableOriginalConstructor() - ->getMock(); - - $this->property = new DIProperty( '___APPROVEDBY' ); - } - - public function testCanConstruct() { - - $this->assertInstanceOf( - ApprovedByPropertyAnnotator::class, - new ApprovedByPropertyAnnotator( $this->appFactory ) - ); - } - - public function testIsAnnotatorFor() { - - $annotator = new ApprovedByPropertyAnnotator( - $this->appFactory - ); - - $this->assertTrue( - $annotator->isAnnotatorFor( $this->property ) - ); - } - - public function testAddAnnotation() { - $user = User::newFromName( "UnitTest" ); - $semanticData = $this->getMockBuilder( '\SMW\SemanticData' ) - ->disableOriginalConstructor() - ->getMock(); - - $semanticData->expects( $this->once() ) - ->method( 'addPropertyObjectValue' ) - ->with( - $this->equalTo( $this->property ), - $this->equalTo( DIWikiPage::newFromTitle( $user->getUserPage() ) ) ); - $annotator = new ApprovedByPropertyAnnotator( - $this->appFactory - ); - - $annotator->setApprovedBy( $user ); - - $annotator->addAnnotation( $this->property, $semanticData ); - } - - public function testRemoval() { - $semanticData = $this->getMockBuilder( '\SMW\SemanticData' ) - ->disableOriginalConstructor() - ->getMock(); - - $semanticData->expects( $this->once() ) - ->method( 'removeProperty' ) - ->with( $this->equalTo( $this->property ) ); - - $annotator = new ApprovedByPropertyAnnotator( - $this->appFactory - ); - - $annotator->setApprovedBy( false ); - - $annotator->addAnnotation( $this->property, $semanticData ); - } -} diff --git a/tests/phpunit/Unit/PropertyAnnotators/ApprovedDatePropertyAnnotatorTest.php b/tests/phpunit/Unit/PropertyAnnotators/ApprovedDatePropertyAnnotatorTest.php deleted file mode 100644 index 2554d5a..0000000 --- a/tests/phpunit/Unit/PropertyAnnotators/ApprovedDatePropertyAnnotatorTest.php +++ /dev/null @@ -1,103 +0,0 @@ -appFactory = $this->getMockBuilder( '\SESP\AppFactory' ) - ->disableOriginalConstructor() - ->getMock(); - - $this->property = new DIProperty( '___APPROVEDDATE' ); - } - - public function testCanConstruct() { - - $this->assertInstanceOf( - ApprovedDatePropertyAnnotator::class, - new ApprovedDatePropertyAnnotator( $this->appFactory ) - ); - } - - public function testIsAnnotatorFor() { - - $annotator = new ApprovedDatePropertyAnnotator( - $this->appFactory - ); - - $this->assertTrue( - $annotator->isAnnotatorFor( $this->property ) - ); - } - - protected static function getDITime( MWTimestamp $time ) { - return new DITime( - DITime::CM_GREGORIAN, - $time->format( 'Y' ), - $time->format( 'm' ), - $time->format( 'd' ), - $time->format( 'H' ), - $time->format( 'i' ) - ); - } - - public function testAddAnnotation() { - $now = new MWTimestamp( wfTimestampNow() ); - $time = self::getDITime( $now ); - $semanticData = $this->getMockBuilder( '\SMW\SemanticData' ) - ->disableOriginalConstructor() - ->getMock(); - - $semanticData->expects( $this->once() ) - ->method( 'addPropertyObjectValue' ) - ->with( - $this->equalTo( $this->property ), - $this->equalTo( $time ) - ); - - $annotator = new ApprovedDatePropertyAnnotator( - $this->appFactory - ); - - $annotator->setApprovedDate( $now ); - $annotator->addAnnotation( $this->property, $semanticData ); - } - - public function testRemoval() { - $semanticData = $this->getMockBuilder( '\SMW\SemanticData' ) - ->disableOriginalConstructor() - ->getMock(); - - $semanticData->expects( $this->once() ) - ->method( 'removeProperty' ) - ->with( $this->equalTo( $this->property ) ); - - $annotator = new ApprovedDatePropertyAnnotator( - $this->appFactory - ); - - $annotator->setApprovedDate( false ); - - $annotator->addAnnotation( $this->property, $semanticData ); - } -} diff --git a/tests/phpunit/Unit/PropertyAnnotators/ApprovedRevPropertyAnnotatorTest.php b/tests/phpunit/Unit/PropertyAnnotators/ApprovedRevPropertyAnnotatorTest.php deleted file mode 100644 index 868aea8..0000000 --- a/tests/phpunit/Unit/PropertyAnnotators/ApprovedRevPropertyAnnotatorTest.php +++ /dev/null @@ -1,90 +0,0 @@ -appFactory = $this->getMockBuilder( '\SESP\AppFactory' ) - ->disableOriginalConstructor() - ->getMock(); - - $this->property = new DIProperty( '___APPROVED' ); - } - - public function testCanConstruct() { - - $this->assertInstanceOf( - ApprovedRevPropertyAnnotator::class, - new ApprovedRevPropertyAnnotator( $this->appFactory ) - ); - } - - public function testIsAnnotatorFor() { - - $annotator = new ApprovedRevPropertyAnnotator( - $this->appFactory - ); - - $this->assertTrue( - $annotator->isAnnotatorFor( $this->property ) - ); - } - - public function testAddAnnotation() { - $semanticData = $this->getMockBuilder( '\SMW\SemanticData' ) - ->disableOriginalConstructor() - ->getMock(); - - $semanticData->expects( $this->once() ) - ->method( 'addPropertyObjectValue' ) - ->with( - $this->equalTo( $this->property ), - $this->equalTo( new DINumber( 42 ) ) ); - - $annotator = new ApprovedRevPropertyAnnotator( - $this->appFactory - ); - - $annotator->setApprovedRev( 42 ); - - $annotator->addAnnotation( $this->property, $semanticData ); - } - - public function testRemoval() { - $semanticData = $this->getMockBuilder( '\SMW\SemanticData' ) - ->disableOriginalConstructor() - ->getMock(); - - $semanticData->expects( $this->once() ) - ->method( 'removeProperty' ) - ->with( $this->equalTo( $this->property ) ); - - $annotator = new ApprovedRevPropertyAnnotator( - $this->appFactory - ); - - $annotator->setApprovedRev( false ); - - $annotator->addAnnotation( $this->property, $semanticData ); - } -} diff --git a/tests/phpunit/Unit/PropertyAnnotators/ApprovedStatusPropertyAnnotatorTest.php b/tests/phpunit/Unit/PropertyAnnotators/ApprovedStatusPropertyAnnotatorTest.php deleted file mode 100644 index a04baee..0000000 --- a/tests/phpunit/Unit/PropertyAnnotators/ApprovedStatusPropertyAnnotatorTest.php +++ /dev/null @@ -1,89 +0,0 @@ -appFactory = $this->getMockBuilder( '\SESP\AppFactory' ) - ->disableOriginalConstructor() - ->getMock(); - - $this->property = new DIProperty( '___APPROVEDSTATUS' ); - } - - public function testCanConstruct() { - - $this->assertInstanceOf( - ApprovedStatusPropertyAnnotator::class, - new ApprovedStatusPropertyAnnotator( $this->appFactory ) - ); - } - - public function testIsAnnotatorFor() { - - $annotator = new ApprovedStatusPropertyAnnotator( - $this->appFactory - ); - - $this->assertTrue( - $annotator->isAnnotatorFor( $this->property ) - ); - } - - public function testAddAnnotation() { - $semanticData = $this->getMockBuilder( '\SMW\SemanticData' ) - ->disableOriginalConstructor() - ->getMock(); - - $semanticData->expects( $this->once() ) - ->method( 'addPropertyObjectValue' ) - ->with( - $this->equalTo( $this->property ), - $this->equalTo( new DIString( "checkme" ) ) ); - - $annotator = new ApprovedStatusPropertyAnnotator( - $this->appFactory - ); - - $annotator->setApprovedStatus( "checkme" ); - - $annotator->addAnnotation( $this->property, $semanticData ); - } - - public function testRemoval() { - $semanticData = $this->getMockBuilder( '\SMW\SemanticData' ) - ->disableOriginalConstructor() - ->getMock(); - - $semanticData->expects( $this->once() ) - ->method( 'removeProperty' ) - ->with( $this->equalTo( $this->property ) ); - - $annotator = new ApprovedStatusPropertyAnnotator( - $this->appFactory - ); - - $annotator->setApprovedStatus( false ); - - $annotator->addAnnotation( $this->property, $semanticData ); - } -}