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

--- Comment #15 from Nathan Larson <[email protected]> ---
This patch adds a "redirpageid" log parameter to the API that only shows up
when there's a redirect page created. So, e.g., suppose "Foo" is moved to "Bar"
with a redirect. You'd get something like this for list=recentchanges:

      <rc type="log" ns="0" title="Foo" pageid="15" revid="0" old_revid="0"
rcid="15" logid="14" logtype="move" logaction="move">
        <move new_ns="0" new_title="Bar" nullrevid="28" redirpageid="16" />

But suppose the redirect is suppressed; then you'd get something like this:

      <rc type="log" ns="0" title="Foo" pageid="15" revid="0" old_revid="0"
rcid="15" logid="14" logtype="move" logaction="move">
        <move new_ns="0" new_title="Bar" suppressedredirect="" nullrevid="28"
/>

Is that what you want, or do you want redirpageid to show up as, e.g., 0 if the
redirect is suppressed?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to