CreateWikiProject
ActivePublic

Subprojects

Members (2)

Description

Everything and anything that has to do with ShoutWiki's wiki creation wizard.

Recent Activity

Sun, Feb 5

jack created T170: Remove DeleteWiki backups on a regular basis.
Sun, Feb 5, 6:35 PM · Restricted Project, CreateWiki

Tue, Jan 31

SamanthaNguyen set the image for CreateWiki to F957: fa-briefcase-blue.png.
Tue, Jan 31, 3:18 AM
SamanthaNguyen added a watcher for CreateWiki: SamanthaNguyen.
Tue, Jan 31, 2:55 AM

Jan 19 2017

lewiscawte added a comment to T116: CreateWikiBackend::parseLicense()/[[MediaWiki:Createwiki-license-rels]] should not use $wgScriptPath but rather something else.

"I love doing massive find and replaces in all the settings files that require loads of escaping." said no Lcawte ever.

Jan 19 2017, 10:44 AM · CreateWiki

Nov 15 2016

lewiscawte added a comment to T124: Obsolete HTML in CreateWiki.
Nov 15 2016, 12:21 AM · CreateWiki
jack closed T124: Obsolete HTML in CreateWiki as "Resolved".

@CJC fixed this a while ago, CW has recently been updated so there's nothing else to be done here.

Nov 15 2016, 12:12 AM · CreateWiki

Nov 14 2016

lewiscawte assigned T124: Obsolete HTML in CreateWiki to jack.
Nov 14 2016, 9:43 PM · CreateWiki
lewiscawte assigned T56: Convert CreateWiki to extension registration system (extension.json) to jack.
Nov 14 2016, 9:41 PM · Technical Debt, CreateWiki

Nov 13 2016

jack closed T117: Special:RenameWiki doesn't update the value of $wgServer in the wiki's configuration settings file as "Resolved".

This should be fixed now that rSHWK3987 is live.

Nov 13 2016, 12:57 PM · CreateWiki

Nov 11 2016

lewiscawte triaged T41: Cleanup legacy image pathing as "High" priority.
Nov 11 2016, 1:03 PM · Technical Debt, CreateWiki
lewiscawte triaged T117: Special:RenameWiki doesn't update the value of $wgServer in the wiki's configuration settings file as "High" priority.
Nov 11 2016, 1:03 PM · CreateWiki
lewiscawte triaged T40: Remove hardcoded paths from CreateWiki as "Normal" priority.
Nov 11 2016, 1:01 PM · Technical Debt, CreateWiki
lewiscawte triaged T97: CreateWiki::addToAnalytics should log to its own file as "Normal" priority.
Nov 11 2016, 1:01 PM · CreateWiki
lewiscawte triaged T116: CreateWikiBackend::parseLicense()/[[MediaWiki:Createwiki-license-rels]] should not use $wgScriptPath but rather something else as "Normal" priority.
Nov 11 2016, 1:01 PM · CreateWiki
lewiscawte triaged T124: Obsolete HTML in CreateWiki as "Low" priority.
Nov 11 2016, 12:59 PM · CreateWiki

Sep 24 2016

Saftzie added a comment to T124: Obsolete HTML in CreateWiki.
In T124#1700, @CJC wrote:

It's in the i18n files - "createwiki-newmainpage" is the message. Will need to be changed in all language files.

Sep 24 2016, 9:01 PM · CreateWiki
Saftzie added a comment to T124: Obsolete HTML in CreateWiki.

...
em units are used because they're relative ...

Sep 24 2016, 8:58 PM · CreateWiki

Sep 21 2016

lewiscawte added a comment to T124: Obsolete HTML in CreateWiki.

Don't use inline styling, it's harder to maintain and also decreases customizability because of CSS specificity. ( https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity ) It'd be better to add a class,

Sep 21 2016, 9:32 AM · CreateWiki
SamanthaNguyen added a project to T124: Obsolete HTML in CreateWiki: CreateWiki.
Sep 21 2016, 3:23 AM · CreateWiki

Aug 6 2016

