Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

classic Classic list List threaded Threaded
40 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

r_mueller5@web.de
Subject:
Fwd: Broken_Link:
"https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-


-------- Weitergeleitete Nachricht --------
Betreff: Broken_Link:
"https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"
Datum: Tue, 24 Nov 2020 14:47:15 +0100
Von: [hidden email] <[hidden email]>
An: [hidden email]
Kopie (CC): [hidden email]

Unter anderen ist in der "Open Office"-Dokumentation
der nachfolgend Link nicht erreichbar (Link not reachable):


https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic



Mit freundlichen Grüßen
Reinhard Müller
[hidden email]




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Matthias Seidel

Hi all,

That seems to be another one of these pages that appear to be blank because of a missing Wiki plugin.

After all these years, can we get the Wiki fully functional again?

Regards,

   Matthias

Am 08.12.20 um 14:56 schrieb [hidden email]:
Subject:
Fwd: Broken_Link:
"https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-


-------- Weitergeleitete Nachricht --------
Betreff: Broken_Link:
"https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"
Datum: Tue, 24 Nov 2020 14:47:15 +0100
Von: [hidden email] [hidden email]
An: [hidden email]
Kopie (CC): [hidden email]

Unter anderen ist in der "Open Office"-Dokumentation
der nachfolgend Link nicht erreichbar (Link not reachable):


https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic



Mit freundlichen Grüßen
Reinhard Müller
[hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Dick Groskamp-4


On 2020/12/08 14:57:16, Matthias Seidel <[hidden email]> wrote:

> Hi all,
>
> That seems to be another one of these pages that appear to be blank
> because of a missing Wiki plugin.
>
> After all these years, can we get the Wiki fully functional again?
>
> Regards,
>
>    Matthias
>
> Am 08.12.20 um 14:56 schrieb [hidden email]:
> > Subject:
> > Fwd: Broken_Link:
> > "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-
> >
Matthias,

I think the problem is that the only existing item for that extension is in the configuration of MediaWiki.
Nobody seems to have a copy of it, anywhere.
Hoping that one of the sysops can retrieve it from there and secure it in one of our vaults :-)

Greetings,

> >
> >
> > -------- Weitergeleitete Nachricht --------
> > Betreff: Broken_Link:
> > "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"
> >
> > Datum: Tue, 24 Nov 2020 14:47:15 +0100
> > Von: [hidden email] <[hidden email]>
> > An: [hidden email]
> > Kopie (CC): [hidden email]
> >
> > Unter anderen ist in der "Open Office"-Dokumentation
> > der nachfolgend Link nicht erreichbar (Link not reachable):
> >
> >
> > https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic
> >
> >
> >
> >
> > Mit freundlichen Grüßen
> > Reinhard Müller
> > [hidden email]
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Dick Groskamp-4
In reply to this post by r_mueller5@web.de


On 2020/12/08 13:56:41, "[hidden email]" <[hidden email]> wrote:

> Subject:
> Fwd: Broken_Link:
> "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-
>
>
> -------- Weitergeleitete Nachricht --------
> Betreff: Broken_Link:
> "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"
> Datum: Tue, 24 Nov 2020 14:47:15 +0100
> Von: [hidden email] <[hidden email]>
> An: [hidden email]
> Kopie (CC): [hidden email]
>
> Unter anderen ist in der "Open Office"-Dokumentation
> der nachfolgend Link nicht erreichbar (Link not reachable):
>
>
> https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic
>
>
>
> Mit freundlichen Grüßen
> Reinhard Müller
> [hidden email]
>
>
I fixed it. It should be accessible now.

Seems that the IDLTags extension in MediaWiki partially functions.
tags <idl> do work.
tags <idlm>  don't work (changed to normal link)
tags <idlmodule> don't work. (changed to normal link)

I walked through the Developers Guide and all seems to be accessible now.
I will check once again tomorrow

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Matthias Seidel
Hi Dick,

This is great!
How did you edit the page?

Regards,

   Matthias

Am 08.12.20 um 19:26 schrieb Dick Groskamp:

>
> On 2020/12/08 13:56:41, "[hidden email]" <[hidden email]> wrote:
>> Subject:
>> Fwd: Broken_Link:
>> "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-
>>
>>
>> -------- Weitergeleitete Nachricht --------
>> Betreff: Broken_Link:
>> "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"
>> Datum: Tue, 24 Nov 2020 14:47:15 +0100
>> Von: [hidden email] <[hidden email]>
>> An: [hidden email]
>> Kopie (CC): [hidden email]
>>
>> Unter anderen ist in der "Open Office"-Dokumentation
>> der nachfolgend Link nicht erreichbar (Link not reachable):
>>
>>
>> https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic
>>
>>
>>
>> Mit freundlichen Grüßen
>> Reinhard Müller
>> [hidden email]
>>
>>
> I fixed it. It should be accessible now.
>
> Seems that the IDLTags extension in MediaWiki partially functions.
> tags <idl> do work.
> tags <idlm>  don't work (changed to normal link)
> tags <idlmodule> don't work. (changed to normal link)
>
> I walked through the Developers Guide and all seems to be accessible now.
> I will check once again tomorrow
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Carl Marcum
In reply to this post by Dick Groskamp-4


On 12/8/20 1:26 PM, Dick Groskamp wrote:

>
> On 2020/12/08 13:56:41, "[hidden email]" <[hidden email]> wrote:
>> Subject:
>> Fwd: Broken_Link:
>> "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-
>>
>>
>> -------- Weitergeleitete Nachricht --------
>> Betreff: Broken_Link:
>> "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"
>> Datum: Tue, 24 Nov 2020 14:47:15 +0100
>> Von: [hidden email] <[hidden email]>
>> An: [hidden email]
>> Kopie (CC): [hidden email]
>>
>> Unter anderen ist in der "Open Office"-Dokumentation
>> der nachfolgend Link nicht erreichbar (Link not reachable):
>>
>>
>> https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic
>>
>>
>>
>> Mit freundlichen Grüßen
>> Reinhard Müller
>> [hidden email]
>>
>>
> I fixed it. It should be accessible now.
>
> Seems that the IDLTags extension in MediaWiki partially functions.
> tags <idl> do work.
> tags <idlm>  don't work (changed to normal link)
> tags <idlmodule> don't work. (changed to normal link)
>
> I walked through the Developers Guide and all seems to be accessible now.
> I will check once again tomorrow
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

There are still hundreds of broken pages in the dev guide.
Yes it seems to be idls and ildm tags.

There is a new upgraded VM setup for the wiki waiting to get changed to
but I had hoped to look into before it get switched over.
But I have had limited time and I haven't been able to do any testing
with it since the URL is being redirected.
I don't know anything about MediaWiki extensions, yet anyway :)

The Infra ticket for our VM is [1].

The only place I know where the code is in the current wiki under:
extensions/OOoIDLtags/OOoIDLtags.php


[1] https://issues.apache.org/jira/browse/INFRA-20339

Best regards,
Carl


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Dick Groskamp-4


On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:

>
> There are still hundreds of broken pages in the dev guide.
> Yes it seems to be idls and ildm tags.
>
> There is a new upgraded VM setup for the wiki waiting to get changed to
> but I had hoped to look into before it get switched over.
> But I have had limited time and I haven't been able to do any testing
> with it since the URL is being redirected.
> I don't know anything about MediaWiki extensions, yet anyway :)
>
> The Infra ticket for our VM is [1].
>
> The only place I know where the code is in the current wiki under:
> extensions/OOoIDLtags/OOoIDLtags.php
>
>
> [1] https://issues.apache.org/jira/browse/INFRA-20339
>
> Best regards,
> Carl
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Carl, thanks i will check into it.

