Bug #17646: use only one version of each manual page

From: Date: Fri, 07 Jun 2002 16:26:28 +0000
Subject: Bug #17646: use only one version of each manual page
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10726@lists.php.net to get a copy of this message
From: mitja@doticni.net Operating system: any PHP version: 4.2.1 PHP Bug Type: Website problem Bug description: use only one version of each manual page After #17644 is done, the manual pages could be reworked so that only one page per language is needed, instead of two (print/non-print). I suggest this is done so that the printable version is seen when the file is passed straight to browser (something.html), and the displayable version is shown when the same file is processed through PHP. Something like this: <!--<? manualHeader(...); if ($print) { ?>--> print-only stuff <!--<? } ?>--> stuff common to both <!--<? if (!$hidenotes) { ?>--> notes <!--<? } manualFooter(...); ?>--> Then, non-existing directories could be used for the displayable version, which would pass the request through error.php, which would include the neccesary logic. This would cut the number of files on the site in half, and the disk space requirements for a mirror (together with #17644) even more. Additionally, it would be easy to both show and not show notes in the printable layout, again with using no additional files on the servers. -- Edit bug report at http://bugs.php.net/?id=17646&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17646&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17646&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17646&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17646&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17646&r=support Expected behavior: http://bugs.php.net/fix.php?id=17646&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17646&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17646&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17646&r=globals

« previous php.mirrors (#10726) next »