jack created T117: Special:RenameWiki doesn't update the value of $wgServer in the wiki's configuration settings file.
Aug 6 2016, 9:52 PM · CreateWiki
jack created T116: CreateWikiBackend::parseLicense()/[[MediaWiki:Createwiki-license-rels]] should not use $wgScriptPath but rather something else.
Aug 6 2016, 6:48 PM · CreateWiki

Jul 25 2016

jack added a comment to T97: CreateWiki::addToAnalytics should log to its own file.

Quoth lines 315-319 of /extensions/CreateWiki/CreateWiki_backend.php:

		// Allow this feature to be turned off, because history has sadly taught
		// us that we might need to do that every now and then...
		// This has to be here instead of being at the very beginning of this
		// function so that we can use the $wikiId variable here.
		if ( $wgCreateWikiAnalyticsLogMode && $wgCreateWikiAnalyticsLogFile ) {

Set $wgCreateWikiAnalyticsLogMode to true and $wgCreateWikiAnalyticsLogFile to a valid path and it won't even try to query the analytics DB, but rather writes the data to a comma-separated file.
If those variables aren't set and thus a connection to the analytics DB is attempted, in lines 351-353 we log the error message to both CW's own log ($wgDebugLogFile['CreateWiki']) as well as the standard error log (error_log()). Do you want the ordinary error_log removed and/or a new wfDebugLog call with a new group name (such as CreateWikiAnalytics) inserted?

Jul 25 2016, 1:09 AM · CreateWiki

Jul 24 2016

lewiscawte created T97: CreateWiki::addToAnalytics should log to its own file.
Jul 24 2016, 9:25 PM · CreateWiki

Jul 13 2016

jack closed T51: Add wiki creation date (timestamp) into Special:MyWikis as "Resolved".
Jul 13 2016, 2:54 PM · Sprint 22/06/16, CreateWiki

Jul 11 2016

lewiscawte created T75: Add a common deletion reason dropdown.
Jul 11 2016, 3:44 PM · DeleteWiki
lewiscawte triaged T42: Use Piwik API as "Normal" priority.
Jul 11 2016, 9:00 AM · CreateWiki
lewiscawte added a comment to T42: Use Piwik API.

The Piwik setup is in another country, with a different hosting provider, on a different network which makes it a lot slower to call - it used to be on rar which had private network access. Additionally, when MySQL throws an error (like connection), it takes a long time and has the entire CreateWiki request time out normally (unless something has been done to fix that), which results in broken wikis.

Jul 11 2016, 8:59 AM · CreateWiki

Jul 3 2016

lewiscawte added a commit to T29: Fix DeleteWiki: Unknown Object (Diffusion Commit).
Jul 3 2016, 8:35 PM · DeleteWiki, Restricted Project
jack added a comment to T63: Handle most errors.

"Hundreds of lines of error handling code" is hopefully somewhat of an overstatement. ;-) T64 and the like can be worked around with a try-catch loop, for example. Right now in CreateWikiBackend::initDB(), line 479, we blindly source the files listed in $wgCreateWikiSQLFiles (regardless of their existence or the lack of thereof!) against the newly created DB with DatabaseBase::sourceFile(), which seems to throw a MWException if it can't open the file. So maybe something like this would work:

Jul 3 2016, 10:45 AM · CreateWiki
lewiscawte closed T64: CreateWiki loads a non-existent SQL file causing fatals as "Resolved".
Jul 3 2016, 7:23 AM · CreateWiki
lewiscawte closed T64: CreateWiki loads a non-existent SQL file causing fatals, a subtask of T63: Handle most errors, as "Resolved".
Jul 3 2016, 7:23 AM · CreateWiki
lewiscawte added a subtask for T63: Handle most errors: T64: CreateWiki loads a non-existent SQL file causing fatals.
Jul 3 2016, 7:17 AM · CreateWiki
lewiscawte added a parent task for T64: CreateWiki loads a non-existent SQL file causing fatals: T63: Handle most errors.
Jul 3 2016, 7:17 AM · CreateWiki
lewiscawte created T64: CreateWiki loads a non-existent SQL file causing fatals.
Jul 3 2016, 7:17 AM · CreateWiki
lewiscawte created T63: Handle most errors.
Jul 3 2016, 7:13 AM · CreateWiki

