> AiutoSuMacro

  1. Macro
    1. Macro di ricerca
    2. Navigazione
    3. Informazioni di sistema
    4. Altre
  2. Esempio

Macro

Le macro consentono di inserire nuove funzionalità nelle normali pagine wiki; l'unica cosa che rende speciali quelle pagine è che contengono delle macro. Se modifichi pagine tipo ModificheRecenti o SystemInfo, potrai vedere che cosa questo significhi.

Per ulteriori informazioni sulle possibili formattazioni, vedi AiutoSuFormattazione.

Macro di ricerca

Macro Descrizione Esempio
[[TitleSearch]] cerca tra i titoli delle pagine Vedi CercaPagina
[[FullSearch]] cerca nel contenuto delle pagine Vedi CercaPagina
[[FullSearch()]] cerca il titolo corrente in tutte le pagine (come cliccando sul titolo della pagina) Vedi la pagina CategoryCategory
[[FullSearch('testo')]] cerca "testo" in tutte le pagine Cerca FullSearch:
  1. AiutoSuMacro . . . . 6 matches
  2. HelpOnMacros . . . . 6 matches
  3. HilfeZuMakros . . . . 6 matches
  4. HjälpMedMakron . . . . 6 matches
  5. AideActions . . . . 3 matches
  6. AiutoSuAzioni . . . . 3 matches
  7. HelpOnActions . . . . 3 matches
  8. HilfeZuAktionen . . . . 3 matches
  9. HjälpMedÅtgärder . . . . 3 matches
  10. CategoryCategory . . . . 2 matches
  11. CategoryCode . . . . 1 match
  12. CategoryDesign . . . . 1 match
  13. CategoryHardware . . . . 1 match
  14. CategoryHomepage . . . . 1 match
  15. CategoryPlans . . . . 1 match
  16. CategorySoftware . . . . 1 match
  17. CategoryTechnicalSpecs . . . . 1 match
  18. CategoryTemplate . . . . 1 match
  19. CercaPagina . . . . 1 match
  20. FindPage . . . . 1 match
  21. FindSide . . . . 1 match
  22. KategoriKategori . . . . 1 match
  23. KategorieHomepage . . . . 1 match
  24. KategorieKategorie . . . . 1 match
  25. KlasseKlasse . . . . 1 match
  26. NavigaIlSito . . . . 1 match
  27. NavigationSite . . . . 1 match
  28. PlatsNavigering . . . . 1 match
  29. SeiteFinden . . . . 1 match
  30. SiteNavigation . . . . 1 match
  31. SiteNavigering . . . . 1 match
  32. SökSida . . . . 1 match
  33. SøkeSide . . . . 1 match
  34. TrouvePage . . . . 1 match
  35. VeiViser . . . . 1 match
  36. WegWeiser . . . . 1 match
[[GoTo]] vai direttamente alla pagina che indichi Vedi CercaPagina
[[PageList(regex)]] elenca le pagine il cui titolo corrisponde alla regex Vedi AiutoIndice

Navigazione

Macro Descrizione Esempio
[[RecentChanges]] elenca le pagine modificate di recente Vedi ModificheRecenti
[[TitleIndex]] genera un indice di tutti i titoli delle pagine Vedi IndiceDeiTitoli
[[WordIndex]] genera un indice di tutte le parole nei titoli delle pagine Vedi IndicePerParola
[[WantedPages]] elenca i riferimenti a pagine non esistenti Vedi PagineAssenti
[[OrphanedPages]] elenca le pagine che non sono referenziate da altre pagine Vedi PagineOrfane
[[AbandonedPages]] elenca le pagine che non sono state modificate da lungo tempo Vedi PagineAbbandonate
[[RandomPage]] genera un link a una pagina a caso --> -->
 
 
Cannot load macro RandomPage
Please include this information in your bug reports!:
Python Python 2.5.5: /usr/bin/python2.5
Linux p15129997 2.6.32-5-686 #1 SMP Mon Mar 26 05:20:33 UTC 2012 i686
MoinMoin Release 1.2.4 [Revision 1.187]
Sat May 19 13:18:03 2012

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib/python2.5/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance at 0x85f472c>)
  403 
  404                 if config.allow_extended_names:
  405                     Page(query).send_page(self, count_hit=1)
  406                 else:
  407                     from MoinMoin.parser.wiki import Parser
Page = <class MoinMoin.Page.Page at 0x875456c>, query = 'AiutoSuMacro', ).send_page undefined, self = <MoinMoin.request.RequestCGI instance at 0x85f472c>, count_hit undefined

 /usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance at 0x879aa6c>, request=<MoinMoin.request.RequestCGI instance at 0x85f472c>, msg='', **keywords={'count_hit': 1})
  622         else:
  623             # parse the text and send the page content
  624             self.send_page_content(request, Parser, body)
  625 
  626             # check for pending footnotes
self = <MoinMoin.Page.Page instance at 0x879aa6c>, self.send_page_content = <bound method Page.send_page_content of <MoinMoin.Page.Page instance at 0x879aa6c>>, request = <MoinMoin.request.RequestCGI instance at 0x85f472c>, Parser = <class MoinMoin.parser.wiki.Parser at 0x87c523c>, body = '\n[[TableOfContents]]\n\n== Macro ==\n\nLe macro cons...la macro\n{{{[[SystemInfo]]}}}:\n\n [[SystemInfo]]\n'

 /usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page instance at 0x879aa6c>, request=<MoinMoin.request.RequestCGI instance at 0x85f472c>, Parser=<class MoinMoin.parser.wiki.Parser at 0x87c523c>, body='\n[[TableOfContents]]\n\n== Macro ==\n\nLe macro cons...la macro\n{{{[[SystemInfo]]}}}:\n\n [[SystemInfo]]\n', needsupdate=0)
  721 
  722         try:
  723             exec code
  724         except 'CacheNeedsUpdate': # if something goes wrong, try without caching
  725            self.send_page_content(request, Parser, body, needsupdate=1)
code = <code object <module> at 0x87c3848, file "AiutoSuMacro", line 2>

 /home/httpd/vhosts/openautomaton.org/httpdocs/community/AiutoSuMacro in ()

 /usr/lib/python2.5/site-packages/MoinMoin/formatter/base.py in macro(self=<MoinMoin.formatter.text_html.Formatter instance at 0x87a536c>, macro_obj=<MoinMoin.wikimacro.Macro instance at 0x87c77ac>, name='RandomPage', args=None)
  160     def macro(self, macro_obj, name, args):
  161         # call the macro
  162         return macro_obj.execute(name, args)    
  163 
  164     def processor(self, processor_name, lines):
macro_obj = <MoinMoin.wikimacro.Macro instance at 0x87c77ac>, macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0x87c77ac>>, name = 'RandomPage', args = None

 /usr/lib/python2.5/site-packages/MoinMoin/wikimacro.py in execute(self=<MoinMoin.wikimacro.Macro instance at 0x87c77ac>, macro_name='RandomPage', args=None)
  110             return self._m_lang(macro_name, args)
  111 
  112         raise ImportError("Cannot load macro %s" % macro_name)
  113 
  114     def _m_lang(self, lang_name, text):
ImportError undefined, macro_name = 'RandomPage'

: Cannot load macro RandomPage