Is it possible to export/copy the IDLTags extension from the MWiki to a more accessible place ?
That way it might be accessible for editing or reversed engineering. I think for now it is not reachable.



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Carl Marcum
Hi Dick,

I have copied it out and it's contents are below.

It should be in github or svn but I haven't had time to do anything with it.

On 12/9/20 5:42 AM, Dick Groskamp wrote:

>
> On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
>> There are still hundreds of broken pages in the dev guide.
>> Yes it seems to be idls and ildm tags.
>>
>> There is a new upgraded VM setup for the wiki waiting to get changed to
>> but I had hoped to look into before it get switched over.
>> But I have had limited time and I haven't been able to do any testing
>> with it since the URL is being redirected.
>> I don't know anything about MediaWiki extensions, yet anyway :)
>>
>> The Infra ticket for our VM is [1].
>>
>> The only place I know where the code is in the current wiki under:
>> extensions/OOoIDLtags/OOoIDLtags.php
>>
>>
>> [1] https://issues.apache.org/jira/browse/INFRA-20339
>>
>> Best regards,
>> Carl
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
> Carl, thanks i will check into it.
>
> Is it possible to export/copy the IDLTags extension from the MWiki to a more accessible place ?
> That way it might be accessible for editing or reversed engineering. I think for now it is not reachable.
>
>
The filename is OOoIDLtags.php
----
<?php
/**
  * IDL Tag extension
  * The IDLTagExtension was written to manage the IDL links in the
OpenOffice.org Developer's Guide.
  * The extension converts Java paths to links back to the online IDL
documentation.
  * @version 1.0.2
  * @link http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension
  */