Jun 22 2016

lewiscawte added a comment to T51: Add wiki creation date (timestamp) into Special:MyWikis.

So I've implemented this functionality to CreateWiki, it uses wl_timestamp from wiki_list as it's timestamp. The code could probably be cleaned up a little further, but it works for now.

Jun 22 2016, 10:28 PM · Sprint 22/06/16, CreateWiki
isarra added a comment to T55: Rewrite CreateWiki Frontend.

I forgot what page three is, but remove any redundancies, clarify any unclear bits, group related bits, etc. Basically like the page 1 changes.

Jun 22 2016, 8:37 PM · CreateWiki
isarra added a comment to T55: Rewrite CreateWiki Frontend.

For page two, make it out like sections for each skin, with a big checkbox by the title of each. Technically the entire thing is a table, as such:

Jun 22 2016, 8:34 PM · CreateWiki
isarra added a comment to T55: Rewrite CreateWiki Frontend.

Also note that the form styles like the buttons and stuff should actually be provided by the skin or mw-ui/oojs; unfortunately none of the skins actually do, and stuff. But the padding would be standard form padding; the blue button would be standard progressive, etc.

Jun 22 2016, 8:25 PM · CreateWiki
isarra added a comment to T55: Rewrite CreateWiki Frontend.

Mockup for the first page:

Jun 22 2016, 8:22 PM · CreateWiki
lewiscawte moved T59: Fix DeleteWiki log entries for wikis which do not have the language code in their subdomain from Backlog to Stretch Goals on the Sprint 22/06/16 board.
Jun 22 2016, 6:52 AM · DeleteWiki, I18n
lewiscawte added a project to T59: Fix DeleteWiki log entries for wikis which do not have the language code in their subdomain: Sprint 22/06/16.
Jun 22 2016, 6:51 AM · DeleteWiki, I18n
jack created T59: Fix DeleteWiki log entries for wikis which do not have the language code in their subdomain.
Jun 22 2016, 6:50 AM · DeleteWiki, I18n

Jun 21 2016

jack added a comment to T55: Rewrite CreateWiki Frontend.

the wiki 'type' value we ask users to set has no impact on these settings and sometimes does not reflect the permissions at all

Actually it does, kinda. On step 3, "Editing restrictions" and "Viewing restrictions" drop-down menus don't appear unless the wiki type is either private or school (although they, for whatever reason, did appear to me once even when wiki type was set to public. JS is weird.).
Furthermore if the chosen wiki type is "school", then the additional option "Users with an email address from" appears in both of the aforementioned drop-down menus. This causes a configuration variable, either $wgViewValidEmail or $wgEditValidEmail to be written to the generated Settings.php file. And as you noted, these two variables do nothing even though they probably should. We should probably look into integrating the PrivateDomains extension here somehow, since AFAIK the underlying idea was always to use PrivateDomains for these not-so-public wikis.

Jun 21 2016, 10:32 PM · CreateWiki
lewiscawte updated subscribers of T55: Rewrite CreateWiki Frontend.
Jun 21 2016, 10:28 PM · CreateWiki
lewiscawte added a comment to T55: Rewrite CreateWiki Frontend.

In addition to this, the wiki 'type' value we ask users to set has no impact on these settings and sometimes does not reflect the permissions at all.

Jun 21 2016, 10:27 PM · CreateWiki
jack created T56: Convert CreateWiki to extension registration system (extension.json).
Jun 21 2016, 10:23 PM · Technical Debt, CreateWiki
lewiscawte created T55: Rewrite CreateWiki Frontend.
Jun 21 2016, 10:21 PM · CreateWiki
lewiscawte moved T51: Add wiki creation date (timestamp) into Special:MyWikis from Backlog to Stretch Goals on the Sprint 22/06/16 board.
Jun 21 2016, 10:07 PM · Sprint 22/06/16, CreateWiki
lewiscawte added a project to T51: Add wiki creation date (timestamp) into Special:MyWikis: Sprint 22/06/16.
Jun 21 2016, 10:04 PM · Sprint 22/06/16, CreateWiki