Re: [Wikitech-l] Is the page status in the database?

2009-01-15 Thread Aryeh Gregor
On Thu, Jan 15, 2009 at 11:54 AM, Eugenio Tacchini wrote: > Thanks for yor reply. > > I don't need a generale measure but I need the status for each single > page; as far as I have seen probably the only solution is to look at > the corresponding templates, maybe via the table marco suggested me.

Re: [Wikitech-l] Is the page status in the database?

2009-01-15 Thread Eugenio Tacchini
At 11.18 15/01/2009 -0500, you wrote: >None of this information is stored in the database really. A count of >real articles vs. stubs is sort of stored in the site_stats. The content >pages that aren't stubs are counted in ss_good_articles. However, >ss_total_pages is all pages, content or not

Re: [Wikitech-l] Is the page status in the database?

2009-01-15 Thread Eugenio Tacchini
Hello, thanks for your reply. At 17.18 15/01/2009 +0100, you wrote: >On Thu, Jan 15, 2009 at 5:00 PM, Eugenio Tacchini wrote: >> Hello everybody, >> I'm looking, for academic research purposes, for the "status" of >> wikipedia pages. For "status" I mean: >> - stub >revision.rev_len This i

Re: [Wikitech-l] Is the page status in the database?

2009-01-15 Thread Chad
On Thu, Jan 15, 2009 at 11:00 AM, Eugenio Tacchini wrote: > Hello everybody, > I'm looking, for academic research purposes, for the "status" of > wikipedia pages. For "status" I mean: > - stub > - normal > - good article > - featured > > Is there any coloumn in the mediawiki database schema that c

Re: [Wikitech-l] Is the page status in the database?

2009-01-15 Thread Marco Schuster
On Thu, Jan 15, 2009 at 5:00 PM, Eugenio Tacchini wrote: > Hello everybody, > I'm looking, for academic research purposes, for the "status" of > wikipedia pages. For "status" I mean: > - stub revision.rev_len > - normal pretty obvious - everything above stub level > - good article > - featured tem

[Wikitech-l] Is the page status in the database?

2009-01-15 Thread Eugenio Tacchini
Hello everybody, I'm looking, for academic research purposes, for the "status" of wikipedia pages. For "status" I mean: - stub - normal - good article - featured Is there any coloumn in the mediawiki database schema that can give me this information? Thanks in advance. Cheers, Eugenio _

Re: [Wikitech-l] Template Special:Export/Import

2009-01-15 Thread Dawson
Hi Bryan, can you link me this name alias File, I have no clue what it is or what it will do = ) 2009/1/15 Bryan Tong Minh > You should also create a namespace alias File for Image. > > On Thu, Jan 15, 2009 at 3:00 PM, Dawson wrote: > > Thanks Roan, > > > > All working now. > > > > On 15 Jan 20

Re: [Wikitech-l] Template Special:Export/Import

2009-01-15 Thread Bryan Tong Minh
You should also create a namespace alias File for Image. On Thu, Jan 15, 2009 at 3:00 PM, Dawson wrote: > Thanks Roan, > > All working now. > > On 15 Jan 2009, at 13:49, Roan Kattouw wrote: > >> You're missing the ParserFunctions extension. > > > ___ >

Re: [Wikitech-l] Template Special:Export/Import

2009-01-15 Thread Dawson
Thanks Roan, All working now. On 15 Jan 2009, at 13:49, Roan Kattouw wrote: > You're missing the ParserFunctions extension. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Template Special:Export/Import

2009-01-15 Thread Roan Kattouw
Dawson schreef: > Hello, > > I have done a Special:Export latest revision of > http://en.wikipedia.org/w/index.php?title=Diabetes_mellitus > including templates, and copied: > > {{Infobox Disease > | Name = TestSMW > | Image = > | Caption= > | DiseasesDB =

[Wikitech-l] Template Special:Export/Import

2009-01-15 Thread Dawson
Hello, I have done a Special:Export latest revision of http://en.wikipedia.org/w/index.php?title=Diabetes_mellitus including templates, and copied: {{Infobox Disease | Name = TestSMW | Image = | Caption= | DiseasesDB = | ICD10 = {{ICD10|Group|

Re: [Wikitech-l] mwdumper ERROR Duplicate entry

2009-01-15 Thread Dawson
Solution: With the file now being only 280kb I can use Special:Import instead of mwdumper.jar, which works as expected: "* All revisions were previously imported. Import finished! " So this was a problem with mwdumper *shrug*, oh well. Thanks for all your help, Dawson On 15 Jan 2009, at

Re: [Wikitech-l] mwdumper ERROR Duplicate entry

2009-01-15 Thread Dawson
Thinking that perhaps it's the revisions causing the problem, I have returned to Special:Export for "Diabetes_mellitus" and this time ticked: > Include only the current revision, not the full history > Include templates > Save as file The output file is dramatically smaller, 280kb (due to

Re: [Wikitech-l] mwdumper ERROR Duplicate entry

2009-01-15 Thread Dawson
Hello Roan, I did try this but it only occurs once: 45970 2002-03-17T04:46:17Z Redmist 307 * See [[Diabetes]]. Feel free to checkout http://dawson.md/Wikipedia-20090113203939.xml.zip(XML/1.9mb) and see my last

Re: [Wikitech-l] mwdumper ERROR Duplicate entry

2009-01-15 Thread Roan Kattouw
Dawson schreef: > I figured I would go into the XML and manually remove the offending > duplicate page/revision, but couldn't find it. > > I have gone from top to bottom of the XML file and find no template > information, even though "include templates" was ticked. How about searching for "4597

Re: [Wikitech-l] mwdumper ERROR Duplicate entry

2009-01-15 Thread Dawson
I figured I would go into the XML and manually remove the offending duplicate page/revision, but couldn't find it. I have gone from top to bottom of the XML file and find no template information, even though "include templates" was ticked. I know it's a lot to ask, but could you take a quick

Re: [Wikitech-l] mwdumper ERROR Duplicate entry

2009-01-15 Thread Daniel Kinzler
Dawson schrieb: > Hello, > > I have used Special:Export at en.wikipedia to export > "Diabetes_mellitus" and ticked the box "include templates" (I'm only > really after the templates). > > The resulting XML file is 40.1mb so I decided to go with mwdumper.js > rather than Special:Import. > >

[Wikitech-l] mwdumper ERROR Duplicate entry

2009-01-15 Thread Dawson
Hello, I have used Special:Export at en.wikipedia to export "Diabetes_mellitus" and ticked the box "include templates" (I'm only really after the templates). The resulting XML file is 40.1mb so I decided to go with mwdumper.js rather than Special:Import. I'm working on a fresh build of med

Re: [Wikitech-l] [MediaWiki-CVS] SVN: [45755] trunk/phase3 (IBM DB2 database layer)

2009-01-15 Thread Roan Kattouw
Tim Starling schreef: > Roan Kattouw wrote: > >> Just some basic comments, I'm sure Brion has more. >> > > You should probably send them to CodeReview these days. > Yeah, I know, but since I wanted to reply to code and the reply was quite sizable, I thought I'd do it the old-fashioned w