if ( !defined( 'MEDIAWIKI' ) ) {
     die( 'This file is a MediaWiki extension, it is not a valid entry
point' );
}

// Extension credits that will show up on Special:Version
$wgExtensionCredits['parserhook'][] = array(
     'name' => 'IDL Tags',
     'version' => '1.0.2',
     'author' => array( 'Clayton Cornell', 'Terry Ellison' ),
     'description' => 'Manage the IDL links in the OOo Dev Guide ',
     'url' =>
'http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension',
);

global $wgExtIDLtags;
$wgExtIDLtags           = new RenderIDLtags;
$wgExtensionFunctions[] = array( &$wgExtIDLtags, 'oooIDLTags' );

class RenderIDLtags {

     function oooIDLTags() {
         global $wgParser;
         $wgParser->setHook( 'idl', array( &$this, 'renderIDL' ) );
         $wgParser->setHook( 'idlm', array( &$this, 'renderIDLM' ) );
         $wgParser->setHook( 'idls', array( &$this, 'renderIDLS' ) );
         $wgParser->setHook( 'idlmodule', array( &$this,
'renderIDLMODULE' ) );
         $wgParser->setHook( 'idltopic', array( &$this, 'renderIDLTOPIC'
) );
     }

     function renderIDL( $input, $args, $parser ) {
         $parser->disableCache();
         $output = $parser->recursiveTagParse( $input );
         $output = '<a href="http://api.openoffice.org/docs/common/ref/' .
             str_replace ('.','/',$output).'.html" class="external
text">'.$output.'</a>';
         return $output;
     }

     function renderIDLM( $input, $args, $parser ) {
         $parser->disableCache();
         $output = $parser->recursiveTagParse( $input );
         $page = ereg_replace ('\.','/',$output);
         $anchor = ereg_replace (':','.html#',$page);
         $function = ereg_replace ('^.*:','',$page);
         $output = '<a href="http://api.openoffice.org/docs/common/ref/' .
             $anchor.'" class="external text">'.$function.'</a>';
         return $output;
     }

     function renderIDLS( $input, $args, $parser ) {
         $parser->disableCache();
         $output = $parser->recursiveTagParse( $input );
         $function = ereg_replace ('^.*\.','',$output);
         $output = '<a href="http://api.openoffice.org/docs/common/ref/' .
             ereg_replace ('\.','/',$output).'.html" class="external
text">'.$function.'</a>';
         return $output;
     }

     function renderIDLMODULE( $input, $args, $parser ) {
         $parser->disableCache();
         $output = $parser->recursiveTagParse( $input );
         $function = ereg_replace ('^.*\.','',$output);
         $output = '<a href="http://api.openoffice.org/docs/common/ref/' .
             ereg_replace ('\.','/',$output).'/module-ix.html"
class="external text">'.$output.'</a>';
         return $output;
     }

     function renderIDLTOPIC( $input, $args, $parser ) {
         $parser->disableCache();
         return '';
     }
}
----

Best regards,
Carl


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Dick Groskamp-4


On 2020/12/09 11:34:03, Carl Marcum <[hidden email]> wrote:

> Hi Dick,
>
> I have copied it out and it's contents are below.
>
> It should be in github or svn but I haven't had time to do anything with it.
>
> On 12/9/20 5:42 AM, Dick Groskamp wrote:
> >
> > On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
> >> There are still hundreds of broken pages in the dev guide.
> >> Yes it seems to be idls and ildm tags.
> >>
> >> There is a new upgraded VM setup for the wiki waiting to get changed to
> >> but I had hoped to look into before it get switched over.
> >> But I have had limited time and I haven't been able to do any testing
> >> with it since the URL is being redirected.
> >> I don't know anything about MediaWiki extensions, yet anyway :)
> >>
> >> The Infra ticket for our VM is [1].
> >>
> >> The only place I know where the code is in the current wiki under:
> >> extensions/OOoIDLtags/OOoIDLtags.php
> >>
> >>
> >> [1] https://issues.apache.org/jira/browse/INFRA-20339
> >>
> >> Best regards,
> >> Carl
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >>
> >>
> > Carl, thanks i will check into it.
> >
> > Is it possible to export/copy the IDLTags extension from the MWiki to a more accessible place ?
> > That way it might be accessible for editing or reversed engineering. I think for now it is not reachable.
> >
> >
> The filename is OOoIDLtags.php
> ----
> <?php
> /**
>   * IDL Tag extension
>   * The IDLTagExtension was written to manage the IDL links in the
> OpenOffice.org Developer's Guide.
>   * The extension converts Java paths to links back to the online IDL
> documentation.
>   * @version 1.0.2
>   * @link http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension
>   */
>
> if ( !defined( 'MEDIAWIKI' ) ) {
>      die( 'This file is a MediaWiki extension, it is not a valid entry
> point' );
> }
>
> // Extension credits that will show up on Special:Version
> $wgExtensionCredits['parserhook'][] = array(
>      'name' => 'IDL Tags',
>      'version' => '1.0.2',
>      'author' => array( 'Clayton Cornell', 'Terry Ellison' ),
>      'description' => 'Manage the IDL links in the OOo Dev Guide ',
>      'url' =>
> 'http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension',
> );
>
> global $wgExtIDLtags;
> $wgExtIDLtags           = new RenderIDLtags;
> $wgExtensionFunctions[] = array( &$wgExtIDLtags, 'oooIDLTags' );
>
> class RenderIDLtags {
>
>      function oooIDLTags() {
>          global $wgParser;
>          $wgParser->setHook( 'idl', array( &$this, 'renderIDL' ) );
>          $wgParser->setHook( 'idlm', array( &$this, 'renderIDLM' ) );
>          $wgParser->setHook( 'idls', array( &$this, 'renderIDLS' ) );
>          $wgParser->setHook( 'idlmodule', array( &$this,
> 'renderIDLMODULE' ) );
>          $wgParser->setHook( 'idltopic', array( &$this, 'renderIDLTOPIC'
> ) );
>      }
>
>      function renderIDL( $input, $args, $parser ) {
>          $parser->disableCache();
>          $output = $parser->recursiveTagParse( $input );
>          $output = '<a href="http://api.openoffice.org/docs/common/ref/' .
>              str_replace ('.','/',$output).'.html" class="external
> text">'.$output.'</a>';
>          return $output;
>      }
>
>      function renderIDLM( $input, $args, $parser ) {
>          $parser->disableCache();
>          $output = $parser->recursiveTagParse( $input );
>          $page = ereg_replace ('\.','/',$output);
>          $anchor = ereg_replace (':','.html#',$page);
>          $function = ereg_replace ('^.*:','',$page);
>          $output = '<a href="http://api.openoffice.org/docs/common/ref/' .
>              $anchor.'" class="external text">'.$function.'</a>';
>          return $output;
>      }
>
>      function renderIDLS( $input, $args, $parser ) {
>          $parser->disableCache();
>          $output = $parser->recursiveTagParse( $input );
>          $function = ereg_replace ('^.*\.','',$output);
>          $output = '<a href="http://api.openoffice.org/docs/common/ref/' .
>              ereg_replace ('\.','/',$output).'.html" class="external
> text">'.$function.'</a>';
>          return $output;
>      }
>
>      function renderIDLMODULE( $input, $args, $parser ) {
>          $parser->disableCache();
>          $output = $parser->recursiveTagParse( $input );
>          $function = ereg_replace ('^.*\.','',$output);
>          $output = '<a href="http://api.openoffice.org/docs/common/ref/' .
>              ereg_replace ('\.','/',$output).'/module-ix.html"
> class="external text">'.$output.'</a>';
>          return $output;
>      }
>
>      function renderIDLTOPIC( $input, $args, $parser ) {
>          $parser->disableCache();
>          return '';
>      }
> }
> ----
>
> Best regards,
> Carl
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
Thanks,
now I only have to figure out why it isn't working :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Peter Kovacs-3
How about we create a OpenOffice-Mwiki-ext Repo in gitbox?

We could do the same for the forums customizations.

So we have more control over our support code.


All the Best

Peter

On 09.12.20 18:24, Dick Groskamp wrote:

>
> On 2020/12/09 11:34:03, Carl Marcum <[hidden email]> wrote:
>> Hi Dick,
>>
>> I have copied it out and it's contents are below.
>>
>> It should be in github or svn but I haven't had time to do anything with it.
>>
>> On 12/9/20 5:42 AM, Dick Groskamp wrote:
>>> On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
>>>> There are still hundreds of broken pages in the dev guide.
>>>> Yes it seems to be idls and ildm tags.
>>>>
>>>> There is a new upgraded VM setup for the wiki waiting to get changed to
>>>> but I had hoped to look into before it get switched over.
>>>> But I have had limited time and I haven't been able to do any testing
>>>> with it since the URL is being redirected.
>>>> I don't know anything about MediaWiki extensions, yet anyway :)
>>>>
>>>> The Infra ticket for our VM is [1].
>>>>
>>>> The only place I know where the code is in the current wiki under:
>>>> extensions/OOoIDLtags/OOoIDLtags.php
>>>>
>>>>
>>>> [1] https://issues.apache.org/jira/browse/INFRA-20339
>>>>
>>>> Best regards,
>>>> Carl
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>> Carl, thanks i will check into it.
>>>
>>> Is it possible to export/copy the IDLTags extension from the MWiki to a more accessible place ?
>>> That way it might be accessible for editing or reversed engineering. I think for now it is not reachable.
>>>
>>>
>> The filename is OOoIDLtags.php
>> ----
>> <?php
>> /**
>>    * IDL Tag extension
>>    * The IDLTagExtension was written to manage the IDL links in the
>> OpenOffice.org Developer's Guide.
>>    * The extension converts Java paths to links back to the online IDL
>> documentation.
>>    * @version 1.0.2
>>    * @link http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension
>>    */
>>
>> if ( !defined( 'MEDIAWIKI' ) ) {
>>       die( 'This file is a MediaWiki extension, it is not a valid entry
>> point' );
>> }
>>
>> // Extension credits that will show up on Special:Version
>> $wgExtensionCredits['parserhook'][] = array(
>>       'name' => 'IDL Tags',
>>       'version' => '1.0.2',
>>       'author' => array( 'Clayton Cornell', 'Terry Ellison' ),
>>       'description' => 'Manage the IDL links in the OOo Dev Guide ',
>>       'url' =>
>> 'http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension',
>> );
>>
>> global $wgExtIDLtags;
>> $wgExtIDLtags           = new RenderIDLtags;
>> $wgExtensionFunctions[] = array( &$wgExtIDLtags, 'oooIDLTags' );
>>
>> class RenderIDLtags {
>>
>>       function oooIDLTags() {
>>           global $wgParser;
>>           $wgParser->setHook( 'idl', array( &$this, 'renderIDL' ) );
>>           $wgParser->setHook( 'idlm', array( &$this, 'renderIDLM' ) );
>>           $wgParser->setHook( 'idls', array( &$this, 'renderIDLS' ) );
>>           $wgParser->setHook( 'idlmodule', array( &$this,
>> 'renderIDLMODULE' ) );
>>           $wgParser->setHook( 'idltopic', array( &$this, 'renderIDLTOPIC'
>> ) );
>>       }
>>
>>       function renderIDL( $input, $args, $parser ) {
>>           $parser->disableCache();
>>           $output = $parser->recursiveTagParse( $input );
>>           $output = '<a href="http://api.openoffice.org/docs/common/ref/' .
>>               str_replace ('.','/',$output).'.html" class="external
>> text">'.$output.'</a>';
>>           return $output;
>>       }
>>
>>       function renderIDLM( $input, $args, $parser ) {
>>           $parser->disableCache();
>>           $output = $parser->recursiveTagParse( $input );
>>           $page = ereg_replace ('\.','/',$output);
>>           $anchor = ereg_replace (':','.html#',$page);
>>           $function = ereg_replace ('^.*:','',$page);
>>           $output = '<a href="http://api.openoffice.org/docs/common/ref/' .
>>               $anchor.'" class="external text">'.$function.'</a>';
>>           return $output;
>>       }
>>
>>       function renderIDLS( $input, $args, $parser ) {
>>           $parser->disableCache();
>>           $output = $parser->recursiveTagParse( $input );
>>           $function = ereg_replace ('^.*\.','',$output);
>>           $output = '<a href="http://api.openoffice.org/docs/common/ref/' .
>>               ereg_replace ('\.','/',$output).'.html" class="external
>> text">'.$function.'</a>';
>>           return $output;
>>       }
>>
>>       function renderIDLMODULE( $input, $args, $parser ) {
>>           $parser->disableCache();
>>           $output = $parser->recursiveTagParse( $input );
>>           $function = ereg_replace ('^.*\.','',$output);
>>           $output = '<a href="http://api.openoffice.org/docs/common/ref/' .
>>               ereg_replace ('\.','/',$output).'/module-ix.html"
>> class="external text">'.$output.'</a>';
>>           return $output;
>>       }
>>
>>       function renderIDLTOPIC( $input, $args, $parser ) {
>>           $parser->disableCache();
>>           return '';
>>       }
>> }
>> ----
>>
>> Best regards,
>> Carl
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
> Thanks,
> now I only have to figure out why it isn't working :-)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Arrigo Marchiori
In reply to this post by Dick Groskamp-4
Hello,

trying a shot in the dark...

On Wed, Dec 09, 2020 at 05:24:41PM -0000, Dick Groskamp wrote:

> On 2020/12/09 11:34:03, Carl Marcum <[hidden email]> wrote:
> > Hi Dick,
> >
> > I have copied it out and it's contents are below.
> >
> > On 12/9/20 5:42 AM, Dick Groskamp wrote:
> > >
> > > On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
> > >> There are still hundreds of broken pages in the dev guide.
> > >> Yes it seems to be idls and ildm tags.

[...]
> >      function renderIDLM( $input, $args, $parser ) {
> >          $parser->disableCache();
> >          $output = $parser->recursiveTagParse( $input );
> >          $page = ereg_replace ('\.','/',$output);
> >          $anchor = ereg_replace (':','.html#',$page);
> >          $function = ereg_replace ('^.*:','',$page);
[...]
> Thanks,
> now I only have to figure out why it isn't working :-)

Could the culprit be the deprecated ereg_replace function, that was
removed since PHP 7.0.0?

Pointers:
https://www.php.net/manual/en/function.ereg-replace.php
https://stackoverflow.com/questions/3649574/replace-ereg-replace-with-preg-replace

HTH,
--
rigo

http://rigo.altervista.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Marcus (OOo)
In reply to this post by Peter Kovacs-3
Am 09.12.20 um 18:35 schrieb Peter Kovacs:
> How about we create a OpenOffice-Mwiki-ext Repo in gitbox?
>
> We could do the same for the forums customizations.
>
> So we have more control over our support code.

+1
This increases the chance that also others can have a look and give some
hints when problems arise.

Marcus



> On 09.12.20 18:24, Dick Groskamp wrote:
>>
>> On 2020/12/09 11:34:03, Carl Marcum <[hidden email]> wrote:
>>> Hi Dick,
>>>
>>> I have copied it out and it's contents are below.
>>>
>>> It should be in github or svn but I haven't had time to do anything
>>> with it.
>>>
>>> On 12/9/20 5:42 AM, Dick Groskamp wrote:
>>>> On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
>>>>> There are still hundreds of broken pages in the dev guide.
>>>>> Yes it seems to be idls and ildm tags.
>>>>>
>>>>> There is a new upgraded VM setup for the wiki waiting to get
>>>>> changed to
>>>>> but I had hoped to look into before it get switched over.
>>>>> But I have had limited time and I haven't been able to do any testing
>>>>> with it since the URL is being redirected.
>>>>> I don't know anything about MediaWiki extensions, yet anyway :)
>>>>>
>>>>> The Infra ticket for our VM is [1].
>>>>>
>>>>> The only place I know where the code is in the current wiki under:
>>>>> extensions/OOoIDLtags/OOoIDLtags.php
>>>>>
>>>>>
>>>>> [1] https://issues.apache.org/jira/browse/INFRA-20339
>>>>>
>>>>> Best regards,
>>>>> Carl
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [hidden email]
>>>>> For additional commands, e-mail: [hidden email]
>>>>>
>>>>>
>>>> Carl, thanks i will check into it.
>>>>
>>>> Is it possible to export/copy the IDLTags extension from the MWiki
>>>> to a more accessible place ?
>>>> That way it might be accessible for editing or reversed engineering.
>>>> I think for now it is not reachable.
>>>>
>>>>
>>> The filename is OOoIDLtags.php
>>> ----
>>> <?php
>>> /**
>>>    * IDL Tag extension
>>>    * The IDLTagExtension was written to manage the IDL links in the
>>> OpenOffice.org Developer's Guide.
>>>    * The extension converts Java paths to links back to the online IDL
>>> documentation.
>>>    * @version 1.0.2
>>>    * @link
>>> http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension
>>>    */
>>>
>>> if ( !defined( 'MEDIAWIKI' ) ) {
>>>       die( 'This file is a MediaWiki extension, it is not a valid entry
>>> point' );
>>> }
>>>
>>> // Extension credits that will show up on Special:Version
>>> $wgExtensionCredits['parserhook'][] = array(
>>>       'name' => 'IDL Tags',
>>>       'version' => '1.0.2',
>>>       'author' => array( 'Clayton Cornell', 'Terry Ellison' ),
>>>       'description' => 'Manage the IDL links in the OOo Dev Guide ',
>>>       'url' =>
>>> 'http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension',
>>> );
>>>
>>> global $wgExtIDLtags;
>>> $wgExtIDLtags           = new RenderIDLtags;
>>> $wgExtensionFunctions[] = array( &$wgExtIDLtags, 'oooIDLTags' );
>>>
>>> class RenderIDLtags {
>>>
>>>       function oooIDLTags() {
>>>           global $wgParser;
>>>           $wgParser->setHook( 'idl', array( &$this, 'renderIDL' ) );
>>>           $wgParser->setHook( 'idlm', array( &$this, 'renderIDLM' ) );
>>>           $wgParser->setHook( 'idls', array( &$this, 'renderIDLS' ) );
>>>           $wgParser->setHook( 'idlmodule', array( &$this,
>>> 'renderIDLMODULE' ) );
>>>           $wgParser->setHook( 'idltopic', array( &$this,
>>> 'renderIDLTOPIC'
>>> ) );
>>>       }
>>>
>>>       function renderIDL( $input, $args, $parser ) {
>>>           $parser->disableCache();
>>>           $output = $parser->recursiveTagParse( $input );
>>>           $output = '<a
>>> href="http://api.openoffice.org/docs/common/ref/' .
>>>               str_replace ('.','/',$output).'.html" class="external
>>> text">'.$output.'</a>';
>>>           return $output;
>>>       }
>>>
>>>       function renderIDLM( $input, $args, $parser ) {
>>>           $parser->disableCache();
>>>           $output = $parser->recursiveTagParse( $input );
>>>           $page = ereg_replace ('\.','/',$output);
>>>           $anchor = ereg_replace (':','.html#',$page);
>>>           $function = ereg_replace ('^.*:','',$page);
>>>           $output = '<a
>>> href="http://api.openoffice.org/docs/common/ref/' .
>>>               $anchor.'" class="external text">'.$function.'</a>';
>>>           return $output;
>>>       }
>>>
>>>       function renderIDLS( $input, $args, $parser ) {
>>>           $parser->disableCache();
>>>           $output = $parser->recursiveTagParse( $input );
>>>           $function = ereg_replace ('^.*\.','',$output);
>>>           $output = '<a
>>> href="http://api.openoffice.org/docs/common/ref/' .
>>>               ereg_replace ('\.','/',$output).'.html" class="external
>>> text">'.$function.'</a>';
>>>           return $output;
>>>       }
>>>
>>>       function renderIDLMODULE( $input, $args, $parser ) {
>>>           $parser->disableCache();
>>>           $output = $parser->recursiveTagParse( $input );
>>>           $function = ereg_replace ('^.*\.','',$output);
>>>           $output = '<a
>>> href="http://api.openoffice.org/docs/common/ref/' .
>>>               ereg_replace ('\.','/',$output).'/module-ix.html"
>>> class="external text">'.$output.'</a>';
>>>           return $output;
>>>       }
>>>
>>>       function renderIDLTOPIC( $input, $args, $parser ) {
>>>           $parser->disableCache();
>>>           return '';
>>>       }
>>> }
>>> ----
>>>
>>> Best regards,
>>> Carl
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>> Thanks,
>> now I only have to figure out why it isn't working :-)


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Carl Marcum
In reply to this post by Arrigo Marchiori
Hi Arrigo,


On 12/9/20 2:51 PM, Arrigo Marchiori wrote:

> Hello,
>
> trying a shot in the dark...
>
> On Wed, Dec 09, 2020 at 05:24:41PM -0000, Dick Groskamp wrote:
>
>> On 2020/12/09 11:34:03, Carl Marcum <[hidden email]> wrote:
>>> Hi Dick,
>>>
>>> I have copied it out and it's contents are below.
>>>
>>> On 12/9/20 5:42 AM, Dick Groskamp wrote:
>>>> On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
>>>>> There are still hundreds of broken pages in the dev guide.
>>>>> Yes it seems to be idls and ildm tags.
> [...]
>>>       function renderIDLM( $input, $args, $parser ) {
>>>           $parser->disableCache();
>>>           $output = $parser->recursiveTagParse( $input );
>>>           $page = ereg_replace ('\.','/',$output);
>>>           $anchor = ereg_replace (':','.html#',$page);
>>>           $function = ereg_replace ('^.*:','',$page);
> [...]
>> Thanks,
>> now I only have to figure out why it isn't working :-)
> Could the culprit be the deprecated ereg_replace function, that was
> removed since PHP 7.0.0?
>
> Pointers:
> https://www.php.net/manual/en/function.ereg-replace.php
> https://stackoverflow.com/questions/3649574/replace-ereg-replace-with-preg-replace
>
> HTH,
Thanks for the tip.

If I can get the redirect removed from the new mwiki VM I can try that.

Best regards,
Carl


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Dick Groskamp-4


On 2020/12/10 01:09:49, Carl Marcum <[hidden email]> wrote:

> Hi Arrigo,
>
>
> On 12/9/20 2:51 PM, Arrigo Marchiori wrote:
> > Hello,
> >
> > trying a shot in the dark...
> >
> > On Wed, Dec 09, 2020 at 05:24:41PM -0000, Dick Groskamp wrote:
> >
> >> On 2020/12/09 11:34:03, Carl Marcum <[hidden email]> wrote:
> >>> Hi Dick,
> >>>
> >>> I have copied it out and it's contents are below.
> >>>
> >>> On 12/9/20 5:42 AM, Dick Groskamp wrote:
> >>>> On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
> >>>>> There are still hundreds of broken pages in the dev guide.
> >>>>> Yes it seems to be idls and ildm tags.
> > [...]
> >>>       function renderIDLM( $input, $args, $parser ) {
> >>>           $parser->disableCache();
> >>>           $output = $parser->recursiveTagParse( $input );
> >>>           $page = ereg_replace ('\.','/',$output);
> >>>           $anchor = ereg_replace (':','.html#',$page);
> >>>           $function = ereg_replace ('^.*:','',$page);
> > [...]
> >> Thanks,
> >> now I only have to figure out why it isn't working :-)
> > Could the culprit be the deprecated ereg_replace function, that was
> > removed since PHP 7.0.0?
> >
> > Pointers:
> > https://www.php.net/manual/en/function.ereg-replace.php
> > https://stackoverflow.com/questions/3649574/replace-ereg-replace-with-preg-replace
> >
> > HTH,
> Thanks for the tip.
>
> If I can get the redirect removed from the new mwiki VM I can try that.
>
> Best regards,
> Carl
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
Carl,  would it then make sense to stop changing the tags to hardcoded urls and wait to see if replacing ereg_replace works?
If that should be a yes should I than revert the changes I have already made ?

I think Rigo has a point since we use PHP 7.0.33 on the wiki, which has ereg_replace removed.
If it won't work I can always resume changing again.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Dick Groskamp-4
In reply to this post by Arrigo Marchiori


On 2020/12/09 19:51:57, Arrigo Marchiori <[hidden email]> wrote:

> Hello,
>
> trying a shot in the dark...
>
> On Wed, Dec 09, 2020 at 05:24:41PM -0000, Dick Groskamp wrote:
>
> > On 2020/12/09 11:34:03, Carl Marcum <[hidden email]> wrote:
> > > Hi Dick,
> > >
> > > I have copied it out and it's contents are below.
> > >
> > > On 12/9/20 5:42 AM, Dick Groskamp wrote:
> > > >
> > > > On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
> > > >> There are still hundreds of broken pages in the dev guide.
> > > >> Yes it seems to be idls and ildm tags.
>
> [...]
> > >      function renderIDLM( $input, $args, $parser ) {
> > >          $parser->disableCache();
> > >          $output = $parser->recursiveTagParse( $input );
> > >          $page = ereg_replace ('\.','/',$output);
> > >          $anchor = ereg_replace (':','.html#',$page);
> > >          $function = ereg_replace ('^.*:','',$page);
> [...]
> > Thanks,
> > now I only have to figure out why it isn't working :-)
>
> Could the culprit be the deprecated ereg_replace function, that was
> removed since PHP 7.0.0?
>
> Pointers:
> https://www.php.net/manual/en/function.ereg-replace.php
> https://stackoverflow.com/questions/3649574/replace-ereg-replace-with-preg-replace
>
> HTH,
> --
> rigo
>
> http://rigo.altervista.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
That might probably also be the reason why the tag <idl>  does work. It uses str_replace and NOT ereg_replace.



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Dick Groskamp-4


On 2020/12/10 13:57:39, Dick Groskamp <[hidden email]> wrote:

>
>
> On 2020/12/09 19:51:57, Arrigo Marchiori <[hidden email]> wrote:
> > Hello,
> >
> > trying a shot in the dark...
> >
> > On Wed, Dec 09, 2020 at 05:24:41PM -0000, Dick Groskamp wrote:
> >
> > > On 2020/12/09 11:34:03, Carl Marcum <[hidden email]> wrote:
> > > > Hi Dick,
> > > >
> > > > I have copied it out and it's contents are below.
> > > >
> > > > On 12/9/20 5:42 AM, Dick Groskamp wrote:
> > > > >
> > > > > On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
> > > > >> There are still hundreds of broken pages in the dev guide.
> > > > >> Yes it seems to be idls and ildm tags.
> >
> > [...]
> > > >      function renderIDLM( $input, $args, $parser ) {
> > > >          $parser->disableCache();
> > > >          $output = $parser->recursiveTagParse( $input );
> > > >          $page = ereg_replace ('\.','/',$output);
> > > >          $anchor = ereg_replace (':','.html#',$page);
> > > >          $function = ereg_replace ('^.*:','',$page);
> > [...]
> > > Thanks,
> > > now I only have to figure out why it isn't working :-)
> >
> > Could the culprit be the deprecated ereg_replace function, that was
> > removed since PHP 7.0.0?
> >
> > Pointers:
> > https://www.php.net/manual/en/function.ereg-replace.php
> > https://stackoverflow.com/questions/3649574/replace-ereg-replace-with-preg-replace
> >
> > HTH,
> > --
> > rigo
> >
> > http://rigo.altervista.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
> That might probably also be the reason why the tag <idl>  does work. It uses str_replace and NOT ereg_replace.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Just tested with a page with just one  tag <idlmodule>.
Changing it to <idl> renders the page correctly.
Changing to <idls> does NOT render the page, nor does <idlmodule>

Seems to me that ereg_replace is the culprit, but I'm no developer, nor technician

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Keith N. McKenna
In reply to this post by Marcus (OOo)
On 12/9/2020 5:38 PM, Marcus wrote:

> Am 09.12.20 um 18:35 schrieb Peter Kovacs:
>> How about we create a OpenOffice-Mwiki-ext Repo in gitbox?
>>
>> We could do the same for the forums customizations.
>>
>> So we have more control over our support code.
>
> +1
> This increases the chance that also others can have a look and give some
> hints when problems arise.
>
> Marcus
>
+1

Keith

>
>
>> On 09.12.20 18:24, Dick Groskamp wrote:
>>>
>>> On 2020/12/09 11:34:03, Carl Marcum <[hidden email]> wrote:
>>>> Hi Dick,
>>>>
>>>> I have copied it out and it's contents are below.
>>>>
>>>> It should be in github or svn but I haven't had time to do anything
>>>> with it.
>>>>
>>>> On 12/9/20 5:42 AM, Dick Groskamp wrote:
>>>>> On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
>>>>>> There are still hundreds of broken pages in the dev guide.
>>>>>> Yes it seems to be idls and ildm tags.
>>>>>>
>>>>>> There is a new upgraded VM setup for the wiki waiting to get
>>>>>> changed to
>>>>>> but I had hoped to look into before it get switched over.
>>>>>> But I have had limited time and I haven't been able to do any testing
>>>>>> with it since the URL is being redirected.
>>>>>> I don't know anything about MediaWiki extensions, yet anyway :)
>>>>>>
>>>>>> The Infra ticket for our VM is [1].
>>>>>>
>>>>>> The only place I know where the code is in the current wiki under:
>>>>>> extensions/OOoIDLtags/OOoIDLtags.php
>>>>>>
>>>>>>
>>>>>> [1] https://issues.apache.org/jira/browse/INFRA-20339
>>>>>>
>>>>>> Best regards,
>>>>>> Carl
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: [hidden email]
>>>>>> For additional commands, e-mail: [hidden email]
>>>>>>
>>>>>>
>>>>> Carl, thanks i will check into it.
>>>>>
>>>>> Is it possible to export/copy the IDLTags extension from the MWiki
>>>>> to a more accessible place ?
>>>>> That way it might be accessible for editing or reversed
>>>>> engineering. I think for now it is not reachable.
>>>>>
>>>>>
>>>> The filename is OOoIDLtags.php
>>>> ----
>>>> <?php
>>>> /**
>>>>    * IDL Tag extension
>>>>    * The IDLTagExtension was written to manage the IDL links in the
>>>> OpenOffice.org Developer's Guide.
>>>>    * The extension converts Java paths to links back to the online IDL
>>>> documentation.
>>>>    * @version 1.0.2
>>>>    * @link
>>>> http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension
>>>>    */
>>>>
>>>> if ( !defined( 'MEDIAWIKI' ) ) {
>>>>       die( 'This file is a MediaWiki extension, it is not a valid entry
>>>> point' );
>>>> }
>>>>
>>>> // Extension credits that will show up on Special:Version
>>>> $wgExtensionCredits['parserhook'][] = array(
>>>>       'name' => 'IDL Tags',
>>>>       'version' => '1.0.2',
>>>>       'author' => array( 'Clayton Cornell', 'Terry Ellison' ),
>>>>       'description' => 'Manage the IDL links in the OOo Dev Guide ',
>>>>       'url' =>
>>>> 'http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension',
>>>> );
>>>>
>>>> global $wgExtIDLtags;
>>>> $wgExtIDLtags           = new RenderIDLtags;
>>>> $wgExtensionFunctions[] = array( &$wgExtIDLtags, 'oooIDLTags' );
>>>>
>>>> class RenderIDLtags {
>>>>
>>>>       function oooIDLTags() {
>>>>           global $wgParser;
>>>>           $wgParser->setHook( 'idl', array( &$this, 'renderIDL' ) );
>>>>           $wgParser->setHook( 'idlm', array( &$this, 'renderIDLM' ) );
>>>>           $wgParser->setHook( 'idls', array( &$this, 'renderIDLS' ) );
>>>>           $wgParser->setHook( 'idlmodule', array( &$this,
>>>> 'renderIDLMODULE' ) );
>>>>           $wgParser->setHook( 'idltopic', array( &$this,
>>>> 'renderIDLTOPIC'
>>>> ) );
>>>>       }
>>>>
>>>>       function renderIDL( $input, $args, $parser ) {
>>>>           $parser->disableCache();
>>>>           $output = $parser->recursiveTagParse( $input );
>>>>           $output = '<a
>>>> href="http://api.openoffice.org/docs/common/ref/' .
>>>>               str_replace ('.','/',$output).'.html" class="external
>>>> text">'.$output.'</a>';
>>>>           return $output;
>>>>       }
>>>>
>>>>       function renderIDLM( $input, $args, $parser ) {
>>>>           $parser->disableCache();
>>>>           $output = $parser->recursiveTagParse( $input );
>>>>           $page = ereg_replace ('\.','/',$output);
>>>>           $anchor = ereg_replace (':','.html#',$page);
>>>>           $function = ereg_replace ('^.*:','',$page);
>>>>           $output = '<a
>>>> href="http://api.openoffice.org/docs/common/ref/' .
>>>>               $anchor.'" class="external text">'.$function.'</a>';
>>>>           return $output;
>>>>       }
>>>>
>>>>       function renderIDLS( $input, $args, $parser ) {
>>>>           $parser->disableCache();
>>>>           $output = $parser->recursiveTagParse( $input );
>>>>           $function = ereg_replace ('^.*\.','',$output);
>>>>           $output = '<a
>>>> href="http://api.openoffice.org/docs/common/ref/' .
>>>>               ereg_replace ('\.','/',$output).'.html" class="external
>>>> text">'.$function.'</a>';
>>>>           return $output;
>>>>       }
>>>>
>>>>       function renderIDLMODULE( $input, $args, $parser ) {
>>>>           $parser->disableCache();
>>>>           $output = $parser->recursiveTagParse( $input );
>>>>           $function = ereg_replace ('^.*\.','',$output);
>>>>           $output = '<a
>>>> href="http://api.openoffice.org/docs/common/ref/' .
>>>>               ereg_replace ('\.','/',$output).'/module-ix.html"
>>>> class="external text">'.$output.'</a>';
>>>>           return $output;
>>>>       }
>>>>
>>>>       function renderIDLTOPIC( $input, $args, $parser ) {
>>>>           $parser->disableCache();
>>>>           return '';
>>>>       }
>>>> }
>>>> ----
>>>>
>>>> Best regards,
>>>> Carl
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>> Thanks,
>>> now I only have to figure out why it isn't working :-)


signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Carl Marcum-5
In reply to this post by Dick Groskamp-4
Hi Dick,

On 12/10/20 8:27 AM, Dick Groskamp wrote:

>
> On 2020/12/10 01:09:49, Carl Marcum <[hidden email]> wrote:
>> Hi Arrigo,
>>
>>
>> On 12/9/20 2:51 PM, Arrigo Marchiori wrote:
>>> Hello,
>>>
>>> trying a shot in the dark...
>>>
>>> On Wed, Dec 09, 2020 at 05:24:41PM -0000, Dick Groskamp wrote:
>>>
>>>> On 2020/12/09 11:34:03, Carl Marcum <[hidden email]> wrote:
>>>>> Hi Dick,
>>>>>
>>>>> I have copied it out and it's contents are below.
>>>>>
>>>>> On 12/9/20 5:42 AM, Dick Groskamp wrote:
>>>>>> On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
>>>>>>> There are still hundreds of broken pages in the dev guide.
>>>>>>> Yes it seems to be idls and ildm tags.
>>> [...]
>>>>>        function renderIDLM( $input, $args, $parser ) {
>>>>>            $parser->disableCache();
>>>>>            $output = $parser->recursiveTagParse( $input );
>>>>>            $page = ereg_replace ('\.','/',$output);
>>>>>            $anchor = ereg_replace (':','.html#',$page);
>>>>>            $function = ereg_replace ('^.*:','',$page);
>>> [...]
>>>> Thanks,
>>>> now I only have to figure out why it isn't working :-)
>>> Could the culprit be the deprecated ereg_replace function, that was
>>> removed since PHP 7.0.0?
>>>
>>> Pointers:
>>> https://www.php.net/manual/en/function.ereg-replace.php
>>> https://stackoverflow.com/questions/3649574/replace-ereg-replace-with-preg-replace
>>>
>>> HTH,
>> Thanks for the tip.
>>
>> If I can get the redirect removed from the new mwiki VM I can try that.
>>
>> Best regards,
>> Carl
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
> Carl,  would it then make sense to stop changing the tags to hardcoded urls and wait to see if replacing ereg_replace works?
> If that should be a yes should I than revert the changes I have already made ?
>
> I think Rigo has a point since we use PHP 7.0.33 on the wiki, which has ereg_replace removed.
> If it won't work I can always resume changing again.
>

I started down this road back in May [1] and soon discovered there are
hundreds of affected pages in the dev guide alone.
If I thought we couldn't fix it I would say go ahead.

I found out at the same time a new VM was being provisioned for us with
an updated OS so I have access to that machine to look into this.
I ran into a roadblock in that the URL I should be able to see the test
wiki is being redirected.

I've been occupied with other things in the meantime at let it slide but
now that the subject has come up again it would be good to put it to
rest one way or another.
Last night I put in a ticket to have the redirect removed so I can see
the results of any changes.

I can change that method call and see if that works once I can see the
test wiki.
I'm hesitant to make the change live on our production instance however.

[1]
https://lists.apache.org/thread.html/rda96615951628eb0fafc004a8f0aa1177559fd3b5d9c9f30ce9cebc9%40%3Cdev.openoffice.apache.org%3E

Best regards,
Carl


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Dick Groskamp-4


On 2020/12/10 23:12:06, Carl Marcum <[hidden email]> wrote:

> Hi Dick,
>
> On 12/10/20 8:27 AM, Dick Groskamp wrote:
> >
> > On 2020/12/10 01:09:49, Carl Marcum <[hidden email]> wrote:
> >> Hi Arrigo,
> >>
> >>
> >> On 12/9/20 2:51 PM, Arrigo Marchiori wrote:
> >>> Hello,
> >>>
> >>> trying a shot in the dark...
> >>>
> >>> On Wed, Dec 09, 2020 at 05:24:41PM -0000, Dick Groskamp wrote:
> >>>
> >>>> On 2020/12/09 11:34:03, Carl Marcum <[hidden email]> wrote:
> >>>>> Hi Dick,
> >>>>>
> >>>>> I have copied it out and it's contents are below.
> >>>>>
> >>>>> On 12/9/20 5:42 AM, Dick Groskamp wrote:
> >>>>>> On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
> >>>>>>> There are still hundreds of broken pages in the dev guide.
> >>>>>>> Yes it seems to be idls and ildm tags.
> >>> [...]
> >>>>>        function renderIDLM( $input, $args, $parser ) {
> >>>>>            $parser->disableCache();
> >>>>>            $output = $parser->recursiveTagParse( $input );
> >>>>>            $page = ereg_replace ('\.','/',$output);
> >>>>>            $anchor = ereg_replace (':','.html#',$page);
> >>>>>            $function = ereg_replace ('^.*:','',$page);
> >>> [...]
> >>>> Thanks,
> >>>> now I only have to figure out why it isn't working :-)
> >>> Could the culprit be the deprecated ereg_replace function, that was
> >>> removed since PHP 7.0.0?
> >>>
> >>> Pointers:
> >>> https://www.php.net/manual/en/function.ereg-replace.php
> >>> https://stackoverflow.com/questions/3649574/replace-ereg-replace-with-preg-replace
> >>>
> >>> HTH,
> >> Thanks for the tip.
> >>
> >> If I can get the redirect removed from the new mwiki VM I can try that.
> >>
> >> Best regards,
> >> Carl
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >>
> > Carl,  would it then make sense to stop changing the tags to hardcoded urls and wait to see if replacing ereg_replace works?
> > If that should be a yes should I than revert the changes I have already made ?
> >
> > I think Rigo has a point since we use PHP 7.0.33 on the wiki, which has ereg_replace removed.
> > If it won't work I can always resume changing again.
> >
>
> I started down this road back in May [1] and soon discovered there are
> hundreds of affected pages in the dev guide alone.
> If I thought we couldn't fix it I would say go ahead.
>
> I found out at the same time a new VM was being provisioned for us with
> an updated OS so I have access to that machine to look into this.
> I ran into a roadblock in that the URL I should be able to see the test
> wiki is being redirected.
>
> I've been occupied with other things in the meantime at let it slide but
> now that the subject has come up again it would be good to put it to
> rest one way or another.
> Last night I put in a ticket to have the redirect removed so I can see
> the results of any changes.
>
> I can change that method call and see if that works once I can see the
> test wiki.
> I'm hesitant to make the change live on our production instance however.
>
> [1]
> https://lists.apache.org/thread.html/rda96615951628eb0fafc004a8f0aa1177559fd3b5d9c9f30ce9cebc9%40%3Cdev.openoffice.apache.org%3E
>
> Best regards,
> Carl
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Carl,
thanks for the response. I must have been hibernating in May. Missed that completely. ;-)

I'm no tech or programmer but replacing ereg_replace by pereg_replace (which should work on > PHP 7.0.*) seems to be the best and fastest way to correct this.

Since IDLTags is "just" a way to put rendering or format on to the tags it probably won't affect the actual text in the wiki. No big impact on the existing wiki I think. Just my 2 cents

If that works, everything is OK and we don't have to change anything more.
If it fails we can put the old OOoIDLTags.php back I should think. Then we should replace all the failing tags <idls>, <idlm> and <idlmodule>. <idltopic> seems to do nothing.

I will look into pereg_replace today to see if I can help make it function again.
Let me know if I can do anything else to help.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Broken_Link: "https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic"-rm201208-

Peter Kovacs-3
In reply to this post by Keith N. McKenna
I have created the Repository for MWiki extensions with my Proposed name:

openoffice-mwiki-ext.git
<https://gitbox.apache.org/repos/asf/openoffice-mwiki-ext.git>

It is ready to add our MWiki extensions.


On 10.12.20 20:35, Keith N. McKenna wrote:

> On 12/9/2020 5:38 PM, Marcus wrote:
>> Am 09.12.20 um 18:35 schrieb Peter Kovacs:
>>> How about we create a OpenOffice-Mwiki-ext Repo in gitbox?
>>>
>>> We could do the same for the forums customizations.
>>>
>>> So we have more control over our support code.
>> +1
>> This increases the chance that also others can have a look and give some
>> hints when problems arise.
>>
>> Marcus
>>
> +1
>
> Keith
>>
>>> On 09.12.20 18:24, Dick Groskamp wrote:
>>>> On 2020/12/09 11:34:03, Carl Marcum <[hidden email]> wrote:
>>>>> Hi Dick,
>>>>>
>>>>> I have copied it out and it's contents are below.
>>>>>
>>>>> It should be in github or svn but I haven't had time to do anything
>>>>> with it.
>>>>>
>>>>> On 12/9/20 5:42 AM, Dick Groskamp wrote:
>>>>>> On 2020/12/08 18:56:25, Carl Marcum <[hidden email]> wrote:
>>>>>>> There are still hundreds of broken pages in the dev guide.
>>>>>>> Yes it seems to be idls and ildm tags.
>>>>>>>
>>>>>>> There is a new upgraded VM setup for the wiki waiting to get
>>>>>>> changed to
>>>>>>> but I had hoped to look into before it get switched over.
>>>>>>> But I have had limited time and I haven't been able to do any testing
>>>>>>> with it since the URL is being redirected.
>>>>>>> I don't know anything about MediaWiki extensions, yet anyway :)
>>>>>>>
>>>>>>> The Infra ticket for our VM is [1].
>>>>>>>
>>>>>>> The only place I know where the code is in the current wiki under:
>>>>>>> extensions/OOoIDLtags/OOoIDLtags.php
>>>>>>>
>>>>>>>
>>>>>>> [1] https://issues.apache.org/jira/browse/INFRA-20339
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Carl
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: [hidden email]
>>>>>>> For additional commands, e-mail: [hidden email]
>>>>>>>
>>>>>>>
>>>>>> Carl, thanks i will check into it.
>>>>>>
>>>>>> Is it possible to export/copy the IDLTags extension from the MWiki
>>>>>> to a more accessible place ?
>>>>>> That way it might be accessible for editing or reversed
>>>>>> engineering. I think for now it is not reachable.
>>>>>>
>>>>>>
>>>>> The filename is OOoIDLtags.php
>>>>> ----
>>>>> <?php
>>>>> /**
>>>>>     * IDL Tag extension
>>>>>     * The IDLTagExtension was written to manage the IDL links in the
>>>>> OpenOffice.org Developer's Guide.
>>>>>     * The extension converts Java paths to links back to the online IDL
>>>>> documentation.
>>>>>     * @version 1.0.2
>>>>>     * @link
>>>>> http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension
>>>>>     */
>>>>>
>>>>> if ( !defined( 'MEDIAWIKI' ) ) {
>>>>>        die( 'This file is a MediaWiki extension, it is not a valid entry
>>>>> point' );
>>>>> }
>>>>>
>>>>> // Extension credits that will show up on Special:Version
>>>>> $wgExtensionCredits['parserhook'][] = array(
>>>>>        'name' => 'IDL Tags',
>>>>>        'version' => '1.0.2',
>>>>>        'author' => array( 'Clayton Cornell', 'Terry Ellison' ),
>>>>>        'description' => 'Manage the IDL links in the OOo Dev Guide ',
>>>>>        'url' =>
>>>>> 'http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension',
>>>>> );
>>>>>
>>>>> global $wgExtIDLtags;
>>>>> $wgExtIDLtags           = new RenderIDLtags;
>>>>> $wgExtensionFunctions[] = array( &$wgExtIDLtags, 'oooIDLTags' );
>>>>>
>>>>> class RenderIDLtags {
>>>>>
>>>>>        function oooIDLTags() {
>>>>>            global $wgParser;
>>>>>            $wgParser->setHook( 'idl', array( &$this, 'renderIDL' ) );
>>>>>            $wgParser->setHook( 'idlm', array( &$this, 'renderIDLM' ) );
>>>>>            $wgParser->setHook( 'idls', array( &$this, 'renderIDLS' ) );
>>>>>            $wgParser->setHook( 'idlmodule', array( &$this,
>>>>> 'renderIDLMODULE' ) );
>>>>>            $wgParser->setHook( 'idltopic', array( &$this,
>>>>> 'renderIDLTOPIC'
>>>>> ) );
>>>>>        }
>>>>>
>>>>>        function renderIDL( $input, $args, $parser ) {
>>>>>            $parser->disableCache();
>>>>>            $output = $parser->recursiveTagParse( $input );
>>>>>            $output = '<a
>>>>> href="http://api.openoffice.org/docs/common/ref/' .
>>>>>                str_replace ('.','/',$output).'.html" class="external
>>>>> text">'.$output.'</a>';
>>>>>            return $output;
>>>>>        }
>>>>>
>>>>>        function renderIDLM( $input, $args, $parser ) {
>>>>>            $parser->disableCache();
>>>>>            $output = $parser->recursiveTagParse( $input );
>>>>>            $page = ereg_replace ('\.','/',$output);
>>>>>            $anchor = ereg_replace (':','.html#',$page);
>>>>>            $function = ereg_replace ('^.*:','',$page);
>>>>>            $output = '<a
>>>>> href="http://api.openoffice.org/docs/common/ref/' .
>>>>>                $anchor.'" class="external text">'.$function.'</a>';
>>>>>            return $output;
>>>>>        }
>>>>>
>>>>>        function renderIDLS( $input, $args, $parser ) {
>>>>>            $parser->disableCache();
>>>>>            $output = $parser->recursiveTagParse( $input );
>>>>>            $function = ereg_replace ('^.*\.','',$output);
>>>>>            $output = '<a
>>>>> href="http://api.openoffice.org/docs/common/ref/' .
>>>>>                ereg_replace ('\.','/',$output).'.html" class="external
>>>>> text">'.$function.'</a>';
>>>>>            return $output;
>>>>>        }
>>>>>
>>>>>        function renderIDLMODULE( $input, $args, $parser ) {
>>>>>            $parser->disableCache();
>>>>>            $output = $parser->recursiveTagParse( $input );
>>>>>            $function = ereg_replace ('^.*\.','',$output);
>>>>>            $output = '<a
>>>>> href="http://api.openoffice.org/docs/common/ref/' .
>>>>>                ereg_replace ('\.','/',$output).'/module-ix.html"
>>>>> class="external text">'.$output.'</a>';
>>>>>            return $output;
>>>>>        }
>>>>>
>>>>>        function renderIDLTOPIC( $input, $args, $parser ) {
>>>>>            $parser->disableCache();
>>>>>            return '';
>>>>>        }
>>>>> }
>>>>> ----
>>>>>
>>>>> Best regards,
>>>>> Carl
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [hidden email]
>>>>> For additional commands, e-mail: [hidden email]
>>>>>
>>>> Thanks,
>>>> now I only have to figure out why it isn't working :-)
>
--
This is the Way! http://www.apache.org/theapacheway/index.html
12