Task #7451

wiki.typo3.org - DocumentState automatically (using "mediawiki_info")

Added by Daniel Brüßler over 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Should have
Start date:
Due date:
% Done:

100%


History

#1 Updated by Daniel Brüßler over 9 years ago

  • % Done changed from 0 to 10

Optimized the Template "Extension" in the wiki, aim is that the wiki text of an extension ist JUST the information what people contribute. All meta-information information and links to forge/mailinglist and so on should be there automatically.

Example usage: The right box on http://wiki.typo3.org/index.php/Commerce

#2 Updated by Daniel Brüßler over 9 years ago

Here we see best, that wiki-teamwork does work great:

http://wiki.typo3.org/index.php/Fr:ts45min has many authors!

-----
for preparation: change unstructured info to the "Extension" Template. Next: "Ext/CSV User Import" at http://wiki.typo3.org/index.php/Category:Draft

#3 Updated by Daniel Brüßler over 9 years ago

brainstorming:

Needed: A generic caching-table in the wiki for extensionmetainfo. It shall be usable for

  • bug tag:
    • data from mantis (state, assigned-to, title, and so on, expensive because many regex-replaces)
  • extension template:
    • data from TER (title, dependencies, version, last update, expensive because too slow SOAP-call)
    • data from forge (extension URL or special project URL, expensive because parsing of all files)
  • FLOW3 exception:
    • data from the PHP-classes (what exception thrown in which package/class/method)

Configuration of the caching-time should be settable on the wiki-page, so the core-team can set a short time and extension authors can set a longer time. Must be possible to overwrite values e.g. for WEC-extensions has a special bugtracker

tables:

extmeta_config = @pagetitle + minutes /* updated at every page-request, 720=12 hours /
extmeta_keys = @type + @name + label01 ... label09 /
just three datasets in the table: ext, bug, flow3 /
extmeta_values = @type + @name +value01 ... value09 /
generic dataset, so that easy correctable by phpMyAdmin */

example:

extmeta_config: @ext + @De:ts45min + 720 /* updated at every page-request */
extmeta_keys: @ext + @ts45min_de + documentationstate + description + usergroups + authors + deps + tercat
extmeta_values: @ext + @ts45min_de + stable + this introduction is + forDevelopers forBeginners + Martin Holtz + null + doc_tut

How to delete the whole cache: empty the table "extmeta_values"

So this is the minimal code on a wiki-page for an extension:

<extension>ts45min_de</extension>

So data like this is not needed anymore: {{Extension |key=ts45min_de |documentationstate=stable |description=this introduction is to give you a comprehension of how TypoScript works. |usergroups=forDevelopers, forBeginners |authors=Martin Holtz, Susanne Moog, Daniel Brüßler, M4rtijn, Kees van der Hall, viele weitere Nachtwerker |deps= |category=doc_tut
}}

How to overwrite data what is automatically retrieved:

<cache-config description="just 30 minutes caching time">30</cache-config>
<extension mailinglist="typo3.projects.documentation" projectwww="http://forge.typo3.org/projects/show/team-docteam">ts45min_de</extension>

#4 Updated by Daniel Brüßler over 9 years ago

  • Due date changed from 2010-04-30 to 2010-05-30
  • % Done changed from 10 to 30

Looks good so far, the entity what holds the data is ready and the renderer also.
example http://wiki.typo3.org/index.php/Sandbox#Ext_key .

Next step is that the SOAP-call to the TER does work. In the moment there's the error message "Fatal error: SOAP-ERROR: Encoding: object hasn't 'username' property" and I'm waiting for Steffen Kamper how the call is correct.

#5 Updated by Daniel Brüßler over 9 years ago

  • Target version changed from 478 to 534

#6 Updated by Daniel Brüßler almost 9 years ago

  • Subject changed from wiki.typo3.org - DocumentState automatically to wiki.typo3.org - DocumentState automatically (using "mediawiki_info")
  • Due date deleted (2010-05-30)
  • Target version changed from 534 to sprint 2010/11
  • Start date deleted (2010-04-23)

#7 Updated by Daniel Brüßler almost 9 years ago

  • Target version changed from sprint 2010/11 to 722

#8 Updated by Daniel Brüßler almost 9 years ago

  • Category changed from 661 to 892

#9 Updated by Daniel Brüßler over 8 years ago

  • Category changed from 892 to 884
  • Status changed from Accepted to Closed
  • % Done changed from 30 to 100

that's good now.

#10 Updated by Chris topher almost 8 years ago

  • Project changed from Documentation to wiki.typo3.org
  • Category deleted (884)
  • Target version deleted (722)

Also available in: Atom PDF