Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'scripts': 0.03; 'static': 0.04; 'anyway.': 0.05; 'repository': 0.05; 'sql.': 0.07; 'converted': 0.09; 'deploy': 0.09; 'git': 0.09; 'host,': 0.09; 'span': 0.09; 'cc:addr:python-list': 0.11; 'mostly': 0.14; 'display,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'mechanics.': 0.16; 'renders': 0.16; 'storing': 0.16; 'tabs': 0.16; 'files.': 0.16; 'index': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'settings': 0.22; 'pages,': 0.22; 'cc:addr:python.org': 0.22; 'text,': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'changes,': 0.26; 'this:': 0.26; 'certain': 0.27; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'am,': 0.29; "doesn't": 0.30; 'css': 0.30; 'dec': 0.30; 'direction': 0.30; 'said,': 0.30; 'message-id:@mail.gmail.com': 0.30; 'along': 0.30; "i'm": 0.30; 'getting': 0.31; 'bunch': 0.31; 'changed.': 0.31; 'constant': 0.31; 'facility': 0.31; 'stands': 0.31; 'file': 0.32; 'quite': 0.32; 'text': 0.33; 'community': 0.33; 'there,': 0.34; 'common': 0.35; 'etc': 0.35; 'operate': 0.35; 'usual': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'disk': 0.36; 'html,': 0.36; 'doing': 0.36; 'similar': 0.36; 'changing': 0.37; 'being': 0.38; 'files': 0.38; 'fact': 0.38; 'rather': 0.38; 'structure': 0.39; 'users': 0.40; 'browser': 0.61; 'show': 0.63; 'series': 0.66; 'here': 0.66; 'between': 0.67; 'optimized': 0.68; 'rendering': 0.68; 'different.': 0.84; 'etc,': 0.84; 'history,': 0.84; 'snapshots': 0.84; 'subject:Managing': 0.84; 'mean.': 0.91; 'rusi': 0.91; 'to:none': 0.92; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=gBkek/83KhUOGFQoZKx1P8zfF/ZnFjuREch+gVHJl7s=; b=ZeQhFw4CrhYOWNr8p2bzLltbYwt+xOkGn0GWKixpflqfg7S72skcNKy2yO864eoewr hGgscNTDWqdjtedCkLmGMHMGqBZ0RA00g06Awv3mYak/pw8VHXHKDpDYRPwnKiTQbzON 3+74Tol/oo4sxBmXrI3e+Bv2zv7RoKxGKLhlVPu1ATnFbLICEaSrh8O66ZwCgCHqQlCi 6jBhyjG6zqkW999WUA3OMAIpXbb82g2Cm7xPKzVZWc+2q+XdcuTEgUtQ6W5nkwzNFyUI HGT+X2rA7xlEMzgi2/xdz/G5G/dZZOMLjK35raOGyoPwRdxc1bQvNRQaf26ndqNlgf/F fxWg== MIME-Version: 1.0 X-Received: by 10.68.32.231 with SMTP id m7mr4654284pbi.22.1386341473968; Fri, 06 Dec 2013 06:51:13 -0800 (PST) In-Reply-To: References: <5f370a06-8d2c-4d7d-bc22-b9a489c15c59@googlegroups.com> <132658ff-d06a-4136-ade6-353189da5769@googlegroups.com> <51007240-6bc9-4f0b-9937-4883bcc0ceb6@googlegroups.com> <10982d24-d47c-4a99-a93a-360fbe6b52ed@googlegroups.com> Date: Sat, 7 Dec 2013 01:51:13 +1100 Subject: Re: Managing Google Groups headaches From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 54 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386341477 news.xs4all.nl 2974 [2001:888:2000:d::a6]:49602 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61152 On Sat, Dec 7, 2013 at 1:11 AM, rusi wrote: > Aha! There you are! Its 'page editor' here and not the html which > 'display source' (control-u) which a browser would show. And wikimedia > is the software that mediates. > > The usual direction (seen by users of wikipedia) is that wikimedia > takes this text, along with the other unrelated (metadata?) seen > around -- sidebar, tabs etc, css settings and munges it all into html > > The other direction (seen by editors of wikipedia) is that you edit a > page and that page and history etc will show the changes, > reflecting the fact that the SQL content has changed. MediaWiki is fundamentally very similar to a structure that I'm trying to deploy for a community web site that I host, approximately thus: * A git repository stores a bunch of RST files * A script auto-generates index files based on the presence of certain file names, and renders via rst2html * The HTML pages are served as static content MediaWiki is like this: * Each page has a history, represented by a series of state snapshots of wikitext * On display, the wikitext is converted to HTML and served. The main difference is that MediaWiki is optimized for rapid and constant editing, where what I'm pushing for is optimized for less common edits that might span multiple files. (MW has no facility for atomically changing multiple pages, and atomically reverting those changes, and so on. Each page stands alone.) They're still broadly doing the same thing: storing marked-up text and rendering HTML. The fact that one uses an SQL database and the other uses a git repository is actually quite insignificant - it's as significant as the choice of whether to store your data on a hard disk or an SSD. The system is no different. >> MediaWiki uses an SQL database to store that lump of text, but >> ultimately the relationship is between wikitext and HTML, no SQL >> involvement. > > Dunno what you mean. Every time someone browses wikipedia, things are > getting pulled out of the SQL and munged into the html (s)he sees. Yes, but that's just mechanics. The fact that the PHP scripts to operate Wikipedia are being pulled off a file system doesn't mean that MediaWiki is an ext3-to-HTML renderer. It's a wikitext-to-HTML renderer. Anyway. As I said, your point is still mostly there, as long as you use wikitext rather than SQL. ChrisA