https://bugzilla.wikimedia.org/show_bug.cgi?id=37588

       Web browser: ---
             Bug #: 37588
           Summary: make sure page protection works for data items
           Product: MediaWiki extensions
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
        AssignedTo: wikidata-b...@lists.wikimedia.org
        ReportedBy: daniel.kinz...@wikimedia.de
                CC: wikidata-b...@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---


MediaWiki supports different levels of page protected. We should make sure this
protection is applied to changes to wikidata items.

If Title::userCan() is used everywhere to check access before any modifications
are applied, this *should* be sufficient, as that is supposed to check page
protection too. 

It's a bit unclear to me on what level the checks should be performed.
Probably, the API should check, and perhaps Item::save should check again.

There should also be unit tests checking that user permissions and page
protection are working.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to