×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Talk:Wikistats/ToDo: Difference between revisions

    Content added Content deleted
    imported>RobiH
    imported>RobiH
    Line 91: Line 91:
    Kann mal einer in ganzen deutschen Sätzen mit je einem funktionierendem Beispiel-Link pro gewünschter RegExp und vollständiger Aufzählung aller gewünschten Felder/Daten hier aufschreiben was ich genau machen soll? /me blickts so leider nicht was passieren soll.
    Kann mal einer in ganzen deutschen Sätzen mit je einem funktionierendem Beispiel-Link pro gewünschter RegExp und vollständiger Aufzählung aller gewünschten Felder/Daten hier aufschreiben was ich genau machen soll? /me blickts so leider nicht was passieren soll.


    Das regexp-Skript soll daraus eigentlich nur folgendes erzeugen (Durchnummeriert und sortierbar, versteht sich):
    Ok, ich fange gleich mal mit dem schwierigsten Fall an:
    <table border=1>
    <tr>
    <td>Hex-IP</td>
    <td>Documents</td>
    <td>Link</td>
    <td>Title</td>
    </tr><tr>
    <td>0xd417eb28</td>
    <td>85372</td>
    <td>[http://www.osec.ch/rootcollection2 Link]</td>
    <td>Hyperwave Root Collection</td>
    </tr><tr>
    <td>0x811bc836</td>
    <td>211286</td>
    <td>[http://aeiou.iicm.tugraz.at/rootcollection;internal&action=attributes.action Link]</td>
    <td>AEIOU Information Server</td>
    </tr><tr>
    <td>0x811bc833</td>
    <td>1484885</td>
    <td>[http://www2.iicm.tugraz.at/rootcollection;internal&action=attributes.action Link]</td>
    <td>IICM Information Server</td>
    </tr><tr>
    <td>0xc0a80112</td>
    <td>15126</td>
    <td>[http://demo.hyperwave.de/rootcollection;internal&action=dialog.attributes.action Link]</td>
    <td>Hyperwave Root Collection</td>
    </tr></table>

    Die Quelldaten dazu finden jeweils wie folgt:


    Im Quelltext des Content-Frames von http://www.osec.ch/rootcollection2 findet sich folgender Abschnitt:
    http://www.osec.ch/rootcollection2 (im Quelltext):
    <pre>
    <pre>
    <META NAME="Author" CONTENT="system">
    <META NAME="Author" CONTENT="system">
    Line 113: Line 142:
    </pre>
    </pre>


    Das regexp-Skript soll daraus eigentlich nur folgendes machen (Durchnummeriert und sortierbar, versteht sich):
    <table border=1>
    <tr>
    <td>Hex-IP</td>
    <td>Documents</td>
    <td>Link</td>
    <td>Title</td>
    </tr><tr>
    <td>0xd417eb28</td>
    <td>85372</td>
    <td>[http://www.osec.ch/rootcollection2 Link]</td>
    <td>Hyperwave Root Collection</td>
    </tr></table>

    Weitere Beispiele:

    Plain statistics: http://aeiou.iicm.tugraz.at/rootcollection;internal&action=attributes.action


    http://aeiou.iicm.tugraz.at/rootcollection;internal&action=attributes.action (über lynx):
    <pre>
    <pre>
    DocumentType: collection
    <TR>
    GOid: 0x811bc836_0x00000002
    <TD>DocumentType:</TD>
    HW_EffectiveAccess: READ_ACCESS
    <TD><B>collection</B></TD>
    Name: rootcollection
    </TR>
    Subdocs: 211286
    <TR>
    TimeModified: 1996/04/29 08:39:51 GMT
    <TD>GOid:</TD>
    Title: en:AEIOU Information Server
    <TD><B>0x811bc836_0x00000002</B></TD>
    Title: ge:AEIOU Informationsserver
    </TR>
    Type: Document
    <TR>
    <TD>HW_EffectiveAccess:</TD>
    <TD><B>READ_ACCESS</B></TD>
    </TR>
    <TR>
    <TD>Name:</TD>
    <TD><B>rootcollection</B></TD>
    </TR>
    <TR>
    <TD>Subdocs:</TD>
    <TD><B>211286</B></TD>
    </TR>
    <TR>
    <TD>TimeModified:</TD>
    <TD><B>1996/04/29 08:39:51 GMT</B></TD>
    </TR>
    <TR>
    <TD>Title:</TD>
    <TD><B>en:AEIOU Information Server</B></TD>
    </TR>
    <TR>
    <TD>Title:</TD>
    <TD><B>ge:AEIOU Informationsserver</B></TD>
    </TR>
    <TR>
    <TD>Type:</TD>
    <TD><B>Document</B></TD>
    </TR>
    </pre>
    </pre>


    CSS Statistics: http://www2.iicm.tugraz.at/rootcollection;internal&action=attributes.action
    CSS Statistics: Beispiel: http://www2.iicm.tugraz.at/rootcollection;internal&action=attributes.action (über lynx):
    <pre>
    <pre>
    DocumentType: collection
    <SPAN class=AttrName>
    GOid: 0x811bc833_0x00000002
    DocumentType:</SPAN></TD>
    HW_EffectiveAccess: READ_ACCESS
    <TD>
    Name: rootcollection
    <SPAN class=AttrValue>
    Subdocs: 1484885
    collection </SPAN></TD>
    TimeModified: 05/22/2001 07:46:48
    </TR>
    Title: en:IICM Information Server
    <TR>
    Title: ge:IICM Informationsserver
    <TD ALIGN="RIGHT">
    Type: Document
    <SPAN class=AttrName>
    GOid:</SPAN></TD>
    <TD>
    <SPAN class=AttrValue>
    0x811bc833_0x00000002 </SPAN></TD>
    </TR>
    <TR>
    <TD ALIGN="RIGHT">
    <SPAN class=AttrName>
    HW_EffectiveAccess:</SPAN></TD>
    <TD>
    <SPAN class=AttrValue>
    READ_ACCESS </SPAN></TD>
    </TR>
    <TR>
    <TD ALIGN="RIGHT">
    <SPAN class=AttrName>
    Name:</SPAN></TD>
    <TD>
    <SPAN class=AttrValue>
    rootcollection </SPAN></TD>
    </TR>
    <TR>
    <TD ALIGN="RIGHT">
    <SPAN class=AttrName>
    Subdocs:</SPAN></TD>
    <TD>
    <SPAN class=AttrValue>
    1484885 </SPAN></TD>
    </TR>
    <TR>
    <TD ALIGN="RIGHT">
    <SPAN class=AttrName>
    TimeModified:</SPAN></TD>
    <TD>
    <SPAN class=AttrValue>
    <NOBR>
    05/22/2001 07:46:48 </NOBR>
    </SPAN></TD>
    </TR>
    <TR>
    <TD ALIGN="RIGHT">
    <SPAN class=AttrName>
    Title:</SPAN></TD>
    <TD>
    <SPAN class=AttrValue>
    en:IICM Information Server </SPAN></TD>
    </TR>
    <TR>
    <TD ALIGN="RIGHT">
    <SPAN class=AttrName>
    Title:</SPAN></TD>
    <TD>
    <SPAN class=AttrValue>
    ge:IICM Informationsserver </SPAN></TD>
    </TR>
    <TR>
    <TD ALIGN="RIGHT">
    <SPAN class=AttrName>
    Type:</SPAN></TD>
    <TD>
    <SPAN class=AttrValue>
    Document </SPAN></TD>
    </pre>
    </pre>


    Tabbed Statistics: http://demo.hyperwave.de/rootcollection;internal&action=dialog.attributes.action
    Tabbed Statistics: http://demo.hyperwave.de/rootcollection;internal&action=dialog.attributes.action (im Quelltext):
    <pre>
    <pre>
    <tr>
    <tr>

    Revision as of 12:39, 23 June 2007

    Discussion page for Wikistats/ToDo.

    closed-zh-tw really closed

    Channel #wikimedia-tech
    
    <mutante_> why is the "closed-zh-tw" closed, but still online, in the sense that there is an empty startpage and Special:Statistics?action=raw can be accessed?
    <TimStarling> mutante: because Mark Williamson complained that all his precious work was lost when we took it offline
    <TimStarling> so we put it back up with a special domain so that he could recover it
    <mutante_> TimStarling: if i have to specify the language it (was) in, would it be "Chinese" or English?
    <TimStarling> why do you need to know that?
    <mutante_> making statistics tables
    <mutante_> with a column and link for each
    <TimStarling> it shouldn't be in any statistics tables
    <mutante_> "lang" "local lang" ..etc
    <mutante_> the policy for putting it in statistics table  was/is : a) has a working .wikipedia subdomain  b) has accessible Special:Statistics?action=raw
    <mutante_> other policies always cause longer discussions :p
    <TimStarling> easily fixed...
    <mutante_> by making the stats page unaccessible? :p
    <TimStarling> http://closed-zh-tw.wikipedia.org/wiki/Special:Statistics?action=raw
    <mutante_> heh, thanks ;p
    

    Die Aktion war kontraproduktiv. Jetzt müssen wir text-en fahren, um weiter die Daten zu bekommen. Hoffentlich machen sie für tlh und tokipona nicht den gleichen Mist. RobiH 00:03, 27 March 2007 (CEST)

    Haha,was? Wir müssen sie eben nicht weiter fahren. "<TimStarling> it shouldn't be in any statistics tables"

    Warum sollten wir ständig etwas abfragen, wo sich die Zahlen nie ändern werden, was in jeglicher Hinsicht geschlossen ist, und unsere eigene Policy nicht erfüllt?

    Die beiden o.g. Kriterien gelten für die Wikipedias-Table. Für die Mediawikis-Table hingegen gilt ein ganz anderes Kriterium: Ist es online erreichbar? Also gehört dieser Eintrag jetzt in die Mediawikis-Table. robiH 82.212.63.18 09:42, 27 March 2007 (CEST)

    Feedback needed for Task "Create regexp-Script for Links in "Good" Column of these wikis"

    [1] Create regexp-Script for Links in "Good" Column of these wikis (took)


    Auf der Seite http://s23.org/wikistats/mediawikis_html.php?sort=stype_desc&th=250&lines=5 finde ich diese Links in der Spalte "Good":

    Schauen wir uns zB http://www.hehu.se/wiki/Special:Statistics?action=raw näher an. Wie die url schon erwarten lässt sieht der Quelltext der Seite so aus:

    total=3993;good=264;views=272498;edits=14730;users=407;admins=3
    

    -->Dafür soll ich eine regexp bauen??? Wohl kaum... das funktioniert doch schon lange.

    dito für http://info.sonicretro.org/Special:Statistics?action=raw

    Für beide brauchst Du nix mehr machen. RobiH 13:08, 23 June 2007 (CEST)

    Zu http://www.wikidweb.com/wiki/Special:Statistics?action=raw --> TODO Hier kann ich eine nonraw_en.php bauen falls ich soll (ist mir im Moment alles unklar... :-?)

    Dito für http://recursostic.javeriana.edu.co/wiki/index.php/Special:Statistics?action=raw in _es

    Genau das ist es, was wir brauchen. RobiH 13:08, 23 June 2007 (CEST)

    Zu http://www.mein-parteibuch.de/wiki/Spezial:Statistics - sollte bereits mit nonraw_de.php funktionieren, oder nicht?

    Ach, die gibt es schon? RobiH 13:08, 23 June 2007 (CEST)
    Dann ist der Task hiermit erledigt? --took 13:37, 23 June 2007 (CEST)
    Das muß mutante entscheiden. RobiH 13:40, 23 June 2007 (CEST)
    took@geist2:~/public_html/wikistats-regexp$ php5 nonraw_es.php
    <pre>total2676
    total12022
    total466865
    </..pre>took@geist2:~/public_html/wikistats-regexp$ php5 nonraw_de.php
    <pre>total1810
    total2025772
    total27153
    </..pre>took@geist2:~/public_html/wikistats-regexp$ php5 nonraw_en.php
    <pre>total25766
    total47152
    total1444391
    </..pre>
    

    @mutante: Die url ist jetzt jeweils hardgecodet in den scripten... musst du dann so bauen, das da der teil aus der db mit der passenden url eingesetzt wird natülich ;) --took 13:38, 23 June 2007 (CEST)

    Feedback needed for Task "Create regexp-Script for Hyperwaves. (took)"

    Kann mal einer in ganzen deutschen Sätzen mit je einem funktionierendem Beispiel-Link pro gewünschter RegExp und vollständiger Aufzählung aller gewünschten Felder/Daten hier aufschreiben was ich genau machen soll? /me blickts so leider nicht was passieren soll.

    Das regexp-Skript soll daraus eigentlich nur folgendes erzeugen (Durchnummeriert und sortierbar, versteht sich):

    Hex-IP Documents Link Title
    0xd417eb28 85372 Link Hyperwave Root Collection
    0x811bc836 211286 Link AEIOU Information Server
    0x811bc833 1484885 Link IICM Information Server
    0xc0a80112 15126 Link Hyperwave Root Collection

    Die Quelldaten dazu finden jeweils wie folgt:

    http://www.osec.ch/rootcollection2 (im Quelltext):

        <META NAME="Author" CONTENT="system">
        <META NAME="DocumentType" CONTENT="collection">
        <META NAME="GOid" CONTENT="0xd417eb28_0x00000002">
        <META NAME="HW_ChildAccess" CONTENT="NO_ACCESS">
        <META NAME="HW_CompoundSearchable" CONTENT="true">
        <META NAME="HW_EffectiveAccess" CONTENT="READ_ACCESS">
        <META NAME="HW_ObjectName" CONTENT="_id1_">
        <META NAME="Name" CONTENT="rootcollection2">
        <META NAME="ObjectID" CONTENT="0x00000002">
        <META NAME="Rights" CONTENT="R:a, g everyone; W:a; A:a">
        <META NAME="Subdocs" CONTENT="85372">
        <META NAME="TimeCreated" CONTENT="2003/05/02 11:35:50">
        <META NAME="TimeModified" CONTENT="2003/05/02 11:36:53">
        <META NAME="Type" CONTENT="Document">
        <META NAME="TITLE" LANG="de" CONTENT="Hyperwave Root Collection">
        <META NAME="keywords" LANG="de" CONTENT="">
    


    http://aeiou.iicm.tugraz.at/rootcollection;internal&action=attributes.action (über lynx):

    DocumentType: collection 
    GOid: 0x811bc836_0x00000002 
    HW_EffectiveAccess: READ_ACCESS 
    Name: rootcollection 
    Subdocs: 211286 
    TimeModified: 1996/04/29 08:39:51 GMT 
    Title: en:AEIOU Information Server 
    Title: ge:AEIOU Informationsserver 
    Type: Document 
    

    CSS Statistics: Beispiel: http://www2.iicm.tugraz.at/rootcollection;internal&action=attributes.action (über lynx):

    DocumentType: collection  
    GOid: 0x811bc833_0x00000002  
    HW_EffectiveAccess: READ_ACCESS  
    Name: rootcollection  
    Subdocs: 1484885  
    TimeModified: 05/22/2001 07:46:48  
    Title: en:IICM Information Server  
    Title: ge:IICM Informationsserver  
    Type: Document  
    

    Tabbed Statistics: http://demo.hyperwave.de/rootcollection;internal&action=dialog.attributes.action (im Quelltext):

      <tr>
        <td class="AttrName">Informationstyp:</td>
        <td class="AttrValue">collection<xy>
    </TD></TR>
      <tr>
        <td class="AttrName">Typ:</td>
        <td class="AttrValue">Document<xy>
    </TD></TR>
      <tr>
        <td class="AttrName">Objektkennung:</td>
        <td class="AttrValue">0xc0a80112 0x00000002<xy>
    </TD></TR>
    <!-- function HW_DC_dialogContent end for-loop 0 -->
    </TABLE>
    </CENTER></DIV>
    <!-- end div -->
    <script>
    document['f14'] = document.forms['f1'];
    document.forms['f14'] = document.forms['f1'];
    </script>
    <DIV CLASS="RealTabBodyContainer" TabNr="4" ID="Tab4"><CENTER>
    <script>
    gHandleShowTabCallbacks["4"]=[];
    </script>
    <TABLE ID="TabTable4" BORDER="0" CELLPADDING="0" CELLSPACING="0">
    <!-- function HW_DC_dialogContent start for-loop 0 -->
      <tr>
        <td class="AttrName">Verbundsuche:</td>
        <td class="AttrValue">true<xy>
    </TD></TR>
    <!-- function HW_DC_dialogContent end for-loop 0 -->
    </TABLE>
    </CENTER></DIV>
    <!-- end div -->
    <script>
    document['f13'] = document.forms['f1'];
    document.forms['f13'] = document.forms['f1'];
    </script>
    <DIV CLASS="RealTabBodyContainer" TabNr="3" ID="Tab3"><CENTER>
    <script>
    gHandleShowTabCallbacks["3"]=[];
    </script>
    <TABLE ID="TabTable3" BORDER="0" CELLPADDING="0" CELLSPACING="0">
    <!-- function HW_DC_dialogContent start for-loop 0 -->
      <tr>
        <td class="AttrName">Sortierreihenfolge:</td>
        <td class="AttrValue">#S<xy>
    </TD></TR>
    <!-- function HW_DC_dialogContent end for-loop 0 -->
    </TABLE>
    </CENTER></DIV>
    <!-- end div -->
    <script>
    document['f12'] = document.forms['f1'];
    document.forms['f12'] = document.forms['f1'];
    </script>
    <DIV CLASS="RealTabBodyContainer" TabNr="2" ID="Tab2"><CENTER>
    <script>
    gHandleShowTabCallbacks["2"]=[];
    </script>
    <TABLE ID="TabTable2" BORDER="0" CELLPADDING="0" CELLSPACING="0">
    <!-- function HW_DC_dialogContent start for-loop 0 -->
      <tr>
        <td class="AttrName">Besitzer:</td>
        <td class="AttrValue">hwsystem<xy>
    </TD></TR>
      <tr>
        <td class="AttrName">Rechte:</td>
        <td class="AttrValue">R:a, g everyone; W:a; A:a<xy>
    </TD></TR>
      <tr>
        <td class="AttrName">Rechte des aktuellen Benutzers:</td>
        <td class="AttrValue">READ_ACCESS<xy>
    </TD></TR>
      <tr>
        <td class="AttrName">Rechte für aktuelle Collection:</td>
        <td class="AttrValue">NO_ACCESS<xy>
    </TD></TR>
    <!-- function HW_DC_dialogContent end for-loop 0 -->
    </TABLE>
    </CENTER></DIV>
    <!-- end div -->
    <script>
    document['f11'] = document.forms['f1'];
    document.forms['f11'] = document.forms['f1'];
    </script>
    <DIV CLASS="RealTabBodyContainer" TabNr="1" ID="Tab1"><CENTER>
    <script>
    gHandleShowTabCallbacks["1"]=[];
    </script>
    <TABLE ID="TabTable1" BORDER="0" CELLPADDING="0" CELLSPACING="0">
    <!-- function HW_DC_dialogContent start for-loop 0 -->
      <tr>
        <td class="AttrName">Objektname:</td>
        <td class="AttrValue">/<xy>
    </TD></TR>
      <tr>
        <td class="AttrName">Aliasname (URL):</td>
        <td class="AttrValue">rootcollection<xy>
    </TD></TR>
      <tr>
        <td class="AttrName">Erstellt:</td>
        <td class="AttrValue"><SCRIPT>document.write(transformDate('2004/01/26 22:48:21',HWDate,HW_UI_Date.full,false));</SCRIPT><xy>
    </TD></TR>
      <tr>
        <td class="AttrName">Geändert:</td>
        <td class="AttrValue"><SCRIPT>document.write(transformDate('2006/12/29 09:50:30',HWDate,HW_UI_Date.full,false));</SCRIPT><xy>
    </TD></TR>
      <tr>
        <td class="AttrName">Link-Karte:</td>
        <td class="AttrValue"><span id="buttoncontainerbutton_id_0" CLASS="ButtonFrame" >
      <button NAME="" ID="button_id_0" TYPE="BUTTON"  onclick="button_button_id_0_onclick_(this)">Ansicht</button>
    </span>
    <SCRIPT><!--
    
    function button_button_id_0_onclick_(button) {
      button._onclick = function button_button_id_0_inner_onclick_() {
        opDlg('/0x00000000_0x00000002;internal&action=dialog.docreferences.back.action','dialogs');
      }
      return button._onclick();
    }
    //--></SCRIPT><xy>
    </TD></TR>
      <tr>
        <td class="AttrName">Enthaltene Objekte:</td>
        <td class="AttrValue">15126<xy>
    </TD></TR>
    <!-- function HW_DC_dialogContent end for-loop 0 -->
    </TABLE>
    </CENTER></DIV>
    <!-- end div -->
    <script>
    document['f10'] = document.forms['f1'];
    document.forms['f10'] = document.forms['f1'];
    </script>
    <DIV CLASS="RealTabBodyContainer" TabNr="0" ID="Tab0"><CENTER>
    <script>
    gHandleShowTabCallbacks["0"]=[];
    </script>
    <TABLE ID="TabTable0" BORDER="0" CELLPADDING="0" CELLSPACING="0">
    <!-- function HW_DC_dialogContent start for-loop 0 -->
      <tr>
        <td class="AttrName">Titel (Englisch):</td>
        <td class="AttrValue">Hyperwave Root Collection<xy>
    </TD></TR>
    

    RobiH 13:30, 23 June 2007 (CEST)

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.