Last modified: 2010-05-15 16:03:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16605, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14605 - Add Database status to general siteinfo
Add Database status to general siteinfo
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.13.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-21 07:47 UTC by OverlordQ
Modified: 2010-05-15 16:03 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch against r36521 (870 bytes, patch)
2008-06-21 07:49 UTC, OverlordQ
Details

Description OverlordQ 2008-06-21 07:47:52 UTC
Patch to add if the database is locked or not to the general prop of siteinfo
Comment 1 OverlordQ 2008-06-21 07:49:32 UTC
Created attachment 5011 [details]
Patch against r36521

Patch (some reason didn't attach on submit)
Comment 2 Roan Kattouw 2008-06-21 15:17:33 UTC
Fixed in r36526. I didn't use your patch though: there's a function to check for read-onlyness called wfReadOnly() (you can also set the wiki to read-only using $wgReadOnly rather than $wgReadOnlyFile) and called the output field 'readonly' rather than 'dblock'.
Comment 3 OverlordQ 2008-06-21 19:57:13 UTC
Ah, I just looked at what was in Special(Un)lockdb they used the file tests instead of the function.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links