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)

19 July 2014

18 July 2014

  • curprev 12:5512:55, 18 July 2014imported>Mr. Stradivarius 24,800 bytes −14 makeProtectionCategory test cases are finished, so don't log keys any more

17 July 2014

  • curprev 23:3323:33, 17 July 2014imported>Mr. Stradivarius 24,814 bytes +14 log keys in Protection:makeProtectionCategory for now, to help with writing the test cases
  • curprev 12:0312:03, 17 July 2014imported>Mr. Stradivarius 24,800 bytes +11 Protection:makeProtectionCategory - return a blank string on no match
  • curprev 08:5508:55, 17 July 2014imported>Mr. Stradivarius 24,789 bytes +25 don't set protectionDate to the current time if args.date wasn't specified

10 July 2014

  • curprev 05:4305:43, 10 July 2014imported>Mr. Stradivarius 24,764 bytes +397 use cfg.explanationBlurbs to fetch the explanation blurbs rather than hard-coding the message keys here
  • curprev 03:4503:45, 10 July 2014imported>Mr. Stradivarius 24,367 bytes +143 add explanation blurb for semi-protection
  • curprev 01:2101:21, 10 July 2014imported>Mr. Stradivarius 24,224 bytes −21 turn Blurb.formatDate into Blurb:_formatDate so that it can access the config
  • curprev 01:1801:18, 10 July 2014imported>Mr. Stradivarius 24,245 bytes +39 get the expiry date format from a config message
  • curprev 01:1001:10, 10 July 2014imported>Mr. Stradivarius 24,206 bytes +63 output an error category if the protection object is not created properly
  • curprev 01:0301:03, 10 July 2014imported>Mr. Stradivarius 24,143 bytes +82 allow default args to work in sandbox pages

6 July 2014

  • curprev 15:1615:16, 6 July 2014imported>Mr. Stradivarius 24,061 bytes +196 allow reading wrapper templates and default arguments from the config page
  • curprev 14:5614:56, 6 July 2014imported>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 14:4414:44, 6 July 2014imported>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

5 July 2014

  • curprev 03:0903:09, 5 July 2014imported>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

4 July 2014

  • curprev 07:3807:38, 4 July 2014imported>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 16:1216:12, 3 July 2014imported>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 11:5311:53, 3 July 2014imported>Mr. Stradivariusm 24,351 bytes +5 remove unnecessary whitespace and copy edit one of the error messages
  • curprev 11:5011:50, 3 July 2014imported>Mr. Stradivarius 24,346 bytes +190 allow bannerConfig table fields to be functions
  • curprev 07:1107:11, 3 July 2014imported>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 07:0707:07, 3 July 2014imported>Mr. Stradivarius 24,146 bytes −23 make the variable names a little more descriptive
  • curprev 07:0407:04, 3 July 2014imported>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

  • curprev 07:1307:13, 30 June 2014imported>Mr. Stradivarius 24,287 bytes +593 produce wikitext errors rather than script errors for errors caused by invalid user input
  • curprev 03:0603:06, 30 June 2014imported>Mr. Stradivarius 23,694 bytes +10 use mw.ustring.lower to convert the reason to lower case, for the benefit of other-language wikis

29 June 2014

  • curprev 18:3618:36, 29 June 2014imported>Jackmcbarn 23,684 bytes −551 rm stuff only useful for pp-create and other things deprecated in favor of salting
  • curprev 18:2618:26, 29 June 2014imported>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 18:2118:21, 29 June 2014imported>Jackmcbarn 24,325 bytes −30 simplify _substituteParameters
  • curprev 18:1718:17, 29 June 2014imported>Jackmcbarn 24,355 bytes −20 make makeFullUrl a local helper function
  • curprev 12:5112:51, 29 June 2014imported>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 11:4911:49, 29 June 2014imported>Mr. Stradivarius 24,328 bytes +77 comment tweaks
  • curprev 11:3411:34, 29 June 2014imported>Mr. Stradivarius 24,251 bytes −406 get rid of a few more unnecessary local variables
  • curprev 11:0611:06, 29 June 2014imported>Mr. Stradivarius 24,657 bytes +126 make the protection object responsible for accessing the title object and the config inside the Blurb class
  • curprev 10:5410:54, 29 June 2014imported>Mr. Stradivarius 24,531 bytes −18 remove another unnecessary local
  • curprev 10:5010:50, 29 June 2014imported>Mr. Stradivarius 24,549 bytes +14 fix variable name
  • curprev 10:4910:49, 29 June 2014imported>Mr. Stradivarius 24,535 bytes +27 use the config to set the padlock "right" propery, and remove the Padlock:setRight method
  • curprev 03:5303:53, 29 June 2014imported>Mr. Stradivarius 24,508 bytes −630 simplify Protection:makeProtectionCategory and update the comments

28 June 2014

  • curprev 22:2722:27, 28 June 2014imported>Jackmcbarn 25,138 bytes −35 rm unnecessary do/end blocks
  • curprev 22:1722:17, 28 June 2014imported>Jackmcbarn 25,173 bytes −547 make the banner in charge of setting its own fields
  • curprev 19:0019:00, 28 June 2014imported>Jackmcbarn 25,720 bytes −125 the only reason to ever use a title other than the current one is for testing, so don't bother exposing it to wikitext
  • curprev 18:4018:40, 28 June 2014imported>Jackmcbarn 25,845 bytes +71 put Protection in charge of generating its own category links
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)