Page MenuHomePhabricator

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



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:08 PM
bzimport set Reference to bz13768.

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

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!