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

2020-12-11 Thread Keith N. McKenna
On 12/11/2020 10:01 AM, Matthias Seidel wrote:
> Hi Peter,
> 
> I am not sure what you are talking about here...
> 
> The discussion is about a non working extension for our Wiki server.
> 
> The repository is for our Media Wiki extension?
> 
> 2 totally different things...
> 
> Matthias

Matthias;

The repository Peter created is for custom MediaWiki extensions that
were created specifically for our mwiki. The one in particular is the
one raising havoc with many pages in the development section of the
mwiki were multiple pages will not open because some instructions were
deprecated.

Regards
Keith

> Am 11.12.20 um 12:22 schrieb Peter Kovacs:
>> I have created the Repository for MWiki extensions with my Proposed name:
>>
>> 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  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  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: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>
 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
>>> 
>>> >> /**
>>>     * 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,

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

2020-12-11 Thread Matthias Seidel
Hi Dick,

Am 11.12.20 um 20:45 schrieb Dick Groskamp:
>
> On 2020/12/11 19:34:47, Matthias Seidel  wrote: 
>> Hi Dick,
>>
>> Am 11.12.20 um 20:29 schrieb Dick Groskamp:
>>> On 2020/12/11 17:23:20, Matthias Seidel  wrote: 
 Hi Dick,

 Am 11.12.20 um 17:14 schrieb Dick Groskamp:

 The extension is not broken, it is outdated. It cannot be updated
 because that would need a newer version of Wiki.
 However, our AOO skin for the Wiki must be adapted to the newer Wiki
 version...

 At least that is what I understood from Andrea's posts regarding the
 Wiki server in 2019 [1]

>>> Well, if it is outdated and it doesn't do its job, I think it is broken.
>>> What I meant to say is that it doesn't work the way it was designed anymore.
 See above, the extension is not ours. It is from mediaWiki.org (?)

>>> Well, I think it is ours. It was especially created by former developers 
>>> for this purpose and it is probably nowhere else available/usable and just 
>>> works on our wiki.
>> Who would that developer be?! Do you know a name?
> It was somewhere up in this thread:
> // 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',
> );
>> Isn't it more likely that it is a mediawiki extension like:
>>
>> https://www.mediawiki.org/wiki/Extension:SyntaxHighlight
>>
> That is probably where the confusion comes from. You can develop your own 
> extensions if you want, just like our own .oxt's. The whole IDLTags extension 
> is the PHP-page Carl copied from the configuration. That's all

Yes, it seems that this was done "back then".

But I don't think we should try to fix such an old extension if there is
probably a better one included in the Wiki installation.

>>> I haven't read Andrea's post yet, I focused more on getting this defective 
>>> extension IDLTags repaired.
>> Well, that would be a workaround for the moment, but we should "simply"
>> fix the source of the problem...
>>
> With "source of the problem" I assume you mean upgrading the wiki version and 
> updating the skin
> etc as mentioned in Andrea's post
Yes, if I remember it right, Andrea had to use an older PHP version to
get the Wiki running "as is".
>
> As far as I know has Carl a new updated VM  available to go along with that, 
> but he has a tiny
> problem getting access. I think that will be the next step.

Infra wants to update the VM. This probably means we get an even newer
Wiki installation.

Carl has opened a ticket, since we can't test the new VM because of a
redirection.

Regards,

   Matthias

>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>



smime.p7s
Description: S/MIME Cryptographic Signature


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

2020-12-11 Thread Dick Groskamp



On 2020/12/11 19:34:47, Matthias Seidel  wrote: 
> Hi Dick,
> 
> Am 11.12.20 um 20:29 schrieb Dick Groskamp:
> >
> > On 2020/12/11 17:23:20, Matthias Seidel  wrote: 
> >> Hi Dick,
> >>
> >> Am 11.12.20 um 17:14 schrieb Dick Groskamp:
> >>
> >> The extension is not broken, it is outdated. It cannot be updated
> >> because that would need a newer version of Wiki.
> >> However, our AOO skin for the Wiki must be adapted to the newer Wiki
> >> version...
> >>
> >> At least that is what I understood from Andrea's posts regarding the
> >> Wiki server in 2019 [1]
> >>
> > Well, if it is outdated and it doesn't do its job, I think it is broken.
> > What I meant to say is that it doesn't work the way it was designed anymore.
> >> See above, the extension is not ours. It is from mediaWiki.org (?)
> >>
> > Well, I think it is ours. It was especially created by former developers 
> > for this purpose and it is probably nowhere else available/usable and just 
> > works on our wiki.
> 
> Who would that developer be?! Do you know a name?

It was somewhere up in this thread:
// 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',
);
> 
> Isn't it more likely that it is a mediawiki extension like:
> 
> https://www.mediawiki.org/wiki/Extension:SyntaxHighlight
> 
That is probably where the confusion comes from. You can develop your own 
extensions if you want, just like our own .oxt's. The whole IDLTags extension 
is the PHP-page Carl copied from the configuration. That's all
> >
> > I haven't read Andrea's post yet, I focused more on getting this defective 
> > extension IDLTags repaired.
> 
> Well, that would be a workaround for the moment, but we should "simply"
> fix the source of the problem...
> 
With "source of the problem" I assume you mean upgrading the wiki version and 
updating the skin
etc as mentioned in Andrea's post

As far as I know has Carl a new updated VM  available to go along with that, 
but he has a tiny
problem getting access. I think that will be the next step.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-11 Thread Matthias Seidel
Hi Dick,

Am 11.12.20 um 20:29 schrieb Dick Groskamp:
>
> On 2020/12/11 17:23:20, Matthias Seidel  wrote: 
>> Hi Dick,
>>
>> Am 11.12.20 um 17:14 schrieb Dick Groskamp:
>>
>> The extension is not broken, it is outdated. It cannot be updated
>> because that would need a newer version of Wiki.
>> However, our AOO skin for the Wiki must be adapted to the newer Wiki
>> version...
>>
>> At least that is what I understood from Andrea's posts regarding the
>> Wiki server in 2019 [1]
>>
> Well, if it is outdated and it doesn't do its job, I think it is broken.
> What I meant to say is that it doesn't work the way it was designed anymore.
>> See above, the extension is not ours. It is from mediaWiki.org (?)
>>
> Well, I think it is ours. It was especially created by former developers for 
> this purpose and it is probably nowhere else available/usable and just works 
> on our wiki.

Who would that developer be?! Do you know a name?

Isn't it more likely that it is a mediawiki extension like:

https://www.mediawiki.org/wiki/Extension:SyntaxHighlight

>
> I haven't read Andrea's post yet, I focused more on getting this defective 
> extension IDLTags repaired.

Well, that would be a workaround for the moment, but we should "simply"
fix the source of the problem...

Regards,

   Matthias

>
> Problem is the deprecation of the ereg_replace function from PHP 7.0.*
> That was the function that was used in this IDLTags extension and made it 
> work as it did. This is the reason that several pages in the DevGuide show 
> blank.
>
> If we can replace the used ereg_replace function by a still usable 
> preg_replace function it should
> work again and all should be well :-)
>
>
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>



smime.p7s
Description: S/MIME Cryptographic Signature


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

2020-12-11 Thread Dick Groskamp



On 2020/12/11 17:23:20, Matthias Seidel  wrote: 
> Hi Dick,
> 
> Am 11.12.20 um 17:14 schrieb Dick Groskamp:
> 
> The extension is not broken, it is outdated. It cannot be updated
> because that would need a newer version of Wiki.
> However, our AOO skin for the Wiki must be adapted to the newer Wiki
> version...
> 
> At least that is what I understood from Andrea's posts regarding the
> Wiki server in 2019 [1]
> 
Well, if it is outdated and it doesn't do its job, I think it is broken.
What I meant to say is that it doesn't work the way it was designed anymore.
> 
> See above, the extension is not ours. It is from mediaWiki.org (?)
> 
Well, I think it is ours. It was especially created by former developers for 
this purpose and it is probably nowhere else available/usable and just works on 
our wiki.

I haven't read Andrea's post yet, I focused more on getting this defective 
extension IDLTags repaired.

Problem is the deprecation of the ereg_replace function from PHP 7.0.*
That was the function that was used in this IDLTags extension and made it work 
as it did. This is the reason that several pages in the DevGuide show blank.

If we can replace the used ereg_replace function by a still usable preg_replace 
function it should
work again and all should be well :-)





-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-11 Thread Matthias Seidel
Hi Dick,

Am 11.12.20 um 17:14 schrieb Dick Groskamp:
> I think there is some confusion. I will try to explain:
I know, that's why I asked. ;-)
>
> There is an extension for AOo, the extension MediaWiki that you repaired for 
> 4.1.8, which is intended to convert text from Writer to Mediawiki content. We 
> are not referring to that one.

Exactly!

But I didn't repair it, it just started to work after we updated several
core component...

>
> There is also an extension for the Mediawiki itself. That extension is called 
> IDLTags en converts tags on the Mediawiki to valid URL's for references to 
> IDL in the DevGuide.
> This is where we are talking about. This last extension has been broken and 
> we couldn't find it anywhere but in the configuration of Mediawiki itself. It 
> was removed from the wiki and it seems the developers left us.

The extension is not broken, it is outdated. It cannot be updated
because that would need a newer version of Wiki.
However, our AOO skin for the Wiki must be adapted to the newer Wiki
version...

At least that is what I understood from Andrea's posts regarding the
Wiki server in 2019 [1]

>
> Carl managed to extract IDLTags from the configuration and now we were 
> looking for a place to store it, so everyone can have a look at it and that 
> it is accessible to everyone.  See it as a safe haven for somehow lost 
> orphans.
>
> Therefore Peter has made this last repo openoffice-mwiki-ext.git
> 

See above, the extension is not ours. It is from mediaWiki.org (?)

Regards,

   Matthias

[1] https://www.mail-archive.com/dev@openoffice.apache.org/msg35741.html

>
> I think you can see it as a vault for precious gems that, not yet, have a 
> place on/in other repo's
>
> Greetings
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>



smime.p7s
Description: S/MIME Cryptographic Signature


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

2020-12-11 Thread Dick Groskamp



On 2020/12/11 15:01:35, Matthias Seidel  wrote: 
> Hi Peter,
> 
> I am not sure what you are talking about here...
> 
> The discussion is about a non working extension for our Wiki server.
> 
> The repository is for our Media Wiki extension?
> 
> 2 totally different things...
> 
> Matthias
> 
> Am 11.12.20 um 12:22 schrieb Peter Kovacs:
> > I have created the Repository for MWiki extensions with my Proposed name:
> >
> > 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  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  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: dev-unsubscr...@openoffice.apache.org
>  For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> 
> >>> 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
> >> 
> >>  >> /**
> >>     * 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();
> >>        

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

2020-12-11 Thread Matthias Seidel
Hi Peter,

I am not sure what you are talking about here...

The discussion is about a non working extension for our Wiki server.

The repository is for our Media Wiki extension?

2 totally different things...

Matthias

Am 11.12.20 um 12:22 schrieb Peter Kovacs:
> I have created the Repository for MWiki extensions with my Proposed name:
>
> 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  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  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: dev-unsubscr...@openoffice.apache.org
 For additional commands, e-mail: dev-h...@openoffice.apache.org


>>> 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
>> 
>> > /**
>>     * 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 = '> href="http://api.openoffice.org/docs/common/ref/' .
>>                str_replace ('.','/',$output).'.html" class="external
>> text">'.$output.'';
>>            return $output;
>>        }
>>
>>        function renderIDLM( 

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

2020-12-11 Thread Peter Kovacs

I have created the Repository for MWiki extensions with my Proposed name:

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  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  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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

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 = 'http://api.openoffice.org/docs/common/ref/' .
               str_replace ('.','/',$output).'.html" class="external
text">'.$output.'';
           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 = 'http://api.openoffice.org/docs/common/ref/' .
               $anchor.'" class="external text">'.$function.'';
           return $output;
       }

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

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

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



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

2020-12-11 Thread Dick Groskamp



On 2020/12/10 23:12:06, Carl Marcum  wrote: 
> Hi Dick,
> 
> On 12/10/20 8:27 AM, Dick Groskamp wrote:
> >
> > On 2020/12/10 01:09:49, Carl Marcum  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 -, Dick Groskamp wrote:
> >>>
>  On 2020/12/09 11:34:03, Carl Marcum  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  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: dev-unsubscr...@openoffice.apache.org
> >> For additional commands, e-mail: dev-h...@openoffice.apache.org
> >>
> > 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: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> 
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 ,  and .  
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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-10 Thread Carl Marcum

Hi Dick,

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


On 2020/12/10 01:09:49, Carl Marcum  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 -, Dick Groskamp wrote:


On 2020/12/09 11:34:03, Carl Marcum  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  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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org


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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-10 Thread Keith N. McKenna
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  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  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: dev-unsubscr...@openoffice.apache.org
>> For additional commands, e-mail: dev-h...@openoffice.apache.org
>>
>>
> 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
 
 >>> /**
    * 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 = '>>> href="http://api.openoffice.org/docs/common/ref/' .
               str_replace ('.','/',$output).'.html" class="external
 text">'.$output.'';
           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 = '>>> href="http://api.openoffice.org/docs/common/ref/' .
               $anchor.'" class="external text">'.$function.'';
           return $output;
       }

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

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

2020-12-10 Thread Dick Groskamp



On 2020/12/10 13:57:39, Dick Groskamp  wrote: 
> 
> 
> On 2020/12/09 19:51:57, Arrigo Marchiori  wrote: 
> > Hello,
> > 
> > trying a shot in the dark...
> > 
> > On Wed, Dec 09, 2020 at 05:24:41PM -, Dick Groskamp wrote:
> > 
> > > On 2020/12/09 11:34:03, Carl Marcum  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  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: dev-unsubscr...@openoffice.apache.org
> > For additional commands, e-mail: dev-h...@openoffice.apache.org
> > 
> > 
> That might probably also be the reason why the tag   does work. It uses 
> str_replace and NOT ereg_replace.
> 
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> 
Just tested with a page with just one  tag .
Changing it to  renders the page correctly.
Changing to  does NOT render the page, nor does 

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

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-10 Thread Dick Groskamp



On 2020/12/09 19:51:57, Arrigo Marchiori  wrote: 
> Hello,
> 
> trying a shot in the dark...
> 
> On Wed, Dec 09, 2020 at 05:24:41PM -, Dick Groskamp wrote:
> 
> > On 2020/12/09 11:34:03, Carl Marcum  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  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: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> 
That might probably also be the reason why the tag   does work. It uses 
str_replace and NOT ereg_replace.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-10 Thread Dick Groskamp



On 2020/12/10 01:09:49, Carl Marcum  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 -, Dick Groskamp wrote:
> >
> >> On 2020/12/09 11:34:03, Carl Marcum  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  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: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-09 Thread Carl Marcum

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 -, Dick Groskamp wrote:


On 2020/12/09 11:34:03, Carl Marcum  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  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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-09 Thread Marcus

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  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  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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

   * @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 = 'href="http://api.openoffice.org/docs/common/ref/' .

              str_replace ('.','/',$output).'.html" class="external
text">'.$output.'';
          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 = 'href="http://api.openoffice.org/docs/common/ref/' .

              $anchor.'" class="external text">'.$function.'';
          return $output;
      }

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

              ereg_replace ('\.','/',$output).'.html" class="external
text">'.$function.'';
          return $output;
      }

      function renderIDLMODULE( $input, $args, $parser ) {
          $parser->disableCache();
          $output = $parser->recursiveTagParse( $input );
          $function = ereg_replace ('^.*\.','',$output);
          $output = 'href="http://api.openoffice.org/docs/common/ref/' .

              ereg_replace ('\.','/',$output).'/module-ix.html"
class="external text">'.$output.'';
          return $output;
      }

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


Best regards,
Carl


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org


Thanks,
now I only have to figure out why it isn't working :-)




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

2020-12-09 Thread Arrigo Marchiori
Hello,

trying a shot in the dark...

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

> On 2020/12/09 11:34:03, Carl Marcum  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  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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-09 Thread 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.


All the Best

Peter

On 09.12.20 18:24, Dick Groskamp wrote:


On 2020/12/09 11:34:03, Carl Marcum  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  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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

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 = 'http://api.openoffice.org/docs/common/ref/' .
              str_replace ('.','/',$output).'.html" class="external
text">'.$output.'';
          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 = 'http://api.openoffice.org/docs/common/ref/' .
              $anchor.'" class="external text">'.$function.'';
          return $output;
      }

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

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

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


Best regards,
Carl


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org


Thanks,
now I only have to figure out why it isn't working :-)

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org




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

2020-12-09 Thread Dick Groskamp



On 2020/12/09 11:34:03, Carl Marcum  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  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: dev-unsubscr...@openoffice.apache.org
> >> For additional commands, e-mail: dev-h...@openoffice.apache.org
> >>
> >>
> > 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
> 
>  /**
>   * 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 = 'http://api.openoffice.org/docs/common/ref/' .
>              str_replace ('.','/',$output).'.html" class="external 
> text">'.$output.'';
>          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 = 'http://api.openoffice.org/docs/common/ref/' .
>              $anchor.'" class="external text">'.$function.'';
>          return $output;
>      }
> 
>      function renderIDLS( $input, $args, $parser ) {
>          $parser->disableCache();
>          $output = $parser->recursiveTagParse( $input );
>          $function = ereg_replace ('^.*\.','',$output);
>          $output = 'http://api.openoffice.org/docs/common/ref/' .
>              ereg_replace ('\.','/',$output).'.html" class="external 
> text">'.$function.'';
>          return $output;
>      }
> 
>      function renderIDLMODULE( $input, $args, $parser ) {
>          $parser->disableCache();
>          $output = $parser->recursiveTagParse( $input );
>          $function = ereg_replace ('^.*\.','',$output);
>          $output = 'http://api.openoffice.org/docs/common/ref/' .
>              ereg_replace ('\.','/',$output).'/module-ix.html" 
> class="external text">'.$output.'';
>          return $output;
>      }
> 
>      function renderIDLTOPIC( $input, $args, $parser ) {
>          $parser->disableCache();
>          return '';
>      }
> }
> 
> 
> Best regards,
> Carl
> 
> 
> -
> To unsubscribe, e-mail: 

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

2020-12-09 Thread 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  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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

 * 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 = 'http://api.openoffice.org/docs/common/ref/' .
            str_replace ('.','/',$output).'.html" class="external 
text">'.$output.'';

        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 = 'http://api.openoffice.org/docs/common/ref/' .
            $anchor.'" class="external text">'.$function.'';
        return $output;
    }

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

        return $output;
    }

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

        return $output;
    }

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


Best regards,
Carl


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-09 Thread Dick Groskamp



On 2020/12/08 18:56:25, Carl Marcum  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: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> 
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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-08 Thread Carl Marcum




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


On 2020/12/08 13:56:41, "r_muell...@web.de"  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: r_muell...@web.de 
An: info...@wikimedia.org
Kopie (CC): r_muell...@web.de

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
r_muell...@web.de



I fixed it. It should be accessible now.

Seems that the IDLTags extension in MediaWiki partially functions.
tags  do work.
tags   don't work (changed to normal link)
tags  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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-08 Thread 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, "r_muell...@web.de"  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: r_muell...@web.de 
>> An: info...@wikimedia.org
>> Kopie (CC): r_muell...@web.de
>>
>> 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
>> r_muell...@web.de
>>
>>
> I fixed it. It should be accessible now.
>
> Seems that the IDLTags extension in MediaWiki partially functions.
> tags  do work.
> tags   don't work (changed to normal link)
> tags  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: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>



smime.p7s
Description: S/MIME Cryptographic Signature


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

2020-12-08 Thread Dick Groskamp



On 2020/12/08 13:56:41, "r_muell...@web.de"  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: r_muell...@web.de 
> An: info...@wikimedia.org
> Kopie (CC): r_muell...@web.de
> 
> 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
> r_muell...@web.de
> 
> 
I fixed it. It should be accessible now.

Seems that the IDLTags extension in MediaWiki partially functions.
tags  do work.
tags   don't work (changed to normal link)
tags  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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-08 Thread Dick Groskamp



On 2020/12/08 14:57:16, Matthias Seidel  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 r_muell...@web.de:
> > 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: r_muell...@web.de 
> > An: info...@wikimedia.org
> > Kopie (CC): r_muell...@web.de
> >
> > 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
> > r_muell...@web.de
> >
> >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> > For additional commands, e-mail: dev-h...@openoffice.apache.org
> 

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



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

2020-12-08 Thread 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 r_muell...@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: r_muell...@web.de 
> An: info...@wikimedia.org
> Kopie (CC): r_muell...@web.de
>
> 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
> r_muell...@web.de
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org


smime.p7s
Description: S/MIME Cryptographic Signature