RE: [DOC-CVS] svn: /phpdoc/en/trunk/ appendices/aliases.xml appendices/ini.core.xml appendices/migration5.xml appendices/migration53.xml
appendices/reserved.xml appendices/tokens.xml chapters/tutorial.xml faq/using.xml features/commandline.xml featur
| From: | Jakub Vrana | Date: | Sun, 15 Apr 2012 21:48:42 +0000 |
| Subject: | RE: [DOC-CVS] svn: /phpdoc/en/trunk/ appendices/aliases.xml appendices/ini.core.xml appendices/migration5.xml appendices/migration53.xml appendices/reserved.xml appendices/tokens.xml chapters/tutorial.xml faq/using.xml features/commandline.xml featur |
||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-10071@lists.php.net to get a copy of this message | ||
Reverted for all languages:
http://svn.php.net/viewvc?view=revision&revision=325214
--
Jakub Vrana
From: Yannick Torrès [mailto:yannick.torres@gmail.com]
Sent: Thursday, April 05, 2012 1:04 AM
To: Philip Olson
Cc: Jakub Vrana; Jakub Vrana; doc-cvs@lists.php.net
Subject: Re: [DOC-CVS] svn: /phpdoc/en/trunk/ appendices/aliases.xml
appendices/ini.core.xml appendices/migration5.xml appendices/migration53.xml
appendices/reserved.xml appendices/tokens.xml chapters/tutorial.xml
faq/using.xml features/commandline.xml featur
Hi,
In FR, we have already reflect this change.
If you revert, we have a lot of work to reflect this revertion :/
Best,
Yannick
2012/4/5 Philip Olson <philip@roshambo.org>
Hello Jakub,
That's a reasonable description, and it appears you updated PhD
to better represent the language constructs as non-functions. So
with this said, I think reverting is the best course of action.
Sorry for the trouble and late response, but the strong
translation union is pushing hard to do less work. :)
And this is one more reason to create a new PhD release soon, so
let's do that. Hannes?
Regards,
Philip
On Mar 25, 2012, at 10:01 PM, Jakub Vrana wrote:
> One of the reasons why I've made this change is that
> <function>include</function> is rendered as include() which suggests that
> include should be used with parentheses. But it is discouraged for example
> because of this code:
>
> if (include('a') == false)
>
> It is evaluated as: include file named by the result of expression ('a')
==
> false - which is false. The correct form is:
>
> If ((include 'a') == false)
>
> I think that I will be able to hack PhD in a way that
include and other
> language constructs (notably return which have a similar problem) will
be
> rendered without parentheses (and with a proper link). But it will be a
> hack. Please let me know if you agree with it and I will revert this
change.
>
> And sorry about the pain for translators - I will try to do similar
changes
> on phpdoc-all next time.
>
> -----Original Message-----
> From: Philip Olson [mailto:philip@roshambo.org]
> Sent: Sunday, March 25, 2012 10:25 AM
> To: Jakub Vrana
> Cc: doc-cvs@lists.php.net
> Subject: Re: [DOC-CVS] svn: /phpdoc/en/trunk/ appendices/aliases.xml
> appendices/ini.core.xml appendices/migration5.xml
appendices/migration53.xml
> appendices/reserved.xml appendices/tokens.xml chapters/tutorial.xml
> faq/using.xml features/commandline.xml features/re
>
> Hello Jakub,
>
> I do not think this change should be made, and that we should instead
update
> PhD where needed. I'd much rather see <function>foo</function> in the
code,
> than a link/literal combo.
> And besides, think of the poor translators
:)
>
> Regards,
> Philip
>
> On Mar 25, 2012, at 1:39 AM, Jakub Vrana wrote:
>
>> vrana Sun, 25 Mar 2012 08:39:30 +0000
>>
>> Revision: http://svn.php.net/viewvc?view=revision&revision=324522
>>
>> Log:
>> Display language constructs without parentheses
>>
>> Side effect of this change is that include, require and return are now
> properly linked. They weren't because they don't live inside <refentry> so
> PhD doesn't know about them.
>>
>> Changed paths:
>> U phpdoc/en/trunk/appendices/aliases.xml
>> U phpdoc/en/trunk/appendices/ini.core.xml
>> U phpdoc/en/trunk/appendices/migration5.xml
>> U phpdoc/en/trunk/appendices/migration53.xml
>> U phpdoc/en/trunk/appendices/reserved.xml
>> U phpdoc/en/trunk/appendices/tokens.xml
>> U phpdoc/en/trunk/chapters/tutorial.xml
>> U phpdoc/en/trunk/faq/using.xml
>> U phpdoc/en/trunk/features/commandline.xml
>> U phpdoc/en/trunk/features/remote-files.xml
>> U phpdoc/en/trunk/internals2/ze1/zendapi/printing.xml
>> U phpdoc/en/trunk/language/basic-syntax.xml
>> U phpdoc/en/trunk/language/control-structures/continue.xml
>> U phpdoc/en/trunk/language/control-structures/include-once.xml
>> U phpdoc/en/trunk/language/control-structures/include.xml
>> U phpdoc/en/trunk/language/control-structures/require-once.xml
>> U phpdoc/en/trunk/language/control-structures/require.xml
>> U phpdoc/en/trunk/language/control-structures/return.xml
>> U phpdoc/en/trunk/language/functions.xml
>> U phpdoc/en/trunk/language/oop5/changelog.xml
>> U phpdoc/en/trunk/language/oop5/decon.xml
>> U phpdoc/en/trunk/language/oop5/magic.xml
>> U phpdoc/en/trunk/language/operators.xml
>> U phpdoc/en/trunk/language/types/callable.xml
>> U phpdoc/en/trunk/language/types/string.xml
>> U phpdoc/en/trunk/language/variables.xml
>> U phpdoc/en/trunk/language/wrappers/php.xml
>> U
> phpdoc/en/trunk/reference/apache/functions/apache-child-terminate.xml
>> U phpdoc/en/trunk/reference/apache/functions/virtual.xml
>> U phpdoc/en/trunk/reference/apc/ini.xml
>> U phpdoc/en/trunk/reference/com/variant.xml
>> U phpdoc/en/trunk/reference/errorfunc/functions/set-error-handler.xml
>> U phpdoc/en/trunk/reference/filesystem/functions/file.xml
>> U phpdoc/en/trunk/reference/filesystem/functions/readfile.xml
>> U phpdoc/en/trunk/reference/filesystem/ini.xml
>> U phpdoc/en/trunk/reference/funchand/functions/func-get-arg.xml
>> U phpdoc/en/trunk/reference/funchand/functions/func-get-args.xml
>> U phpdoc/en/trunk/reference/funchand/functions/func-num-args.xml
>> U phpdoc/en/trunk/reference/funchand/functions/function-exists.xml
>> U
>
phpdoc/en/trunk/reference/funchand/functions/register-shutdown-function.xml
>> U phpdoc/en/trunk/reference/inclued/book.xml
>> U phpdoc/en/trunk/reference/inclued/functions/inclued-get-data.xml
>> U phpdoc/en/trunk/reference/info/functions/get-include-path.xml
>> U phpdoc/en/trunk/reference/info/functions/get-included-files.xml
>> U phpdoc/en/trunk/reference/info/functions/main.xml
>> U phpdoc/en/trunk/reference/info/functions/restore-include-path.xml
>> U phpdoc/en/trunk/reference/info/functions/set-include-path.xml
>> U phpdoc/en/trunk/reference/misc/functions/die.xml
>> U phpdoc/en/trunk/reference/misc/functions/exit.xml
>> U phpdoc/en/trunk/reference/misc/functions/php-check-syntax.xml
>> U phpdoc/en/trunk/reference/network/functions/header.xml
>> U phpdoc/en/trunk/reference/nsapi/functions/nsapi-virtual.xml
>> U phpdoc/en/trunk/reference/outcontrol/book.xml
>> U phpdoc/en/trunk/reference/outcontrol/examples.xml
>> U phpdoc/en/trunk/reference/outcontrol/ini.xml
>> U
> phpdoc/en/trunk/reference/parsekit/functions/parsekit-compile-file.xml
>> U phpdoc/en/trunk/reference/pdo/pdo/exec.xml
>> U phpdoc/en/trunk/reference/phar/Phar/setAlias.xml
>> U phpdoc/en/trunk/reference/phar/book.xml
>> U phpdoc/en/trunk/reference/runkit/functions/runkit-import.xml
>> U
>
phpdoc/en/trunk/reference/runkit/functions/runkit-sandbox-output-handler.xml
>> U phpdoc/en/trunk/reference/runkit/sandbox-parent.xml
>> U phpdoc/en/trunk/reference/runkit/sandbox.xml
>> U phpdoc/en/trunk/reference/sam/setup.xml
>> U
> phpdoc/en/trunk/reference/stream/functions/stream-resolve-include-path.xml
>> U phpdoc/en/trunk/reference/strings/functions/echo.xml
>> U phpdoc/en/trunk/reference/strings/functions/print.xml
>> U phpdoc/en/trunk/reference/strings/functions/printf.xml
>>
>> <svn-diffs-324522.txt>--
>> PHP Documentation Commits Mailing List (http://www.php.net/) To
>> unsubscribe, visit: http://www.php.net/unsub.php
>