Commit graph

14 commits

Author SHA1 Message Date
Brion Vibber
84b161445b Don't die with an SQL syntax error when there are no pages in the wiki.
MySQL returned error "1064: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND 99 AND page_restrictions !='' AND page_restrictions !='edit (10.0.0.101)"
2008-10-03 21:16:35 +00:00
Alexandre Emsenhuber
087a9f70c5 WARNING: HUGE COMMIT
Doxygen documentation update:
* Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group.
* Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file.
* Removed some empty comments
* Removed some ?>

Added following groups:
* ExternalStorage
* JobQueue
* MaintenanceLanguage

One more thing: there are still a lot of warnings when generating the doc.
2008-05-20 17:13:28 +00:00
Aaron Schulz
c89b64a028 fucked up batch counting 2008-04-09 18:35:41 +00:00
Brion Vibber
d7b8f50519 * Graceful behavior for updateRestrictions.php if a page already has records
in the page_restrictions matching its old page_restrictions field.
  May help with odd upgrade issues or race condition.
2007-12-03 19:16:56 +00:00
Aryeh Gregor
a15c419b3d Remove ?>'s from files. They're pointless, and just asking for people to mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.) 2007-06-29 01:19:14 +00:00
Aaron Schulz
df56125567 *use 'infinity' as pr_expiry 2007-05-03 15:39:43 +00:00
Aaron Schulz
0ef48cfae7 *Ignore 'edit=:move=' 2007-05-01 18:58:54 +00:00
Aaron Schulz
215874c489 *Do not convert to arrays 2007-04-23 19:50:10 +00:00
Aaron Schulz
90b9980278 *cough* ahem 2007-04-23 18:30:36 +00:00
Aaron Schulz
d69f04ec81 *Typo 2007-04-23 18:25:22 +00:00
Aaron Schulz
a77bef9ad4 *Remove update() query to avoid any data loss concerns 2007-04-21 23:19:18 +00:00
Aaron Schulz
29ee35cde8 *Use appropriate comment 2007-04-21 21:44:19 +00:00
Antoine Musso
e69f21ec68 Fix end of lines (added in r21455) 2007-04-21 21:11:14 +00:00
Aaron Schulz
28df3d07e6 *Add a batch updater to move remaining page_restrictions values in page to the page_restrictions table 2007-04-21 20:30:57 +00:00