mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 19:08:03 +02:00
wikiget: clean up
git-svn-id: trunk@47431 -
This commit is contained in:
parent
d9f5672279
commit
2ba48efb15
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<Version Value="9"/>
|
||||
@ -29,7 +29,6 @@
|
||||
<RunParams>
|
||||
<local>
|
||||
<FormatVersion Value="1"/>
|
||||
<LaunchingApplication PathPlusParams="/usr/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
||||
</local>
|
||||
</RunParams>
|
||||
<RequiredPackages Count="3">
|
||||
@ -48,7 +47,6 @@
|
||||
<Unit0>
|
||||
<Filename Value="wikiget.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<UnitName Value="wikiget"/>
|
||||
</Unit0>
|
||||
</Units>
|
||||
</ProjectOptions>
|
||||
@ -61,12 +59,6 @@
|
||||
<IncludeFiles Value="$(ProjOutDir)"/>
|
||||
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
|
||||
</SearchPaths>
|
||||
<Other>
|
||||
<CompilerMessages>
|
||||
<MsgFileName Value=""/>
|
||||
</CompilerMessages>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
<Debugging>
|
||||
<Exceptions Count="3">
|
||||
|
@ -296,7 +296,7 @@ begin
|
||||
Page:=copy(s,StartPos,p-StartPos);
|
||||
while (Page<>'') and (Page[1]='/') do
|
||||
System.Delete(Page,1,1);
|
||||
if (Page<>'') and (not IsIgnoredPage(Page)) then begin;
|
||||
if (Page<>'') and (not IsIgnoredPage(Page)) then begin
|
||||
//writeln('TWikiGet.GetAll Page="',Page,'"');
|
||||
Filename:=PageToFilename(Page,false);
|
||||
AddWikiPage(Page);
|
||||
@ -790,6 +790,8 @@ end;
|
||||
var
|
||||
Application: TWikiGet;
|
||||
begin
|
||||
//TestWikiPageToFilename;
|
||||
|
||||
Application:=TWikiGet.Create(nil);
|
||||
Application.Title:='Wiki Get';
|
||||
Application.Run;
|
||||
|
Loading…
Reference in New Issue
Block a user