I have created the patch to display the documentation link of variables in server_variables.php page. Please test this patch and suggest for further improvements.
https://sourceforge.net/tracker/?func=detail&aid=3212068&group_id=23...
I created a file server_variables_doc.php to store the variables details used to create the links in a array. The structure of the array is defined in the file itself. This values are first computed and passed to PMA_showMySQLDocu() to generate the url and stored in $doclink['variable_name'].
Samiran Raj Boro Institute of Science and Technology Gauhati University Guwahati
sf username: srajbr https://sourceforge.net/users/srajbr IRC nickname: samiran
2011/3/14 Samiran Raj Boro srajbr@gmail.com:
I have created the patch to display the documentation link of variables in server_variables.php page. Please test this patch and suggest for further improvements.
https://sourceforge.net/tracker/?func=detail&aid=3212068&group_id=23...
I created a file server_variables_doc.php to store the variables details used to create the links in a array. The structure of the array is defined in the file itself. This values are first computed and passed to PMA_showMySQLDocu() to generate the url and stored in $doclink['variable_name'].
I just glanced at your patch: instead of using switch ($VARIABLE_DOC_LINKS[$name][1/2]), use an array - it should be faster and is more concise.
I just glanced at your patch: instead of using switch ($VARIABLE_DOC_LINKS[$name][1/2]), use an array - it should be faster and is more concise.
-- Piotr Przybylski
Thanks for the suggestion Piotr. I made the necessary changes. $VARIABLE_DOC_LINKS changed to $VARIABLE_DOC_LINKS[$name]=array(string $anchor, string $group, string $type) download 01-Server-variable-documentation-link.patch to test
Samiran Raj Boro
Patch updated
- server_variables_doc.php is added under libraries used for generating the links - $VARIABLE_DOC_LINKS initialize - function call PMA_showMySQLDocu() corrected
file: 03-Server-variable-documentation-link.patchhttps://sourceforge.net/tracker/download.php?group_id=23067&atid=377410&file_id=404393&aid=3212068
Samiran Raj Boro