Edit + History purge

StarCraft II players, please contribute to our [SC2 Wiki]!

From EnterWiki Meta

Jump to: navigation, search

Contents

[edit] Test1 kw_include_file mysql error

I got an error after installing mw_include_file (to make templates work cross-wiki):
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

(SQL query hidden)

from within function "kwBreadCrumbsNoCache". MySQL returned error "1146: Table 'enterwiki.cur' doesn't exist (mysql.enterwiki.net)".
See http://test1.enterwiki.net/Template:Testing; I seem to have found the error: line 360 of test1.enterwiki.net/extensions/kwIncludeFile.php shows:

$sql = "UPDATE cur SET cur_touched='$now' WHERE cur_namespace=$ns AND cur_title='$ti'";

Should have something like "UPDATE prefix_cur SET" instead in there, but I don't know how to call the prefix so I can't fix it )-: -- [:: ℑilver§ℑide ::] 23:04, January 12, 2006 (PST)

Ok, we got something better than this now, thanks xevo! Since you don't answer here, I will - he added his own template sub system, thank god (-: -- [:: ℑilver§ℑide ::] 13:38, January 21, 2006 (PST)

[edit] Speedy-like

With a little bit of changes and optimizations to the software, I was able to speed the wiki up by about 85%, but to of the major things I had to change that I need you to help me re-implement easier:

  • The wiki was pulling *ALL* system messages and words and *everything* from a system message cache (everything in the MediaWiki: namespace) so that for every page loaded, mediawiki was essentially pulling info from something around 200 pages (for instance, the menu on the left had a setting at MediaWiki:Sidebar, and every single item on it including the titles also had an item, there was around 15 full pages right there - the size of the text on the page doesn't matter, even with something as simple as "Home" - but the fact that it is another set of mysql queries does. I need you to find out where the actual messages are kept, not the MediaWiki: template versions, but the hardcoded ones so that I can modify them. I would rather go to the trouble of modifying that than making it easy on myself and slowing the wiki to a relative crawl. Also, had to disable some image features, talk on that later. -- [:: ℑilver§ℑide ::] 23:36, January 12, 2006 (PST)

[edit] AJAX editing?

Well, I was thinking about speed again, and convenience - when somebody misspells a single word, they click edit again and load the WHOLE PAGE to edit it - crazy amount of extra load on the server (well not that much, but I'm a nit-picker) and it takes time to load... overall, there is no advantage nor positive reason to use this. The only reason I see that this was used is because they didn't think of anything better. Well, I think we should modify the already-implemetned javascript double-click edit function like this: they double click and it pulls the content of the page in wikitext from a commented HTML div (cause parsing wikitext to HTML is easy, but back the other way is not and pulling it from the database again to edit it would be absurd and defeat the point) on the page and drop it over the text of the section via AJAX, so the user could edit it; then they could click an unobtrusive button to save it. A good example here, and an explanation here - more AJAX and other live functions are here also. (By the way, that is a crazy cool site - like I said, I like making the output of pages look nice, not so much the backend programming, check the rest of it out: http://24ways.org/ ) -- [:: ℑilver§ℑide ::] 01:16, January 13, 2006 (PST)

Some additional thoughts on the subject:

  • When you edit, the edit summary box should be pre-filled with the section name in CSS comments, just like when you click a section [edit] tag (something like: /*Section name*/ ) in addition to something like "Edited via AJAX", they could add their summary after that in the box
  • We could simply not have an edit summary box, nothing but an edit box and a submit and cancel button
  • Could we make the left-menu a bit more interactive, in a stylish way (not butt-ugly and standards un-compliant flashy 'manly' menu, something subtle and attractive, using the AJAX fades and similar)? See more examples of AJAX for presentation at this site
Ok, after some more surfing I came up with two more links that may help you understand AJAX - I really love the Prototype access system, but you should probably understand the underlying principles before you start to work on it (-: Here they are: Mastering Ajax, Part 1: Introduction to Ajax, and http://www-128.ibm.com/developerworks/java/library/wa-ajaxintro2/index.html Mastering Ajax, Part 2: Make asynchronous requests with JavaScript and Ajax] - hope those help! -- [:: ℑilver§ℑide ::] 21:14, January 18, 2006 (PST)

[edit] Templates

I need *SOME* way of pulling templates from EnterWiki. I don't care how, but I NEED this more than any other feature right now. Please? The Raw feature might help (the raw source of this page is VIA the URL: http://en.enterwiki.ws/index.php?title=User_talk:Xevo&action=raw - raw meaning that it is just the wiki-formatted text of the page with no style or frills, so you can parse it somewhere else) as may the KW_Include_File extension I attempted to install on Test1 - thanks sooo much mate! You are the best, been working like a slave to get this wiki on it's feet, even more so than I! -- [:: ℑilver§ℑide ::] 01:25, January 13, 2006 (PST)

Just an update for random people looking, this one is complete, he just doesn't answer on the wiki (-: -- [:: ℑilver§ℑide ::] 13:38, January 21, 2006 (PST)

[edit] Policy

Hmm - we need to start planning... read this: blahbloop and tell me what you think. If we get as big as I think we may, especially considering yreality, ywook (name I was thinking of for the search - ywook? cause it's better! Wook© search is the way to find it! lol) and gamertrades, we need to get some ideas on how we should handle advertising, money, all that. Ethics, what are we willing to put where, and how will we treat those attempting to exploit us? -- [:: ℑilver§ℑide ::] 00:21, January 23, 2006 (PST)

Oh junk, that was me - forgot to log in (-: Changed the sig lol -- 01:12, January 23, 2006 (PST)

[edit] Spam blocking

Hmmm... could perhaps integrate Akismet? Would be cool - wonder how hard it would be... send each edit through akismet before posting? -- [:: ℑilver§ℑide ::] 19:05, January 24, 2006 (PST)

[edit] Redirect issues

  • With categories: it looks like the category list (at the bottom of page) is not correctly displayed when a page redirects to a category. See here for a description of the problem. Hope it's not too difficult to fix! :] -- Tihocan (not logged in and too lazy to do it), February 09, 2006
  • With anchors: it looks like you cannot redirect to a specific anchor in a page. See for example here: the anchor in the redirection (see here) has been dropped -- Tihocan 10:09, February 9, 2006 (PST)
In reply to redirects, that's a known problem. The way the redirects work is not actually redirecting to the new page, but loading the content of the new page INTO the old page, so implementing would be monstrously difficult. (post by Peerless at {{{1}}} - see his talk and contribs.) 15:55, February 9, 2006 (PST)

[edit] EnterWiki 2.0

So, as we go with ideas for BIG upgrades, like changing the way redirects work so that anchor redirects work and all that jazz and else, I am going to drop the ideas and our discussions here: EnterWiki 2.0/Proposed - make sure to watch that page and activate e-mail notifications, thanks. I'll try to reach you in MSN when I update it too, but you are on so little lately! (post by Peerless at {{{1}}} - see his talk and contribs.) 20:55, February 9, 2006 (PST)