Module:Protection banner: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

9 July 2014

  • curprev 22:4522:45, 9 July 2014>Mr. Stradivarius 24,367 bytes +143 add explanation blurb for semi-protection
  • curprev 20:2120:21, 9 July 2014>Mr. Stradivarius 24,224 bytes −21 turn Blurb.formatDate into Blurb:_formatDate so that it can access the config
  • curprev 20:1820:18, 9 July 2014>Mr. Stradivarius 24,245 bytes +39 get the expiry date format from a config message
  • curprev 20:1020:10, 9 July 2014>Mr. Stradivarius 24,206 bytes +63 output an error category if the protection object is not created properly
  • curprev 20:0320:03, 9 July 2014>Mr. Stradivarius 24,143 bytes +82 allow default args to work in sandbox pages

6 July 2014

  • curprev 10:1610:16, 6 July 2014>Mr. Stradivarius 24,061 bytes +196 allow reading wrapper templates and default arguments from the config page
  • curprev 09:5609:56, 6 July 2014>Mr. Stradivarius 23,865 bytes +101 use pipes as separators instead of hyphens for the protection category keys and validate reasons when we create the protection object to make sure they don't contain pipes
  • curprev 09:4409:44, 6 July 2014>Mr. Stradivarius 23,764 bytes −53 just pass the args through to the /config functions - that means the /config functions can use arbitrary parameters without them having to be specified in the main module

4 July 2014

  • curprev 22:0922:09, 4 July 2014>Mr. Stradivarius 23,817 bytes −28 don't use the wrapper option with Module:Arguments, as it prevents us from passing through parameters from the parent frame
  • curprev 02:3802:38, 4 July 2014>Mr. Stradivarius 23,845 bytes +613 Fix Protection:makeProtectionCategory for office-protected pages. For these, the reason needs to be the no. 1 priority, not just higher priority than the namespace.

3 July 2014

  • curprev 11:1211:12, 3 July 2014>Mr. Stradivarius 23,232 bytes −1,119 remove parameter methods specific to individual reasons - the logic has been moved to Moudle:Protection banner/config
  • curprev 06:5306:53, 3 July 2014>Mr. Stradivariusm 24,351 bytes +5 remove unnecessary whitespace and copy edit one of the error messages
  • curprev 06:5006:50, 3 July 2014>Mr. Stradivarius 24,346 bytes +190 allow bannerConfig table fields to be functions
  • curprev 02:1102:11, 3 July 2014>Mr. Stradivarius 24,156 bytes +10 use a comment instead of a variable assignment to make it clear that protectionObj is the error message
  • curprev 02:0702:07, 3 July 2014>Mr. Stradivarius 24,146 bytes −23 make the variable names a little more descriptive
  • curprev 02:0402:04, 3 July 2014>Mr. Stradivarius 24,169 bytes −87 localise the error message by moving the makeWikitextError function code inside p._main; that way we don't have to worry about making cfg global

1 July 2014

30 June 2014

29 June 2014

  • curprev 22:0622:06, 29 June 2014>Mr. Stradivarius 23,694 bytes +10 use mw.ustring.lower to convert the reason to lower case, for the benefit of other-language wikis
  • curprev 13:3613:36, 29 June 2014>Jackmcbarn 23,684 bytes −551 rm stuff only useful for pp-create and other things deprecated in favor of salting
  • curprev 13:2613:26, 29 June 2014>Jackmcbarn 24,235 bytes −90 no need to special case indef expiry. if it's indef, the messages that get used don't use it anyway
  • curprev 13:2113:21, 29 June 2014>Jackmcbarn 24,325 bytes −30 simplify _substituteParameters
  • curprev 13:1713:17, 29 June 2014>Jackmcbarn 24,355 bytes −20 make makeFullUrl a local helper function
  • curprev 07:5107:51, 29 June 2014>Mr. Stradivarius 24,375 bytes +47 specify Template:Pp as a wrapper for the module, and make args a local variable as otherwise it's a bit of a bracket overload
  • curprev 06:4906:49, 29 June 2014>Mr. Stradivarius 24,328 bytes +77 comment tweaks
  • curprev 06:3406:34, 29 June 2014>Mr. Stradivarius 24,251 bytes −406 get rid of a few more unnecessary local variables
  • curprev 06:0606:06, 29 June 2014>Mr. Stradivarius 24,657 bytes +126 make the protection object responsible for accessing the title object and the config inside the Blurb class
  • curprev 05:5405:54, 29 June 2014>Mr. Stradivarius 24,531 bytes −18 remove another unnecessary local
  • curprev 05:5005:50, 29 June 2014>Mr. Stradivarius 24,549 bytes +14 fix variable name
  • curprev 05:4905:49, 29 June 2014>Mr. Stradivarius 24,535 bytes +27 use the config to set the padlock "right" propery, and remove the Padlock:setRight method

28 June 2014

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)