On 2020/12/11 15:01:35, Matthias Seidel <matthias.sei...@hamburg.de> 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
> > <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 <cmar...@apache.org> 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 <cmar...@apache.org> 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
> >>>>>> ----
> >>>>>> <?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: 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 :-)
> >>
> Matthias,

I think there is some confusion. I will try to explain:

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.

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.

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
<https://gitbox.apache.org/repos/asf/openoffice-mwiki-ext.git>

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

Reply via email to