From: <var...@us...> - 2009-07-05 17:15:15
|
Revision: 6992 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6992&view=rev Author: vargenau Date: 2009-07-05 17:15:13 +0000 (Sun, 05 Jul 2009) Log Message: ----------- No need for untranslated page Removed Paths: ------------- trunk/locale/zh/pgsrc/CategoryCategory trunk/locale/zh/pgsrc/CategoryHomePages trunk/locale/zh/pgsrc/GoodStyle trunk/locale/zh/pgsrc/MostPopular trunk/locale/zh/pgsrc/NewMarkupTestPage trunk/locale/zh/pgsrc/OldTextFormattingRules trunk/locale/zh/pgsrc/PageHistory trunk/locale/zh/pgsrc/PageInfo trunk/locale/zh/pgsrc/PgsrcTranslation trunk/locale/zh/pgsrc/PhpWikiDocumentation trunk/locale/zh/pgsrc/PluginManager trunk/locale/zh/pgsrc/ReleaseNotes trunk/locale/zh/pgsrc/SteveWainstead trunk/locale/zh/pgsrc/TextFormattingRules Deleted: trunk/locale/zh/pgsrc/CategoryCategory =================================================================== --- trunk/locale/zh/pgsrc/CategoryCategory 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/CategoryCategory 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,11 +0,0 @@ -Date: Sun, 5 Jul 2009 16:45:34 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.4) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=CategoryCategory; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -<<TitleSearch s=Category noheader=1 exclude=CategoryCategory>> Deleted: trunk/locale/zh/pgsrc/CategoryHomePages =================================================================== --- trunk/locale/zh/pgsrc/CategoryHomePages 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/CategoryHomePages 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,17 +0,0 @@ -Date: Sun, 5 Jul 2009 16:45:34 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.4) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=CategoryHomePages; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -<<AllUsers include_empty=0 >> - ----- - -CategoryCategory - - Deleted: trunk/locale/zh/pgsrc/GoodStyle =================================================================== --- trunk/locale/zh/pgsrc/GoodStyle 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/GoodStyle 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,30 +0,0 @@ -Date: Sat, 4 Jul 2009 17:26:40 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=GoodStyle; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -"Young writers often suppose that style is a garnish for the meat of -prose, a sauce by which a dull dish is made palatable. Style has no -such separate entity; it is nondetachable, unfilterable. The beginner -should approach style warily, realizing that it is himself he is -approaching, no other; and he should begin by turning resolutely away -from all devices that are popularly believed to indicate style--all -mannerisms, tricks, adornments. The approach to style is by way of -plainness, simplicity, orderliness, sincerity." - ---Strunk and White, "The Elements of Style" - -''And thus an American textbook, typical required reading for -10th-grade English students, unknowingly extols some virtues of -WabiSabi'' - ---scummings - ----- - -PhpWikiDocumentation Deleted: trunk/locale/zh/pgsrc/MostPopular =================================================================== --- trunk/locale/zh/pgsrc/MostPopular 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/MostPopular 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,11 +0,0 @@ -Date: Sun, 5 Jul 2009 16:45:34 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=MostPopular; - flags=PAGE_LOCKED; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -<<MostPopular limit||=20 >> Deleted: trunk/locale/zh/pgsrc/NewMarkupTestPage =================================================================== --- trunk/locale/zh/pgsrc/NewMarkupTestPage 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/NewMarkupTestPage 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,155 +0,0 @@ -Date: Sat, 4 Jul 2009 17:26:40 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=NewMarkupTestPage; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -New lists: asterisks, hash marks, and ";text:def" (wrong...) -* bullet -* l1 - * l2 - * l2 - * l3 - # one - #two - #three -Term1: - definition1.1 - - definition1.2 -Term2 : - definition2 - - Term3: - definition3 - Term4: - definition4 - - definition4.2 - Term5 : - definition5 - -Mixed - - * ul1 - # ul1-ol1 - # ul1-ol2 - * ul1-ol2-ul1 - * ul1-ol2-ul2 - * ul1-ol2-ul2-ul1 - * ul1-ol2-ul2-ul2 - -* l1 - <pre> - preformatted text - </pre> - * l2 ----- - old lists, oddly enough, work fine - * level 1 - * l1 - *l2 - *l2 - *l3 - *l3 - *l4 - *l3 - *l5 - *l3 - #one - #two - #one - #two - *l1 - #three - #four - *l1 - *l2 - # one - # two - -<pre> - preformatted text - some more text -</pre> - - *l1 - *l2 - # number - # number -this is a plain paragraph - * bullet -this is a plain paragraph again - # number ----- -__Link tests__ -# normal: HomePage -# in brackets: [HomePage] -- named: [the front page|HomePage] -# Link in brackets: [http://phpwiki.sourceforge.net/] -# Link outside brackets: http://phpwiki.sourceforge.net/ -# Link with Wiki word: http://phpwiki.sourceforge.net/phpwiki/index.php?HomePage -# Two consecutive links: http://phpwiki.sourceforge.net/ http://phpwiki.sourceforge.net/phpwiki/ -# [PhpWiki on Sourceforge | http://phpwiki.sourceforge.net/] -# [URL with a WikiWord | http://phpwiki.sourceforge.net/phpwiki/index.php?RecentChanges] -# Javascript: [boo! | javascript:alert('oops') ] (is now: named internal link) -# A [[Link] produces a [Link] -# A [Link] looks like this: [[Link] -# This is a [%%%] line break link -# Also this page is [[not linked to], and this one is !NotLinkedTo and this one neither !http://not.linked.to/. - * WikiName - WikiNameSameStem -- !!WikiName - !!WikiNameSameStem - * !!WikiName - !!WikiNameSameStem -- WikiName - WikiNameSameStem - * WikiNameSameStem - WikiName -- !!WikiNameSameStem - !!WikiName - * !!WikiNameSameStem - !!WikiName -- WikiNameSameStem - WikiName - ----- -Markup tests: - -__underscores for bold__ - -'''quotes for bold''' - -''quotes for italic'' - -__''underscores bold italic''__ - -'''''five quotes bold italic''''' - -''''''six quotes'''''' - -'''''Bold italic''' and italic'' (buggy) - -'''Bold and ''bold-italic''''' (also buggy) - -!!! h1 - -!! h2 - -! h3 - -this is plain text with <br>%%% -a line break - -look at the <a href="http://phpwiki.sourceforge.net/">markup language</a> - -you cannot use &, < or > - ----- -Usage in preformatted text: -<pre> - __underscores for bold__ - '''quotes for bold''' - ''quotes for italic'' - __''underscores bold italic''__ - '''''five quotes bold italic''''' - ''''''six quotes'''''' - !!! h1 - !! h2 - ! h3 - this is plain text with <br>%%% - a line break - look at the <a href="http://phpwiki.sourceforge.net/">markup language</a> - you cannot use &, < or > -</pre> Deleted: trunk/locale/zh/pgsrc/OldTextFormattingRules =================================================================== --- trunk/locale/zh/pgsrc/OldTextFormattingRules 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/OldTextFormattingRules 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,111 +0,0 @@ -Date: Sat, 4 Jul 2009 17:26:40 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=OldTextFormattingRules; - flags=PAGE_LOCKED; - charset=UTF-8 -Content-Transfer-Encoding: binary - -! Synopsis -OldTextFormattingRules%%% -__Emphasis:__ '____' for ''italics'', _''''_ for __bold__, '____'_''''_ for ''__both__''.%%% -__Lists:__ * for bullet lists, # for numbered lists, ''__;__ term __:__ definition'' for definition lists.%%% -__References:__ !JoinCapitalizedWords or use square brackets for a [[page link] or URL [[!http://cool.wiki.int/].%%% -__Footnotes:__ Use [[1],[[2],[[3],...%%% -__Preventing linking:__ Prefix with "!": !!DoNotHyperlink, name links like [[[[text | URL] (double up on the "[").%%% -__Misc:__ "!", "!!", "!!!" make headings, "%%''''%" makes a linebreak, "-''''-''''-''''-" makes a horizontal rule. - ----- -! Paragraphs - -* Don't indent paragraphs -* Words wrap and fill as needed -* Use blank lines as separators -* Four or more minus signs make a horizontal rule -* %%''''% makes a linebreak (in headings and lists too) - - -! Lists - -* asterisk for first level -** asterisk-asterisk for second level, etc. -* Use * for bullet lists, # for numbered lists (mix at will) -* semicolon-term-colon-definition for definition lists: -;term here:definition here, as in the <DL><DT><DD> list -* One line for each item -* Other leading whitespace signals preformatted text, changes font. - -! Headings - -* '!' at the start of a line makes a small heading -* '!!' at the start of a line makes a medium heading -* '!!!' at the start of a line makes a large heading - -! Fonts - -* Indent with one or more spaces to use a monospace font: - - This is in monospace -This is not - -!Indented Paragraphs - -* semicolon-colon -- works like <BLOCKQUOTE> - -;: this is an indented block of text - -! Emphasis - -* Use doubled single-quotes ('____') for emphasis (usually ''italics'') -* Use doubled underscores (_''''_) for strong emphasis (usually __bold__) -* Mix them at will: __''bold italics''__ -* ''Emphasis'' can be used ''multiple'' times within a line, but ''cannot'' cross line boundaries: - -''this -will not work'' - -! References -* Hyperlinks to other pages within the Wiki are made by placing the page name in square brackets: [this is a page link] or UsingWikiWords (preferred) -* Hyperlinks to external pages are done like this: [http://www.wcsb.org/] -* You can name the links by providing a name, a bar (|) and then the hyperlink or pagename: [PhpWiki home page | http://phpwiki.sourceforge.net/] - [the front page | HomePage] -* You can suppress linking to old-style references and URIs by preceding the word with a '!', e.g. !NotLinkedAsWikiName, !http://not.linked.to/ -* You can create footnotes by using [[1], [[2], [[3], ... like this here [1]. See footnote for counterpart. (If the [[ is in the first column, it is a footnote ''definition'' rather than a footnote ''reference'' [1].) -* Also, the old way of linking URL's is still supported: precede URLs with "http:", "ftp:" or "mailto:" to create links automatically as in: http://c2.com/ -* URLs ending with .png, .gif, or .jpg are inlined if in square brackets, by themselves: [http://phpwiki.sourceforge.net/demo/themes/default/images/png.png] - -! Tables - -* Simple tables are available. A table row is introduced by a __|__ in the first column. It is best described by example: - || _''''_Name_''''_ |v _''''_Cost_''''_ |v _''''_Notes_''''_ - | _''''_First_''''_ | _''''_Last_''''_ - |> Jeff |< Dairiki |^ Cheap |< Not worth it - |> Marco |< Polo | Cheaper |< Not available -;: will generate -|| __Name__ |v __Cost__ |v __Notes__ -| __First__ | __Last__ -|> Jeff |< Dairiki |^ Cheap |< Not worth it -|> Marco |< Polo | Cheaper |< Not available - -;: Note that multiple __|__'s lead to spanned columns, and __v__'s can be used to span rows. A __>__ generates a right justified column, __<__ a left justified column and __^__ a centered column (which is the default.) - - -! HTML Mark-Up Language - -* Don't bother -* < and > are themselves -* The & characters will not work -* If you really must use HTML, your system administrator can enable this feature. Start each line with a bar (|). Note that this feature is disabled by default. - -! More detail than you want to know - -See [MagicPhpWikiURLs] for gory details on how to write -various kind of wiki maintainance links. - ------ - -Footnotes: - -[1] By using [[1] a second time (in the first column) the footnote itself is ''defined''. You may refer to a footnote as many times as you want, but you may only define it once on the page. Note the the [[1] in the footnote links back to the first reference, if there are multiple references there will be +'s after the [[1] which will link to the other references. (References which come ''after'' the footnote ''definition'' will not be linked to.) ----- -PhpWikiDocumentation Deleted: trunk/locale/zh/pgsrc/PageHistory =================================================================== --- trunk/locale/zh/pgsrc/PageHistory 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/PageHistory 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,11 +0,0 @@ -Date: Sun, 5 Jul 2009 16:45:34 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=PageHistory; - flags=PAGE_LOCKED; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -<<PageHistory>> Deleted: trunk/locale/zh/pgsrc/PageInfo =================================================================== --- trunk/locale/zh/pgsrc/PageInfo 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/PageInfo 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,11 +0,0 @@ -Date: Sun, 5 Jul 2009 16:45:34 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.4pre) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=PageInfo; - flags=PAGE_LOCKED; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -<<PageInfo>> Deleted: trunk/locale/zh/pgsrc/PgsrcTranslation =================================================================== --- trunk/locale/zh/pgsrc/PgsrcTranslation 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/PgsrcTranslation 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,594 +0,0 @@ -Date: Sat, 4 Jul 2009 22:32:31 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.7pre) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=PgsrcTranslation; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -__Note:__ This page is much more impressive on the -[demo server|PhpWikiDemo:en/PgsrcTranslation] where the page names -actually link. - -__What you are looking at:__ This table shows all the default pages -that ship with PhpWiki and what languages they have been translated -to. - -!! Translated Page Name Matrix -''Action Pages'' | - English (en) | - Deutsch (de) | - Español (es) | - Français (fr) | - Italiano (it) | - Nederlands (nl) | - Svenska (sv) - BackLinks | - BackLinks | - _ | - RétroLiens | - _ | - _ | - _ - DebugInfo | - DebugInfo | - _ | - DebugInfo | - _ | - _ | - _ - LikePages | - ÄhnlicheSeiten | - _ | - PagesSemblables | - _ | - _ | - _ - PageHistory | - SeitenProtokoll | - _ | - [Historique] | - _ | - _ | - _ - PageInfo | - SeitenInfo | - _ | - _ | - _ | - _ | - _ -''Plugin Pages'' | - English (en) | - Deutsch (de) | - Español (es) | - Français (fr) | - Italiano (it) | - Nederlands (nl) | - Svenska (sv) - AllPages | - AlleSeiten | - TodasLasPaginas | - ToutesLesPages | - TutteLePagina | - _ | - _ - AllUsers | - AlleBenutzer | - _ | - _ | - _ | - _ | - _ - CalendarPlugin | - _ | - _ | - PluginCalendrier | - _ | - _ | - _ - CalendarList | - _ | - _ | - _ | - _ | - _ | - _ - CommentPlugin | - _ | - _ | - _ | - _ | - _ | - _ - FindPage | - SeiteFinden | - BuscarPágina | - ChercherUnePage | - TrovaPagina | - ZoekPagina | - SökEfterSida - FullRecentChanges | - _ | - _ | - DernièresModifsComplètes | - _ | - _ | - _ - FullTextSearch | - VolltextSuche | - _ | - RechercheEnTexteIntégral | - _ | - _ | - _ - FuzzyPages | - FuzzySuche | - _ | - _ | - _ | - _ | - _ - HelloWorldPlugin | - _ | - _ | - _ | - _ | - _ | - _ - HomePageAlias | - StartSeiteAlias | - _ | - _ | - _ | - _ | - _ - OrphanedPages | - VerwaisteSeiten | - _ | - PagesOrphelines | - _ | - _ | - _ - MostPopular | - MeistBesucht | - MasPopulares | - LesPlusVisitées | - PiuPopolari | - MeestBezocht | - MestPopulär - OldStyleTablePlugin | - _ | - _ | - _ | - _ | - _ | - _ - PhotoAlbumPlugin | - _ | - _ | - _ | - _ | - _ | - _ - PhpHighlightPlugin | - _ | - _ | - _ | - _ | - _ | - _ - PhpWeatherPlugin | - _ | - _ | - _ | - _ | - _ | - _ - RandomPage | - ZufallsSeite | - _ | - PageAléatoire | - _ | - _ | - _ - RecentChanges | - NeuesteÄnderungen | - CambiosRecientes | - DernièresModifs | - CambiamentiRecenti | - RecenteVeranderingen | - SenasteÄndringar - RecentEdits | - GeringfügigeÄnderungen | - _ | - ÉditionsRécentes | - _ | - _ | - _ - RedirectToPlugin | - _ | - _ | - _ | - _ | - _ | - _ - TitleSearch | - TitelSuche | - _ | - RechercheParTitre | - _ | - _ | - _ - TranscludePlugin | - _ | - _ | - _ | - _ | - _ | - _ - UpLoad | - UpLoad | - _ | - _ | - _ | - _ | - _ - WantedPages | - WunschZettelSeiten | - _ | - _ | - _ | - _ | - _ - -''Special Pages'' | - English (en) | - Deutsch (de) | - Español (es) | - Français (fr) | - Italiano (it) | - Nederlands (nl) | - Svenska (sv) - _MailifyPage | - _ | - _ | - _ | - _ | - _ | - _ - CategoryCategory | - KategorieKategorie | - _ | - _ | - _ | - _ | - _ - HomePage | - StartSeite | - PáginaPrincipal | - [Accueil] | - PaginaPrincipale | - ThuisPagina | - [Framsida] - InterWikiMap | - InterWikiKarte | - _ | - CarteInterWiki | - _ | - _ | - _ - InterWikiSearch | - InterWikiSuche | - _ | - _ | - _ | - _ | - _ - [MagicPhpWikiURLs] | - _ | - _ | - [URLMagiquesPhpWiki] | - [MagiaPhpWikiURLs]? | - [ToverPhpWikiURLs] | - _ - OldTextFormattingRules | - AlteTextFormatierungsRegeln | - _ | - _ | - _ | - _ | - _ - PhpWikiAdministration | - PhpWikiAdministration | - _ | - AdministrationDePhpWiki | - AmministrazioneDiPhpWiki | - PhpWikiBeheer | - PhpWikiAdministration? - [PhpWikiAdministration/Remove] | - [PhpWikiAdministration/Löschen] | - _ | - _ | - _ | - _ | - _ - PluginManager | - _ | - _ | - _ | - _ | - _ | - _ - TextFormattingRules | - TextFormatierungsRegeln | - ReglasDeFormatoDeTexto | - RèglesDeFormatageDesTextes | - RegoleDiFormattazioneDelTesto | - TekstFormatteringsRegels | - [Textformateringsregler] - UserPreferences | - BenutzerEinstellungen | - _ | - PréférencesUtilisateurs | - UserPreferences? | - GebruikersVoorkeuren | - _ - -Normal pages | - English (en) | - Deutsch (de) | - Español (es) | - Français (fr) | - Italiano (it) | - Nederlands (nl) | - Svenska (sv) - AddingPages | - SeitenErzeugen | - AgregarPaginas | - AjouterDesPages | - AggiungerePagine | - PaginasToevoegen | - LäggaTillSidor - EditText | - TextBearbeiten | - EditarElTexto | - ÉditerLeContenu | - ModificaIlTesto | - VeranderTekst | - RedigeraText - GoodStyle | - GuterStil | - BuenEstilo | - StyleCorrect | - BuonStile | - GoedeStijl | - BraStil - HowToUseWiki | - WieManWikiBenutzt | - ComoUsarWiki | - CommentUtiliserUnWiki | - ComeUsareWiki | - HoeWikiTeGebruiken | - HurManAnvänderWiki - InterWiki | - _ | - _ | - InterWiki | - _ | - _ | - _ - LinkIcons | - _ | - _ | - IcônesDeLien | - _ | - _ | - _ - MoreAboutMechanics | - WikiTechnik | - MasAcercadeLaMecanica | - DétailsTechniques | - VarieSulFunzionamento | - MeerOverTechnieken | - MerOmMekanismerna - NewMarkupTestPage | - _ | - _ | - _ | - _ | - _ | - _ - OldMarkupTestPage | - _ | - _ | - _ | - _ | - _ | - _ - PhpWiki | - PhpWiki | - PhpWiki | - PhpWiki | - PhpWiki | - PhpWiki | - PhpWiki - PhpWikiDocumentation | - PhpWikiDokumentation | - _ | - DocumentationDePhpWiki | - _ | - _ | - _ - RecentVisitors | - GästeBuch | - VisitantesRecientes | - DerniersVisiteurs | - VisitatoriRecenti | - RecenteBezoekers | - [Gästboken] - ReleaseNotes | - _ | - _ | - NotesDeVersion | - NoteDiRilascio | - UitgaveNoten | - _ - SandBox | - SandKasten | - CajaDeArena | - [BacASable] | - ScatolaDiSabbia | - ZandBak | - [Sandlådan] - SteveWainstead | - SteveWainstead | - SteveWainstead | - SteveWainstead | - SteveWainstead | - SteveWainstead | - SteveWainstead - TestPage | - _ | - _ | - PageDeTests | - PaginaDiProva | - _ | - _ - WabiSabi | - WabiSabi | - WabiSabi | - WabiSabi | - WabiSabi | - _ | - WabiSabi - WikiPlugin | - _ | - _ | - PluginWiki | - _ | - _ | - _ - WikiWikiWeb | - WikiWikiWeb | - WikiWikiWeb | - WikiWikiWeb | - WikiWikiWeb | - _ | - WikiWikiWeb - -Automatically generated pages | - English (en) | - Deutsch (de) | - Español (es) | - Français (fr) | - Italiano (it) | - Nederlands (nl) | - Svenska (sv) - Diff: | - Vergleich: | - Diferencia de: | - Diff : | - Differenza di: | - Diff van: | - Diff av: - Edit: | - Bearbeite: | - Editar: | - Éditer : | - Modifica: | - Verander: | - Redigera: - Remove Page | - Seite Löschen | - Borrar Página | - Supprimer la Page | - Rimuovi la Pagina | - Verwijder Pagina | - Ta bort Sida - Sign In | - Anmelden | - _ | - S'inscrire | - _ | - _ | - _ - View Source: | - Quell Text: | - _ | - Afficher la Source : | - _ | - Bron Tekst: | - Visa Källkoden: - -Translator's page | - English (en) | - Deutsch (de) | - Español (es) | - Français (fr) | - Italiano (it) | - Nederlands (nl) | - Svenska (sv) - n/a | - _ | - [KBrown] | - RolandTrique | - _ | - JanNieuwenhuizen | - _ - -''Obsolete Pages'' | - English (en) | - Deutsch (de) | - Español (es) | - Français (fr) | - Italiano (it) | - Nederlands (nl) | - Svenska (sv) - ConvertTabsToSpaces | - KonvertiereLeerzeichenZuTabs | - ConvierteEspaciosEnTabs | - ConvertirTabEnEspaces | - ConvertiGliSpaziInTab | - VertaalSpatiesNaarTabs | - KonverteraMellanslagTillTabbar - -!! Notes -! These pages do not automatically link as ~WikiWords: -es: - [KBrown] -en: - [MagicPhpWikiURLs] -fr: - [BacASable] - [URLMagiquesPhpWiki] -it: - [MagicPhpWikiURLs] -nl: - [ToverPhpWikiURLs] - -! These pages have single word titles so ~[square brackets] are -required to link. - -fr: - [Accueil] -sv: - [Framsida] - [Gästboken] - [Sandlådan] - [Textformateringsregler] - -! These Action~Pages have single word titles, and must be renamed -using two words before they will work in PhpWiki 1.3.5pre: -en: - [Info] -fr: - [Historique] - [Info] - ----- - -See also: PhpWiki:MultiLingualWiki, PhpWiki:LanguageSelection, -PhpWikiDocumentation, PhpWikiDokumentation, DocumentationDePhpWiki Deleted: trunk/locale/zh/pgsrc/PhpWikiDocumentation =================================================================== --- trunk/locale/zh/pgsrc/PhpWikiDocumentation 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/PhpWikiDocumentation 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,29 +0,0 @@ -Date: Sun, 5 Jul 2009 16:45:34 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.4pre) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=PhpWikiDocumentation; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -!! Contents - -<<SiteMap - noheader=true - exclude=HomePage,PgsrcTranslation - reclimit=1 - direction=forward - firstreversed=1 ->> - -! Pages in this category: - -<<BackLinks - exclude||='' - include_self||=1 - noheader||=0 - page||=[pagename] - info||=pagename,mtime ->> Deleted: trunk/locale/zh/pgsrc/PluginManager =================================================================== --- trunk/locale/zh/pgsrc/PluginManager 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/PluginManager 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,13 +0,0 @@ -Date: Sun, 5 Jul 2009 16:45:34 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.4) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=PluginManager; - flags=PAGE_LOCKED; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -<<PluginManager>> ----- -PhpWikiDocumentation WikiPlugin Deleted: trunk/locale/zh/pgsrc/ReleaseNotes =================================================================== --- trunk/locale/zh/pgsrc/ReleaseNotes 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/ReleaseNotes 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,161 +0,0 @@ -Date: Sat, 4 Jul 2009 17:26:40 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=ReleaseNotes; - flags=PAGE_LOCKED; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -Jeffs Hacks. - -* New database API. See =lib/WikiDB.php= and =lib/WikiDB/backend.php= - for the bulk of the documentation on this. The new database can - save multiple archived versions of each page. A mechanism for - purging archived revisions is now in place as well. See the - $~ExpireParams setting in =index.php=, and =lib/~ArchiveCleaner.php= - for details. At this point, the DBA, MySQL and Postgres backends - are functional. The DBA backend could use some performance - optimization. The whole API is still subject to some change as I - figure out a clean way to provide for a variety of (not all forseen) - methods of indexing and searching the wiki. - -* New WikiPlugin architecture. - -* New template engine. This needs to be documented further, but, for - now, see =lib/Template.php=. On second thought, don't - (=lib/Template.php= desperately needs refactoring, still.) The - basic advance is that PHP4's =ob_*()= functions can be used to - capture output from code that is run through =eval(). This allows - the templates to be PHP code... - -* Edit preview button on the edit page. Now you can see what your - edits look like before committing them. - -* Reworked the style-sheets. I still need to clean this up some more. - I would appreciate comments and bug reports on it. So far I've only - tested the new style sheets with Netscape 4.77 and Mozilla 0.9.3 - (both running under Linux.) - -* Expanded syntax for text search, Searches like "wiki or web -page" - (or "(wiki or web) and not page") will now do more-or-less what they - look like they'll do. - -* Security Issues: PhpWiki will now work with PHP's =register_globals= - set to off. - -PhpWiki 1.3.x development branch. - -* Pagenames in =PATH_INFO=. - -* File uploads: see PhpWikiAdministration. - -* UserPreferences. - -* Ugly [MagicPhpWikiURLs] for administrative links. - -PhpWiki 1.2 is a huge advance over version 1.0: - -* Database support for MySQL, Postgresql, mSQL, flat file and the new - dba_ library in PHP4 is included. - -* Internationalization: support for different languages, down to the - source level, is included. German, Spanish, Swedish and Dutch are - currently shipped with PhpWiki. An architecture is in place to - easily add more languages. - -* New linking schemes using square brackets in addition to the old - style ~BumpyText. - -* Administration features include page locking, dumping the Wiki to a - zip file, and deleting pages. - -* A MostPopular page showing the most frequently hit pages. - -* Full HTML compliance. - -* Links at the bottom of pages describing relationships like incoming - links from other pages and their hits, outgoing and their hits, and - the most popular nearby pages. - -* Color page diffs between the current and previous version. - -* An info page to view page metadata. - -* Far more customization capability for the admin. - -* A templating system to separate the page HTML from the PHP code. - -* New markup constructs for =<B>=, =<I>=, =<DD>=, =<BR>= and more. - -* Tabless markup to supercede the older markup (both still supported). - - ----- - -PhpWiki 1.1.9 includes Spanish language pages, a full implementation -for Postgresql, numerous bug fixes and more. See the =HISTORY= file -for more info: http://phpwiki.sourceforge.net/phpwiki/HISTORY - ----- - -PhpWiki 1.1.6 is a major revision of PhpWiki. The ability to have -themes (via an easy-to-edit template system) has been added; the -schema for MySQL has been completely overhauled, breaking the page -details into columns (for efficiency we agreed not to put references -in a separate table, so it's not completely normalized. "Don't let the -best be the enemy of the good.") - -Postgresql support has been added and the markup language is evolving, now allowing - -!!!<h2> -!!<h3> -!<h4> - -tags and __a new way to make text bold__, and of course the -[new linking scheme]. - -There is a new feature on all pages called ''more info'' that gives -you a low level detailed view of a page, which is probably more useful -for debugging than anything. - -As we move towards a 1.2 release we will be adding logging, top ten -most active pages and other new features with the new database schema -(and yes, these features will make it into the DBM version too). I -also want to add mSQL support and test it under Zend, the new PHP4. - -Below are the release notes for version 1.03, the last release of the -1.0 PhpWiki series. --Steve Wainstead, mailto:sw...@pa... - ----- - -PhpWiki was written because I am so interested in WikiWikiWeb~s, and I -haven't used PHP since version 2.0. I wanted to see how it had -advanced. - -Version 1.0 is a near-perfect clone of the Portland Pattern -Repository, http://c2.com/cgi-bin/wiki?WikiWikiWeb. In truth, I was -using the Wiki script you can download from there as a model; that -Wiki lacks a number of features the PPR has, like EditCopy. So in -truth PhpWiki is a kind of hybrid of the PPR and the generic Wiki you -can get from there (which is written in Perl). - -The one caveat of PhpWiki is the allowance of HTML if the line is -preceded by a bar (or pipe, which is how I usually say it). (That's a -'=|='). It was very simple to add, and the idea came from a posting -somewhere on the PPR about how AT&T had an internal Wiki clone and -used the same technique. The ability to embed HTML is disabled by -default for security reasons. - -Version 1.01 includes a patch that fixes a small error with rendering -<hr> lines. Thanks to Gerry Barksdale. - -See the =HISTORY= file for a rundown on the whole development process -if that sort of thing really interests you :-) - ---SteveWainstead - ----- - -PhpWikiDocumentation Deleted: trunk/locale/zh/pgsrc/SteveWainstead =================================================================== --- trunk/locale/zh/pgsrc/SteveWainstead 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/SteveWainstead 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,14 +0,0 @@ -Date: Sat, 4 Jul 2009 17:26:40 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=SteveWainstead; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -Hi. I started building this WikiWikiWeb but many others help me -now. I'm at http://www.panix.com/~swain/. - -Please report bugs to mailto:php...@li... Deleted: trunk/locale/zh/pgsrc/TextFormattingRules =================================================================== --- trunk/locale/zh/pgsrc/TextFormattingRules 2009-07-05 17:04:08 UTC (rev 6991) +++ trunk/locale/zh/pgsrc/TextFormattingRules 2009-07-05 17:15:13 UTC (rev 6992) @@ -1,217 +0,0 @@ -Date: Sun, 5 Jul 2009 16:45:34 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=TextFormattingRules; - flags=PAGE_LOCKED; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -! Synopsis -TextFormattingRules - -*Emphasis:* <tt>~_</tt> for _italics_, <tt>~*</tt> for *bold*, -<tt>~_~*</tt> for _*both*_, <tt>~=</tt> for =fixed width=.%%% -*Lists:* <tt>~*</tt> for bullet lists, <tt>#</tt> for numbered lists, -_Term<b>:</b>~<new-line> definition_ for definition lists.%%% -*Preformatted text:* Enclose text in <tt>~<pre>~</pre></tt> or -<tt>~<verbatim>~</verbatim></tt>.%%% -*Indented text:* Indent the paragraph with whitespaces.%%% -*References:* ~JoinCapitalizedWords or use square brackets for a -<tt>~[page link]</tt> or URL <tt>~[~http://cool.wiki.int/]</tt>.%%% -*Preventing linking:* Prefix with "<tt>~~</tt>": -<tt>~~~DoNotHyperlink</tt>, name links like <tt>~[text | URL]</tt>.%%% -*Misc:* "<tt>!</tt>", "<tt>!!</tt>", "<tt>!!!</tt>" make headings, -"<tt>~%%%</tt>" or "<tt>~<br></tt>" makes a linebreak, -"<tt>~----</tt>" makes a horizontal rule.%%% -*Allowed HTML tags:* <b>b</b> <big>big</big> <i>i</i> -<small>small</small> <tt>tt</tt> <em>em</em> <strong>strong</strong> -<abbr>abbr</abbr> <acronym>acronym</acronym> <cite>cite</cite> -<code>code</code> <dfn>dfn</dfn> <kbd>kbd</kbd> <samp>samp</samp> -<var>var</var> <sup>sup</sup> <sub>sub</sub> - ----- - -!!! Paragraphs - -* Don't indent paragraphs -* Words wrap and fill as needed -* Use blank lines as separators -* Four or more minus signs make a horizontal rule -* =~%%%= or =~<br>= makes a linebreak (in headings and lists too) - - -!!! Lists - -* asterisk for first level - * indented asterisk (indent at least two spaces) for second level, etc. -* Use <tt>~*</tt>, <tt>-</tt>, <tt>+</tt> or <tt>o</tt> for bullet - lists, <tt>#</tt> for numbered lists (mix at will) -* Definition lists: - <pre> - Term: - definition - </pre> - gives - Term: - definition - as in the =<DL><DT><DD>= list -* Items may contain multiple paragraphs and other multi-lined content, - just indent the items - - -!!! Headings - -* '=!=' at the start of a line makes a small heading -* '=!!=' at the start of a line makes a medium heading -* '=!!!=' at the start of a line makes a large heading - - -!!! Preformatted text - -* Place preformatted lines inside =~<pre>=: - <verbatim> - <pre> - Preformatted text. WikiLinks still work. - </pre> - </verbatim> - gives - <pre> - Preformatted text. WikiLinks still work. - </pre> -* If you want text with no Wiki interaction, use the =~<verbatim>= tag: - <pre> - <verbatim> - Preformatted text. ~WikiLinks do not work. - </verbatim> - </pre> - gives - <verbatim> - Preformatted text. WikiLinks do not work. - </verbatim> - - -!!!Indented Paragraphs - -* Two or more whitespaces signal indented text. Indents may be nested. - - This is an indented block of text. - - This block is even more indented. - -* E-mail style block-quoting is supported as well: - <pre> - > This is block-quoted text. - </pre> - renders as - - > This is block-quoted text. - - -!!! Emphasis - -* Use an underscore (<tt>~_</tt>) for emphasis (usually _italics_) -* Use an asterisk (<tt>~*</tt>) for strong emphasis (usually *bold*) -* Mix them at will: *_bold italics_* -* _Emphasis_ can be used _multiple_ times within a paragraph, but - _cannot_ cross paragraph boundaries: - - _this - - will not work_ - -!!! References - -* Hyperlinks to other pages within the Wiki are made by placing the - page name in square brackets: [this is a page link] or - UsingWikiWords (preferred) -* Hyperlinks to external pages are done like this: - [http://www.wcsb.org/] -* You can name the links by providing a name, a bar (|) and then the - hyperlink or pagename: - [PhpWiki home page | http://phpwiki.sourceforge.net/] --- - [the front page | HomePage] -* You can suppress linking to old-style references and URIs by - preceding the word with a '<tt>~~</tt>', e.g. ~NotLinkedAsWikiName, - ~http://not.linked.to/ -* Also, the old way of linking URL's is still supported: precede URLs - with "<tt>http:</tt>", "<tt>ftp:</tt>" or "<tt>mailto:</tt>" to - create links automatically as in: http://c2.com/ -* URLs ending with =.png=, =.gif=, or =.jpg= are inlined if in square - brackets, by themselves: - [http://phpwiki.sourceforge.net/demo/themes/default/images/png.png] -* In-page #[hyperlinks] are made by placing a named anchor and - referring to the anchor in a hyperlink: - * Named anchors: - * <tt>~#~[foo]</tt>: An anchor around the text "foo" with id - "foo". - * <tt>~#~[|foo]</tt>: An empty anchor with id "foo". - * <tt>~#~[howdy|foo]</tt>: An anchor around the text "howdy" with - id "foo". - * References to name anchors are made thusly:%%% - <tt>~[~#[#hyperlinks]]</tt>, <tt>~[~OtherPage#foo]</tt>, - <tt>~[named|~OtherPage#foo]</tt>. - - -!!! Tables - -* Definition list style tables are written just like definition lists, - except that you replace the trailing colon on the term with a "pipe" - (<tt>|</tt>). - - <pre> - Term 1 | - Definition 1 begins here. - Term 1.1 | - Definition 1.1 - Term 1.2 | - Definition 1.2 - This is part of definition 1. - Term 2 | - Here's definition 2. - </pre> - - Term 1 | - Definition 1 begins here. - Term 1.1 | - Definition 1.1 - Term 1.2 | - Definition 1.2 - This is part of definition 1. - Term 2 | - Here's definition 2. - -* Old-style tables are supported through the OldStyleTablePlugin: - -!!! HTML Mark-Up Language - -* Some in-line markup is allowed through the use of HTML tags: - <b>b</b>, <big>big</big>, <i>i</i>, <small>small</small>, - <tt>tt</tt>, <em>em</em>, <strong>strong</strong>, - <abbr>abbr</abbr>, <acronym>acronym</acronym>, <cite>cite</cite>, - <code>code</code>, <dfn>dfn</dfn>, <kbd>kbd</kbd>, - <samp>samp</samp>, <var>var</var>, <sup>sup</sup> and <sub>sub</sub> -* < and > are themselves -* The & characters will not work - -!!! Creating various kinds of special links - -* See [MagicPhpWikiURLs] for gory details on how to write various kind - of wiki maintenance and other special links. - -!!! Inserting plugins - -* Several plugins permit embedding additional functionality to Wiki - pages. For example, - <verbatim> - <<BackLinks page=HomePage info=hits >> - </verbatim> - gives - <<BackLinks page=HomePage info=hits >> - -* For more information on plugins, see WikiPlugin. - ----- - -PhpWikiDocumentation This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2011-01-25 13:52:30
|
Revision: 7870 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7870&view=rev Author: vargenau Date: 2011-01-25 13:52:22 +0000 (Tue, 25 Jan 2011) Log Message: ----------- Prefix with Help/ Added Paths: ----------- trunk/locale/zh/pgsrc/Help%2FAddingPages trunk/locale/zh/pgsrc/Help%2FCalendarPlugin trunk/locale/zh/pgsrc/Help%2FCommentPlugin trunk/locale/zh/pgsrc/Help%2FEditText trunk/locale/zh/pgsrc/Help%2FExternalSearchPlugin trunk/locale/zh/pgsrc/Help%2FHelloWorldPlugin trunk/locale/zh/pgsrc/Help%2FHowToUseWiki trunk/locale/zh/pgsrc/Help%2FLinkIcons trunk/locale/zh/pgsrc/Help%2FMagicPhpWikiURLs trunk/locale/zh/pgsrc/Help%2FMoreAboutMechanics trunk/locale/zh/pgsrc/Help%2FOldStyleTablePlugin trunk/locale/zh/pgsrc/Help%2FPhotoAlbumPlugin trunk/locale/zh/pgsrc/Help%2FPhpHighlightPlugin trunk/locale/zh/pgsrc/Help%2FPhpWeatherPlugin trunk/locale/zh/pgsrc/Help%2FPhpWiki trunk/locale/zh/pgsrc/Help%2FRedirectToPlugin trunk/locale/zh/pgsrc/Help%2FSystemInfoPlugin trunk/locale/zh/pgsrc/Help%2FTranscludePlugin trunk/locale/zh/pgsrc/Help%2FWikiPlugin trunk/locale/zh/pgsrc/Help%2FWikiWikiWeb Removed Paths: ------------- trunk/locale/zh/pgsrc/AddingPages trunk/locale/zh/pgsrc/CalendarPlugin trunk/locale/zh/pgsrc/CommentPlugin trunk/locale/zh/pgsrc/EditText trunk/locale/zh/pgsrc/ExternalSearchPlugin trunk/locale/zh/pgsrc/HelloWorldPlugin trunk/locale/zh/pgsrc/HowToUseWiki trunk/locale/zh/pgsrc/LinkIcons trunk/locale/zh/pgsrc/MagicPhpWikiURLs trunk/locale/zh/pgsrc/MoreAboutMechanics trunk/locale/zh/pgsrc/OldStyleTablePlugin trunk/locale/zh/pgsrc/PhotoAlbumPlugin trunk/locale/zh/pgsrc/PhpHighlightPlugin trunk/locale/zh/pgsrc/PhpWeatherPlugin trunk/locale/zh/pgsrc/PhpWiki trunk/locale/zh/pgsrc/RedirectToPlugin trunk/locale/zh/pgsrc/SystemInfoPlugin trunk/locale/zh/pgsrc/TranscludePlugin trunk/locale/zh/pgsrc/WikiPlugin trunk/locale/zh/pgsrc/WikiWikiWeb Deleted: trunk/locale/zh/pgsrc/AddingPages =================================================================== --- trunk/locale/zh/pgsrc/AddingPages 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/AddingPages 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,31 +0,0 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=AddingPages; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -要加入一個新的頁面到 wiki, 你所要做的,就是使用一個有意義的標題, -並且將每個單字的第一個字母改為大寫,像是 StringThemTogetherLikeThis. -Wiki 會自動辨認為超連結. 除此之外,你也可以把任何單字放到中括號中, -像這樣 [square brackets]. - -然後你可以點選新超連結後的問號繼續 ClickTheQuestionMark, -而 Wiki 將會給你一個製作新頁面的視窗. - -如果你想要加入一份帶有複雜標記的文件到 Wiki, 你最好是提供一個 URL, -這會比直接貼上文件的內容好,像這樣: - -PhpWiki project homepage: http://phpwiki.sourceforge.net/ - -Wiki 不支援 HTML 標籤 (參閱 TextFormattingRules). -<tags>標籤就只會顯示為標籤.</tags> 為鼓勵使用, Wiki 盡可能地保持簡單. - -你的管理者可以打開允許嵌入 HTML 的功能, 但這樣可能就會牽涉到安全性議題. - ----- - -PhpWikiDocumentation Deleted: trunk/locale/zh/pgsrc/CalendarPlugin =================================================================== --- trunk/locale/zh/pgsrc/CalendarPlugin 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/CalendarPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,93 +0,0 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=CalendarPlugin; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -CalendarPlugin 可以用來在 wiki 頁面的月曆. 對 PersonalWiki~s 來說是很便利的. - -在月曆裡的個別日期連結到一個特別名稱的 wiki 頁面. -"day pages"(日頁面)的名稱預設會以月曆存在頁面的名稱加上日期. - -''此功能是從 [Manila|http://manila.userland.com/] 得到啟示, -並且首先由 GaryBenson 所實作. 後來則被 JeffDairiki 實作為 WikiPlugin.'' - -===用法: - -{{{ -<<Calendar>> -}}} - -你將會得到: -<<Calendar>> - --------- - -=== Plugin 引數 - -==== 月份的選擇 - -**year**: - - 為月曆指定年. (預設: 目前的年份.) - -**month**: - - 為月曆指定月份. (預設: 目前的月份.) - -**month_offset**: - - 加到 ''month''. 可以用來含括好幾個月的月曆到一個 wiki 頁面. - - <<Calendar month_offset=+1>> - -==== "Day Page" (日頁面)名稱 - -**date_format**: - - 使用 [Strftime| php-function:strftime] 風格的格式字串來為 "day pages" - 產生頁面名稱. 預設值為 =%Y-%m-%d=. - -**prefix**: - - Prepended to the date (formatted per ''date_format'') to generate - the "day page" names. The default value is =~[pagename]/=. - -==== Appearance - -**month_format**: - - 使用 [Strftime| php-function:strftime] 風格的格式字串產生 - 月曆的標題. (預設為 =%B, %Y=.) - -**wday_format**: - - 使用 [Strftime| php-function:strftime] 風格的格式字串產生 - 在月曆上頭的 day-of-week 名稱. - -**start_wday**: - - 每週是由那一天開始. 這會是一個介於 0 (Sunday)到 6(Saturday) 的整數. - - <<Calendar start_wday=1 >> - ------ - -==== Patch for 1.2 - -GaryBenson wrote the first calendar implementation for PhpWiki 1.2. -(Since 1.2 doesn't support plugins, it uses a =###CALENDAR###= token -as a trigger.) Gary provides a screenshot at -http://inauspicious.org/files/screenshots/calender.png|screenshot, a -[patch|http://inauspicious.org/files/phpwiki/phpwiki-1.2.0-calendar.patch] -(on 1.2.0), and -[calendar.php|http://inauspicious.org/files/phpwiki/calendar.php] -(which renders a view of the year.) - ----- - -PhpWikiDocumentation Deleted: trunk/locale/zh/pgsrc/CommentPlugin =================================================================== --- trunk/locale/zh/pgsrc/CommentPlugin 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/CommentPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,45 +0,0 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=CommentPlugin; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -== Synopsis - -CommentPlugin 可以讓你隱藏部份 Wiki 頁面而無須刪除這些文字. 註解將只會在 -編輯或查看源碼的時候顯現出來. - -== Usage - -簡單的把 =<<Comment= 和 =>>= 放在要註解的文字前後. - -{{{ -<<Comment - -== A Hidden Section - -這段文字將不會顯示在產生出的 HTML 頁面中, 但在你編輯 WikiMarkup 時,它仍然可以 -被看到. - ->> -}}} - -== Author - -Martin Geisler mailto:gim...@gi.... - -<<Comment - -== "Fuzzy" Logic -Theorem: a cat has nine tails. -Proof: - No cat has eight tails. A cat has one tail more than no cat. - Therefore, a cat has nine tails. - ->> ----- -WikiPlugin Deleted: trunk/locale/zh/pgsrc/EditText =================================================================== --- trunk/locale/zh/pgsrc/EditText 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/EditText 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,16 +0,0 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=EditText; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -所有頁面 (除了搜尋結果以外) 的最底部都有一個 EditText 連結. -如果準備好要編輯這個頁面時,你可以點擊這個連結. - ----- - -PhpWikiDocumentation Deleted: trunk/locale/zh/pgsrc/ExternalSearchPlugin =================================================================== --- trunk/locale/zh/pgsrc/ExternalSearchPlugin 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/ExternalSearchPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,58 +0,0 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=ExternalSearchPlugin; - flags=PAGE_LOCKED; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -=== Synopsis - -ExternalSearchPlugin 建立可以查詢 InterWiki 或其他內部站台的表單. - -=== Typical Usage -{{{ -<<ExternalSearch - url="InterWiki or URL" - name="button text" ->> -}}} - - -=== Arguments -**url**: - 指定來自 InterWikiMap 或 url 的 wiki. 任何被使用者輸入的文字將會附加在 - 搜尋 url 後面. 這段替代字串 '**=%s=**' 將會被用來在 url 裡插入搜尋查詢, - 而不是附加了. - -**name**: - 在送出按鈕上的文字. 對 InterWiki 站台來說,預設為 wiki 名稱,對其他 url - 來說,預設為 "External Search". - -**formsize**: - 指定輸入區域大小. (預設: 30 個字元) - -**debug**: - 不要真的重導向到外部站台, 只要印出要被重導向到的 url. - - -=== Examples -在 MeatBall wiki 上執行全文搜索: - -<<ExternalSearch - url="http://www.usemod.com/cgi-bin/mb.pl?search=" - name="MeatBall Search" ->> - -在 PHP 站台上搜索 function 名稱: -<<ExternalSearch url=php-lookup name="PHP Lookup" >> - -輸入 PHP 函數以查看文件頁:%%% -<<ExternalSearch url=php-function >> - -輸入PhpWiki上任何已存在的頁面名稱,以直接跳到該頁面. -<<ExternalSearch url=PhpWiki >> ----- -PhpWikiDocumentation WikiPlugin Deleted: trunk/locale/zh/pgsrc/HelloWorldPlugin =================================================================== --- trunk/locale/zh/pgsrc/HelloWorldPlugin 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/HelloWorldPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,78 +0,0 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -Content-Type: application/x-phpwiki; - pagename=HelloWorldPlugin; - flags=""; - author=test; - version=10; - lastmodified=1068935007; - author_id=test; - markup=2; - hits=10; - charset=UTF-8 -Content-Transfer-Encoding: binary - -簡單的範例 plugin. - -<<HelloWorld salutation="Hello," name="WikiUser" >> - -From the source of this page: - -{{{ -<<HelloWorld salutation="Hello," name="WikiUser" >> -}}} - ------ -PhpWiki 的 plugin 架構允許你加入自訂的頁面元素. 你所要做的就是繼承 ~WikiPlugin -類別並實作你的 run() 方法. - -<<PhpHighlight - -/** - * A simple demonstration WikiPlugin. - * - * Usage: - * <<HelloWorld> > - * <<HelloWorld - * salutation="Greetings, " - * name=Wikimeister - * > > - * <<HelloWorld salutation=Hi > > - * <<HelloWorld name=WabiSabi > > - */ - -// Constants are defined before the class. -if (!defined('THE_END')) - define('THE_END', "!"); - -class WikiPlugin_HelloWorld -extends WikiPlugin -{ - // Five required functions in a WikiPlugin. - - function getName () { - return _("HelloWorld"); - } - - function getDescription () { - return _("Simple Sample Plugin"); - - } - - // Establish default values for each of this plugin's arguments. - function getDefaultArguments() { - return array('salutation' => "Hello,", - 'name' => "World"); - } - - function run($dbi, $argstr, $request) { - extract($this->getArgs($argstr, $request)); - - // Any text that is returned will not be further transformed, - // so use html where necessary. - $html = HTML::tt(fmt('%s: %s', $salutation, WikiLink($name, 'auto')), - THE_END); - return $html; - } -}; ->> Copied: trunk/locale/zh/pgsrc/Help%2FAddingPages (from rev 7865, trunk/locale/zh/pgsrc/AddingPages) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FAddingPages (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FAddingPages 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,31 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FAddingPages; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +要加入一個新的頁面到 wiki, 你所要做的,就是使用一個有意義的標題, +並且將每個單字的第一個字母改為大寫,像是 StringThemTogetherLikeThis. +Wiki 會自動辨認為超連結. 除此之外,你也可以把任何單字放到中括號中, +像這樣 [square brackets]. + +然後你可以點選新超連結後的問號繼續 ClickTheQuestionMark, +而 Wiki 將會給你一個製作新頁面的視窗. + +如果你想要加入一份帶有複雜標記的文件到 Wiki, 你最好是提供一個 URL, +這會比直接貼上文件的內容好,像這樣: + +PhpWiki project homepage: http://phpwiki.sourceforge.net/ + +Wiki 不支援 HTML 標籤 (參閱 TextFormattingRules). +<tags>標籤就只會顯示為標籤.</tags> 為鼓勵使用, Wiki 盡可能地保持簡單. + +你的管理者可以打開允許嵌入 HTML 的功能, 但這樣可能就會牽涉到安全性議題. + +---- + +PhpWikiDocumentation Copied: trunk/locale/zh/pgsrc/Help%2FCalendarPlugin (from rev 7865, trunk/locale/zh/pgsrc/CalendarPlugin) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FCalendarPlugin (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FCalendarPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,93 @@ +Date: Tue, 4 Jan 2011 11:57:23 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FCalendarPlugin; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +CalendarPlugin 可以用來在 wiki 頁面的月曆. 對 PersonalWiki~s 來說是很便利的. + +在月曆裡的個別日期連結到一個特別名稱的 wiki 頁面. +"day pages"(日頁面)的名稱預設會以月曆存在頁面的名稱加上日期. + +''此功能是從 [Manila|http://manila.userland.com/] 得到啟示, +並且首先由 GaryBenson 所實作. 後來則被 JeffDairiki 實作為 WikiPlugin.'' + +===用法: + +{{{ +<<Calendar>> +}}} + +你將會得到: +<<Calendar>> + +-------- + +=== Plugin 引數 + +==== 月份的選擇 + +**year**: + + 為月曆指定年. (預設: 目前的年份.) + +**month**: + + 為月曆指定月份. (預設: 目前的月份.) + +**month_offset**: + + 加到 ''month''. 可以用來含括好幾個月的月曆到一個 wiki 頁面. + + <<Calendar month_offset=+1>> + +==== "Day Page" (日頁面)名稱 + +**date_format**: + + 使用 [Strftime| php-function:strftime] 風格的格式字串來為 "day pages" + 產生頁面名稱. 預設值為 =%Y-%m-%d=. + +**prefix**: + + Prepended to the date (formatted per ''date_format'') to generate + the "day page" names. The default value is =~[pagename]/=. + +==== Appearance + +**month_format**: + + 使用 [Strftime| php-function:strftime] 風格的格式字串產生 + 月曆的標題. (預設為 =%B, %Y=.) + +**wday_format**: + + 使用 [Strftime| php-function:strftime] 風格的格式字串產生 + 在月曆上頭的 day-of-week 名稱. + +**start_wday**: + + 每週是由那一天開始. 這會是一個介於 0 (Sunday)到 6(Saturday) 的整數. + + <<Calendar start_wday=1 >> + +----- + +==== Patch for 1.2 + +GaryBenson wrote the first calendar implementation for PhpWiki 1.2. +(Since 1.2 doesn't support plugins, it uses a =###CALENDAR###= token +as a trigger.) Gary provides a screenshot at +http://inauspicious.org/files/screenshots/calender.png|screenshot, a +[patch|http://inauspicious.org/files/phpwiki/phpwiki-1.2.0-calendar.patch] +(on 1.2.0), and +[calendar.php|http://inauspicious.org/files/phpwiki/calendar.php] +(which renders a view of the year.) + +---- + +PhpWikiDocumentation Copied: trunk/locale/zh/pgsrc/Help%2FCommentPlugin (from rev 7865, trunk/locale/zh/pgsrc/CommentPlugin) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FCommentPlugin (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FCommentPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,45 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FCommentPlugin; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +== Synopsis + +CommentPlugin 可以讓你隱藏部份 Wiki 頁面而無須刪除這些文字. 註解將只會在 +編輯或查看源碼的時候顯現出來. + +== Usage + +簡單的把 =<<Comment= 和 =>>= 放在要註解的文字前後. + +{{{ +<<Comment + +== A Hidden Section + +這段文字將不會顯示在產生出的 HTML 頁面中, 但在你編輯 WikiMarkup 時,它仍然可以 +被看到. + +>> +}}} + +== Author + +Martin Geisler mailto:gim...@gi.... + +<<Comment + +== "Fuzzy" Logic +Theorem: a cat has nine tails. +Proof: + No cat has eight tails. A cat has one tail more than no cat. + Therefore, a cat has nine tails. + +>> +---- +WikiPlugin Copied: trunk/locale/zh/pgsrc/Help%2FEditText (from rev 7865, trunk/locale/zh/pgsrc/EditText) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FEditText (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FEditText 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,16 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FEditText; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +所有頁面 (除了搜尋結果以外) 的最底部都有一個 EditText 連結. +如果準備好要編輯這個頁面時,你可以點擊這個連結. + +---- + +PhpWikiDocumentation Copied: trunk/locale/zh/pgsrc/Help%2FExternalSearchPlugin (from rev 7865, trunk/locale/zh/pgsrc/ExternalSearchPlugin) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FExternalSearchPlugin (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FExternalSearchPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,58 @@ +Date: Tue, 4 Jan 2011 11:57:23 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FExternalSearchPlugin; + flags=PAGE_LOCKED; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +=== Synopsis + +ExternalSearchPlugin 建立可以查詢 InterWiki 或其他內部站台的表單. + +=== Typical Usage +{{{ +<<ExternalSearch + url="InterWiki or URL" + name="button text" +>> +}}} + + +=== Arguments +**url**: + 指定來自 InterWikiMap 或 url 的 wiki. 任何被使用者輸入的文字將會附加在 + 搜尋 url 後面. 這段替代字串 '**=%s=**' 將會被用來在 url 裡插入搜尋查詢, + 而不是附加了. + +**name**: + 在送出按鈕上的文字. 對 InterWiki 站台來說,預設為 wiki 名稱,對其他 url + 來說,預設為 "External Search". + +**formsize**: + 指定輸入區域大小. (預設: 30 個字元) + +**debug**: + 不要真的重導向到外部站台, 只要印出要被重導向到的 url. + + +=== Examples +在 MeatBall wiki 上執行全文搜索: + +<<ExternalSearch + url="http://www.usemod.com/cgi-bin/mb.pl?search=" + name="MeatBall Search" +>> + +在 PHP 站台上搜索 function 名稱: +<<ExternalSearch url=php-lookup name="PHP Lookup" >> + +輸入 PHP 函數以查看文件頁:%%% +<<ExternalSearch url=php-function >> + +輸入PhpWiki上任何已存在的頁面名稱,以直接跳到該頁面. +<<ExternalSearch url=PhpWiki >> +---- +PhpWikiDocumentation WikiPlugin Copied: trunk/locale/zh/pgsrc/Help%2FHelloWorldPlugin (from rev 7865, trunk/locale/zh/pgsrc/HelloWorldPlugin) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FHelloWorldPlugin (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FHelloWorldPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,78 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +Content-Type: application/x-phpwiki; + pagename=Help%2FHelloWorldPlugin; + flags=""; + author=test; + version=10; + lastmodified=1068935007; + author_id=test; + markup=2; + hits=10; + charset=UTF-8 +Content-Transfer-Encoding: binary + +簡單的範例 plugin. + +<<HelloWorld salutation="Hello," name="WikiUser" >> + +From the source of this page: + +{{{ +<<HelloWorld salutation="Hello," name="WikiUser" >> +}}} + +----- +PhpWiki 的 plugin 架構允許你加入自訂的頁面元素. 你所要做的就是繼承 ~WikiPlugin +類別並實作你的 run() 方法. + +<<PhpHighlight + +/** + * A simple demonstration WikiPlugin. + * + * Usage: + * <<HelloWorld> > + * <<HelloWorld + * salutation="Greetings, " + * name=Wikimeister + * > > + * <<HelloWorld salutation=Hi > > + * <<HelloWorld name=WabiSabi > > + */ + +// Constants are defined before the class. +if (!defined('THE_END')) + define('THE_END', "!"); + +class WikiPlugin_HelloWorld +extends WikiPlugin +{ + // Five required functions in a WikiPlugin. + + function getName () { + return _("HelloWorld"); + } + + function getDescription () { + return _("Simple Sample Plugin"); + + } + + // Establish default values for each of this plugin's arguments. + function getDefaultArguments() { + return array('salutation' => "Hello,", + 'name' => "World"); + } + + function run($dbi, $argstr, $request) { + extract($this->getArgs($argstr, $request)); + + // Any text that is returned will not be further transformed, + // so use html where necessary. + $html = HTML::tt(fmt('%s: %s', $salutation, WikiLink($name, 'auto')), + THE_END); + return $html; + } +}; +>> Copied: trunk/locale/zh/pgsrc/Help%2FHowToUseWiki (from rev 7865, trunk/locale/zh/pgsrc/HowToUseWiki) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FHowToUseWiki (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FHowToUseWiki 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,74 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FHowToUseWiki; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +''"Wiki wiki"'' 在夏威夷話裡是 "快" 的意思.. + +*你真正需要了解的只有:* + +* 點擊頁面下方的"編輯"連結即可編輯頁面. 你應該立刻閱讀這個頁面的源碼. + 這會非常有用. + +* 要讓字體變為斜體,只要在前後加上底線,像是 _這樣_. + +* 要讓字體變為*粗體*,只要前後加上星號. + +* 然後,使用兩者,即可得到*_粗體加斜體_*. + +* 前後使用等號,就可以得到=正常文字=. + +* 在列的最前面加上 * ,即可條列文字. + +* 以 <pre> 和 </pre> 包起來的一段字,都會是一般正常字體. + + <pre> + this is a poem for sure + about monospacing + i wrote in purple velour + but couldn't find a rhyme for monospacing + </pre> + +* 使用額外的空白列就可以分割出段落. 舉例來說: + + I am a paragraph. + + I am a paragraph too. We're just very small paragraphs. + +* 用四個或更多的減號 -, 就能得到水平線: + + --------- + +* 只要將每個字的第一個字母改為大寫並放到一起,就可以建立超連結. 讓我們假設 + 一下,你想要建立一個頁面是關於 Steve Wainstead 吃蟲的事蹟. 你所需要做的 + 就是將每個字的第一個字母變為大寫並放到一起,像是: SteveWainsteadEatsLiveWorms. + 如果這個頁面還未不存在,那麼會有一個問號出現在連結的後面(或前面?!),讓你 + 點擊並建立頁面: ThisPageShouldNotExist. (請不要真的去建立這個頁面,以免 + 破壞這個範例.) + +* 要連結到外部 Wiki 的某頁面, 你可以直接輸入 URL, 而 Wiki將會為你製作連結: + http://www.nytimes.com/ + +* 要置放圖片的話,只要以中括號包圍超連結,像是: + ~[~http://www.yourhost.yourdomain/images/picture.png]. 不存在中括號之間 + 的圖片 URL,只會出現連結到該圖片的超連結. + +* 現在你已經準備好要開始加入新頁面 AddingPages. + +---- + +WikiWikiWeb 表示可以快速並簡單的編輯.他有非常簡單的標記,你可以閱讀 +TextFormattingRules 取得更多資訊. + +---- + +如果你不喜歡文字編輯視窗的大小,你可以改變它. 請參閱 UserPreferences. + +---- + +PhpWikiDocumentation Copied: trunk/locale/zh/pgsrc/Help%2FLinkIcons (from rev 7865, trunk/locale/zh/pgsrc/LinkIcons) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FLinkIcons (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FLinkIcons 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,61 @@ +Date: Tue, 4 Jan 2011 11:57:23 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FLinkIcons; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +LinkIcons 是一個 PhpWiki 可選的新特色. 當啟始以後, 圖示將被顯示在 URLs 的 +最前面以指示連結的型態. + +* [http://phpwiki.sourceforge.net/demo/themes/default/images/http.png] + http link +* [http://phpwiki.sourceforge.net/demo/themes/default/images/url.png] + generic internet link +* [http://phpwiki.sourceforge.net/demo/themes/default/images/interwiki.png] + InterWiki link +* [http://phpwiki.sourceforge.net/demo/themes/default/images/https.png] + https link +* [http://phpwiki.sourceforge.net/demo/themes/default/images/mailto.png] + mailto link +* [http://phpwiki.sourceforge.net/demo/themes/default/images/ftp.png] + ftp link + +**注意**: 部份預設圖示使用了 +[PNG|http://www.libpng.org/pub/png/png-sitemap.htm]圖片格式的 +alpha channel 特色以便能夠平順的在任何有顏色或有背景頁面被畫出來. +舊的瀏覽器可能無法顯示圖片. + +== Examples + +如果管理者有啟始這個特色的話,以下的範例將會只以上面的連結圖示顯示. + +=== InterWiki links + +* InterWiki link PhpWiki:InterWiki +* A named InterWiki [read WhyWikiWorks at c2|Wiki:WhyWikiWorks]. + +===URLs + +* Email address [PhpWiki-talk mailing list|mailto:php...@li...] +* Normal http link [PhpWiki's Home Page|http://phpwiki.sourceforge.net/phpwiki/] +* Secure http link [PhpWiki's Home Page|https://phpwiki.sourceforge.net/phpwiki/] +* File transfer ftp://ftp.sourceforge.net/ + +''A generic icon is shown for other less common link types.'' + +* news://nntp.news.com +* gopher://gopher.caltech.cmu.edu + +LinkIcons 將在 URL 協定是 PhpWiki 允許並能連結的時候才顯示. 除非管理者加上, +否則以下的範例無法顯示任何圖示,而 PhpWiki 也不會自動提供雙擊的連結, + +* bogus://oedipus.nostradamus.com +* bolo://lgm.cheshire.org + +---- + +PhpWikiDocumentation Copied: trunk/locale/zh/pgsrc/Help%2FMagicPhpWikiURLs (from rev 7865, trunk/locale/zh/pgsrc/MagicPhpWikiURLs) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FMagicPhpWikiURLs (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FMagicPhpWikiURLs 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,130 @@ +Date: Tue, 4 Jan 2011 11:57:23 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FMagicPhpWikiURLs; + flags=PAGE_LOCKED; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +== About phpwiki: URLs + +一種特別的 URL, 用來建立連結以執行管理和 PhpWiki 裡的其他特殊功能. +這裡是它們如何運作的簡短描述. + +phpwiki 的基礎語法: URL 是 + +<pre> +**phpwiki:**''pagename''**?**''query-args'' +</pre> + +如果 _pagename_ 被忽略,那麼預設為目前頁面. + +_Query-args_ 應該是以標準 HTTP GET 格式表示的一組參數. + +"action=''x''" 參數應該都要被給定. 他可以是這些值的其中一個: +**browse**, **diff**, **edit**, **viewsource**, +**zip**, **dumpserial**, **loadserial**, +**remove**, **lock**, **unlock**, +**login**, **logout**, **setprefs** or **save**. +預設的動作是 **browse**. + +部份動作接受其他參數. + +**FullTextSearch**, **TitleSearch**: + + 接受 **s** 表示欲搜尋的字串, 而 **size** 表示輸入的長度. + +**edit**: + + 接受 **version**. + +**remove**: + + 接受 **verify**. + +**save**: + + 接受 **editversion**, **minor_edit**, 和 **content**. + +**setprefs**: + + 接受 **edit_area_width**, **edit_area_height**. + +=== Writing Magic Links in Wiki Pages + +一個 magic 連結看起來會是: + +<pre> +**~[** ''text'' **|** ''phpwiki-url'' **]** +</pre> + +"''text'' *|*" 是可選的,但通常建議使用. 如果給了,他會為此連結提供標籤. + +_phpwiki-url_ 就如同上面描述的一樣,是一個 *phpwiki:* URL. + +==== Some examples + +{{{ +[ Edit the SandBox | phpwiki:SandBox?action=edit ] +}}} +將會產生一個連結,而他將會直接引領你去編輯 SandBox, 像是: +[Edit the SandBox | phpwiki:SandBox?action=edit]. + +其他可能的用法: +* [ Diff the SandBox | phpwiki:SandBox?action=diff ], +* [ Lock the HomePage | phpwiki:HomePage?action=lock ], +* [ Get a Full Zip Dump | phpwiki:?action=zip&include=all ], +* Search for [ Page titles containing 'wiki' | phpwiki:?action=TitleSearch&s=wiki ] + +=== Writing Magic Forms in Wiki Pages + +''**Note**: 舊的 Magic forms 語法將不再支援. +他們需以 =<?plugin-form>= 代替.'' + +If the plugin is called using *<?plugin-form* instead of *<?plugin* +and the plugin supports searching, then it will be rendered as a form. + +''size'': + + If given, specifies the size of the input area. + +''s'': + + Specifies the default value for the input. + +==== Examples: + +A search plugin invoked with *<?plugin* instead of *<?plugin-form* +simply inserts the search results of the plugin: + +{{{ +<<TitleSearch s=wiki noheader=true >> +}}} + +Search results for Page titles containing 'wiki': + +<<TitleSearch s=wiki noheader=true >> + +{{{ +<?plugin-form FullTextSearch ?> +}}} + +gives + +<?plugin-form FullTextSearch ?> + +While + +{{{ +<?plugin-form TitleSearch formsize=12 ?> +}}} + +yields + +<?plugin-form TitleSearch formsize=12 ?> + +---- + +PhpWikiDocumentation Copied: trunk/locale/zh/pgsrc/Help%2FMoreAboutMechanics (from rev 7865, trunk/locale/zh/pgsrc/MoreAboutMechanics) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FMoreAboutMechanics (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FMoreAboutMechanics 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,38 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FMoreAboutMechanics; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +PhpWiki 是以伺服器端的 script 語言 PHP 所撰寫的, PHP 可以從 +http://www.php.net 取得. PHP 綜合了 C 與 Perl 的語法和函數,並且很類似 +ASP, ~EmbPerl 或 JSP. + +PhpWiki 是以許多的 PHP 與 HTML 所組成的. 而基於 PHP 之上的 WikiWikiWeb +也使用資料庫存放頁面之前版本的的備份. (PhpWiki 目前支援了 DBM, MySQL, +PostgreSQL 或文字檔案等資料庫.) + +每次使用者點擊網站, 所娶得頁面會從資料庫拉出來,並立刻輸出. 使用者只能 +從 =index.php= 進入,而它則決定了要含括那些 php 檔案. + +Wiki 頁面的連結是自動被連結的: AddingPages. +這可能是 Wiki 中令人注意的地方, 要新增並連結頁面是很簡單的. 另外一個令人 +注意的事情是外部的 URLs 連結,像是: + +# http://www.wcsb.org/ +# ftp://ftp.redhat.com/ +# news://news.mozilla.org/ +# http://slashdot.org/ +# http://theregister.co.uk/ + +以命名空間與簡單的標記組成, Wiki 展現了 WabiSabi 的精神. + +PhpWiki 使用 GNU General Public license 授權,你應該參照這裡: +http://www.gnu.org/copyleft/gpl.txt. + +---- +PhpWikiDocumentation CategoryWiki Copied: trunk/locale/zh/pgsrc/Help%2FOldStyleTablePlugin (from rev 7865, trunk/locale/zh/pgsrc/OldStyleTablePlugin) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FOldStyleTablePlugin (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FOldStyleTablePlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,42 @@ +Date: Tue, 4 Jan 2011 11:57:23 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FOldStyleTablePlugin; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +OldStyleTablePlugin 用來在 wiki 頁面含括使用舊風格標記語法的表格. + +{{{ +<<OldStyleTable +||^ *Name* |v *Cost* |v *Notes* +| *First* | *Last* +|> Jeff |< Dairiki |^ Cheap |< Not worth it +|> Marco |< Polo | Cheaper |< Not available +>> +}}} + +將會得到 + +<<OldStyleTable +||^ *Name* |v *Cost* |v *Notes* +| *First* | *Last* +|> Jeff |< Dairiki |^ Cheap |< Not worth it +|> Marco |< Polo | Cheaper |< Not available +>> + +置首的多重 **|** 用來展延欄, 而 **v** 用來展延列. +**>** 產生靠右對齊的欄, **<** 產生靠左對齊的欄, 而 **^** 則產生置中的欄 (預設). + +---- + +Note that within each table cell, _new-style_ markup is used. You can +only use inline markup --- no block level markup is allowed within +table cells. + +(Using old-style markup wouldn't make much sense, since one can't +include multi-line plugin invocations using the old-style markup +rules.) Copied: trunk/locale/zh/pgsrc/Help%2FPhotoAlbumPlugin (from rev 7865, trunk/locale/zh/pgsrc/PhotoAlbumPlugin) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FPhotoAlbumPlugin (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FPhotoAlbumPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,68 @@ +Date: Tue, 4 Jan 2011 11:57:23 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FPhotoAlbumPlugin; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +== Summary +藉著顯示帶有說明以及相片檔名的文字檔以製作相簿. + +== Usage +{{{ +<<PhotoAlbum + src=http://server/textfile + mode=[column|row] + align=[center|left|right] + desc=true + sort=false + height=100% + width=100% +>> +}}} + +== Arguments +''只有 ='src'= 參數是必要的.'' + +**src**: + 一個 CSV 文字檔案,裡面每行的格式為 filename, description. + 裡面列出的每張相片必須都與 CSV 文字檔在同個目錄下. Descriptions 可寫可不寫. + +**mode**: + 指定相片排列的方法, ='column'= 表示直放, ='row'= 表示橫放. 預設為 ='row'=. + +**align**: + 每欄的對齊方式. 預設為 ='center'=. + +**desc**: + 是否顯示文字檔中指定的 description. 預設為真. + +**sort**: + 以檔案名稱排序圖片. 預設是以文字檔中的順序來排列. + +**height**, **width**: + 高度與寬度用來與用 [php-function:getimagesize] 取得的原始高度與寬度做比較, + 可以指定絕對值或百分比 (例如 "50%"). + +== Examples +=== Text file +正確文字檔的內容應該是: + +{{{ +photo-01.jpg; My girlfriend and I +photo-02.jpg +christmas.gif; Merry Christmas! +}}} + +=== Sample Album +<<PhotoAlbum + src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum" +>> + +== Plugin Author +[Ted Vinke|mailto:te...@jo...] <te...@jo...> +---- +PhpWikiDocumentation WikiPlugin Copied: trunk/locale/zh/pgsrc/Help%2FPhpHighlightPlugin (from rev 7865, trunk/locale/zh/pgsrc/PhpHighlightPlugin) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FPhpHighlightPlugin (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FPhpHighlightPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,99 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FPhpHighlightPlugin; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +PhpHighlightPlugin 使用了 php-function:highlight-string 來優雅印出 +PHP 程式碼. + +== Usage + +在同一行指定 plugin 的選項,簡單說就是在 =<?plugin= 與 =?>= 之間置放選項. + +{{{ +<<PhpHighlight [wrap?] [color options] +code to be highlighted +>> +}}} + +== Description + +plugin 將視 =wrap= 選項決定是否要在傳入 php-function:highlight-string 之前 +適切地加入 =<?php= 與 =?>= . 如果加入了 PHP 分隔子,那麼 plugin 在輸出之前, +會從 highlighted 字串再次移除他們. + +== Options + +Automatic Wrapping (自動分行): + + 如果你不想 plugin 自動為包在 =<?php= 和 =?>= 之間的源碼分行, 就設定 + =wrap= 為 0. 預設值是 =1=, 這表示 plugin 會自動小心地增加並移除 + =<?php= 和 =?>=. + + 如果你將 =wrap= 設為 =0=, 那麼你將得把 PHP 程式碼與 HTML 混在一起. + plugin 將會轉換 '=< ?php=' 為 '=<?php=' , '=? >=' 為 '=?>=' 以允許你 + 在程式碼中啟動與停止 PHP 模式. + +Color Options: + + plugin 允許使用(或不使用)對應到 *php.ini* 設定裡的 highlight 設定的 + 顏色引數. 指定顏色時必須是一個正確的十六進位顏色或是以小寫表示的 + [HTML 4 color name|http://www.w3.org/TR/REC-html40/types.html#h-6.5] + ,像是 ='#0f0344'= 或 =blue=. 你可以指定以下的選項: + + =string=, =comment=, =keyword=, =bg=, =default=, and =html= + +== Examples + +=== PHP 和預設顏色(從 =php.ini= 來的): + +<<PhpHighlight +function hello() { + echo "Hello World<p>"; +} +>> + +=== HTML 與嵌入的 PHP + +這兒我們必須使用 =wrap=0= 以避免自動折行並替換 '=?>=' 為 '=? >=': + +<<PhpHighlight wrap=0 html='#000000' bg='#dddddd' +<html> + <head> + <title>PHP Test</title> + </head> + <body> + < ?php echo "<p>Hello World</p>\n"; ? > + </body> +</html> +>> + +=== C Source + +雖然 =highlight_string() 是為 PHP 程式碼所設計,但他也適用於大部分 C 的基本 +語法 highlight ,因為這兩個語言的語法是很接近的. + +<<PhpHighlight default=black string=blue comment=gray keyword=purple +#include <stdio.h> +/* Get load */ +int +getload(void) +{ + if ((fp = fopen("/proc/loadavg", "r")) == NULL) { + syslog(LOG_ERR, _("%s %s: unable to open %s: %s"), _("FATAL ERROR:"), + "getload()", "/proc/loadavg", strerror(errno)); + exit(EX_OSFILE); + } + fclose(fp); +} +>> + +== Authors + +Martin Geisler mailto:gim...@gi... and Carsten Klapp +mailto:car...@us.... Copied: trunk/locale/zh/pgsrc/Help%2FPhpWeatherPlugin (from rev 7865, trunk/locale/zh/pgsrc/PhpWeatherPlugin) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FPhpWeatherPlugin (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FPhpWeatherPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,64 @@ +Date: Tue, 4 Jan 2011 11:57:23 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FPhpWeatherPlugin; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +== Synopsis + +~PhpWeatherPlugin 是個 WikiPlugin, 他使用 PhpWeather 來顯示目前世界上 +某些機場的氣象. 它看起來像是這樣: + +<<PhpWeather menu=true >> + +== Plugin Arguments + +**menu**: + 設定為 =true= 是讓 plugin 在報告之後產生選單. 使用者將可以從這個選單 + 去挑選國家,機場或語言. 預設值為 <tt>false</tt>. + +**icao**: + 使用這個引數來先行挑選機場,以替代預設機場 <tt>EKAH</tt>. 如果你想讓使 + 用者能用選單改變地方,那麼你得使用這樣的語法 + {{{ + <<PhpWeather menu=true icao||=EKYT >> + }}} + 然後當使用者送出表單時,值將會被覆寫.如果你只用了 + {{{ + <<PhpWeather menu=true icao=EKYT >> + }}} + 那麼,當使用者從清單挑選其他地方的時候,將不會有任何事情產生. + +**cc**: + Specify the country code. You can use this if you want pre-select a + different country than the one specified in the ICAO. So using + {{{ + <<PhpWeather menu=true cc||=GB icao||=KTTS >> + }}} + will show the current weather at the NASA Shuttle Facility, United + States (<tt>KTTS</tt>) and at the same time give the user a list of + stations in the United Kingdom. As the example shows, then you + should use <tt>cc||=XX</tt> when combining it with **menu** set to + <tt>true</tt>. + +**language**: + The default language. When combining **language** with **menu** set + to <tt>true</tt> then remember to use the <code>language||=xx</code> + form. + +**units**: + You can specify the way the units are printed. The choice is between + having both metric and imperial units printed, or just one of + them. Setting **units** to =both_metric= will print the metric value + first and then the imperial value in parenthesis. Using + =both_imperial= instead will do the opposite. + + If you only need the metric or imperial units to be shown, then + setting **units** to =only_metric= or =only_imperial= will do just + that. +---- +WikiPlugin Copied: trunk/locale/zh/pgsrc/Help%2FPhpWiki (from rev 7865, trunk/locale/zh/pgsrc/PhpWiki) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FPhpWiki (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FPhpWiki 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,18 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FPhpWiki; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +你現在正在使用 PhpWiki. 很難以置信,不是嗎? + +參訪我們位於 http://phpwiki.sourceforge.net 的首頁並參閱這兒的 PhpWiki +http://phpwiki.sourceforge.net/phpwiki/. + +---- + +PhpWikiDocumentation Copied: trunk/locale/zh/pgsrc/Help%2FRedirectToPlugin (from rev 7865, trunk/locale/zh/pgsrc/RedirectToPlugin) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FRedirectToPlugin (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FRedirectToPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,37 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +Content-Type: application/x-phpwiki; + pagename=Help%2FRedirectToPlugin; + flags=""; + lastmodified=1045352818; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +RedirectToPlugin 用來重導向使用者到另外一個頁面. 換句話說,它為其他頁面創造 +了一個 _alias_ (別名). + +==== Arguments + +一次只能使用這些引數中的其中一個. + +page | + 重導向的目的頁面. +href | + 重導向到外部 URL. 重導向到外部頁面只能用在已鎖定頁面上. + (如果 URL 包含有趣的字元,你可能得用雙引號將 URL 包起來.) + +==== Caveats + +RedirectToPlugin 必須處於頁面的一開頭. 此外也會使得頁面的其他內容無法被存取. + +==== Example + +要製作一個連到 HomePage 的別名,就在頁面最上面放上: +{{{ +<<RedirectTo page="HomePage" >> +}}} + +要看這個範例的話,請參訪 HomePageAlias. +----- +PhpWikiDocumentation Copied: trunk/locale/zh/pgsrc/Help%2FSystemInfoPlugin (from rev 7865, trunk/locale/zh/pgsrc/SystemInfoPlugin) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FSystemInfoPlugin (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FSystemInfoPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,27 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +Content-Type: application/x-phpwiki; + pagename=Help%2FSystemInfoPlugin; + flags=""; + author=test; + version=3; + lastmodified=1068931996; + author_id=test; + markup=2; + hits=3; + charset=UTF-8 +Content-Transfer-Encoding: binary + +SystemInfoPlugin 提供了存取 PhpWiki 所在平台上的低階系統資訊. + +{{{ + Usage: <<SystemInfo all >> + or <<SystemInfo pagestats cachestats discspace hitstats >> + or <<SystemInfo version >> + or <<SystemInfo current_theme >> + or <<SystemInfo PHPWIKI_DIR >> +}}} + +範例: + +<<SystemInfo all >> Copied: trunk/locale/zh/pgsrc/Help%2FTranscludePlugin (from rev 7865, trunk/locale/zh/pgsrc/TranscludePlugin) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FTranscludePlugin (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FTranscludePlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,45 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FTranscludePlugin; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +TranscludePlugin 用來嵌入整個(外部)網頁到 wiki 頁面. + +==== Plugin Arguments + +=src= | + 要 transclude 的網頁 URL. +=height= | + 初始化 transclusion 框架的高度. + 如果,可能的話,在 transcluded 頁面載入後,可以透過 javascript 改變框架大小, + 讓它能塞下整個 transcluded 頁面. (參閱下面可以得到更多.) + +==== Bugs / Caveats + +o 頁面是利用 =<iframe>= 標籤達到 transclude 的目的. 舊的瀏覽器不支援 + ''iframe''. 這種情況下,使用者將會看到超連結. + +o When possible, JavaScript code is used to adjust the height of the + _iframe_ so that it fits the entire transcluded page. + Unfortunately, this seems possible only when the transcluded page + comes from the same server as the wiki page. (This restriction is + due to security checks built in to the JavaScript language.) + +o The recursion detection code does not currently work. Be careful to + avoid recursive transclusions, or you'll be sorry (or at least + amused.) + +==== Example + +{{{ +<<Transclude src="http://phpwiki.sourceforge.net/demo/ChangeLog" >> +}}} + +將會得到 + +<<Transclude src="http://phpwiki.sourceforge.net/demo/ChangeLog" >> Copied: trunk/locale/zh/pgsrc/Help%2FWikiPlugin (from rev 7865, trunk/locale/zh/pgsrc/WikiPlugin) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FWikiPlugin (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FWikiPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,106 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FWikiPlugin; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +The latest hacks include support for ~WikiPlugins. + +~WikiPlugins 可以讓人簡單地為 wiki 頁面增加新的動態內容種類 (像是其他的功能). +在這個 wiki 之中, RecentChanges, BackLinks, LikePages 和 DebugInfo 頁面都是 +使用 plugins 來實作的. + +我期盼搜尋結果頁面或是 PhpWikiAdministration 等能夠很快地以 plugin 形式被實 +作出來. (我想 oh-so-ugly [MagicPhpWikiURLs] 也能被 plugins 替代.) + +== Example + +現在,有人放了這麼一行字想要使用 plugin: + +{{{ +<<BackLinks>> +}}} + +到一個一般的 wiki-page. 這個特有的範例產生了連結到此頁面的頁面列表. +結果如下: + +<<BackLinks>> + +(這對分類與主題頁面來說是很棒的. 你可以使用它取得自動 in-line 的存在於分 +類或主題的頁面列表.) + +== Details + +(This is all subject to change.) + +Plugins can take certain named arguments (most do). The values of +these arguments can be determined four different ways. In order of +precedence: + +# The plugin invocation can specify the value for an argument, like so: + {{{ + <<BackLinks page=OtherPage >> + }}} + +# The argument can be specified via an HTTP query argument. This + doesn't happen (is not allowed) unless the argument is mentioned in + the plugin invocation: + + {{{ + <<BackLinks page >> + }}} + +# Default values specified in the plugin invocation: + + {{{ + <<BackLinks page||=OtherPage >> + }}} + +# The plugin must supply default values for each argument it uses. + (The BackLinks plugin uses the current page as the default value for + the ''page'' argument. + +== Existing Plugins + +* BackLinks +* CalendarPlugin +* DebugInfo +* FullTextSearch +* IncludePage +* LikePages +* MostPopular +* PageHistory +* RecentChanges +* text2png +* TitleSearch +* ViewSource +* walkabout +* PhpHighlightPlugin + +== More Ideas for Plugins + +* Integrate Search form with individual InterWiki map entries + e.g. Search Php Website for:[ ] (Search) +* WantedPages, OrphanedPages, other various indexing schemes. +* Diff, PageHistory +* Redirect plugin -- =<<Redirect target=~OtherPage >>= +* Insert XML/RSS/RDF news content from =location=xxx= where location + is a parameter to the plugin, maybe include some formatting control + of the output generated. + +----- + +Pages in this category: + +<<BackLinks page=[pagename] noheader=1>> + +* FullTextSearch: FindPage +* TitleSearch: LikePages (match_head, match_tail). + +----- + +PhpWikiDocumentation Copied: trunk/locale/zh/pgsrc/Help%2FWikiWikiWeb (from rev 7865, trunk/locale/zh/pgsrc/WikiWikiWeb) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FWikiWikiWeb (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FWikiWikiWeb 2011-01-25 13:52:22 UTC (rev 7870) @@ -0,0 +1,31 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FWikiWikiWeb; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +WikiWikiWeb 是一個可以協同作業的站台. 最知名且最廣泛被使用的 Wiki 是 +位於 http://c2.com/cgi-bin/wiki?WikiWikiWeb 的 Portland Pattern Repository. + +You and I will find these statements there particularly relevant: + +''使 EditText 表單變得簡單並且使 FindPage 能快速搜尋.'' + +''In addition to being quick, this site also aspires to Zen ideals +generally labeled WabiSabi. Zen finds beauty in the imperfect and +ephemeral. When it comes down to it, that's all you need.'' + +''The Universe tends toward chaos. The Universe tends toward Wiki.'' + +你可以在 RecentVisitors 說聲 hello, 或是閱讀 HowToUseWiki 和 AddingPages. +目前這個 Wiki 並沒有討論任何主題, 所以就用力的去玩並享受他吧!! + +--SteveWainstead. + +---- + +PhpWikiDocumentation Deleted: trunk/locale/zh/pgsrc/HowToUseWiki =================================================================== --- trunk/locale/zh/pgsrc/HowToUseWiki 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/HowToUseWiki 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,74 +0,0 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=HowToUseWiki; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -''"Wiki wiki"'' 在夏威夷話裡是 "快" 的意思.. - -*你真正需要了解的只有:* - -* 點擊頁面下方的"編輯"連結即可編輯頁面. 你應該立刻閱讀這個頁面的源碼. - 這會非常有用. - -* 要讓字體變為斜體,只要在前後加上底線,像是 _這樣_. - -* 要讓字體變為*粗體*,只要前後加上星號. - -* 然後,使用兩者,即可得到*_粗體加斜體_*. - -* 前後使用等號,就可以得到=正常文字=. - -* 在列的最前面加上 * ,即可條列文字. - -* 以 <pre> 和 </pre> 包起來的一段字,都會是一般正常字體. - - <pre> - this is a poem for sure - about monospacing - i wrote in purple velour - but couldn't find a rhyme for monospacing - </pre> - -* 使用額外的空白列就可以分割出段落. 舉例來說: - - I am a paragraph. - - I am a paragraph too. We're just very small paragraphs. - -* 用四個或更多的減號 -, 就能得到水平線: - - --------- - -* 只要將每個字的第一個字母改為大寫並放到一起,就可以建立超連結. 讓我們假設 - 一下,你想要建立一個頁面是關於 Steve Wainstead 吃蟲的事蹟. 你所需要做的 - 就是將每個字的第一個字母變為大寫並放到一起,像是: SteveWainsteadEatsLiveWorms. - 如果這個頁面還未不存在,那麼會有一個問號出現在連結的後面(或前面?!),讓你 - 點擊並建立頁面: ThisPageShouldNotExist. (請不要真的去建立這個頁面,以免 - 破壞這個範例.) - -* 要連結到外部 Wiki 的某頁面, 你可以直接輸入 URL, 而 Wiki將會為你製作連結: - http://www.nytimes.com/ - -* 要置放圖片的話,只要以中括號包圍超連結,像是: - ~[~http://www.yourhost.yourdomain/images/picture.png]. 不存在中括號之間 - 的圖片 URL,只會出現連結到該圖片的超連結. - -* 現在你已經準備好要開始加入新頁面 AddingPages. - ----- - -WikiWikiWeb 表示可以快速並簡單的編輯.他有非常簡單的標記,你可以閱讀 -TextFormattingRules 取得更多資訊. - ----- - -如果你不喜歡文字編輯視窗的大小,你可以改變它. 請參閱 UserPreferences. - ----- - -PhpWikiDocumentation Deleted: trunk/locale/zh/pgsrc/LinkIcons =================================================================== --- trunk/locale/zh/pgsrc/LinkIcons 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/LinkIcons 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,61 +0,0 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=LinkIcons; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -LinkIcons 是一個 PhpWiki 可選的新特色. 當啟始以後, 圖示將被顯示在 URLs 的 -最前面以指示連結的型態. - -* [http://phpwiki.sourceforge.net/demo/themes/default/images/http.png] - http link -* [http://phpwiki.sourceforge.net/demo/themes/default/images/url.png] - generic internet link -* [http://phpwiki.sourceforge.net/demo/themes/default/images/interwiki.png] - InterWiki link -* [http://phpwiki.sourceforge.net/demo/themes/default/images/https.png] - https link -* [http://phpwiki.sourceforge.net/demo/themes/default/images/mailto.png] - mailto link -* [http://phpwiki.sourceforge.net/demo/themes/default/images/ftp.png] - ftp link - -**注意**: 部份預設圖示使用了 -[PNG|http://www.libpng.org/pub/png/png-sitemap.htm]圖片格式的 -alpha channel 特色以便能夠平順的在任何有顏色或有背景頁面被畫出來. -舊的瀏覽器可能無法顯示圖片. - -== Examples - -如果管理者有啟始這個特色的話,以下的範例將會只以上面的連結圖示顯示. - -=== InterWiki links - -* InterWiki link PhpWiki:InterWiki -* A named InterWiki [read WhyWikiWorks at c2|Wiki:WhyWikiWorks]. - -===URLs - -* Email address [PhpWiki-talk mailing list|mailto:php...@li...] -* Normal http link [PhpWiki's Home Page|http://phpwiki.sourceforge.net/phpwiki/] -* Secure http link [PhpWiki's Home Page|https://phpwiki.sourceforge.net/phpwiki/] -* File transfer ftp://ftp.sourceforge.net/ - -''A generic icon is shown for other less common link types.'' - -* news://nntp.news.com -* gopher://gopher.caltech.cmu.edu - -LinkIcons 將在 URL 協定是 PhpWiki 允許並能連結的時候才顯示. 除非管理者加上, -否則以下的範例無法顯示任何圖示,而 PhpWiki 也不會自動提供雙擊的連結, - -* bogus://oedipus.nostradamus.com -* bolo://lgm.cheshire.org - ----- - -PhpWikiDocumentation Deleted: trunk/locale/zh/pgsrc/MagicPhpWikiURLs =================================================================== --- trunk/locale/zh/pgsrc/MagicPhpWikiURLs 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/MagicPhpWikiURLs 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,130 +0,0 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=MagicPhpWikiURLs; - flags=PAGE_LOCKED; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -== About phpwiki: URLs - -一種特別的 URL, 用來建立連結以執行管理和 PhpWiki 裡的其他特殊功能. -這裡是它們如何運作的簡短描述. - -phpwiki 的基礎語法: URL 是 - -<pre> -**phpwiki:**''pagename''**?**''query-args'' -</pre> - -如果 _pagename_ 被忽略,那麼預設為目前頁面. - -_Query-args_ 應該是以標準 HTTP GET 格式表示的一組參數. - -"action=''x''" 參數應該都要被給定. 他可以是這些值的其中一個: -**browse**, **diff**, **edit**, **viewsource**, -**zip**, **dumpserial**, **loadserial**, -**remove**, **lock**, **unlock**, -**login**, **logout**, **setprefs** or **save**. -預設的動作是 **browse**. - -部份動作接受其他參數. - -**FullTextSearch**, **TitleSearch**: - - 接受 **s** 表示欲搜尋的字串, 而 **size** 表示輸入的長度. - -**edit**: - - 接受 **version**. - -**remove**: - - 接受 **verify**. - -**save**: - - 接受 **editversion**, **minor_edit**, 和 **content**. - -**setprefs**: - - 接受 **edit_area_width**, **edit_area_height**. - -=== Writing Magic Links in Wiki Pages - -一個 magic 連結看起來會是: - -<pre> -**~[** ''text'' **|** ''phpwiki-url'' **]** -</pre> - -"''text'' *|*" 是可選的,但通常建議使用. 如果給了,他會為此連結提供標籤. - -_phpwiki-url_ 就如同上面描述的一樣,是一個 *phpwiki:* URL. - -==== Some examples - -{{{ -[ Edit the SandBox | phpwiki:SandBox?action=edit ] -}}} -將會產生一個連結,而他將會直接引領你去編輯 SandBox, 像是: -[Edit the SandBox | phpwiki:SandBox?action=edit]. - -其他可能的用法: -* [ Diff the SandBox | phpwiki:SandBox?action=diff ], -* [ Lock the HomePage | phpwiki:HomePage?action=lock ], -* [ Get a Full Zip Dump | phpwiki:?action=zip&include=all ], -* Search for [ Page titles containing 'wiki' | phpwiki:?action=TitleSearch&s=wiki ] - -=== Writing Magic Forms in Wiki Pages - -''**Note**: 舊的 Magic forms 語法將不再支援. -他們需以 =<?plugin-form>= 代替.'' - -If the plugin is called using *<?plugin-form* instead of *<?plugin* -and the plugin supports searching, then it will be rendered as a form. - -''size'': - - If given, specifies the size of the input area. - -''s'': - - Specifies the default value for the input. - -==== Examples: - -A search plugin invoked with *<?plugin* instead of *<?plugin-form* -simply inserts the search results of the plugin: - -{{{ -<<TitleSearch s=wiki noheader=true >> -}}} - -Search results for Page titles containing 'wiki': - -<<TitleSearch s=wiki noheader=true >> - -{{{ -<?plugin-form FullTextSearch ?> -}}} - -gives - -<?plugin-form FullTextSearch ?> - -While - -{{{ -<?plugin-form TitleSearch formsize=12 ?> -}}} - -yields - -<?plugin-form TitleSearch formsize=12 ?> - ----- - -PhpWikiDocumentation Deleted: trunk/locale/zh/pgsrc/MoreAboutMechanics =================================================================== --- trunk/locale/zh/pgsrc/MoreAboutMechanics 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/MoreAboutMechanics 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,38 +0,0 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=MoreAboutMechanics; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -PhpWiki 是以伺服器端的 script 語言 PHP 所撰寫的, PHP 可以從 -http://www.php.net 取得. PHP 綜合了 C 與 Perl 的語法和函數,並且很類似 -ASP, ~EmbPerl 或 JSP. - -PhpWiki 是以許多的 PHP 與 HTML 所組成的. 而基於 PHP 之上的 WikiWikiWeb -也使用資料庫存放頁面之前版本的的備份. (PhpWiki 目前支援了 DBM, MySQL, -PostgreSQL 或文字檔案等資料庫.) - -每次使用者點擊網站, 所娶得頁面會從資料庫拉出來,並立刻輸出. 使用者只能 -從 =index.php= 進入,而它則決定了要含括那些 php 檔案. - -Wiki 頁面的連結是自動被連結的: AddingPages. -這可能是 Wiki 中令人注意的地方, 要新增並連結頁面是很簡單的. 另外一個令人 -注意的事情是外部的 URLs 連結,像是: - -# http://www.wcsb.org/ -# ftp://ftp.redhat.com/ -# news://news.mozilla.org/ -# http://slashdot.org/ -# http://theregister.co.uk/ - -以命名空間與簡單的標記組成, Wiki 展現了 WabiSabi 的精神. - -PhpWiki 使用 GNU General Public license 授權,你應該參照這裡: -http://www.gnu.org/copyleft/gpl.txt. - ----- -PhpWikiDocumentation CategoryWiki Deleted: trunk/locale/zh/pgsrc/OldStyleTablePlugin =================================================================== --- trunk/locale/zh/pgsrc/OldStyleTablePlugin 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/OldStyleTablePlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,42 +0,0 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=OldStyleTablePlugin; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -OldStyleTablePlugin 用來在 wiki 頁面含括使用舊風格標記語法的表格. - -{{{ -<<OldStyleTable -||^ *Name* |v *Cost* |v *Notes* -| *First* | *Last* -|> Jeff |< Dairiki |^ Cheap |< Not worth it -|> Marco |< Polo | Cheaper |< Not available ->> -}}} - -將會得到 - -<<OldStyleTable -||^ *Name* |v *Cost* |v *Notes* -| *First* | *Last* -|> Jeff |< Dairiki |^ Cheap |< Not worth it -|> Marco |< Polo | Cheaper |< Not available ->> - -置首的多重 **|** 用來展延欄, 而 **v** 用來展延列. -**>** 產生靠右對齊的欄, **<** 產生靠左對齊的欄, 而 **^** 則產生置中的欄 (預設). - ----- - -Note that within each table cell, _new-style_ markup is used. You can -only use inline markup --- no block level markup is allowed within -table cells. - -(Using old-style markup wouldn't make much sense, since one can't -include multi-line plugin invocations using the old-style markup -rules.) Deleted: trunk/locale/zh/pgsrc/PhotoAlbumPlugin =================================================================== --- trunk/locale/zh/pgsrc/PhotoAlbumPlugin 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/PhotoAlbumPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,68 +0,0 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=PhotoAlbumPlugin; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -== Summary -藉著顯示帶有說明以及相片檔名的文字檔以製作相簿. - -== Usage -{{{ -<<PhotoAlbum - src=http://server/textfile - mode=[column|row] - align=[center|left|right] - desc=true - sort=false - height=100% - width=100% ->> -}}} - -== Arguments -''只有 ='src'= 參數是必要的.'' - -**src**: - 一個 CSV 文字檔案,裡面每行的格式為 filename, description. - 裡面列出的每張相片必須都與 CSV 文字檔在同個目錄下. Descriptions 可寫可不寫. - -**mode**: - 指定相片排列的方法, ='column'= 表示直放, ='row'= 表示橫放. 預設為 ='row'=. - -**align**: - 每欄的對齊方式. 預設為 ='center'=. - -**desc**: - 是否顯示文字檔中指定的 description. 預設為真. - -**sort**: - 以檔案名稱排序圖片. 預設是以文字檔中的順序來排列. - -**height**, **width**: - 高度與寬度用來與用 [php-function:getimagesize] 取得的原始高度與寬度做比較, - 可以指定絕對值或百分比 (例如 "50%"). - -== Examples -=== Text file -正確文字檔的內容應該是: - -{{{ -photo-01.jpg; My girlfriend and I -photo-02.jpg -christmas.gif; Merry Christmas! -}}} - -=== Sample Album -<<PhotoAlbum - src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum" ->> - -== Plugin Author -[Ted Vinke|mailto:te...@jo...] <te...@jo...> ----- -PhpWikiDocumentation WikiPlugin Deleted: trunk/locale/zh/pgsrc/PhpHighlightPlugin =================================================================== --- trunk/locale/zh/pgsrc/PhpHighlightPlugin 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/PhpHighlightPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,99 +0,0 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=PhpHighlightPlugin; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -PhpHighlightPlugin 使用了 php-function:highlight-string 來優雅印出 -PHP 程式碼. - -== Usage - -在同一行指定 plugin 的選項,簡單說就是在 =<?plugin= 與 =?>= 之間置放選項. - -{{{ -<<PhpHighlight [wrap?] [color options] -code to be highlighted ->> -}}} - -== Description - -plugin 將視 =wrap= 選項決定是否要在傳入 php-function:highlight-string 之前 -適切地加入 =<?php= 與 =?>= . 如果加入了 PHP 分隔子,那麼 plugin 在輸出之前, -會從 highlighted 字串再次移除他們. - -== Options - -Automatic Wrapping (自動分行): - - 如果你不想 plugin 自動為包在 =<?php= 和 =?>= 之間的源碼分行, 就設定 - =wrap= 為 0. 預設值是 =1=, 這表示 plugin 會自動小心地增加並移除 - =<?php= 和 =?>=. - - 如果你將 =wrap= 設為 =0=, 那麼你將得把 PHP 程式碼與 HTML 混在一起. - plugin 將會轉換 '=< ?php=' 為 '=<?php=' , '=? >=' 為 '=?>=' 以允許你 - 在程式碼中啟動與停止 PHP 模式. - -Color Options: - - plugin 允許使用(或不使用)對應到 *php.ini* 設定裡的 highlight 設定的 - 顏色引數. 指定顏色時必須是一個正確的十六進位顏色或是以小寫表示的 - [HTML 4 color name|http://www.w3.org/TR/REC-html40/types.html#h-6.5] - ,像是 ='#0f0344'= 或 =blue=. 你可以指定以下的選項: - - =string=, =comment=, =keyword=, =bg=, =default=, and =html= - -== Examples - -=== PHP 和預設顏色(從 =php.ini= 來的): - -<<PhpHighlight -function hello() { - echo "Hello World<p>"; -} ->> - -=== HTML 與嵌入的 PHP - -這兒我們必須使用 =wrap=0= 以避免自動折行並替換 '=?>=' 為 '=? >=': - -<<PhpHighlight wrap=0 html='#000000' bg='#dddddd' -<html> - <head> - <title>PHP Test</title> - </head> - <body> - < ?php echo "<p>Hello World</p>\n"; ? > - </body> -</html> ->> - -=== C Source - -雖然 =highlight_string() 是為 PHP 程式碼所設計,但他也適用於大部分 C 的基本 -語法 highlight ,因為這兩個語言的語法是很接近的. - -<<PhpHighlight default=black string=blue comment=gray keyword=purple -#include <stdio.h> -/* Get load */ -int -getload(void) -{ - if ((fp = fopen("/proc/loadavg", "r")) == NULL) { - syslog(LOG_ERR, _("%s %s: unable to open %s: %s"), _("FATAL ERROR:"), - "getload()", "/proc/loadavg", strerror(errno)); - exit(EX_OSFILE); - } - fclose(fp); -} ->> - -== Authors - -Martin Geisler mailto:gim...@gi... and Carsten Klapp -mailto:car...@us.... Deleted: trunk/locale/zh/pgsrc/PhpWeatherPlugin =================================================================== --- trunk/locale/zh/pgsrc/PhpWeatherPlugin 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/PhpWeatherPlugin 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,64 +0,0 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=PhpWeatherPlugin; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -== Synopsis - -~PhpWeatherPlugin 是個 WikiPlugin, 他使用 PhpWeather 來顯示目前世界上 -某些機場的氣象. 它看起來像是這樣: - -<<PhpWeather menu=true >> - -== Plugin Arguments - -**menu**: - 設定為 =true= 是讓 plugin 在報告之後產生選單. 使用者將可以從這個選單 - 去挑選國家,機場或語言. 預設值為 <tt>false</tt>. - -**icao**: - 使用這個引數來先行挑選機場,以替代預設機場 <tt>EKAH</tt>. 如果你想讓使 - 用者能用選單改變地方,那麼你得使用這樣的語法 - {{{ - <<PhpWeather menu=true icao||=EKYT >> - }}} - 然後當使用者送出表單時,值將會被覆寫.如果你只用了 - {{{ - <<PhpWeather menu=true icao=EKYT >> - }}} - 那麼,當使用者從清單挑選其他地方的時候,將不會有任何事情產生. - -**cc**: - Specify the country code. You can use this if you want pre-select a - different country than the one specified in the ICAO. So using - {{{ - <<PhpWeather menu=true cc||=GB icao||=KTTS >> - }}} - will show the current weather at the NASA Shuttle Facility, United - States (<tt>KTTS</tt>) and at the same time give the user a list of - stations in the United Kingdom. As the example shows, then you - should use <tt>cc||=XX</tt> when combining it with **menu** set to - <tt>true</tt>. - -**language**: - The default language. When combining **language** with **menu** set - to <tt>true</tt> then remember to use the <code>language||=xx</code> - form. - -**units**: - You can specify the way the units are printed. The choice is between - having both metric and imperial units printed, or just one of - them. Setting **units** to =both_metric= will print the metric value - first and then the imperial value in parenthesis. Using - =both_imperial= instead will do the opposite. - - If you only need the metric or imperial units to be shown, then - setting **units** to =only_metric= or =only_imperial= will do just - that. ----- -WikiPlugin Deleted: trunk/locale/zh/pgsrc/PhpWiki =================================================================== --- trunk/locale/zh/pgsrc/PhpWiki 2011-01-25 13:40:13 UTC (rev 7869) +++ trunk/locale/zh/pgsrc/PhpWiki 2011-01-25 13:52:22 UTC (rev 7870) @@ -1,18 +0,0 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=PhpWiki; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -你現在正... [truncated message content] |
From: <var...@us...> - 2011-01-25 14:10:29
|
Revision: 7871 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7871&view=rev Author: vargenau Date: 2011-01-25 14:10:23 +0000 (Tue, 25 Jan 2011) Log Message: ----------- Prefix with Help/ Added Paths: ----------- trunk/locale/zh/pgsrc/Help%2FInterWiki Removed Paths: ------------- trunk/locale/zh/pgsrc/InterWiki Copied: trunk/locale/zh/pgsrc/Help%2FInterWiki (from rev 7865, trunk/locale/zh/pgsrc/InterWiki) =================================================================== --- trunk/locale/zh/pgsrc/Help%2FInterWiki (rev 0) +++ trunk/locale/zh/pgsrc/Help%2FInterWiki 2011-01-25 14:10:23 UTC (rev 7871) @@ -0,0 +1,39 @@ +Date: Fri, 10 Sep 2010 13:48:49 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) +X-Rcs-Id: $Id$ +Content-Type: application/x-phpwiki; + pagename=Help%2FInterWiki; + flags=""; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +這個 wiki 支援 InterWiki 連結,它是由 [UseMod:] 複製過來的. 可以不必 +知道完整 URLs 就可以連結到其他 wiki 的頁面, 舉例來說: MeatBall:InterWiki +將能連結到 Meatball wiki 上的 "~InterWiki" 頁面上. + +~InterWiki map 是由 InterWikiMap 裡的 <verbatim> 區塊而來, 但是該頁面要能 +運作,必須被鎖定. 這可以拒絕潛在的惡毒駭客有機會將每個 ~InterWiki 的連結 +指向一些惡毒的 URL. 如果在 InterWikiMap 沒有找到任何 map (或是頁面沒被鎖定), +PhpWiki 將會改使用 lib/interwiki.map 這個檔案. PhpWiki 正使用的 +~InterWiki map 檔案,可以參閱 [http://phpwiki.sf.net/interwiki.map]. + +map 檔案是手動更新的. 基於此,他會定期與 +[UseMod's InterMap|http://usemod.com/intermap.txt] 同步但他們並不完全相似. +一個與 [UseMod:] 主要的差異點在於 PhpWiki 允許 map 裡的 URLs 支援 '%s' - +參照 RFC 範例以了解他如何運祚. + +在 InterWikiMap 裡的的進入點並不全都是 wikis. 舉例來說, 這些就只是正規的 +網站: Dictionary:fungible, [JargonFile:Alderson loop], [IMDB:Roman Holiday], +RFC:2822, and ISBN:020171499X. + +"Category"(分類)這個名字只是一個特別的進入點,它允許人能連結到分類網頁 +而無須建立 back-reference(向後參考).因此, Category:Category 連結到 +CategoryCategory 頁面,此頁面將不顯示 CategoryCategory 的 back-links(向後連結). + +這個字眼 "InterWiki" 也涉及了廣義的觀念. 參閱 PhpWiki:InterWikiSearch 取得 +更多連結. + +---- + +PhpWikiDocumentation Deleted: trunk/locale/zh/pgsrc/InterWiki =================================================================== --- trunk/locale/zh/pgsrc/InterWiki 2011-01-25 13:52:22 UTC (rev 7870) +++ trunk/locale/zh/pgsrc/InterWiki 2011-01-25 14:10:23 UTC (rev 7871) @@ -1,39 +0,0 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) -X-Rcs-Id: $Id$ -Content-Type: application/x-phpwiki; - pagename=InterWiki; - flags=""; - markup=2; - charset=UTF-8 -Content-Transfer-Encoding: binary - -這個 wiki 支援 InterWiki 連結,它是由 [UseMod:] 複製過來的. 可以不必 -知道完整 URLs 就可以連結到其他 wiki 的頁面, 舉例來說: MeatBall:InterWiki -將能連結到 Meatball wiki 上的 "~InterWiki" 頁面上. - -~InterWiki map 是由 InterWikiMap 裡的 <verbatim> 區塊而來, 但是該頁面要能 -運作,必須被鎖定. 這可以拒絕潛在的惡毒駭客有機會將每個 ~InterWiki 的連結 -指向一些惡毒的 URL. 如果在 InterWikiMap 沒有找到任何 map (或是頁面沒被鎖定), -PhpWiki 將會改使用 lib/interwiki.map 這個檔案. PhpWiki 正使用的 -~InterWiki map 檔案,可以參閱 [http://phpwiki.sf.net/interwiki.map]. - -map 檔案是手動更新的. 基於此,他會定期與 -[UseMod's InterMap|http://usemod.com/intermap.txt] 同步但他們並不完全相似. -一個與 [UseMod:] 主要的差異點在於 PhpWiki 允許 map 裡的 URLs 支援 '%s' - -參照 RFC 範例以了解他如何運祚. - -在 InterWikiMap 裡的的進入點並不全都是 wikis. 舉例來說, 這些就只是正規的 -網站: Dictionary:fungible, [JargonFile:Alderson loop], [IMDB:Roman Holiday], -RFC:2822, and ISBN:020171499X. - -"Category"(分類)這個名字只是一個特別的進入點,它允許人能連結到分類網頁 -而無須建立 back-reference(向後參考).因此, Category:Category 連結到 -CategoryCategory 頁面,此頁面將不顯示 CategoryCategory 的 back-links(向後連結). - -這個字眼 "InterWiki" 也涉及了廣義的觀念. 參閱 PhpWiki:InterWikiSearch 取得 -更多連結. - ----- - -PhpWikiDocumentation This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2011-02-04 15:46:09
|
Revision: 7928 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7928&view=rev Author: vargenau Date: 2011-02-04 15:46:03 +0000 (Fri, 04 Feb 2011) Log Message: ----------- Fix categories Modified Paths: -------------- trunk/locale/zh/pgsrc/AllUsers trunk/locale/zh/pgsrc/Help%2FCalendarPlugin trunk/locale/zh/pgsrc/Help%2FCommentPlugin trunk/locale/zh/pgsrc/Help%2FExternalSearchPlugin trunk/locale/zh/pgsrc/Help%2FHelloWorldPlugin trunk/locale/zh/pgsrc/Help%2FPhotoAlbumPlugin trunk/locale/zh/pgsrc/Help%2FPhpWeatherPlugin trunk/locale/zh/pgsrc/Help%2FWikiPlugin trunk/locale/zh/pgsrc/InterWikiSearch trunk/locale/zh/pgsrc/UpLoad Modified: trunk/locale/zh/pgsrc/AllUsers =================================================================== --- trunk/locale/zh/pgsrc/AllUsers 2011-02-04 15:37:59 UTC (rev 7927) +++ trunk/locale/zh/pgsrc/AllUsers 2011-02-04 15:46:03 UTC (rev 7928) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:44:25 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -12,5 +12,6 @@ 的使用者列表. ---- <<AllUsers>> + ---- -WikiPlugin PluginManager +[[CategoryActionPage]] Modified: trunk/locale/zh/pgsrc/Help%2FCalendarPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FCalendarPlugin 2011-02-04 15:37:59 UTC (rev 7927) +++ trunk/locale/zh/pgsrc/Help%2FCalendarPlugin 2011-02-04 15:46:03 UTC (rev 7928) @@ -1,4 +1,4 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 +Date: Fri, 4 Feb 2011 16:44:25 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -89,5 +89,4 @@ (which renders a view of the year.) ---- - -PhpWikiDocumentation +[[PhpWikiDocumentation]] Modified: trunk/locale/zh/pgsrc/Help%2FCommentPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FCommentPlugin 2011-02-04 15:37:59 UTC (rev 7927) +++ trunk/locale/zh/pgsrc/Help%2FCommentPlugin 2011-02-04 15:46:03 UTC (rev 7928) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:44:25 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -41,5 +41,8 @@ Therefore, a cat has nine tails. >> + +<noinclude> ---- -WikiPlugin +[[PhpWikiDocumentation]] [[CategoryWikiPlugin]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FExternalSearchPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FExternalSearchPlugin 2011-02-04 15:37:59 UTC (rev 7927) +++ trunk/locale/zh/pgsrc/Help%2FExternalSearchPlugin 2011-02-04 15:46:03 UTC (rev 7928) @@ -1,4 +1,4 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 +Date: Fri, 4 Feb 2011 16:44:25 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -54,5 +54,8 @@ 輸入PhpWiki上任何已存在的頁面名稱,以直接跳到該頁面. <<ExternalSearch url=PhpWiki >> + +<noinclude> ---- -PhpWikiDocumentation WikiPlugin +[[PhpWikiDocumentation]] [[CategoryWikiPlugin]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FHelloWorldPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FHelloWorldPlugin 2011-02-04 15:37:59 UTC (rev 7927) +++ trunk/locale/zh/pgsrc/Help%2FHelloWorldPlugin 2011-02-04 15:46:03 UTC (rev 7928) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:44:25 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) Content-Type: application/x-phpwiki; pagename=Help%2FHelloWorldPlugin; @@ -76,3 +76,8 @@ } }; >> + +<noinclude> +---- +[[PhpWikiDocumentation]] [[CategoryWikiPlugin]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FPhotoAlbumPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FPhotoAlbumPlugin 2011-02-04 15:37:59 UTC (rev 7927) +++ trunk/locale/zh/pgsrc/Help%2FPhotoAlbumPlugin 2011-02-04 15:46:03 UTC (rev 7928) @@ -1,4 +1,4 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 +Date: Fri, 4 Feb 2011 16:44:25 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -64,5 +64,8 @@ == Plugin Author [Ted Vinke|mailto:te...@jo...] <te...@jo...> + +<noinclude> ---- -PhpWikiDocumentation WikiPlugin +[[PhpWikiDocumentation]] [[CategoryWikiPlugin]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FPhpWeatherPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FPhpWeatherPlugin 2011-02-04 15:37:59 UTC (rev 7927) +++ trunk/locale/zh/pgsrc/Help%2FPhpWeatherPlugin 2011-02-04 15:46:03 UTC (rev 7928) @@ -1,4 +1,4 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 +Date: Fri, 4 Feb 2011 16:44:25 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -60,5 +60,8 @@ If you only need the metric or imperial units to be shown, then setting **units** to =only_metric= or =only_imperial= will do just that. + +<noinclude> ---- -WikiPlugin +[[PhpWikiDocumentation]] [[CategoryWikiPlugin]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FWikiPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FWikiPlugin 2011-02-04 15:37:59 UTC (rev 7927) +++ trunk/locale/zh/pgsrc/Help%2FWikiPlugin 2011-02-04 15:46:03 UTC (rev 7928) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:44:25 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -102,5 +102,4 @@ * TitleSearch: LikePages (match_head, match_tail). ----- - -PhpWikiDocumentation +[[PhpWikiDocumentation]] Modified: trunk/locale/zh/pgsrc/InterWikiSearch =================================================================== --- trunk/locale/zh/pgsrc/InterWikiSearch 2011-02-04 15:37:59 UTC (rev 7927) +++ trunk/locale/zh/pgsrc/InterWikiSearch 2011-02-04 15:46:03 UTC (rev 7928) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:44:25 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -13,5 +13,6 @@ 要查詢其他頁面的話可以用 ExternalSearchPlugin. <<InterWikiSearch>> + ---- -WikiPlugin +[[CategoryActionPage]] Modified: trunk/locale/zh/pgsrc/UpLoad =================================================================== --- trunk/locale/zh/pgsrc/UpLoad 2011-02-04 15:37:59 UTC (rev 7927) +++ trunk/locale/zh/pgsrc/UpLoad 2011-02-04 15:46:03 UTC (rev 7928) @@ -1,4 +1,4 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 +Date: Fri, 4 Feb 2011 16:44:25 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -11,6 +11,7 @@ **這是實驗性的頁面. 現在只有 Wiki 管理者才能使用.** ---- -<<UpLoad >> +<<UpLoad>> + ---- -WikiPlugin PluginManager +[[CategoryActionPage]] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2011-02-04 16:03:12
|
Revision: 7931 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7931&view=rev Author: vargenau Date: 2011-02-04 16:03:06 +0000 (Fri, 04 Feb 2011) Log Message: ----------- [[CategoryWikiPlugin]] Modified Paths: -------------- trunk/locale/zh/pgsrc/Help%2FCalendarPlugin trunk/locale/zh/pgsrc/Help%2FRedirectToPlugin Modified: trunk/locale/zh/pgsrc/Help%2FCalendarPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FCalendarPlugin 2011-02-04 16:02:03 UTC (rev 7930) +++ trunk/locale/zh/pgsrc/Help%2FCalendarPlugin 2011-02-04 16:03:06 UTC (rev 7931) @@ -1,4 +1,4 @@ -Date: Fri, 4 Feb 2011 16:44:25 +0000 +Date: Fri, 4 Feb 2011 16:58:00 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -88,5 +88,7 @@ [calendar.php|http://inauspicious.org/files/phpwiki/calendar.php] (which renders a view of the year.) +<noinclude> ---- -[[PhpWikiDocumentation]] +[[PhpWikiDocumentation]] [[CategoryWikiPlugin]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FRedirectToPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FRedirectToPlugin 2011-02-04 16:02:03 UTC (rev 7930) +++ trunk/locale/zh/pgsrc/Help%2FRedirectToPlugin 2011-02-04 16:03:06 UTC (rev 7931) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:58:00 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) Content-Type: application/x-phpwiki; pagename=Help%2FRedirectToPlugin; @@ -33,5 +33,8 @@ }}} 要看這個範例的話,請參訪 HomePageAlias. ------ -PhpWikiDocumentation + +<noinclude> +---- +[[PhpWikiDocumentation]] [[CategoryWikiPlugin]] +</noinclude> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2011-02-04 16:03:58
|
Revision: 7932 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7932&view=rev Author: vargenau Date: 2011-02-04 16:03:52 +0000 (Fri, 04 Feb 2011) Log Message: ----------- <noinclude> Modified Paths: -------------- trunk/locale/zh/pgsrc/Help%2FAddingPages trunk/locale/zh/pgsrc/Help%2FEditText trunk/locale/zh/pgsrc/Help%2FHowToUseWiki trunk/locale/zh/pgsrc/Help%2FInterWiki trunk/locale/zh/pgsrc/Help%2FLinkIcons trunk/locale/zh/pgsrc/Help%2FMagicPhpWikiURLs trunk/locale/zh/pgsrc/Help%2FMoreAboutMechanics trunk/locale/zh/pgsrc/Help%2FPhpWiki trunk/locale/zh/pgsrc/Help%2FWikiWikiWeb Modified: trunk/locale/zh/pgsrc/Help%2FAddingPages =================================================================== --- trunk/locale/zh/pgsrc/Help%2FAddingPages 2011-02-04 16:03:06 UTC (rev 7931) +++ trunk/locale/zh/pgsrc/Help%2FAddingPages 2011-02-04 16:03:52 UTC (rev 7932) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:58:00 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -26,6 +26,7 @@ 你的管理者可以打開允許嵌入 HTML 的功能, 但這樣可能就會牽涉到安全性議題. +<noinclude> ---- - -PhpWikiDocumentation +[[PhpWikiDocumentation]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FEditText =================================================================== --- trunk/locale/zh/pgsrc/Help%2FEditText 2011-02-04 16:03:06 UTC (rev 7931) +++ trunk/locale/zh/pgsrc/Help%2FEditText 2011-02-04 16:03:52 UTC (rev 7932) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:58:00 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -11,6 +11,7 @@ 所有頁面 (除了搜尋結果以外) 的最底部都有一個 EditText 連結. 如果準備好要編輯這個頁面時,你可以點擊這個連結. +<noinclude> ---- - -PhpWikiDocumentation +[[PhpWikiDocumentation]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FHowToUseWiki =================================================================== --- trunk/locale/zh/pgsrc/Help%2FHowToUseWiki 2011-02-04 16:03:06 UTC (rev 7931) +++ trunk/locale/zh/pgsrc/Help%2FHowToUseWiki 2011-02-04 16:03:52 UTC (rev 7932) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:58:00 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -69,6 +69,7 @@ 如果你不喜歡文字編輯視窗的大小,你可以改變它. 請參閱 UserPreferences. +<noinclude> ---- - -PhpWikiDocumentation +[[PhpWikiDocumentation]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FInterWiki =================================================================== --- trunk/locale/zh/pgsrc/Help%2FInterWiki 2011-02-04 16:03:06 UTC (rev 7931) +++ trunk/locale/zh/pgsrc/Help%2FInterWiki 2011-02-04 16:03:52 UTC (rev 7932) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:58:00 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -34,6 +34,7 @@ 這個字眼 "InterWiki" 也涉及了廣義的觀念. 參閱 PhpWiki:InterWikiSearch 取得 更多連結. +<noinclude> ---- - -PhpWikiDocumentation +[[PhpWikiDocumentation]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FLinkIcons =================================================================== --- trunk/locale/zh/pgsrc/Help%2FLinkIcons 2011-02-04 16:03:06 UTC (rev 7931) +++ trunk/locale/zh/pgsrc/Help%2FLinkIcons 2011-02-04 16:03:52 UTC (rev 7932) @@ -1,4 +1,4 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 +Date: Fri, 4 Feb 2011 16:58:00 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -56,6 +56,7 @@ * bogus://oedipus.nostradamus.com * bolo://lgm.cheshire.org +<noinclude> ---- - -PhpWikiDocumentation +[[PhpWikiDocumentation]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FMagicPhpWikiURLs =================================================================== --- trunk/locale/zh/pgsrc/Help%2FMagicPhpWikiURLs 2011-02-04 16:03:06 UTC (rev 7931) +++ trunk/locale/zh/pgsrc/Help%2FMagicPhpWikiURLs 2011-02-04 16:03:52 UTC (rev 7932) @@ -1,4 +1,4 @@ -Date: Tue, 4 Jan 2011 11:57:23 +0000 +Date: Fri, 4 Feb 2011 16:58:00 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -125,6 +125,7 @@ <?plugin-form TitleSearch formsize=12 ?> +<noinclude> ---- - -PhpWikiDocumentation +[[PhpWikiDocumentation]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FMoreAboutMechanics =================================================================== --- trunk/locale/zh/pgsrc/Help%2FMoreAboutMechanics 2011-02-04 16:03:06 UTC (rev 7931) +++ trunk/locale/zh/pgsrc/Help%2FMoreAboutMechanics 2011-02-04 16:03:52 UTC (rev 7932) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:58:00 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -34,5 +34,7 @@ PhpWiki 使用 GNU General Public license 授權,你應該參照這裡: http://www.gnu.org/copyleft/gpl.txt. +<noinclude> ---- -PhpWikiDocumentation CategoryWiki +[[PhpWikiDocumentation]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FPhpWiki =================================================================== --- trunk/locale/zh/pgsrc/Help%2FPhpWiki 2011-02-04 16:03:06 UTC (rev 7931) +++ trunk/locale/zh/pgsrc/Help%2FPhpWiki 2011-02-04 16:03:52 UTC (rev 7932) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:58:00 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -13,6 +13,7 @@ 參訪我們位於 http://phpwiki.sourceforge.net 的首頁並參閱這兒的 PhpWiki http://phpwiki.sourceforge.net/phpwiki/. +<noinclude> ---- - -PhpWikiDocumentation +[[PhpWikiDocumentation]] +</noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FWikiWikiWeb =================================================================== --- trunk/locale/zh/pgsrc/Help%2FWikiWikiWeb 2011-02-04 16:03:06 UTC (rev 7931) +++ trunk/locale/zh/pgsrc/Help%2FWikiWikiWeb 2011-02-04 16:03:52 UTC (rev 7932) @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:48:49 +0000 +Date: Fri, 4 Feb 2011 16:58:00 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -26,6 +26,7 @@ --SteveWainstead. +<noinclude> ---- - -PhpWikiDocumentation +[[PhpWikiDocumentation]] +</noinclude> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2020-12-24 17:27:41
|
Revision: 10199 http://sourceforge.net/p/phpwiki/code/10199 Author: vargenau Date: 2020-12-24 17:27:39 +0000 (Thu, 24 Dec 2020) Log Message: ----------- Update locale/zh/pgsrc/ Modified Paths: -------------- trunk/locale/zh/pgsrc/%E9%A6%96%E9%A0%81 trunk/locale/zh/pgsrc/AllPages trunk/locale/zh/pgsrc/AllUsers trunk/locale/zh/pgsrc/FindPage trunk/locale/zh/pgsrc/Help%2FAddingPages trunk/locale/zh/pgsrc/Help%2FBackLinksPlugin trunk/locale/zh/pgsrc/Help%2FCalendarPlugin trunk/locale/zh/pgsrc/Help%2FCommentPlugin trunk/locale/zh/pgsrc/Help%2FExternalSearchPlugin trunk/locale/zh/pgsrc/Help%2FHelloWorldPlugin trunk/locale/zh/pgsrc/Help%2FHowToUseWiki trunk/locale/zh/pgsrc/Help%2FInterWiki trunk/locale/zh/pgsrc/Help%2FLinkIcons trunk/locale/zh/pgsrc/Help%2FMagicPhpWikiURLs trunk/locale/zh/pgsrc/Help%2FMoreAboutMechanics trunk/locale/zh/pgsrc/Help%2FOldStyleTablePlugin trunk/locale/zh/pgsrc/Help%2FPhotoAlbumPlugin trunk/locale/zh/pgsrc/Help%2FPhpHighlightPlugin trunk/locale/zh/pgsrc/Help%2FPhpWeatherPlugin trunk/locale/zh/pgsrc/Help%2FPhpWiki trunk/locale/zh/pgsrc/Help%2FRandomPagePlugin trunk/locale/zh/pgsrc/Help%2FRedirectToPlugin trunk/locale/zh/pgsrc/Help%2FSystemInfoPlugin trunk/locale/zh/pgsrc/Help%2FTranscludePlugin trunk/locale/zh/pgsrc/Help%2FWikiPlugin trunk/locale/zh/pgsrc/Help%2FWikiWikiWeb trunk/locale/zh/pgsrc/HomePageAlias trunk/locale/zh/pgsrc/InterWikiSearch trunk/locale/zh/pgsrc/OrphanedPages trunk/locale/zh/pgsrc/PageDump trunk/locale/zh/pgsrc/PhpWikiAdministration trunk/locale/zh/pgsrc/PhpWikiDebug trunk/locale/zh/pgsrc/UpLoad Modified: trunk/locale/zh/pgsrc/%E9%A6%96%E9%A0%81 =================================================================== --- trunk/locale/zh/pgsrc/%E9%A6%96%E9%A0%81 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/%E9%A6%96%E9%A0%81 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Thu, 13 Oct 2016 15:09:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=%E9%A6%96%E9%A0%81; @@ -6,12 +6,12 @@ charset=UTF-8 Content-Transfer-Encoding: binary -* 什麼是 WikiWikiWeb? 關於此應用程式的描述. -* 學習如何使用 Wiki - HowToUseWiki 並學習如何增加頁面 - AddingPages. -* 使用 SandBox (沙箱)頁面進行嘗試. -* 請在 RecentVisitors 簽上你的大名. -* 參閱 RecentChanges 取得最新的頁面增加部份與變更. -* 點擊 MostPopular 以得知那些頁面是最受歡迎的. +* 什麼是 [[Help:WikiWikiWeb|WikiWikiWeb]]? 關於此應用程式的描述. +* 學習如何使用 Wiki - [[Help:HowToUseWiki|HowToUseWiki]] 並學習如何增加頁面 - [[Help:AddingPages|AddingPages]]. +* 使用 [[SandBox]] (沙箱)頁面進行嘗試. +* 請在 [[RecentVisitors]] 簽上你的大名. +* 參閱 [[RecentChanges]] 取得最新的頁面增加部份與變更. +* 點擊 [[MostPopular]] 以得知那些頁面是最受歡迎的. * 閱讀 [[ReleaseNotes]]. -* 透過 PhpWikiAdministration 管理本 wiki. -* 閱讀更多... PhpWikiDocumentation. +* 透過 [[PhpWikiAdministration]] 管理本 wiki. +* 閱讀更多... [[:PhpWikiDocumentation]]. Modified: trunk/locale/zh/pgsrc/AllPages =================================================================== --- trunk/locale/zh/pgsrc/AllPages 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/AllPages 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=AllPages; @@ -7,6 +7,7 @@ Content-Transfer-Encoding: binary 在此 Wiki 上的所有頁面列表, 包含任何可能存取不到的 [[OrphanedPages]]. +[[AllUserPages|Show only user pages]]. <<AllPages info||=mtime,author,hits sortby||=pagename>> Modified: trunk/locale/zh/pgsrc/AllUsers =================================================================== --- trunk/locale/zh/pgsrc/AllUsers 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/AllUsers 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,8 +1,8 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=AllUsers; - flags=PAGE_LOCKED; + flags=PAGE_LOCKED%2CEXTERNAL_PAGE; charset=UTF-8 Content-Transfer-Encoding: binary Modified: trunk/locale/zh/pgsrc/FindPage =================================================================== --- trunk/locale/zh/pgsrc/FindPage 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/FindPage 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Tue, 9 Apr 2019 17:57:35 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=FindPage; @@ -12,20 +12,53 @@ * [[RecentChanges]] 會自動紀錄. * [[Help:MoreAboutMechanics|MoreAboutMechanics]] 在此伺服器上進行瀏覽與編輯. +== Title Search == + 這裡則有標題搜索. 試著輸入 ##wiki## 或 ##sandwich## 看看. -<?plugin-form TitleSearch?> -使用下面的全文搜索. 這可能會花點時間. 結果將會依列顯示出所有頁面中符合 -條件的資料. -<?plugin-form FullTextSearch?> +<<WikiFormRich action=TitleSearch method=GET nobr=1 class=wikiaction + editbox[] name=s text="" + submit[] + checkbox[] name=case_exact + pulldown[] name=regex value="auto,none,glob,posix,pcre,sql">> +== Full Text Search == + +使用下面的全文搜索. +結果將會依列顯示出所有頁面中符合條件的資料. + +<<WikiFormRich action=FullTextSearch method=GET nobr=1 class=wikiaction + editbox[] name=s text="" + submit[] + checkbox[] name=case_exact + pulldown[] name=regex value="auto,none,glob,posix,pcre,sql">> + +== Fuzzy Search == + 模糊搜尋搜索所有頁面的標題以得到最接近的字或最接近的發音(英文). -<?plugin-form FuzzyPages?> +<<WikiFormRich action=FuzzyPages method=GET nobr=1 class=wikiaction + editbox[] name=s text="" + submit[] + checkbox[] name=case_exact>> + ------ == Tips == -使用空白分隔每個字. 所有的字都必須符合. -%%%在標題搜索或全文檢索時,要排除某個字的話,在該字的前面加上 '-'. -%%%Example: 'wiki text -php' 表示搜索所有頁面包含 'wiki' **和** 'text', 但 **不** 包含 'php'. +* 使用空白分隔每個字. 所有的字都必須符合. +* '##OR##', grouping with parenthesis, string-quoting and some glob-style wildcard characters are also supported. +* 在標題搜索或全文檢索時,要排除某個字的話,在該字的前面加上 '##-##'. +* Use '##^xx##' or '##xx~*##' to match words starting with '##xx##'. +* Use '##~*xx##' or '##xx$##' to match words ending with '##xx##'. +* Use '##^word$##' to match exact words. +* Use //regex=auto// and '##re:##' like '##re:word.*xx##' or //regex=posix// to use Posix regular expressions. (not yet) +* Use //regex=auto// and '##//##' like '##/^word$/##' or //regex=pcre// to match using Perl-style regular expressions. +* Use //regex=sql// to match using SQL-style wildcards '##%##' and '##_##'. +* Use //regex=none// to match any wildcards verbatim. + +=== Example === +* '##wiki text -php##' 表示搜索所有頁面包含 '##wiki##' **和** '##text##', 但 **不** 包含 '##php##'. + +---- +[[PhpWikiDocumentation]] Modified: trunk/locale/zh/pgsrc/Help%2FAddingPages =================================================================== --- trunk/locale/zh/pgsrc/Help%2FAddingPages 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FAddingPages 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FAddingPages; @@ -6,20 +6,28 @@ charset=UTF-8 Content-Transfer-Encoding: binary -要加入一個新的頁面到 wiki, 你所要做的,就是使用一個有意義的標題, -並且將每個單字的第一個字母改為大寫,像是 StringThemTogetherLikeThis. -Wiki 會自動辨認為超連結. 除此之外,你也可以把任何單字放到中括號中, -像這樣 [square brackets]. +要加入一個新的頁面到 wiki, 你所要做的,就是使用一個有意義的標題, 除此之外,你也可以把任何單字放到中括號中, +像這樣 {{{[[square brackets]]}}}. 然後你可以點選新超連結後的問號繼續 ClickTheQuestionMark, 而 Wiki 將會給你一個製作新頁面的視窗. +The page name can contain any character, except: +* angle brackets (<>), +* square brackets ([]), +* curly brackets ({}), +* double quotes ("), +* pipe (|), +* and hash sign (#) that is used for anchors. + 如果你想要加入一份帶有複雜標記的文件到 Wiki, 你最好是提供一個 URL, 這會比直接貼上文件的內容好,像這樣: +{{{ +[[http://phpwiki.sourceforge.net/|PhpWiki project homepage]] +}}} +[[http://phpwiki.sourceforge.net/|PhpWiki project homepage]] -PhpWiki project homepage: http://phpwiki.sourceforge.net/ - -Wiki 不支援 HTML 標籤 (參閱 TextFormattingRules). +Wiki 不支援 HTML 標籤 (參閱 [[Help:TextFormattingRules|TextFormattingRules]]). <tags>標籤就只會顯示為標籤.</tags> 為鼓勵使用, Wiki 盡可能地保持簡單. 你的管理者可以打開允許嵌入 HTML 的功能, 但這樣可能就會牽涉到安全性議題. Modified: trunk/locale/zh/pgsrc/Help%2FBackLinksPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FBackLinksPlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FBackLinksPlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Thu, 13 Oct 2016 15:09:28 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FBackLinksPlugin; @@ -15,21 +15,21 @@ For example {{{<<BackLinks page=Milk,Honey>>}}} would display all pages which contain links to Milk AND Honey. -== Usage == +== 用法 == {{{ <<BackLinks arguments>> }}} -== Arguments == +== 引數 == All [[Help:PageList|PageList]] arguments, plus the following ones: {| class="bordered" |- -! Argument +! 引數 ! Description -! Default value +! 預設 |- | **page** | Page from which the back links are calculated. @@ -65,7 +65,7 @@ == Author == * [[Help:Reini Urban|Reini Urban]] -== See Also == +== 參閱 == <noinclude> ---- Modified: trunk/locale/zh/pgsrc/Help%2FCalendarPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FCalendarPlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FCalendarPlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Tue, 9 Apr 2019 17:57:35 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FCalendarPlugin; @@ -23,69 +23,86 @@ 你將會得到: <<Calendar>> --------- +== 引數 == -=== Plugin 引數 +{| class="bordered" +|- +! 引數 +! Description +! 預設 +|- +| colspan="3" class="align-center" | **月份的選擇** +|- +| **year** +| 為月曆指定年. +| 目前的年份 +|- +| **month** +| 為月曆指定月份. +| 目前的月份 +|- +| **month_offset** +| 加到 //month//. 可以用來含括好幾個月的月曆到一個 wiki 頁面. +| 0 +|- +| colspan="3" class="align-center" | **“Day Page” (日頁面)名稱** +|- +| **date_format** +| 使用 [[[php-function:strftime|strftime]] 風格的格式字串來為 “day pages” 產生頁面名稱. +| 預設值為 ##%Y-%m-%d##. +|- +| **prefix** +| Prepended to the date (formatted per //date_format//) to generate the “day page” names. +| The default value is ##~[pagename]/##. +|- +| colspan="3" class="align-center" | **Appearance** +|- +| **month_format** +| 使用 [[php-function:strftime|strftime]] 風格的格式字串產生 月曆的標題. +| (預設為 ##%B %Y##.) +|- +| **wday_format** +| 使用 [[php-function:strftime|strftime]] 風格的格式字串產生 在月曆上頭的 day-of-week 名稱. +| +|- +| **start_wday** +| 每週是由那一天開始. 這會是一個介於 0 (Sunday)到 6(Saturday) 的整數. +| +|} -==== 月份的選擇 +== Examples == -**year**: +{{{ +<<Calendar month_offset=+1>> +}}} - 為月曆指定年. (預設: 目前的年份.) +will get you: +<<Calendar month_offset=+1>> -**month**: +{{{ +<<Calendar start_wday=0>> +}}} - 為月曆指定月份. (預設: 目前的月份.) +will get you: +<<Calendar start_wday=0>> -**month_offset**: +== 參閱 == - 加到 ''month''. 可以用來含括好幾個月的月曆到一個 wiki 頁面. +* [[Help:CalendarListPlugin]] - <<Calendar month_offset=+1>> +Often used together like this: -==== "Day Page" (日頁面)名稱 +{{{ +<<Calendar>> +<<CalendarList>> +}}} -**date_format**: +== Authors == - 使用 [Strftime| php-function:strftime] 風格的格式字串來為 "day pages" - 產生頁面名稱. 預設值為 =%Y-%m-%d=. +This feature was inspired by [[http://manila.userland.com/|Calendar]], +and first implemented by Gary Benson. It was later implemented as a +[[Help:WikiPlugin|plugin]] by [[Help:Jeff Dairiki|Jeff Dairiki]]. -**prefix**: - - Prepended to the date (formatted per ''date_format'') to generate - the "day page" names. The default value is =~[pagename]/=. - -==== Appearance - -**month_format**: - - 使用 [Strftime| php-function:strftime] 風格的格式字串產生 - 月曆的標題. (預設為 =%B, %Y=.) - -**wday_format**: - - 使用 [Strftime| php-function:strftime] 風格的格式字串產生 - 在月曆上頭的 day-of-week 名稱. - -**start_wday**: - - 每週是由那一天開始. 這會是一個介於 0 (Sunday)到 6(Saturday) 的整數. - - <<Calendar start_wday=1 >> - ------ - -==== Patch for 1.2 - -GaryBenson wrote the first calendar implementation for PhpWiki 1.2. -(Since 1.2 doesn't support plugins, it uses a =###CALENDAR###= token -as a trigger.) Gary provides a screenshot at -http://inauspicious.org/files/screenshots/calender.png|screenshot, a -[patch|http://inauspicious.org/files/phpwiki/phpwiki-1.2.0-calendar.patch] -(on 1.2.0), and -[calendar.php|http://inauspicious.org/files/phpwiki/calendar.php] -(which renders a view of the year.) - <noinclude> ---- [[PhpWikiDocumentation]] [[CategoryWikiPlugin]] Modified: trunk/locale/zh/pgsrc/Help%2FCommentPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FCommentPlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FCommentPlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Tue, 9 Apr 2019 17:57:35 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FCommentPlugin; @@ -9,9 +9,9 @@ CommentPlugin 可以讓你隱藏部份 Wiki 頁面而無須刪除這些文字. 註解將只會在 編輯或查看源碼的時候顯現出來. -== Usage == +== 用法 == -簡單的把 =<<Comment= 和 =>>= 放在要註解的文字前後. +簡單的把 {{{<<Comment}}} 和 {{{>>}}} 放在要註解的文字前後. {{{ <<Comment Modified: trunk/locale/zh/pgsrc/Help%2FExternalSearchPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FExternalSearchPlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FExternalSearchPlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FExternalSearchPlugin; @@ -8,7 +8,7 @@ ExternalSearchPlugin 建立可以查詢 InterWiki 或其他內部站台的表單. -== Typical Usage == +== 用法 == {{{ <<ExternalSearch @@ -17,41 +17,65 @@ >> }}} -== Arguments == +== 引數 == -**url**: - 指定來自 InterWikiMap 或 url 的 wiki. 任何被使用者輸入的文字將會附加在 - 搜尋 url 後面. 這段替代字串 '**=%s=**' 將會被用來在 url 裡插入搜尋查詢, - 而不是附加了. +{| class="bordered" +|- +! 引數 +! Description +! 預設 +|- +| **url** +| 指定來自 [[InterWikiMap]] 或 url 的 wiki. 任何被使用者輸入的文字將會附加在 +搜尋 url 後面. 這段替代字串 ''##**%s**##' 將會被用來在 url 裡插入搜尋查詢, +而不是附加了. +| +|- +| **name** +| 在送出按鈕上的文字. +| 對 ~InterWiki 站台來說,預設為 wiki 名稱,對其他 url 來說,預設為 "External Search". +|- +| **formsize** +| 指定輸入區域大小. +| 30 個字元 +|- +| **debug** +| 不要真的重導向到外部站台, 只要印出要被重導向到的 url. +| +|} -**name**: - 在送出按鈕上的文字. 對 InterWiki 站台來說,預設為 wiki 名稱,對其他 url - 來說,預設為 "External Search". +== Examples == -**formsize**: - 指定輸入區域大小. (預設: 30 個字元) +{{{ + url="http://sunir.org/apps/meta.pl?" name="Metawiki Search" + url="http://www.usemod.com/cgi-bin/mb.pl?" name="MeatBall Search" + url=php-lookup + url=php-function + url=PhpWiki +}}} -**debug**: - 不要真的重導向到外部站台, 只要印出要被重導向到的 url. +Perform a full-text search on multiple wiki's: +<<ExternalSearch url="http://sunir.org/apps/meta.pl?" name="Metawiki Search">> - -=== Examples 在 MeatBall wiki 上執行全文搜索: +<<ExternalSearch url="http://www.usemod.com/cgi-bin/mb.pl?" name="MeatBall Search">> -<<ExternalSearch - url="http://www.usemod.com/cgi-bin/mb.pl?search=" - name="MeatBall Search" ->> - 在 PHP 站台上搜索 function 名稱: -<<ExternalSearch url=php-lookup name="PHP Lookup" >> +<<ExternalSearch url=php-lookup name="PHP Lookup">> -輸入 PHP 函數以查看文件頁:%%% -<<ExternalSearch url=php-function >> +輸入 PHP 函數以查看文件頁: +<<ExternalSearch url=php-function>> 輸入PhpWiki上任何已存在的頁面名稱,以直接跳到該頁面. -<<ExternalSearch url=PhpWiki >> +<<ExternalSearch url=PhpWiki>> +== 參閱 == +* [[Help:TitleSearchPlugin]] +* [[Help:FullTextSearchPlugin]] +* [[Help:InterWikiSearchPlugin]] +* [[Help:LinkSearchPlugin]] +* [[Help:SemanticSearchPlugin]] + <noinclude> ---- [[PhpWikiDocumentation]] [[CategoryWikiPlugin]] Modified: trunk/locale/zh/pgsrc/Help%2FHelloWorldPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FHelloWorldPlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FHelloWorldPlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FHelloWorldPlugin; @@ -20,6 +20,9 @@ ~PhpWiki 的 plugin 架構允許你加入自訂的頁面元素. 你所要做的就是繼承 ~WikiPlugin 類別並實作你的 run() 方法. +* either with the predefined HTML classes to create valid XHTML, +* or by using templates, which are easier customizable, but generally more a mess to use and easier to create invalid XHTML. + <<PhpHighlight /** @@ -50,7 +53,6 @@ function getDescription () { return _("Simple Sample Plugin"); - } // Establish default values for each of this plugin's arguments. Modified: trunk/locale/zh/pgsrc/Help%2FHowToUseWiki =================================================================== --- trunk/locale/zh/pgsrc/Help%2FHowToUseWiki 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FHowToUseWiki 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 2 Sep 2019 14:11:56 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FHowToUseWiki; @@ -6,16 +6,16 @@ charset=UTF-8 Content-Transfer-Encoding: binary -//"Wiki wiki"// 在夏威夷話裡是 "快" 的意思. +//《 Wiki wiki》// 在夏威夷話裡是 《快》 的意思. **你真正需要了解的只有:** -* 點擊頁面下方的"編輯"連結即可編輯頁面. 你應該立刻閱讀這個頁面的源碼. 這會非常有用. -* 要讓字體變為斜體,只要在前後加上底線,像是 _這樣_. -* 要讓字體變為*粗體*,只要前後加上星號. -* 然後,使用兩者,即可得到*_粗體加斜體_*. -* 前後使用等號,就可以得到=正常文字=. +* 點擊頁面下方的//編輯//連結即可編輯頁面. 你應該立刻閱讀這個頁面的源碼. 這會非常有用. +* 要讓字體變為斜體,只要在前後加上底線,像是 //這樣//. +* 要讓字體變為**粗體**,只要前後加上星號. +* 然後,使用兩者,即可得到**//粗體加斜體//**. +* 前後使用等號,就可以得到##正常文字##. * 在列的最前面加上 * ,即可條列文字. -* 以 <pre> 和 </pre> 包起來的一段字,都會是一般正常字體. +* To have a paragraph in plain monospaced font, start it with ~{~{~{ and end it with ~}~}~}: {{{ this is a poem for sure about monospacing Modified: trunk/locale/zh/pgsrc/Help%2FInterWiki =================================================================== --- trunk/locale/zh/pgsrc/Help%2FInterWiki 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FInterWiki 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FInterWiki; @@ -6,7 +6,7 @@ charset=UTF-8 Content-Transfer-Encoding: binary -這個 wiki 支援 InterWiki 連結,它是由 [UseMod:] 複製過來的. 可以不必 +這個 wiki 支援 InterWiki 連結,它是由 [[UseMod:]] 複製過來的. 可以不必 知道完整 URLs 就可以連結到其他 wiki 的頁面, 舉例來說: MeatBall:InterWiki 將能連結到 Meatball wiki 上的 "~InterWiki" 頁面上. @@ -14,7 +14,7 @@ 運作,必須被鎖定. 這可以拒絕潛在的惡毒駭客有機會將每個 ~InterWiki 的連結 指向一些惡毒的 URL. 如果在 InterWikiMap 沒有找到任何 map (或是頁面沒被鎖定), PhpWiki 將會改使用 lib/interwiki.map 這個檔案. PhpWiki 正使用的 -~InterWiki map 檔案,可以參閱 [http://phpwiki.sf.net/interwiki.map]. +~InterWiki map 檔案,可以參閱 [[http://phpwiki.sf.net/interwiki.map]]. map 檔案是手動更新的. 基於此,他會定期與 [UseMod's InterMap|http://usemod.com/intermap.txt] 同步但他們並不完全相似. @@ -22,14 +22,15 @@ 參照 RFC 範例以了解他如何運祚. 在 InterWikiMap 裡的的進入點並不全都是 wikis. 舉例來說, 這些就只是正規的 -網站: Dictionary:fungible, [JargonFile:Alderson loop], [IMDB:Roman Holiday], -RFC:2822, and ISBN:020171499X. +網站: [[Dictionary:fungible]], +[[JargonFile:Alderson loop]], [[IMDB:Roman Holiday]], [[RFC:2822]], and +[[ISBN:020171499X]]. "Category"(分類)這個名字只是一個特別的進入點,它允許人能連結到分類網頁 -而無須建立 back-reference(向後參考).因此, Category:Category 連結到 +而無須建立 back-reference(向後參考).因此, [[Category:Category]] 連結到 CategoryCategory 頁面,此頁面將不顯示 CategoryCategory 的 back-links(向後連結). -這個字眼 "InterWiki" 也涉及了廣義的觀念. 參閱 InterWikiSearch 取得 +這個字眼 "~InterWiki" 也涉及了廣義的觀念. 參閱 [[InterWikiSearch]] 取得 更多連結. ---- Modified: trunk/locale/zh/pgsrc/Help%2FLinkIcons =================================================================== --- trunk/locale/zh/pgsrc/Help%2FLinkIcons 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FLinkIcons 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FLinkIcons; @@ -6,7 +6,7 @@ charset=UTF-8 Content-Transfer-Encoding: binary -LinkIcons 是一個 PhpWiki 可選的新特色. 當啟始以後, 圖示將被顯示在 URLs 的 +**~LinkIcons** 是一個 ~PhpWiki 可選的新特色. 當啟始以後, 圖示將被顯示在 URLs 的 最前面以指示連結的型態. | {{/themes/default/images/http.png}} | http link @@ -16,11 +16,6 @@ | {{/themes/default/images/mailto.png}} | mailto link | {{/themes/default/images/ftp.png}} | ftp link -**注意**: 部份預設圖示使用了 -[PNG|http://www.libpng.org/pub/png/png-sitemap.htm]圖片格式的 -alpha channel 特色以便能夠平順的在任何有顏色或有背景頁面被畫出來. -舊的瀏覽器可能無法顯示圖片. - == Examples == 如果管理者有啟始這個特色的話,以下的範例將會只以上面的連結圖示顯示. @@ -42,8 +37,8 @@ * news://nntp.news.com * gopher://gopher.caltech.cmu.edu -LinkIcons 將在 URL 協定是 PhpWiki 允許並能連結的時候才顯示. 除非管理者加上, -否則以下的範例無法顯示任何圖示,而 PhpWiki 也不會自動提供雙擊的連結, +~LinkIcons 將在 URL 協定是 PhpWiki 允許並能連結的時候才顯示. 除非管理者加上, +否則以下的範例無法顯示任何圖示,而 ~PhpWiki 也不會自動提供雙擊的連結, * bogus://oedipus.nostradamus.com * bolo://lgm.cheshire.org Modified: trunk/locale/zh/pgsrc/Help%2FMagicPhpWikiURLs =================================================================== --- trunk/locale/zh/pgsrc/Help%2FMagicPhpWikiURLs 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FMagicPhpWikiURLs 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FMagicPhpWikiURLs; @@ -13,15 +13,13 @@ phpwiki 的基礎語法: URL 是 -<pre> -**phpwiki:**''pagename''**?**''query-args'' -</pre> +**phpwiki:**//pagename//**?**//query-args// -如果 _pagename_ 被忽略,那麼預設為目前頁面. +如果 //pagename// 被忽略,那麼預設為目前頁面. -_Query-args_ 應該是以標準 HTTP GET 格式表示的一組參數. +//Query-args// 應該是以標準 HTTP GET 格式表示的一組參數. -"action=''x''" 參數應該都要被給定. 他可以是這些值的其中一個: +"action=//x//" 參數應該都要被給定. 他可以是這些值的其中一個: **browse**, **diff**, **edit**, **viewsource**, **zip**, **dumpserial**, **loadserial**, **remove**, **lock**, **unlock**, @@ -30,71 +28,50 @@ 部份動作接受其他參數. -**FullTextSearch**, **TitleSearch**: +| **FullTextSearch**, **TitleSearch** | 接受 **s** 表示欲搜尋的字串, 而 **size** 表示輸入的長度. +| **edit** | 接受 **version**. +| **remove** | 接受 **verify**. +| **save** | 接受 **editversion**, **minor_edit**, 和 **content**. +| **setprefs** | 接受 **edit_area_width**, **edit_area_height**. - 接受 **s** 表示欲搜尋的字串, 而 **size** 表示輸入的長度. +=== Writing Magic Links in Wiki Pages === -**edit**: - - 接受 **version**. - -**remove**: - - 接受 **verify**. - -**save**: - - 接受 **editversion**, **minor_edit**, 和 **content**. - -**setprefs**: - - 接受 **edit_area_width**, **edit_area_height**. - -=== Writing Magic Links in Wiki Pages - 一個 magic 連結看起來會是: -<pre> -**~[** ''text'' **|** ''phpwiki-url'' **]** -</pre> +**~[~[** //text// **|** //phpwiki-url// **]]** -"''text'' *|*" 是可選的,但通常建議使用. 如果給了,他會為此連結提供標籤. +"//text// **|**" 是可選的,但通常建議使用. 如果給了,他會為此連結提供標籤. -_phpwiki-url_ 就如同上面描述的一樣,是一個 *phpwiki:* URL. +//phpwiki-url// 就如同上面描述的一樣,是一個 //phpwiki:// URL. -==== Some examples +==== Some examples ==== {{{ -[ Edit the SandBox | phpwiki:SandBox?action=edit ] +[[phpwiki:SandBox?action=edit|Edit the SandBox]] }}} 將會產生一個連結,而他將會直接引領你去編輯 SandBox, 像是: -[Edit the SandBox | phpwiki:SandBox?action=edit]. +[[phpwiki:SandBox?action=edit|Edit the SandBox]]. 其他可能的用法: -* [ Diff the SandBox | phpwiki:SandBox?action=diff ], -* [ Lock the HomePage | phpwiki:HomePage?action=lock ], -* [ Get a Full Zip Dump | phpwiki:?action=zip&include=all ], -* Search for [ Page titles containing 'wiki' | phpwiki:?action=TitleSearch&s=wiki ] +* [[phpwiki:SandBox?action=diff|Diff the SandBox]], +* [[phpwiki:HomePage?action=lock|Lock the HomePage]], +* [[phpwiki:?action=zip&include=all|Get a Full Zip Dump]], +* Search for [[phpwiki:?action=TitleSearch&s=wiki|Page titles containing 'wiki']] === Writing Magic Forms in Wiki Pages === -''**Note**: 舊的 Magic forms 語法將不再支援. -他們需以 =<?plugin-form>= 代替.'' +**//Note://** 舊的 Magic forms 語法將不再支援. +他們需以 ##<?plugin-form>## 代替.'' -If the plugin is called using *<?plugin-form* instead of *<?plugin* +If the plugin is called using **<?plugin-form** instead of **<?plugin** and the plugin supports searching, then it will be rendered as a form. -''size'': +| //size// | If given, specifies the size of the input area. +| //s// | Specifies the default value for the input. - If given, specifies the size of the input area. - -''s'': - - Specifies the default value for the input. - ==== Examples ==== -A search plugin invoked with *<?plugin* instead of *<?plugin-form* +A search plugin invoked with **<?plugin** instead of **<?plugin-form** simply inserts the search results of the plugin: {{{ Modified: trunk/locale/zh/pgsrc/Help%2FMoreAboutMechanics =================================================================== --- trunk/locale/zh/pgsrc/Help%2FMoreAboutMechanics 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FMoreAboutMechanics 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FMoreAboutMechanics; @@ -6,8 +6,8 @@ charset=UTF-8 Content-Transfer-Encoding: binary -PhpWiki 是以伺服器端的 script 語言 PHP 所撰寫的, PHP 可以從 -http://www.php.net 取得. PHP 綜合了 C 與 Perl 的語法和函數,並且很類似 +~PhpWiki 是以伺服器端的 script 語言 PHP 所撰寫的, PHP 可以從 +[[http://www.php.net]] 取得. PHP 綜合了 C 與 Perl 的語法和函數,並且很類似 ASP, ~EmbPerl 或 JSP. PhpWiki 是以許多的 PHP 與 HTML 所組成的. 而基於 PHP 之上的 WikiWikiWeb @@ -15,7 +15,7 @@ PostgreSQL 或文字檔案等資料庫.) 每次使用者點擊網站, 所娶得頁面會從資料庫拉出來,並立刻輸出. 使用者只能 -從 =index.php= 進入,而它則決定了要含括那些 php 檔案. +從 ##index.php## 進入,而它則決定了要含括那些 php 檔案. Wiki 頁面的連結是自動被連結的: AddingPages. 這可能是 Wiki 中令人注意的地方, 要新增並連結頁面是很簡單的. 另外一個令人 @@ -26,7 +26,7 @@ # http://slashdot.org/ # http://theregister.co.uk/ -以命名空間與簡單的標記組成, Wiki 展現了 WabiSabi 的精神. +以命名空間與簡單的標記組成, Wiki 展現了 [[Help:WabiSabi|WabiSabi]] 的精神. ~PhpWiki 使用 GNU General Public license 授權,你應該參照這裡: [[http://www.gnu.org/copyleft/gpl.txt]]. Modified: trunk/locale/zh/pgsrc/Help%2FOldStyleTablePlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FOldStyleTablePlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FOldStyleTablePlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Tue, 9 Apr 2019 17:57:35 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FOldStyleTablePlugin; @@ -12,7 +12,7 @@ use [[Help:Wikicreole#Tables|Wikicreole tables]] or [[Help:MediawikiTablePlugin|Mediawiki tables]] instead. -== Usage == +== 用法 == {{{ <<OldStyleTable caption="OldStyleTable" border||=2 @@ -35,13 +35,13 @@ 置首的多重 **|** 用來展延欄, 而 **v** 用來展延列. **>** 產生靠右對齊的欄, **<** 產生靠左對齊的欄, 而 **^** 則產生置中的欄 (預設). -== Arguments == +== 引數 == {| class="bordered" |- -! Argument +! 引數 ! Description -! Default value +! 預設 |- | **caption** | Any string @@ -70,7 +70,7 @@ include multi-line plugin invocations using the old-style markup rules.) -== See Also == +== 參閱 == * [[Help:MediawikiTablePlugin]] * [[Help:RichTablePlugin]] * [[Help:WikicreoleTablePlugin]] Modified: trunk/locale/zh/pgsrc/Help%2FPhotoAlbumPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FPhotoAlbumPlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FPhotoAlbumPlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Tue, 9 Apr 2019 17:57:35 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FPhotoAlbumPlugin; @@ -8,7 +8,7 @@ 藉著顯示帶有說明以及相片檔名的文字檔以製作相簿. -== Usage == +== 用法 == {{{ <<PhotoAlbum @@ -22,29 +22,133 @@ >> }}} -== Arguments == -''只有 ='src'= 參數是必要的.'' +== 引數 == -**src**: - 一個 CSV 文字檔案,裡面每行的格式為 filename, description. - 裡面列出的每張相片必須都與 CSV 文字檔在同個目錄下. Descriptions 可寫可不寫. +只有 ##src## 參數是必要的. -**mode**: - 指定相片排列的方法, ='column'= 表示直放, ='row'= 表示橫放. 預設為 ='row'=. +{| class="bordered" +|- +! 引數 +! Description +! 預設 +|- +| **src** +| +一個 CSV 文字檔案,裡面每行的格式為 filename, description. +裡面列出的每張相片必須都與 CSV 文字檔在同個目錄下. Descriptions 可寫可不寫. -**align**: - 每欄的對齊方式. 預設為 ='center'=. +If the local path points to a directory, is relative from PHPWIKI_DIR, +and the main script is in PHPWIKI_DIR, ##url## must not be given, and +all pictures from this directory are displayed. +| +|- +| **url** +| Defines the webpath to the srcdir directory +| +|- +| **mode** +| +指定相片排列的方法. +* "normal" - Normal table which shows photos full-size +* "thumbs" - WinXP thumbnail style +* "tiles" - WinXP tiles style +* "list" - WinXP list style +* "row" - inline thumbnails +* "column" - photos full-size, displayed in 1 column +* "slide" - slideshow mode, needs Javascript on client +| normal +|- +| **numcols** +| photos per row, columns +| 3 +|- +| **showdesc** +| +* "none" - No descriptions next to photos +* "name" - Only filename shown +* "desc" - Only description (from textfile) shown +* "both" - If no description found, then filename will be used +| both +|- +| **link** +| +true or false -**desc**: - 是否顯示文字檔中指定的 description. 預設為真. +If true, each image will be hyperlinked to a page where the single +photo will be shown full-size. Only works when mode != 'normal' +| true +|- +| **attrib** +| attrib arg allows multiple attributes: attrib=sort,nowrap,alt +* "sort" sorts alphabetically, +* "nowrap" for cells, +* "alt" to use descs instead of filenames in image ALT-tags +|- +| **align** +| 每欄的對齊方式 center, right or left +| center +|- +| **desc** +| 是否顯示文字檔中指定的 description +| true +|- +| **sort** +| 以檔案名稱排序圖片 +| 預設是以文字檔中的順序來排列 +|- +| **bgcolor** +| cell bgcolor +| #eae8e8 (lightgrey) +|- +| **hlcolor** +| highlight color +| #c0c0ff (lightblue) +|- +| **height**, **width** +| +高度與寬度用來與用 [[php-function:getimagesize]] 取得的原始高度與寬度做比較, +可以指定絕對值或百分比 (例如 "50%"). +| +|- +| **attrib** +| +attrib arg allows multiple attributes: attrib=sort,nowrap,alt +'sort' sorts alphabetically, 'nowrap' for cells, 'alt' to use +descs instead of filenames in image ALT-tags +| +|- +| **cellwidth** +| +cell (auto|equal|image|75|100%) -**sort**: - 以檔案名稱排序圖片. 預設是以文字檔中的順序來排列. +Width of cells in table. Either absolute value in pixels, HTML +style percentage, "auto" (no special action), "equal" (where +all columns are equally sized) or "image" (take height and +width of the photo in that cell). +| +|- +| **tablewidth** +| +table (75|100%) +| false +|- +| **p** +| "displaythissinglephoto.jpg" only +| false +|- +| **h** +| "highlightcolorofthisphoto.jpg" only +| false +|- +| **duration** +| in slide mode, duration in seconds +| 6 +|- +| **thumbswidth** +| width of thumbnails +| 80 +|} -**height**, **width**: - 高度與寬度用來與用 [php-function:getimagesize] 取得的原始高度與寬度做比較, - 可以指定絕對值或百分比 (例如 "50%"). - == Examples == === Text file === Modified: trunk/locale/zh/pgsrc/Help%2FPhpHighlightPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FPhpHighlightPlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FPhpHighlightPlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Wed, 14 Dec 2020 11:51:47 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FPhpHighlightPlugin; @@ -6,10 +6,10 @@ charset=UTF-8 Content-Transfer-Encoding: binary -PhpHighlightPlugin 使用了 php-function:highlight-string 來優雅印出 +PhpHighlightPlugin 使用了 [[php-function:highlight-string]] 來優雅印出 PHP 程式碼. -== Usage == +== 用法 == 在同一行指定 plugin 的選項,簡單說就是在 ##<?plugin## 與 ##?>## 之間置放選項. @@ -105,7 +105,7 @@ * [[mailto:gim...@gi...|Martin Geisler]] * [[mailto:car...@us...|Carsten Klapp]] (added ability to override colors defined in ##php.ini##) -== See Also == +== 參閱 == * [[Help:SyntaxHighlighterPlugin|SyntaxHighlighter]] plugin for highlighting other languages. <noinclude> Modified: trunk/locale/zh/pgsrc/Help%2FPhpWeatherPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FPhpWeatherPlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FPhpWeatherPlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Wed, 10 Apr 2019 11:51:47 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FPhpWeatherPlugin; @@ -9,54 +9,69 @@ ~PhpWeatherPlugin 是個 WikiPlugin, 他使用 PhpWeather 來顯示目前世界上 某些機場的氣象. 它看起來像是這樣: -<<PhpWeather menu=true >> +<<PhpWeather menu=true>> -== Arguments == +== 引數 == -**menu**: - 設定為 =true= 是讓 plugin 在報告之後產生選單. 使用者將可以從這個選單 - 去挑選國家,機場或語言. 預設值為 <tt>false</tt>. +{| class="bordered" +|- +! 引數 +! Description +! 預設 +|- +| **menu** +| +設定為 ##true## 是讓 plugin 在報告之後產生選單. 使用者將可以從這個選單 +去挑選國家,機場或語言. +| false +|- +| **icao** +| +使用這個引數來先行挑選機場,以替代預設機場 ##EKAH##. 如果你想讓使 +用者能用選單改變地方,那麼你得使用這樣的語法 +{{{ +<<PhpWeather menu=true icao||=EKYT >> +}}} +然後當使用者送出表單時,值將會被覆寫.如果你只用了 +{{{ +<<PhpWeather menu=true icao=EKYT >> +}}} +那麼,當使用者從清單挑選其他地方的時候,將不會有任何事情產生. +| +|- +| **cc** +| +Specify the country code. You can use this if you want pre-select a +different country than the one specified in the ICAO. -**icao**: - 使用這個引數來先行挑選機場,以替代預設機場 <tt>EKAH</tt>. 如果你想讓使 - 用者能用選單改變地方,那麼你得使用這樣的語法 - {{{ - <<PhpWeather menu=true icao||=EKYT >> - }}} - 然後當使用者送出表單時,值將會被覆寫.如果你只用了 - {{{ - <<PhpWeather menu=true icao=EKYT >> - }}} - 那麼,當使用者從清單挑選其他地方的時候,將不會有任何事情產生. +So using ##<~<~PhpWeather menu=true cc|~|~=GB icao|~|~=KTTS>>## +will show the current weather at the NASA Shuttle Facility, United +States (##KTTS##) and at the same time give the user a list of +stations in the United Kingdom. -**cc**: - Specify the country code. You can use this if you want pre-select a - different country than the one specified in the ICAO. So using - {{{ - <<PhpWeather menu=true cc||=GB icao||=KTTS >> - }}} - will show the current weather at the NASA Shuttle Facility, United - States (<tt>KTTS</tt>) and at the same time give the user a list of - stations in the United Kingdom. As the example shows, then you - should use <tt>cc||=XX</tt> when combining it with **menu** set to - <tt>true</tt>. +As the example shows, then you +should use ##cc|~|~=XX## when combining it with **menu** set to ##true##. +| +|- +| **language** +| +The default language. When combining **language** with **menu** set +to ##true## then remember to use the ##language|~|~=xx## form. +| +|- +| **units** +| +You can specify the way the units are printed. The choice is between +having both metric and imperial units printed, or just one of +them. Setting **units** to ##both_metric## will print the metric value +first and then the imperial value in parenthesis. Using ##both_imperial## +instead will do the opposite. -**language**: - The default language. When combining **language** with **menu** set - to <tt>true</tt> then remember to use the <code>language||=xx</code> - form. +If you only need the metric or imperial units to be shown, then +setting **units** to ##only_metric## or ##only_imperial## will do just that. +| +|} -**units**: - You can specify the way the units are printed. The choice is between - having both metric and imperial units printed, or just one of - them. Setting **units** to =both_metric= will print the metric value - first and then the imperial value in parenthesis. Using - =both_imperial= instead will do the opposite. - - If you only need the metric or imperial units to be shown, then - setting **units** to =only_metric= or =only_imperial= will do just - that. - == Example == Weather in Brittany : Modified: trunk/locale/zh/pgsrc/Help%2FPhpWiki =================================================================== --- trunk/locale/zh/pgsrc/Help%2FPhpWiki 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FPhpWiki 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Tue, 9 Apr 2019 14:13:17 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FPhpWiki; @@ -9,7 +9,7 @@ 你現在正在使用 ~PhpWiki. 很難以置信,不是嗎? 參訪我們位於 [[https://sourceforge.net/projects/phpwiki/]] 的首頁並參閱這兒的 ~PhpWiki -[[http://phpwiki.demo.free.fr]]. +[[http://phpwiki.demo.free.fr]] (and of course here too :-)). <noinclude> ---- Modified: trunk/locale/zh/pgsrc/Help%2FRandomPagePlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FRandomPagePlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FRandomPagePlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Tue, 9 Apr 2019 14:13:17 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FRandomPagePlugin; @@ -8,20 +8,20 @@ The **~RandomPage** [[Help:WikiPlugin|plugin]] displays a list of randomly chosen pages or redirects to a random page. -== Usage == +== 用法 == {{{ <<RandomPage arguments>> }}} -== Arguments == +== 引數 == All [[Help:PageList|PageList]] arguments, plus the following ones: {| class="bordered" |- -! Argument +! 引數 ! Description -! Default value +! 預設 |- | **numpages** | Number of pages to list. 隨機頁面的數量應該是 1 到 20 之間的數字. If greater, 20 will be used. @@ -47,7 +47,7 @@ == Author == * [[Help:Reini Urban|Reini Urban]] -== See Also == +== 參閱 == <noinclude> ---- Modified: trunk/locale/zh/pgsrc/Help%2FRedirectToPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FRedirectToPlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FRedirectToPlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FRedirectToPlugin; @@ -7,30 +7,42 @@ Content-Transfer-Encoding: binary RedirectToPlugin 用來重導向使用者到另外一個頁面. 換句話說,它為其他頁面創造 -了一個 _alias_ (別名). +了一個 //alias// (別名). -== Arguments == +When redirecting to another wiki page, a note is added to the top of the target +page saying //(Redirected from SomeRedirectingPage)//. +== 引數 == + 一次只能使用這些引數中的其中一個. -page | - 重導向的目的頁面. -href | - 重導向到外部 URL. 重導向到外部頁面只能用在已鎖定頁面上. - (如果 URL 包含有趣的字元,你可能得用雙引號將 URL 包起來.) +{| class="bordered" +|- +! 引數 +! Description +! 預設 +|- +| **page** +| 重導向的目的頁面. +| none +|- +| **href** +重導向到外部 URL. 重導向到外部頁面只能用在已鎖定頁面上. (如果 URL 包含有趣的字元,你可能得用雙引號將 URL 包起來.) +| none +|} == Caveats == -RedirectToPlugin 必須處於頁面的一開頭. 此外也會使得頁面的其他內容無法被存取. +~RedirectToPlugin 必須處於頁面的一開頭. 此外也會使得頁面的其他內容無法被存取. == Example == -要製作一個連到 HomePage 的別名,就在頁面最上面放上: +要製作一個連到 [[HomePage]] 的別名,就在頁面最上面放上: {{{ <<RedirectTo page="HomePage">> }}} -要看這個範例的話,請參訪 HomePageAlias. +要看這個範例的話,請參訪 [[HomePageAlias]]. <noinclude> ---- Modified: trunk/locale/zh/pgsrc/Help%2FSystemInfoPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FSystemInfoPlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FSystemInfoPlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FSystemInfoPlugin; @@ -6,9 +6,9 @@ charset=UTF-8 Content-Transfer-Encoding: binary -SystemInfoPlugin 提供了存取 PhpWiki 所在平台上的低階系統資訊. +~SystemInfoPlugin 提供了存取 PhpWiki 所在平台上的低階系統資訊. -== Usage == +== 用法 == {{{ <<SystemInfo all>> Modified: trunk/locale/zh/pgsrc/Help%2FTranscludePlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FTranscludePlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FTranscludePlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Wed, 10 Apr 2019 11:51:47 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FTranscludePlugin; @@ -10,14 +10,30 @@ 頁面是利用 ##<iframe>## 標籤達到 transclude 的目的. -== Arguments == +== 引數 == -=src= | - 要 transclude 的網頁 URL. -=height= | - 初始化 transclusion 框架的高度. - 如果,可能的話,在 transcluded 頁面載入後,可以透過 javascript 改變框架大小, - 讓它能塞下整個 transcluded 頁面. (參閱下面可以得到更多.) +{| class="bordered" +|- +! 引數 +! Description +! 預設 +|- +| **src** +| 要 transclude 的網頁 URL. +| //none// +|- +| **title** +| The title of the page to transclude +| //Transcluded page// +|- +| **height** +| 初始化 transclusion 框架的高度. 如果,可能的話,在 transcluded 頁面載入後,可以透過 javascript 改變框架大小, 讓它能塞下整個 transcluded 頁面. (參閱下面可以得到更多.) +| 450 +|- +| **quiet** +| If set, frame appears as normal content +| false +|} == Bugs / Caveats == Modified: trunk/locale/zh/pgsrc/Help%2FWikiPlugin =================================================================== --- trunk/locale/zh/pgsrc/Help%2FWikiPlugin 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FWikiPlugin 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Sun, 29 Mar 2020 19:52:27 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FWikiPlugin; @@ -6,29 +6,38 @@ charset=UTF-8 Content-Transfer-Encoding: binary -~WikiPlugins 可以讓人簡單地為 wiki 頁面增加新的動態內容種類 (像是其他的功能). -在這個 wiki 之中, RecentChanges, BackLinks, LikePages 和 DebugBackendInfo 頁面都是 -使用 plugins 來實作的. +A **plugin** is some PHP code that: +* lives in ##phpwiki/lib/plugin/<pluginname>.php## +* implements the ~WikiPlugin interface by extending that class. -我期盼搜尋結果頁面或是 PhpWikiAdministration 等能夠很快地以 plugin 形式被實 -作出來. (我想 oh-so-ugly [MagicPhpWikiURLs] 也能被 plugins 替代.) +There are many plugins already distributed with ~PhpWiki. Simply look +in the ##lib/plugin## directory or see the [[PluginManager]] list or see all the +[[phpwiki:TitleSearch?s=Help/*Plugin|Help/*Plugin pages]]. +To write your own, look at the [[Help:HelloWorldPlugin]] (~HelloWorld.php +in that directory), which is a minimal example of a plugin. + +A ~WikiPlugin allows one to easily add new types of dynamic +content (as well as other functionality) to wiki pages within ~PhpWiki. +In this very wiki all actions which are not entirely lowercased +are implemented using plugins, and some lowercased convenience +actions also (rename, revert, setacl, diff, ...) + +Note that you can NOT extend the markup syntax with a plugin, as in other wiki engines. + == Example == 現在,有人放了這麼一行字想要使用 plugin: {{{ -<<BackLinks>> +<<AllPages limit=20 cols=3>> }}} -到一個一般的 wiki-page. 這個特有的範例產生了連結到此頁面的頁面列表. -結果如下: +into a regular wiki-page. That particular example produces a list +of the first 20 existing pages in 3 columns, via the [[Help:PageList|PageList]] library. -<<BackLinks>> +<<AllPages limit=20 cols=3>> -(這對分類與主題頁面來說是很棒的. 你可以使用它取得自動 in-line 的存在於分 -類或主題的頁面列表.) - == Details == Plugins can take certain named arguments, most do. The values of Modified: trunk/locale/zh/pgsrc/Help%2FWikiWikiWeb =================================================================== --- trunk/locale/zh/pgsrc/Help%2FWikiWikiWeb 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/Help%2FWikiWikiWeb 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Tue, 9 Apr 2019 11:19:11 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FWikiWikiWeb; @@ -6,12 +6,12 @@ charset=UTF-8 Content-Transfer-Encoding: binary -WikiWikiWeb 是一個可以協同作業的站台. 最知名且最廣泛被使用的 Wiki 是 -位於 http://c2.com/cgi-bin/wiki?WikiWikiWeb 的 Portland Pattern Repository. +~WikiWikiWeb 是一個可以協同作業的站台. 最知名且最廣泛被使用的 Wiki 是 +位於 [[http://c2.com/cgi-bin/wiki?WikiWikiWeb]] 的 Portland Pattern Repository. You and I will find these statements there particularly relevant: -''使 EditText 表單變得簡單並且使 FindPage 能快速搜尋.'' +//使 [[Help:EditText|EditText]] 表單變得簡單並且使 [[FindPage]] 能快速搜尋.// //In addition to being quick, this site also aspires to Zen ideals generally labeled [[Help:WabiSabi|WabiSabi]]. Zen finds beauty in the imperfect and @@ -19,7 +19,7 @@ //The Universe tends toward chaos. The Universe tends toward Wiki.// -你可以在 RecentVisitors 說聲 hello, 或是閱讀 HowToUseWiki 和 AddingPages. +你可以在 [[RecentVisitors]] 說聲 hello, 或是閱讀 [[Help:HowToUseWiki|HowToUseWiki]] 和 [[Help:AddingPages|AddingPages]]. 目前這個 Wiki 並沒有討論任何主題, 所以就用力的去玩並享受他吧!! -- [[Help:Steve Wainstead|Steve Wainstead]] Modified: trunk/locale/zh/pgsrc/HomePageAlias =================================================================== --- trunk/locale/zh/pgsrc/HomePageAlias 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/HomePageAlias 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Fri, 19 Apr 2019 10:57:19 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=HomePageAlias; @@ -7,3 +7,5 @@ Content-Transfer-Encoding: binary <<RedirectTo page="首頁">> + +(This is a demonstration of the [[Help:RedirectToPlugin|RedirectTo]] plugin.) Modified: trunk/locale/zh/pgsrc/InterWikiSearch =================================================================== --- trunk/locale/zh/pgsrc/InterWikiSearch 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/InterWikiSearch 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=InterWikiSearch; @@ -6,9 +6,9 @@ charset=UTF-8 Content-Transfer-Encoding: binary -在下面輸入想要的頁面名稱來查詢有列在 InterWikiMap 裡的頁面. +在下面輸入想要的頁面名稱來查詢有列在 [[InterWikiMap]] 裡的頁面. -要查詢其他頁面的話可以用 ExternalSearchPlugin. +要查詢其他頁面的話可以用 [[Help:ExternalSearchPlugin|ExternalSearchPlugin]]. <<InterWikiSearch>> Modified: trunk/locale/zh/pgsrc/OrphanedPages =================================================================== --- trunk/locale/zh/pgsrc/OrphanedPages 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/OrphanedPages 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Tue, 9 Apr 2019 11:19:11 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=OrphanedPages; @@ -6,7 +6,7 @@ charset=UTF-8 Content-Transfer-Encoding: binary -OrphanedPages 指的是沒有任何頁面連到的頁面. +~OrphanedPages 指的是沒有任何頁面連到的頁面. ---- Modified: trunk/locale/zh/pgsrc/PageDump =================================================================== --- trunk/locale/zh/pgsrc/PageDump 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/PageDump 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Tue, 9 Apr 2019 11:19:11 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=PageDump; @@ -7,7 +7,7 @@ Content-Transfer-Encoding: binary 以 MIME 格式查看 wiki 頁面或下載為一份單一頁面備份. -_所有頁面的完整下載可以在 PhpWikiAdministration 中取得._ +//所有頁面的完整下載可以在 [[PhpWikiAdministration]] 中取得.// <<PageDump>> ---- @@ -17,7 +17,9 @@ TitleSearch 標題搜尋: <?plugin-form TitleSearch?> -參閱: ViewSource, PluginManager. +== 參閱 == +* [[phpwiki:?action=viewsource|ViewSource]] +* [[PluginManager]] ---- [[CategoryActionPage]] Modified: trunk/locale/zh/pgsrc/PhpWikiAdministration =================================================================== --- trunk/locale/zh/pgsrc/PhpWikiAdministration 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/PhpWikiAdministration 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Wed, 10 Apr 2019 11:51:47 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=PhpWikiAdministration; @@ -7,8 +7,7 @@ charset=UTF-8 Content-Transfer-Encoding: binary -**//注意://** //此頁面上的大部分動作需要管理者權限. 除非你在 PhpWiki 配置檔中 -設置了管理者的使用者帳號與密碼,否則他們是無法運作的.// +**//注意://** //此頁面上的大部分動作需要管理者權限.// <<CreateToc jshide||=0 with_toclink||=1 position=right with_counter=1>> @@ -46,7 +45,7 @@ == Cleanup == -Wiki SandBox 是很容易被清理的. 你可以藉著直接回存 pgsrc 中的預設網頁來重設. +Wiki [[SandBox]] 是很容易被清理的. 你可以藉著直接回存 pgsrc 中的預設網頁來重設. **[[phpwiki:?action=loadfile&overwrite=1&source=pgsrc/SandBox|Rake the SandBox]]** @@ -57,18 +56,16 @@ 這些連結引領你下載動態產生的 zip 檔案,裡面包含了 Wiki 裡的所有頁面. 你可以直接下載這些 zip 檔案到你的本地電腦中. -**[ZIP Snapshot | phpwiki:?action=zip]** 只包含了目前每個頁面的最新版本. -而 **[ZIP Dump | phpwiki:?action=zip&include=all]** 則包含了所有版本. +**[[phpwiki:?action=zip|ZIP Snapshot]]** 只包含了目前每個頁面的最新版本. +而 **[[phpwiki:?action=zip&include=all|ZIP Dump]]** 則包含了所有版本. (PhpWiki 可以設置為讓每個人都能下載 zip 檔案.) -如果你的 php 支援 ''zlib'', 所有檔案將被壓縮,否則他們只會被存放到 zip 檔案中. - === 傾印到目錄 === 你可以選擇傾印 Wiki 頁面到目錄中. - <<WikiForm action=dumpserial>> +<<WikiForm action=dumpserial>> 每個頁面較新的版本將會被寫到目錄中,一個檔案一個頁面. 該目錄必須要有寫的權限方能寫入! @@ -95,13 +92,24 @@ <<WikiForm action=loadfile>> <<WikiForm action=loadfile buttontext="Load & Overwrite" overwrite=1>> +=== Upgrade === + +Do some verification checks and upgrade changes automatically, after having installed a +new phpwiki engine update: +* Upgrade new or changed page revisions from pgsrc, +* Upgrade the database schema (mysql //page.id auto_increment//, ADD //session.sess_ip//), + +You can force overwrite or not: +* **[[phpwiki:HomePage?action=upgrade|Upgrade]]** +* **[[phpwiki:HomePage?action=upgrade&overwrite=1|Upgrade & Overwrite]]** + == 檔案格式 Format of the files == 目前頁面被存為 MIME (RFC:2045) e-mail(RFC:822) 訊息格式,一個頁面一個檔. -content-type 設為 ''application/x-phpwiki'', 而頁面的 meta-data +content-type 設為 //application/x-phpwiki//, 而頁面的 meta-data 則編到 content-type 參數中. (如果檔案包含了頁面的數個版本,它將會有 -''multipart/mixed'',並包含了數個子部份,每個子部份前面則有 -''application/x-phpwiki''.) 訊息的本文包含了頁面文字. +//multipart/mixed//,並包含了數個子部份,每個子部份前面則有 +//application/x-phpwiki//.) 訊息的本文包含了頁面文字. == 傾印頁面為 XHTML Dump pages as XHTML == @@ -110,39 +118,7 @@ 這將會產生包含靜態頁面的目錄,以便於儲存於磁片上,並在沒有 web server 存 在的環境上使用. 頁面編輯與巡覽的連結將會從頁面上移除. -XHTML 檔案群也可以下載為 -**[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]**. +XHTML 檔案群也可以下載為 **[[phpwiki:?action=ziphtml|XHTML ZIP Snapshot]]**. -== PhpWiki Internals == - -在這兒的大部分東西都是為了除錯而存在 (at least, that's the hope.) - -在正常情況下,你不需要使用這些,不過他們應該也不會造成任何損害. - -=== 清理標記快取 Purge Markup Cache === - -(如果你的 wiki 已經設置,) 每個頁面的最新版本的轉換內容(幾乎是 HTML)都被 -快取了. 這會避免再剖析 wiki-text ,而使得頁面輸出的速度加快一些. - -點擊這個按鈕將會清除所有快取的轉換內容. (每個頁面內容在下次有人想看這些頁面時 -進行轉換並重新放到快取裡面去.) - -<<WikiAdminUtils - action=purge-cache - label="Purge Cache" ->> - -=== 清理 WikiDB 裡的非法檔案名稱 Clean WikiDB of Illegal Filenames == - -頁面名稱以子頁面分隔子(通常是 =/= )開始的,是不被允許的. 有時候是錯誤 -的 plugin 或某些事情而導致. - -這個按鈕將會刪除任何有非法頁面名稱的頁面. - -<<WikiAdminUtils - action=purge-bad-pagenames - label="Exorcise WikiDB" ->> - ---- [[CategoryActionPage]] Modified: trunk/locale/zh/pgsrc/PhpWikiDebug =================================================================== --- trunk/locale/zh/pgsrc/PhpWikiDebug 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/PhpWikiDebug 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Thu, 16 Dec 2020 15:09:28 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=PhpWikiDebug; @@ -11,11 +11,10 @@ <<CreateToc jshide||=0 with_toclink||=1 position=right with_counter=1 >> -在這兒的大部分東西都是為了除錯而存在 (at least, that's the hope.) +在這兒的大部分東西都是為了除錯而存在 (at least, that is the hope.) 在正常情況下,你不需要使用這些,不過他們應該也不會造成任何損害. - == 清理標記快取 Purge Markup Cache == (如果你的 wiki 已經設置,) 每個頁面的最新版本的轉換內容(幾乎是 HTML)都被 @@ -28,7 +27,7 @@ === 清理 WikiDB 裡的非法檔案名稱 Clean WikiDB of Illegal Filenames == -頁面名稱以子頁面分隔子(通常是 =/= )開始的,是不被允許的. 有時候是錯誤 +頁面名稱以子頁面分隔子(通常是 ##/## )開始的,是不被允許的. 有時候是錯誤 的 plugin 或某些事情而導致. 這個按鈕將會刪除任何有非法頁面名稱的頁面. Modified: trunk/locale/zh/pgsrc/UpLoad =================================================================== --- trunk/locale/zh/pgsrc/UpLoad 2020-12-24 17:23:58 UTC (rev 10198) +++ trunk/locale/zh/pgsrc/UpLoad 2020-12-24 17:27:39 UTC (rev 10199) @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2019 18:49:20 +0000 +Date: Thu, 24 Dec 2020 18:13:17 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=UpLoad; @@ -7,7 +7,6 @@ Content-Transfer-Encoding: binary **這是實驗性的頁面. 現在只有 Wiki 管理者才能使用.** - ---- <<UpLoad>> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ... [truncated message content] |