api prop=info doesn't show create protection
Closed, ResolvedPublic


Author: cbm.wikipedia

The prop=info query with inprop=protection doesn't indicate when a page is protected from creation. This query



<?xml version="1.0" encoding="utf-8"?>

    <n from="Real_social_dynamics" to="Real social dynamics" />
    <page ns="0" title="Real social dynamics" missing="">
      <protection />


but the page is currently protected from creation.

Version: 1.13.x
Severity: enhancement

bzimport added a project: MediaWiki-API.Via ConduitNov 21 2014, 10:08 PM
bzimport set Reference to bz13768.
bzimport created this task.Via LegacyApr 16 2008, 8:16 PM
Catrope added a comment.Via ConduitApr 17 2008, 12:59 PM


does give the right results. Create protection affects all case variants because the pt_title field is case-insensitive. Fixed in r33473.

brion added a comment.Via ConduitApr 17 2008, 7:13 PM

Reverted r33473 and added a proper fix for the field's encoding in r33508. pt_title is now properly case-sensitive, matching the behavior of all other title fields.

If the field were meant to be case insensitive, it wouldn't work correctly as previously written!

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.