Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1313 closed Bug (Wont Fix)

Add Opt.htm page redirecting to AutoItSetOption.htm

Reported by: MrCreatoR <mscreator@…> Owned by:
Milestone: Component: Other
Version: Other Severity: None
Keywords: Opt autoit tag Cc:

Description

This issue is more related to autoit tag on the forum...

The Opt function in autoit tag on the forum is pointing to page http://www.autoitscript.com/autoit3/docs/functions/Opt.htm, but it's not found (404), so the solution i think is just to add that page wich will redirect to the correct function page http://www.autoitscript.com/autoit3/docs/functions/AutoItSetOption.htm.

Like this - Opt.htm:

<html>
	<head><meta http-equiv="Refresh" content="0;url=AutoItSetOption.htm"></head>
</html>

It can be fixed in the geshi autoit.php page, but i think this way it will be more compatible with other AutoIt related projects.

Attachments (0)

Change History (3)

comment:1 Changed 14 years ago by TicketCleanup

  • Version set to Other

Automatic ticket cleanup.

comment:2 Changed 14 years ago by Valik

  • Resolution set to Wont Fix
  • Status changed from new to closed

The documentation is auto-generated. The next time the online documentation is updated the change would be obliterated. This seems so minor as to not be worth fooling with.

comment:3 Changed 14 years ago by MrCreatoR <mscreator@…>

The documentation is auto-generated

But it's could generate that page as well, or i missing something?

Ok, then i think this should be at least fixed in the geshi...

changes for autoit.php:

1) Remove 'Opt' from "3 => array(" list.

2) Replace in that same array this:

        6 => array(
            .* (here is all content of 6-th sub-array)
            )

with this:

        6 => array(
            .* (here is all content of 6-th sub-array)
            ),
        7 => array(
			'Opt'
			)

3) Now replace this (styles):

        'KEYWORDS' => array(
            .* (all previous styles)
            6 => 'color: #A00FF0; font-style: italic;'

with this:

        'KEYWORDS' => array(
            .* (all previous styles)
            6 => 'color: #A00FF0; font-style: italic;',
            7 => 'color: #000080; font-style: italic; font-weight: bold;' //This is the same style as in the 3-th element of that array

4) And now add to URLs array the 7-th element for the Opt link:

    'URLS' => array(
        1 => 'http://www.autoitscript.com/autoit3/docs/keywords.htm',
        2 => 'http://www.autoitscript.com/autoit3/docs/macros.htm',
        3 => 'http://www.autoitscript.com/autoit3/docs/functions/{FNAME}.htm',
        4 => '',
        5 => '',
        6 => '',
        7 => 'http://www.autoitscript.com/autoit3/docs/functions/AutoItSetOption.htm'

P.S
This fix i made on our AutoIt Russian Community forum, working well, but i just thought that this is can be fixed on the online documentation side.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.