Module:Protection banner: Revision history

From Zoophilia Wiki
Jump to navigationJump 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)

10 July 2014

  • curprev 01:2101:21, 10 July 2014meta>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 2014meta>Mr. Stradivarius 24,245 bytes +39 get the expiry date format from a config message
  • curprev 01:1001:10, 10 July 2014meta>Mr. Stradivarius 24,206 bytes +63 output an error category if the protection object is not created properly
  • curprev 01:0301:03, 10 July 2014meta>Mr. Stradivarius 24,143 bytes +82 allow default args to work in sandbox pages

6 July 2014

  • curprev 15:1615:16, 6 July 2014meta>Mr. Stradivarius 24,061 bytes +196 allow reading wrapper templates and default arguments from the config page
  • curprev 14:5614:56, 6 July 2014meta>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 2014meta>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 2014meta>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 2014meta>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 2014meta>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 2014meta>Mr. Stradivariusm 24,351 bytes +5 remove unnecessary whitespace and copy edit one of the error messages
  • curprev 11:5011:50, 3 July 2014meta>Mr. Stradivarius 24,346 bytes +190 allow bannerConfig table fields to be functions
  • curprev 07:1107:11, 3 July 2014meta>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 2014meta>Mr. Stradivarius 24,146 bytes −23 make the variable names a little more descriptive
  • curprev 07:0407:04, 3 July 2014meta>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 2014meta>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 2014meta>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 2014meta>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 2014meta>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 2014meta>Jackmcbarn 24,325 bytes −30 simplify _substituteParameters
  • curprev 18:1718:17, 29 June 2014meta>Jackmcbarn 24,355 bytes −20 make makeFullUrl a local helper function
  • curprev 12:5112:51, 29 June 2014meta>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 2014meta>Mr. Stradivarius 24,328 bytes +77 comment tweaks
  • curprev 11:3411:34, 29 June 2014meta>Mr. Stradivarius 24,251 bytes −406 get rid of a few more unnecessary local variables
  • curprev 11:0611:06, 29 June 2014meta>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 2014meta>Mr. Stradivarius 24,531 bytes −18 remove another unnecessary local
  • curprev 10:5010:50, 29 June 2014meta>Mr. Stradivarius 24,549 bytes +14 fix variable name
  • curprev 10:4910:49, 29 June 2014meta>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 2014meta>Mr. Stradivarius 24,508 bytes −630 simplify Protection:makeProtectionCategory and update the comments

28 June 2014

  • curprev 22:2722:27, 28 June 2014meta>Jackmcbarn 25,138 bytes −35 rm unnecessary do/end blocks
  • curprev 22:1722:17, 28 June 2014meta>Jackmcbarn 25,173 bytes −547 make the banner in charge of setting its own fields
  • curprev 19:0019:00, 28 June 2014meta>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 2014meta>Jackmcbarn 25,845 bytes +71 put Protection in charge of generating its own category links
  • curprev 18:3118:31, 28 June 2014meta>Jackmcbarn 25,774 bytes −226 make Blurb be responsible for setting its own fields
  • curprev 18:1918:19, 28 June 2014meta>Jackmcbarn 26,000 bytes −94 condense _main and switch Blurb arg order
  • curprev 18:1618:16, 28 June 2014meta>Jackmcbarn 26,094 bytes −232 rm some locals that only get used once
  • curprev 18:0518:05, 28 June 2014meta>Jackmcbarn 26,326 bytes −137 make the Protection class be in charge of the title, and some other tweaks
  • curprev 17:5317:53, 28 June 2014meta>Jackmcbarn 26,463 bytes −306 config isn't an object anymore
  • curprev 17:5017:50, 28 June 2014meta>Jackmcbarn 26,769 bytes +4 simplify further
  • curprev 17:4917:49, 28 June 2014meta>Jackmcbarn 26,765 bytes −48 use new cfg format
  • curprev 17:1817:18, 28 June 2014meta>Jackmcbarn 26,813 bytes +129 some cleanup
  • curprev 14:1814:18, 28 June 2014meta>Mr. Stradivarius 26,684 bytes +66 use a __tostring metamethod to render the banner objects
  • curprev 13:5413:54, 28 June 2014meta>Mr. Stradivarius 26,618 bytes −2,254 move the category methods to the Protection class, and get rid of all the category objects
  • curprev 12:5112:51, 28 June 2014meta>Mr. Stradivarius 28,872 bytes −21 allow passing the config object into the exportToLua and exportToWiki functions
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)