Change record status: 
Project: 
Introduced in branch: 
7.x-1.x
Introduced in version: 
7.x-1.0-beta5
Description: 

The [current-page:arg:N] tokens have been renamed to [current-page:url:unaliased:args:value:N].

Before:
[current-page:arg:0]

After:
[current-page:url:unaliased:args:value:0] (The first value, of the array of arguments, of the unaliased URL of the current page).

Impacts: 
Site builders, administrators, editors
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done

Comments

filippo.piffaretti’s picture

I was configuring the content types of my web site. I wanted to set a custom "File Directory" for all the images added to a specific post-article.

The token I am using is: [current-page:url:args:value:1]

This retrieve the NID of article (Drupal 7.16).

jienckebd’s picture

Thanks -- it was broken for me too.

[current-page:url:args:value:1] works.

ydahi’s picture

Thanks for the info, documentation really needs to be updated

waveer’s picture

Thanks at first!
If the [current-page:arg:N] is not worked now, why not remove from the "REPLACEMENT PATTERNS", it disturb me first, I search on google and then find this answer.

code is poetry