Development

#4117 (typo in 1_1 Chapter 9, Rules and Patterns)

You must first sign up to be able to contribute.

Ticket #4117 (closed documentation: fixed)

Opened 4 months ago

Last modified 3 months ago

typo in 1_1 Chapter 9, Rules and Patterns

Reported by: caponica Assigned to: dwhittle
Priority: minor Milestone:
Component: other Version: 1.1.0
Keywords: Cc:
Qualification: Ready for core team

Description

In the Rules and Patterns section of Chapter 9 there is a typo and a possible formatting error.

1) Formatting error?
my_rule: url: /foo/:bar.:format param: { module: mymodule, action: myaction }

would be better as:
my_rule: url: /foo/:bar.:format[[BR]] param: { module: mymodule, action: myaction }

(i.e. with an extra line break)

2) Typo:
"That way, an external URL like 'foo/12.xml' will math my_rule and execute mymodule/muaction with two parameters:"

Should be:
That way, an external URL like 'foo/12.xml' will match my_rule and execute mymodule/myaction with two parameters:

Over to you!

Christian

Change History

08/01/08 22:15:21 changed by caponica

Oops...

The better version of (1) should be:
my_rule: url: /foo/:bar.:format
param: { module: mymodule, action: myaction }

(For some reason the wikiformatting doesn't seem to like the BR to be touching the 'format' string)

C

08/01/08 23:59:19 changed by dwhittle

  • owner changed from fabien to dwhittle.
  • status changed from new to assigned.
  • qualification changed from Unreviewed to Ready for core team.

I fixed the typos in r10605, but I am unsure how to fix line break in the note. fabien?

08/26/08 23:17:49 changed by FabianLange

it is picky about spaces. it needs 1x '>' 5x ' ' followed by correct yml spacing. fixed this

08/26/08 23:18:18 changed by FabianLange

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [11181]) doc: fixed yml presentation in sidebar of chapter 9. fixes #4117